Mercurial > hg > xemacs-beta
comparison configure @ 771:943eaba38521
[xemacs-hg @ 2002-03-13 08:51:24 by ben]
The big ben-mule-21-5 check-in!
Various files were added and deleted. See CHANGES-ben-mule.
There are still some test suite failures. No crashes, though.
Many of the failures have to do with problems in the test suite itself
rather than in the actual code. I'll be addressing these in the next
day or so -- none of the test suite failures are at all critical.
Meanwhile I'll be trying to address the biggest issues -- i.e. build
or run failures, which will almost certainly happen on various platforms.
All comments should be sent to ben@xemacs.org -- use a Cc: if necessary
when sending to mailing lists. There will be pre- and post- tags,
something like
pre-ben-mule-21-5-merge-in, and
post-ben-mule-21-5-merge-in.
author | ben |
---|---|
date | Wed, 13 Mar 2002 08:54:06 +0000 |
parents | 8ae895c67ce7 |
children | e65d9cf16707 |
comparison
equal
deleted
inserted
replaced
770:336a418893b5 | 771:943eaba38521 |
---|---|
4 #### Guess values for system-dependent variables and create Makefiles. | 4 #### Guess values for system-dependent variables and create Makefiles. |
5 #### Generated automatically using autoconf version 2.13 | 5 #### Generated automatically using autoconf version 2.13 |
6 #### Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000 Free Software Foundation, Inc. | 6 #### Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000 Free Software Foundation, Inc. |
7 #### Copyright (C) 1993-1995 Board of Trustees, University of Illinois. | 7 #### Copyright (C) 1993-1995 Board of Trustees, University of Illinois. |
8 #### Copyright (C) 1996, 1997 Sun Microsystems, Inc. | 8 #### Copyright (C) 1996, 1997 Sun Microsystems, Inc. |
9 #### Copyright (C) 1995, 1996 Ben Wing. | 9 #### Copyright (C) 1995, 1996, 2002 Ben Wing. |
10 #### Copyright (C) 2000, 2001 Martin Buchholz. | 10 #### Copyright (C) 2000, 2001 Martin Buchholz. |
11 #### Copyright (C) 1998, 1999 J. Kean Johnston. | 11 #### Copyright (C) 1998, 1999 J. Kean Johnston. |
12 | 12 |
13 ### Don't edit this script! | 13 ### Don't edit this script! |
14 ### This script was automatically generated by the `autoconf' program | 14 ### This script was automatically generated by the `autoconf' program |
254 with_toolbars="" | 254 with_toolbars="" |
255 with_tty="" | 255 with_tty="" |
256 use_union_type="no" | 256 use_union_type="no" |
257 with_dnet="" | 257 with_dnet="" |
258 pdump="no" | 258 pdump="no" |
259 with_dragndrop="no" | 259 with_dragndrop_default="no" |
260 with_ipv6_cname="no" | 260 with_ipv6_cname="no" |
261 | 261 |
262 | 262 |
263 | 263 |
264 | 264 |
326 with_xface | \ | 326 with_xface | \ |
327 with_gif | \ | 327 with_gif | \ |
328 with_jpeg | \ | 328 with_jpeg | \ |
329 with_png | \ | 329 with_png | \ |
330 with_tiff | \ | 330 with_tiff | \ |
331 with_zlib | \ | |
331 with_wmcommand | \ | 332 with_wmcommand | \ |
332 with_xmu | \ | 333 with_xmu | \ |
333 with_purify | \ | 334 with_purify | \ |
334 with_quantify | \ | 335 with_quantify | \ |
335 with_toolbars | \ | 336 with_toolbars | \ |
336 with_tty | \ | 337 with_tty | \ |
337 with_xfs | \ | 338 with_xfs | \ |
338 with_i18n3 | \ | |
339 with_mule | \ | 339 with_mule | \ |
340 with_file_coding| \ | 340 with_default_eol_detection | \ |
341 with_canna | \ | 341 with_canna | \ |
342 with_wnn | \ | 342 with_wnn | \ |
343 with_wnn6 | \ | 343 with_wnn6 | \ |
344 with_workshop | \ | 344 with_workshop | \ |
345 with_sparcworks | \ | 345 with_sparcworks | \ |
1076 #define ERROR_CHECK_GLYPHS 1 | 1076 #define ERROR_CHECK_GLYPHS 1 |
1077 EOF | 1077 EOF |
1078 } | 1078 } |
1079 | 1079 |
1080 if test "${debug:=$beta}" = "yes"; then | 1080 if test "${debug:=$beta}" = "yes"; then |
1081 use_assertions=yes memory_usage_stats=yes | 1081 use_assertions=yes |
1082 extra_objs="$extra_objs debug.o" && if test "$extra_verbose" = "yes"; then | 1082 memory_usage_stats=yes |
1083 echo " xemacs will be linked with \"debug.o\"" | |
1084 fi | |
1085 extra_objs="$extra_objs tests.o" && if test "$extra_verbose" = "yes"; then | |
1086 echo " xemacs will be linked with \"tests.o\"" | |
1087 fi | |
1088 { test "$extra_verbose" = "yes" && cat << \EOF | 1083 { test "$extra_verbose" = "yes" && cat << \EOF |
1089 Defining DEBUG_XEMACS | 1084 Defining DEBUG_XEMACS |
1090 EOF | 1085 EOF |
1091 cat >> confdefs.h <<\EOF | 1086 cat >> confdefs.h <<\EOF |
1092 #define DEBUG_XEMACS 1 | 1087 #define DEBUG_XEMACS 1 |
1111 } | 1106 } |
1112 | 1107 |
1113 | 1108 |
1114 | 1109 |
1115 echo $ac_n "checking "host system type"""... $ac_c" 1>&6 | 1110 echo $ac_n "checking "host system type"""... $ac_c" 1>&6 |
1116 echo "configure:1117: checking "host system type"" >&5 | 1111 echo "configure:1112: checking "host system type"" >&5 |
1117 internal_configuration=`echo $configuration | sed 's/-\(workshop\)//'` | 1112 internal_configuration=`echo $configuration | sed 's/-\(workshop\)//'` |
1118 canonical=`${CONFIG_SHELL-/bin/sh} $srcdir/config.sub "$internal_configuration"` | 1113 canonical=`${CONFIG_SHELL-/bin/sh} $srcdir/config.sub "$internal_configuration"` |
1119 configuration=`echo "$configuration" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` | 1114 configuration=`echo "$configuration" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` |
1120 canonical=`echo "$canonical" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` | 1115 canonical=`echo "$canonical" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` |
1121 echo "$ac_t""$configuration" 1>&6 | 1116 echo "$ac_t""$configuration" 1>&6 |
1592 cat >> confdefs.h <<\EOF | 1587 cat >> confdefs.h <<\EOF |
1593 #define SUNPRO 1 | 1588 #define SUNPRO 1 |
1594 EOF | 1589 EOF |
1595 } | 1590 } |
1596 | 1591 |
1597 extra_objs="$extra_objs sunpro.o" && if test "$extra_verbose" = "yes"; then | |
1598 echo " xemacs will be linked with \"sunpro.o\"" | |
1599 fi | |
1600 fi | 1592 fi |
1601 | 1593 |
1602 if test "$with_clash_detection" != "no"; then | 1594 if test "$with_clash_detection" != "no"; then |
1603 { test "$extra_verbose" = "yes" && cat << \EOF | 1595 { test "$extra_verbose" = "yes" && cat << \EOF |
1604 Defining CLASH_DETECTION | 1596 Defining CLASH_DETECTION |
1606 cat >> confdefs.h <<\EOF | 1598 cat >> confdefs.h <<\EOF |
1607 #define CLASH_DETECTION 1 | 1599 #define CLASH_DETECTION 1 |
1608 EOF | 1600 EOF |
1609 } | 1601 } |
1610 | 1602 |
1611 extra_objs="$extra_objs filelock.o" && if test "$extra_verbose" = "yes"; then | |
1612 echo " xemacs will be linked with \"filelock.o\"" | |
1613 fi | |
1614 fi | 1603 fi |
1615 | 1604 |
1616 test -n "$compiler" && CC="$compiler" | 1605 test -n "$compiler" && CC="$compiler" |
1617 if test "$with_gcc" = "no"; then case "$CC" in "" | *gcc* ) CC="${NON_GNU_CC-cc}" ;; esac | 1606 if test "$with_gcc" = "no"; then case "$CC" in "" | *gcc* ) CC="${NON_GNU_CC-cc}" ;; esac |
1618 fi | 1607 fi |
1626 xe_save_CFLAGS="$CFLAGS" | 1615 xe_save_CFLAGS="$CFLAGS" |
1627 | 1616 |
1628 # Extract the first word of "gcc", so it can be a program name with args. | 1617 # Extract the first word of "gcc", so it can be a program name with args. |
1629 set dummy gcc; ac_word=$2 | 1618 set dummy gcc; ac_word=$2 |
1630 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1619 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1631 echo "configure:1632: checking for $ac_word" >&5 | 1620 echo "configure:1621: checking for $ac_word" >&5 |
1632 | 1621 |
1633 if test -n "$CC"; then | 1622 if test -n "$CC"; then |
1634 ac_cv_prog_CC="$CC" # Let the user override the test. | 1623 ac_cv_prog_CC="$CC" # Let the user override the test. |
1635 else | 1624 else |
1636 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1625 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1653 | 1642 |
1654 if test -z "$CC"; then | 1643 if test -z "$CC"; then |
1655 # Extract the first word of "cc", so it can be a program name with args. | 1644 # Extract the first word of "cc", so it can be a program name with args. |
1656 set dummy cc; ac_word=$2 | 1645 set dummy cc; ac_word=$2 |
1657 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1646 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1658 echo "configure:1659: checking for $ac_word" >&5 | 1647 echo "configure:1648: checking for $ac_word" >&5 |
1659 | 1648 |
1660 if test -n "$CC"; then | 1649 if test -n "$CC"; then |
1661 ac_cv_prog_CC="$CC" # Let the user override the test. | 1650 ac_cv_prog_CC="$CC" # Let the user override the test. |
1662 else | 1651 else |
1663 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1652 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1701 case "`uname -s`" in | 1690 case "`uname -s`" in |
1702 *win32* | *WIN32*) | 1691 *win32* | *WIN32*) |
1703 # Extract the first word of "cl", so it can be a program name with args. | 1692 # Extract the first word of "cl", so it can be a program name with args. |
1704 set dummy cl; ac_word=$2 | 1693 set dummy cl; ac_word=$2 |
1705 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1694 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1706 echo "configure:1707: checking for $ac_word" >&5 | 1695 echo "configure:1696: checking for $ac_word" >&5 |
1707 | 1696 |
1708 if test -n "$CC"; then | 1697 if test -n "$CC"; then |
1709 ac_cv_prog_CC="$CC" # Let the user override the test. | 1698 ac_cv_prog_CC="$CC" # Let the user override the test. |
1710 else | 1699 else |
1711 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1700 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1730 fi | 1719 fi |
1731 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1720 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
1732 fi | 1721 fi |
1733 | 1722 |
1734 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1723 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
1735 echo "configure:1736: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1724 echo "configure:1725: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
1736 | 1725 |
1737 ac_ext=c | 1726 ac_ext=c |
1738 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1727 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
1739 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1728 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
1740 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $libs_gtk $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1729 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $libs_gtk $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
1743 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1732 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
1744 cross_compiling=no | 1733 cross_compiling=no |
1745 | 1734 |
1746 cat > conftest.$ac_ext << EOF | 1735 cat > conftest.$ac_ext << EOF |
1747 | 1736 |
1748 #line 1749 "configure" | 1737 #line 1738 "configure" |
1749 #include "confdefs.h" | 1738 #include "confdefs.h" |
1750 | 1739 |
1751 main(){return(0);} | 1740 main(){return(0);} |
1752 EOF | 1741 EOF |
1753 if { (eval echo configure:1754: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1742 if { (eval echo configure:1743: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1754 ac_cv_prog_cc_works=yes | 1743 ac_cv_prog_cc_works=yes |
1755 # If we can't run a trivial program, we are probably using a cross compiler. | 1744 # If we can't run a trivial program, we are probably using a cross compiler. |
1756 if (./conftest; exit) 2>/dev/null; then | 1745 if (./conftest; exit) 2>/dev/null; then |
1757 ac_cv_prog_cc_cross=no | 1746 ac_cv_prog_cc_cross=no |
1758 else | 1747 else |
1776 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1765 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
1777 if test $ac_cv_prog_cc_works = no; then | 1766 if test $ac_cv_prog_cc_works = no; then |
1778 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1767 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
1779 fi | 1768 fi |
1780 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1769 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
1781 echo "configure:1782: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1770 echo "configure:1771: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
1782 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1771 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
1783 cross_compiling=$ac_cv_prog_cc_cross | 1772 cross_compiling=$ac_cv_prog_cc_cross |
1784 | 1773 |
1785 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1774 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
1786 echo "configure:1787: checking whether we are using GNU C" >&5 | 1775 echo "configure:1776: checking whether we are using GNU C" >&5 |
1787 | 1776 |
1788 cat > conftest.c <<EOF | 1777 cat > conftest.c <<EOF |
1789 #ifdef __GNUC__ | 1778 #ifdef __GNUC__ |
1790 yes; | 1779 yes; |
1791 #endif | 1780 #endif |
1792 EOF | 1781 EOF |
1793 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1794: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1782 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1783: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
1794 ac_cv_prog_gcc=yes | 1783 ac_cv_prog_gcc=yes |
1795 else | 1784 else |
1796 ac_cv_prog_gcc=no | 1785 ac_cv_prog_gcc=no |
1797 fi | 1786 fi |
1798 | 1787 |
1806 | 1795 |
1807 ac_test_CFLAGS="${CFLAGS+set}" | 1796 ac_test_CFLAGS="${CFLAGS+set}" |
1808 ac_save_CFLAGS="$CFLAGS" | 1797 ac_save_CFLAGS="$CFLAGS" |
1809 CFLAGS= | 1798 CFLAGS= |
1810 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1799 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
1811 echo "configure:1812: checking whether ${CC-cc} accepts -g" >&5 | 1800 echo "configure:1801: checking whether ${CC-cc} accepts -g" >&5 |
1812 | 1801 |
1813 echo 'void f(){}' > conftest.c | 1802 echo 'void f(){}' > conftest.c |
1814 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1803 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
1815 ac_cv_prog_cc_g=yes | 1804 ac_cv_prog_cc_g=yes |
1816 else | 1805 else |
1839 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then | 1828 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then |
1840 CC=${NON_GNU_CC-cc} | 1829 CC=${NON_GNU_CC-cc} |
1841 # Extract the first word of "gcc", so it can be a program name with args. | 1830 # Extract the first word of "gcc", so it can be a program name with args. |
1842 set dummy gcc; ac_word=$2 | 1831 set dummy gcc; ac_word=$2 |
1843 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1832 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1844 echo "configure:1845: checking for $ac_word" >&5 | 1833 echo "configure:1834: checking for $ac_word" >&5 |
1845 | 1834 |
1846 if test -n "$CC"; then | 1835 if test -n "$CC"; then |
1847 ac_cv_prog_CC="$CC" # Let the user override the test. | 1836 ac_cv_prog_CC="$CC" # Let the user override the test. |
1848 else | 1837 else |
1849 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1838 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1866 | 1855 |
1867 if test -z "$CC"; then | 1856 if test -z "$CC"; then |
1868 # Extract the first word of "cc", so it can be a program name with args. | 1857 # Extract the first word of "cc", so it can be a program name with args. |
1869 set dummy cc; ac_word=$2 | 1858 set dummy cc; ac_word=$2 |
1870 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1859 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1871 echo "configure:1872: checking for $ac_word" >&5 | 1860 echo "configure:1861: checking for $ac_word" >&5 |
1872 | 1861 |
1873 if test -n "$CC"; then | 1862 if test -n "$CC"; then |
1874 ac_cv_prog_CC="$CC" # Let the user override the test. | 1863 ac_cv_prog_CC="$CC" # Let the user override the test. |
1875 else | 1864 else |
1876 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1865 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1914 case "`uname -s`" in | 1903 case "`uname -s`" in |
1915 *win32* | *WIN32*) | 1904 *win32* | *WIN32*) |
1916 # Extract the first word of "cl", so it can be a program name with args. | 1905 # Extract the first word of "cl", so it can be a program name with args. |
1917 set dummy cl; ac_word=$2 | 1906 set dummy cl; ac_word=$2 |
1918 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1907 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1919 echo "configure:1920: checking for $ac_word" >&5 | 1908 echo "configure:1909: checking for $ac_word" >&5 |
1920 | 1909 |
1921 if test -n "$CC"; then | 1910 if test -n "$CC"; then |
1922 ac_cv_prog_CC="$CC" # Let the user override the test. | 1911 ac_cv_prog_CC="$CC" # Let the user override the test. |
1923 else | 1912 else |
1924 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1913 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1943 fi | 1932 fi |
1944 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1933 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
1945 fi | 1934 fi |
1946 | 1935 |
1947 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1936 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
1948 echo "configure:1949: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1937 echo "configure:1938: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
1949 | 1938 |
1950 ac_ext=c | 1939 ac_ext=c |
1951 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1940 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
1952 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1941 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
1953 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $libs_gtk $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1942 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $libs_gtk $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
1956 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1945 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
1957 cross_compiling=no | 1946 cross_compiling=no |
1958 | 1947 |
1959 cat > conftest.$ac_ext << EOF | 1948 cat > conftest.$ac_ext << EOF |
1960 | 1949 |
1961 #line 1962 "configure" | 1950 #line 1951 "configure" |
1962 #include "confdefs.h" | 1951 #include "confdefs.h" |
1963 | 1952 |
1964 main(){return(0);} | 1953 main(){return(0);} |
1965 EOF | 1954 EOF |
1966 if { (eval echo configure:1967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1955 if { (eval echo configure:1956: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1967 ac_cv_prog_cc_works=yes | 1956 ac_cv_prog_cc_works=yes |
1968 # If we can't run a trivial program, we are probably using a cross compiler. | 1957 # If we can't run a trivial program, we are probably using a cross compiler. |
1969 if (./conftest; exit) 2>/dev/null; then | 1958 if (./conftest; exit) 2>/dev/null; then |
1970 ac_cv_prog_cc_cross=no | 1959 ac_cv_prog_cc_cross=no |
1971 else | 1960 else |
1989 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1978 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
1990 if test $ac_cv_prog_cc_works = no; then | 1979 if test $ac_cv_prog_cc_works = no; then |
1991 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1980 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
1992 fi | 1981 fi |
1993 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1982 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
1994 echo "configure:1995: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1983 echo "configure:1984: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
1995 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1984 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
1996 cross_compiling=$ac_cv_prog_cc_cross | 1985 cross_compiling=$ac_cv_prog_cc_cross |
1997 | 1986 |
1998 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1987 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
1999 echo "configure:2000: checking whether we are using GNU C" >&5 | 1988 echo "configure:1989: checking whether we are using GNU C" >&5 |
2000 | 1989 |
2001 cat > conftest.c <<EOF | 1990 cat > conftest.c <<EOF |
2002 #ifdef __GNUC__ | 1991 #ifdef __GNUC__ |
2003 yes; | 1992 yes; |
2004 #endif | 1993 #endif |
2005 EOF | 1994 EOF |
2006 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2007: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1995 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1996: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
2007 ac_cv_prog_gcc=yes | 1996 ac_cv_prog_gcc=yes |
2008 else | 1997 else |
2009 ac_cv_prog_gcc=no | 1998 ac_cv_prog_gcc=no |
2010 fi | 1999 fi |
2011 | 2000 |
2019 | 2008 |
2020 ac_test_CFLAGS="${CFLAGS+set}" | 2009 ac_test_CFLAGS="${CFLAGS+set}" |
2021 ac_save_CFLAGS="$CFLAGS" | 2010 ac_save_CFLAGS="$CFLAGS" |
2022 CFLAGS= | 2011 CFLAGS= |
2023 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 2012 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
2024 echo "configure:2025: checking whether ${CC-cc} accepts -g" >&5 | 2013 echo "configure:2014: checking whether ${CC-cc} accepts -g" >&5 |
2025 | 2014 |
2026 echo 'void f(){}' > conftest.c | 2015 echo 'void f(){}' > conftest.c |
2027 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 2016 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
2028 ac_cv_prog_cc_g=yes | 2017 ac_cv_prog_cc_g=yes |
2029 else | 2018 else |
2052 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then | 2041 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then |
2053 CC=gcc | 2042 CC=gcc |
2054 # Extract the first word of "gcc", so it can be a program name with args. | 2043 # Extract the first word of "gcc", so it can be a program name with args. |
2055 set dummy gcc; ac_word=$2 | 2044 set dummy gcc; ac_word=$2 |
2056 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2045 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2057 echo "configure:2058: checking for $ac_word" >&5 | 2046 echo "configure:2047: checking for $ac_word" >&5 |
2058 | 2047 |
2059 if test -n "$CC"; then | 2048 if test -n "$CC"; then |
2060 ac_cv_prog_CC="$CC" # Let the user override the test. | 2049 ac_cv_prog_CC="$CC" # Let the user override the test. |
2061 else | 2050 else |
2062 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 2051 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
2079 | 2068 |
2080 if test -z "$CC"; then | 2069 if test -z "$CC"; then |
2081 # Extract the first word of "cc", so it can be a program name with args. | 2070 # Extract the first word of "cc", so it can be a program name with args. |
2082 set dummy cc; ac_word=$2 | 2071 set dummy cc; ac_word=$2 |
2083 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2072 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2084 echo "configure:2085: checking for $ac_word" >&5 | 2073 echo "configure:2074: checking for $ac_word" >&5 |
2085 | 2074 |
2086 if test -n "$CC"; then | 2075 if test -n "$CC"; then |
2087 ac_cv_prog_CC="$CC" # Let the user override the test. | 2076 ac_cv_prog_CC="$CC" # Let the user override the test. |
2088 else | 2077 else |
2089 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 2078 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
2127 case "`uname -s`" in | 2116 case "`uname -s`" in |
2128 *win32* | *WIN32*) | 2117 *win32* | *WIN32*) |
2129 # Extract the first word of "cl", so it can be a program name with args. | 2118 # Extract the first word of "cl", so it can be a program name with args. |
2130 set dummy cl; ac_word=$2 | 2119 set dummy cl; ac_word=$2 |
2131 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2120 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2132 echo "configure:2133: checking for $ac_word" >&5 | 2121 echo "configure:2122: checking for $ac_word" >&5 |
2133 | 2122 |
2134 if test -n "$CC"; then | 2123 if test -n "$CC"; then |
2135 ac_cv_prog_CC="$CC" # Let the user override the test. | 2124 ac_cv_prog_CC="$CC" # Let the user override the test. |
2136 else | 2125 else |
2137 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 2126 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
2156 fi | 2145 fi |
2157 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 2146 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
2158 fi | 2147 fi |
2159 | 2148 |
2160 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 2149 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
2161 echo "configure:2162: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 2150 echo "configure:2151: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
2162 | 2151 |
2163 ac_ext=c | 2152 ac_ext=c |
2164 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 2153 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
2165 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 2154 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
2166 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $libs_gtk $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 2155 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $libs_gtk $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
2169 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 2158 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
2170 cross_compiling=no | 2159 cross_compiling=no |
2171 | 2160 |
2172 cat > conftest.$ac_ext << EOF | 2161 cat > conftest.$ac_ext << EOF |
2173 | 2162 |
2174 #line 2175 "configure" | 2163 #line 2164 "configure" |
2175 #include "confdefs.h" | 2164 #include "confdefs.h" |
2176 | 2165 |
2177 main(){return(0);} | 2166 main(){return(0);} |
2178 EOF | 2167 EOF |
2179 if { (eval echo configure:2180: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2168 if { (eval echo configure:2169: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2180 ac_cv_prog_cc_works=yes | 2169 ac_cv_prog_cc_works=yes |
2181 # If we can't run a trivial program, we are probably using a cross compiler. | 2170 # If we can't run a trivial program, we are probably using a cross compiler. |
2182 if (./conftest; exit) 2>/dev/null; then | 2171 if (./conftest; exit) 2>/dev/null; then |
2183 ac_cv_prog_cc_cross=no | 2172 ac_cv_prog_cc_cross=no |
2184 else | 2173 else |
2202 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 2191 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
2203 if test $ac_cv_prog_cc_works = no; then | 2192 if test $ac_cv_prog_cc_works = no; then |
2204 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 2193 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
2205 fi | 2194 fi |
2206 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 2195 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
2207 echo "configure:2208: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 2196 echo "configure:2197: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
2208 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 2197 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
2209 cross_compiling=$ac_cv_prog_cc_cross | 2198 cross_compiling=$ac_cv_prog_cc_cross |
2210 | 2199 |
2211 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 2200 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
2212 echo "configure:2213: checking whether we are using GNU C" >&5 | 2201 echo "configure:2202: checking whether we are using GNU C" >&5 |
2213 | 2202 |
2214 cat > conftest.c <<EOF | 2203 cat > conftest.c <<EOF |
2215 #ifdef __GNUC__ | 2204 #ifdef __GNUC__ |
2216 yes; | 2205 yes; |
2217 #endif | 2206 #endif |
2218 EOF | 2207 EOF |
2219 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2220: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 2208 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2209: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
2220 ac_cv_prog_gcc=yes | 2209 ac_cv_prog_gcc=yes |
2221 else | 2210 else |
2222 ac_cv_prog_gcc=no | 2211 ac_cv_prog_gcc=no |
2223 fi | 2212 fi |
2224 | 2213 |
2232 | 2221 |
2233 ac_test_CFLAGS="${CFLAGS+set}" | 2222 ac_test_CFLAGS="${CFLAGS+set}" |
2234 ac_save_CFLAGS="$CFLAGS" | 2223 ac_save_CFLAGS="$CFLAGS" |
2235 CFLAGS= | 2224 CFLAGS= |
2236 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 2225 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
2237 echo "configure:2238: checking whether ${CC-cc} accepts -g" >&5 | 2226 echo "configure:2227: checking whether ${CC-cc} accepts -g" >&5 |
2238 | 2227 |
2239 echo 'void f(){}' > conftest.c | 2228 echo 'void f(){}' > conftest.c |
2240 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 2229 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
2241 ac_cv_prog_cc_g=yes | 2230 ac_cv_prog_cc_g=yes |
2242 else | 2231 else |
2269 test -n "$CPP" -a -d "$CPP" && CPP= | 2258 test -n "$CPP" -a -d "$CPP" && CPP= |
2270 | 2259 |
2271 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" | 2260 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" |
2272 | 2261 |
2273 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 | 2262 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
2274 echo "configure:2275: checking how to run the C preprocessor" >&5 | 2263 echo "configure:2264: checking how to run the C preprocessor" >&5 |
2275 # On Suns, sometimes $CPP names a directory. | 2264 # On Suns, sometimes $CPP names a directory. |
2276 if test -n "$CPP" && test -d "$CPP"; then | 2265 if test -n "$CPP" && test -d "$CPP"; then |
2277 CPP= | 2266 CPP= |
2278 fi | 2267 fi |
2279 if test -z "$CPP"; then | 2268 if test -z "$CPP"; then |
2282 # substituted into the Makefile and "${CC-cc}" will confuse make. | 2271 # substituted into the Makefile and "${CC-cc}" will confuse make. |
2283 CPP="${CC-cc} -E" | 2272 CPP="${CC-cc} -E" |
2284 # On the NeXT, cc -E runs the code through the compiler's parser, | 2273 # On the NeXT, cc -E runs the code through the compiler's parser, |
2285 # not just through cpp. | 2274 # not just through cpp. |
2286 cat > conftest.$ac_ext <<EOF | 2275 cat > conftest.$ac_ext <<EOF |
2287 #line 2288 "configure" | 2276 #line 2277 "configure" |
2288 #include "confdefs.h" | 2277 #include "confdefs.h" |
2289 #include <assert.h> | 2278 #include <assert.h> |
2290 Syntax Error | 2279 Syntax Error |
2291 EOF | 2280 EOF |
2292 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2281 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2293 { (eval echo configure:2294: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2282 { (eval echo configure:2283: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2294 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2283 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2295 if test -z "$ac_err"; then | 2284 if test -z "$ac_err"; then |
2296 : | 2285 : |
2297 else | 2286 else |
2298 echo "$ac_err" >&5 | 2287 echo "$ac_err" >&5 |
2299 echo "configure: failed program was:" >&5 | 2288 echo "configure: failed program was:" >&5 |
2300 cat conftest.$ac_ext >&5 | 2289 cat conftest.$ac_ext >&5 |
2301 rm -rf conftest* | 2290 rm -rf conftest* |
2302 CPP="${CC-cc} -E -traditional-cpp" | 2291 CPP="${CC-cc} -E -traditional-cpp" |
2303 cat > conftest.$ac_ext <<EOF | 2292 cat > conftest.$ac_ext <<EOF |
2304 #line 2305 "configure" | 2293 #line 2294 "configure" |
2305 #include "confdefs.h" | 2294 #include "confdefs.h" |
2306 #include <assert.h> | 2295 #include <assert.h> |
2307 Syntax Error | 2296 Syntax Error |
2308 EOF | 2297 EOF |
2309 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2298 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2310 { (eval echo configure:2311: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2299 { (eval echo configure:2300: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2311 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2300 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2312 if test -z "$ac_err"; then | 2301 if test -z "$ac_err"; then |
2313 : | 2302 : |
2314 else | 2303 else |
2315 echo "$ac_err" >&5 | 2304 echo "$ac_err" >&5 |
2316 echo "configure: failed program was:" >&5 | 2305 echo "configure: failed program was:" >&5 |
2317 cat conftest.$ac_ext >&5 | 2306 cat conftest.$ac_ext >&5 |
2318 rm -rf conftest* | 2307 rm -rf conftest* |
2319 CPP="${CC-cc} -nologo -E" | 2308 CPP="${CC-cc} -nologo -E" |
2320 cat > conftest.$ac_ext <<EOF | 2309 cat > conftest.$ac_ext <<EOF |
2321 #line 2322 "configure" | 2310 #line 2311 "configure" |
2322 #include "confdefs.h" | 2311 #include "confdefs.h" |
2323 #include <assert.h> | 2312 #include <assert.h> |
2324 Syntax Error | 2313 Syntax Error |
2325 EOF | 2314 EOF |
2326 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2315 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2327 { (eval echo configure:2328: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2316 { (eval echo configure:2317: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2328 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2317 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2329 if test -z "$ac_err"; then | 2318 if test -z "$ac_err"; then |
2330 : | 2319 : |
2331 else | 2320 else |
2332 echo "$ac_err" >&5 | 2321 echo "$ac_err" >&5 |
2348 echo "$ac_t""$CPP" 1>&6 | 2337 echo "$ac_t""$CPP" 1>&6 |
2349 | 2338 |
2350 | 2339 |
2351 | 2340 |
2352 echo $ac_n "checking for AIX""... $ac_c" 1>&6 | 2341 echo $ac_n "checking for AIX""... $ac_c" 1>&6 |
2353 echo "configure:2354: checking for AIX" >&5 | 2342 echo "configure:2343: checking for AIX" >&5 |
2354 cat > conftest.$ac_ext <<EOF | 2343 cat > conftest.$ac_ext <<EOF |
2355 #line 2356 "configure" | 2344 #line 2345 "configure" |
2356 #include "confdefs.h" | 2345 #include "confdefs.h" |
2357 #ifdef _AIX | 2346 #ifdef _AIX |
2358 yes | 2347 yes |
2359 #endif | 2348 #endif |
2360 | 2349 |
2377 rm -f conftest* | 2366 rm -f conftest* |
2378 | 2367 |
2379 | 2368 |
2380 | 2369 |
2381 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6 | 2370 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6 |
2382 echo "configure:2383: checking for GNU libc" >&5 | 2371 echo "configure:2372: checking for GNU libc" >&5 |
2383 cat > conftest.$ac_ext <<EOF | 2372 cat > conftest.$ac_ext <<EOF |
2384 #line 2385 "configure" | 2373 #line 2374 "configure" |
2385 #include "confdefs.h" | 2374 #include "confdefs.h" |
2386 #include <features.h> | 2375 #include <features.h> |
2387 int main() { | 2376 int main() { |
2388 | 2377 |
2389 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) | 2378 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) |
2391 ******* ======= ******** &&&&&&&& | 2380 ******* ======= ******** &&&&&&&& |
2392 #endif | 2381 #endif |
2393 | 2382 |
2394 ; return 0; } | 2383 ; return 0; } |
2395 EOF | 2384 EOF |
2396 if { (eval echo configure:2397: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2385 if { (eval echo configure:2386: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2397 rm -rf conftest* | 2386 rm -rf conftest* |
2398 have_glibc=yes | 2387 have_glibc=yes |
2399 else | 2388 else |
2400 echo "configure: failed program was:" >&5 | 2389 echo "configure: failed program was:" >&5 |
2401 cat conftest.$ac_ext >&5 | 2390 cat conftest.$ac_ext >&5 |
2468 | 2457 |
2469 ;; | 2458 ;; |
2470 esac | 2459 esac |
2471 | 2460 |
2472 cat > conftest.$ac_ext <<EOF | 2461 cat > conftest.$ac_ext <<EOF |
2473 #line 2474 "configure" | 2462 #line 2463 "configure" |
2474 #include "confdefs.h" | 2463 #include "confdefs.h" |
2475 int main () { | 2464 int main () { |
2476 #if defined __SUNPRO_C | 2465 #if defined __SUNPRO_C |
2477 return 11; | 2466 return 11; |
2478 #elif defined __DECC | 2467 #elif defined __DECC |
2482 #else | 2471 #else |
2483 return 0; | 2472 return 0; |
2484 #endif | 2473 #endif |
2485 } | 2474 } |
2486 EOF | 2475 EOF |
2487 if { (eval echo configure:2488: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 2476 if { (eval echo configure:2477: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
2488 then | 2477 then |
2489 : | 2478 : |
2490 else | 2479 else |
2491 conftest_rc="$?" | 2480 conftest_rc="$?" |
2492 echo "configure: failed program was:" >&5 | 2481 echo "configure: failed program was:" >&5 |
2734 | 2723 |
2735 test "$__DECC" = "yes" && c_switch_site="$c_switch_site -std1" && if test "$extra_verbose" = "yes"; then echo " Appending \"-std1\" to \$c_switch_site"; fi | 2724 test "$__DECC" = "yes" && c_switch_site="$c_switch_site -std1" && if test "$extra_verbose" = "yes"; then echo " Appending \"-std1\" to \$c_switch_site"; fi |
2736 | 2725 |
2737 if test "$__USLC__" = yes; then | 2726 if test "$__USLC__" = yes; then |
2738 echo $ac_n "checking for whether the -Kalloca compiler flag is needed""... $ac_c" 1>&6 | 2727 echo $ac_n "checking for whether the -Kalloca compiler flag is needed""... $ac_c" 1>&6 |
2739 echo "configure:2740: checking for whether the -Kalloca compiler flag is needed" >&5 | 2728 echo "configure:2729: checking for whether the -Kalloca compiler flag is needed" >&5 |
2740 need_kalloca=no | 2729 need_kalloca=no |
2741 cat > conftest.$ac_ext <<EOF | 2730 cat > conftest.$ac_ext <<EOF |
2742 #line 2743 "configure" | 2731 #line 2732 "configure" |
2743 #include "confdefs.h" | 2732 #include "confdefs.h" |
2744 | 2733 |
2745 int main() { | 2734 int main() { |
2746 void *x = alloca(4); | 2735 void *x = alloca(4); |
2747 ; return 0; } | 2736 ; return 0; } |
2748 EOF | 2737 EOF |
2749 if { (eval echo configure:2750: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2738 if { (eval echo configure:2739: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2750 rm -rf conftest* | 2739 rm -rf conftest* |
2751 : | 2740 : |
2752 else | 2741 else |
2753 echo "configure: failed program was:" >&5 | 2742 echo "configure: failed program was:" >&5 |
2754 cat conftest.$ac_ext >&5 | 2743 cat conftest.$ac_ext >&5 |
2755 rm -rf conftest* | 2744 rm -rf conftest* |
2756 | 2745 |
2757 xe_save_c_switch_system="$c_switch_system" | 2746 xe_save_c_switch_system="$c_switch_system" |
2758 c_switch_system="$c_switch_system -Kalloca" | 2747 c_switch_system="$c_switch_system -Kalloca" |
2759 cat > conftest.$ac_ext <<EOF | 2748 cat > conftest.$ac_ext <<EOF |
2760 #line 2761 "configure" | 2749 #line 2750 "configure" |
2761 #include "confdefs.h" | 2750 #include "confdefs.h" |
2762 | 2751 |
2763 int main() { | 2752 int main() { |
2764 void *x = alloca(4); | 2753 void *x = alloca(4); |
2765 ; return 0; } | 2754 ; return 0; } |
2766 EOF | 2755 EOF |
2767 if { (eval echo configure:2768: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2756 if { (eval echo configure:2757: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2768 rm -rf conftest* | 2757 rm -rf conftest* |
2769 need_kalloca=yes | 2758 need_kalloca=yes |
2770 else | 2759 else |
2771 echo "configure: failed program was:" >&5 | 2760 echo "configure: failed program was:" >&5 |
2772 cat conftest.$ac_ext >&5 | 2761 cat conftest.$ac_ext >&5 |
2781 | 2770 |
2782 if test "$cflags_specified" = "no"; then | 2771 if test "$cflags_specified" = "no"; then |
2783 if test "$GCC" = "yes"; then | 2772 if test "$GCC" = "yes"; then |
2784 CFLAGS="-g -O3 -Wall -Wno-switch -Winline -Wmissing-prototypes" | 2773 CFLAGS="-g -O3 -Wall -Wno-switch -Winline -Wmissing-prototypes" |
2785 CFLAGS="$CFLAGS -Wsign-compare" | 2774 CFLAGS="$CFLAGS -Wsign-compare" |
2786 if test "$xemacs_compiler" != "g++"; then | 2775 if test "$xemacs_compiler" != "g++"; then |
2787 CFLAGS="$CFLAGS -Wshadow" | 2776 CFLAGS="$CFLAGS -Wshadow" |
2788 fi | 2777 fi |
2789 test "$have_glibc" != "yes" && CFLAGS="$CFLAGS -Wpointer-arith" | 2778 test "$have_glibc" != "yes" && CFLAGS="$CFLAGS -Wpointer-arith" |
2790 elif test "$__SUNPRO_C" = "yes"; then | 2779 elif test "$__SUNPRO_C" = "yes"; then |
2791 case "$opsys" in | 2780 case "$opsys" in |
2800 CFLAGS="-O" ; fi | 2789 CFLAGS="-O" ; fi |
2801 fi | 2790 fi |
2802 | 2791 |
2803 if test "$GCC" = "yes"; then | 2792 if test "$GCC" = "yes"; then |
2804 echo $ac_n "checking for buggy gcc versions""... $ac_c" 1>&6 | 2793 echo $ac_n "checking for buggy gcc versions""... $ac_c" 1>&6 |
2805 echo "configure:2806: checking for buggy gcc versions" >&5 | 2794 echo "configure:2795: checking for buggy gcc versions" >&5 |
2806 GCC_VERSION=`$CC --version` | 2795 GCC_VERSION=`$CC --version` |
2807 case `uname -s`:`uname -m`:$GCC_VERSION in | 2796 case `uname -s`:`uname -m`:$GCC_VERSION in |
2808 *:sun4*:2.8.1|*:sun4*:egcs-2.90.*) | 2797 *:sun4*:2.8.1|*:sun4*:egcs-2.90.*) |
2809 case "$CFLAGS" in | 2798 case "$CFLAGS" in |
2810 *-O2*|*-O3*) | 2799 *-O2*|*-O3*) |
2923 test "$pdump" = "yes" && extra_objs="$extra_objs dumper.o" && if test "$extra_verbose" = "yes"; then | 2912 test "$pdump" = "yes" && extra_objs="$extra_objs dumper.o" && if test "$extra_verbose" = "yes"; then |
2924 echo " xemacs will be linked with \"dumper.o\"" | 2913 echo " xemacs will be linked with \"dumper.o\"" |
2925 fi | 2914 fi |
2926 | 2915 |
2927 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 | 2916 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 |
2928 echo "configure:2929: checking for dynodump" >&5 | 2917 echo "configure:2918: checking for dynodump" >&5 |
2929 if test "$unexec" != "unexsol2.o"; then | 2918 if test "$unexec" != "unexsol2.o"; then |
2930 echo "$ac_t""no" 1>&6 | 2919 echo "$ac_t""no" 1>&6 |
2931 else | 2920 else |
2932 echo "$ac_t""yes" 1>&6 | 2921 echo "$ac_t""yes" 1>&6 |
2933 { test "$extra_verbose" = "yes" && cat << \EOF | 2922 { test "$extra_verbose" = "yes" && cat << \EOF |
2961 for f in "/usr/lpp/X11/bin/smt.exp" "/usr/bin/X11/smt.exp"; do | 2950 for f in "/usr/lpp/X11/bin/smt.exp" "/usr/bin/X11/smt.exp"; do |
2962 if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; break; fi | 2951 if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; break; fi |
2963 done | 2952 done |
2964 | 2953 |
2965 echo $ac_n "checking for terminateAndUnload in -lC""... $ac_c" 1>&6 | 2954 echo $ac_n "checking for terminateAndUnload in -lC""... $ac_c" 1>&6 |
2966 echo "configure:2967: checking for terminateAndUnload in -lC" >&5 | 2955 echo "configure:2956: checking for terminateAndUnload in -lC" >&5 |
2967 ac_lib_var=`echo C'_'terminateAndUnload | sed 'y%./+-%__p_%'` | 2956 ac_lib_var=`echo C'_'terminateAndUnload | sed 'y%./+-%__p_%'` |
2968 | 2957 |
2969 xe_check_libs=" -lC " | 2958 xe_check_libs=" -lC " |
2970 cat > conftest.$ac_ext <<EOF | 2959 cat > conftest.$ac_ext <<EOF |
2971 #line 2972 "configure" | 2960 #line 2961 "configure" |
2972 #include "confdefs.h" | 2961 #include "confdefs.h" |
2973 /* Override any gcc2 internal prototype to avoid an error. */ | 2962 /* Override any gcc2 internal prototype to avoid an error. */ |
2974 /* We use char because int might match the return type of a gcc2 | 2963 /* We use char because int might match the return type of a gcc2 |
2975 builtin and then its argument prototype would still apply. */ | 2964 builtin and then its argument prototype would still apply. */ |
2976 char terminateAndUnload(); | 2965 char terminateAndUnload(); |
2977 | 2966 |
2978 int main() { | 2967 int main() { |
2979 terminateAndUnload() | 2968 terminateAndUnload() |
2980 ; return 0; } | 2969 ; return 0; } |
2981 EOF | 2970 EOF |
2982 if { (eval echo configure:2983: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2971 if { (eval echo configure:2972: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2983 rm -rf conftest* | 2972 rm -rf conftest* |
2984 eval "ac_cv_lib_$ac_lib_var=yes" | 2973 eval "ac_cv_lib_$ac_lib_var=yes" |
2985 else | 2974 else |
2986 echo "configure: failed program was:" >&5 | 2975 echo "configure: failed program was:" >&5 |
2987 cat conftest.$ac_ext >&5 | 2976 cat conftest.$ac_ext >&5 |
3085 esac | 3074 esac |
3086 fi | 3075 fi |
3087 | 3076 |
3088 if test "$add_runtime_path" = "yes"; then | 3077 if test "$add_runtime_path" = "yes"; then |
3089 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 | 3078 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 |
3090 echo "configure:3091: checking "for runtime libraries flag"" >&5 | 3079 echo "configure:3080: checking "for runtime libraries flag"" >&5 |
3091 case "$opsys" in | 3080 case "$opsys" in |
3092 sol2 ) dash_r="-R" ;; | 3081 sol2 ) dash_r="-R" ;; |
3093 decosf* | linux* | irix*) dash_r="-rpath " ;; | 3082 decosf* | linux* | irix*) dash_r="-rpath " ;; |
3094 *) | 3083 *) |
3095 dash_r="" | 3084 dash_r="" |
3107 esac | 3096 esac |
3108 shift | 3097 shift |
3109 done | 3098 done |
3110 fi | 3099 fi |
3111 cat > conftest.$ac_ext <<EOF | 3100 cat > conftest.$ac_ext <<EOF |
3112 #line 3113 "configure" | 3101 #line 3102 "configure" |
3113 #include "confdefs.h" | 3102 #include "confdefs.h" |
3114 | 3103 |
3115 int main() { | 3104 int main() { |
3116 | 3105 |
3117 ; return 0; } | 3106 ; return 0; } |
3118 EOF | 3107 EOF |
3119 if { (eval echo configure:3120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3108 if { (eval echo configure:3109: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3120 rm -rf conftest* | 3109 rm -rf conftest* |
3121 dash_r="$try_dash_r" | 3110 dash_r="$try_dash_r" |
3122 else | 3111 else |
3123 echo "configure: failed program was:" >&5 | 3112 echo "configure: failed program was:" >&5 |
3124 cat conftest.$ac_ext >&5 | 3113 cat conftest.$ac_ext >&5 |
3215 else | 3204 else |
3216 doug_lea_malloc=no | 3205 doug_lea_malloc=no |
3217 fi | 3206 fi |
3218 after_morecore_hook_exists=yes | 3207 after_morecore_hook_exists=yes |
3219 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 | 3208 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 |
3220 echo "configure:3221: checking for malloc_set_state" >&5 | 3209 echo "configure:3210: checking for malloc_set_state" >&5 |
3221 | 3210 |
3222 cat > conftest.$ac_ext <<EOF | 3211 cat > conftest.$ac_ext <<EOF |
3223 #line 3224 "configure" | 3212 #line 3213 "configure" |
3224 #include "confdefs.h" | 3213 #include "confdefs.h" |
3225 /* System header to define __stub macros and hopefully few prototypes, | 3214 /* System header to define __stub macros and hopefully few prototypes, |
3226 which can conflict with char malloc_set_state(); below. */ | 3215 which can conflict with char malloc_set_state(); below. */ |
3227 #include <assert.h> | 3216 #include <assert.h> |
3228 /* Override any gcc2 internal prototype to avoid an error. */ | 3217 /* Override any gcc2 internal prototype to avoid an error. */ |
3241 malloc_set_state(); | 3230 malloc_set_state(); |
3242 #endif | 3231 #endif |
3243 | 3232 |
3244 ; return 0; } | 3233 ; return 0; } |
3245 EOF | 3234 EOF |
3246 if { (eval echo configure:3247: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3235 if { (eval echo configure:3236: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3247 rm -rf conftest* | 3236 rm -rf conftest* |
3248 eval "ac_cv_func_malloc_set_state=yes" | 3237 eval "ac_cv_func_malloc_set_state=yes" |
3249 else | 3238 else |
3250 echo "configure: failed program was:" >&5 | 3239 echo "configure: failed program was:" >&5 |
3251 cat conftest.$ac_ext >&5 | 3240 cat conftest.$ac_ext >&5 |
3261 echo "$ac_t""no" 1>&6 | 3250 echo "$ac_t""no" 1>&6 |
3262 doug_lea_malloc=no | 3251 doug_lea_malloc=no |
3263 fi | 3252 fi |
3264 | 3253 |
3265 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 | 3254 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 |
3266 echo "configure:3267: checking whether __after_morecore_hook exists" >&5 | 3255 echo "configure:3256: checking whether __after_morecore_hook exists" >&5 |
3267 cat > conftest.$ac_ext <<EOF | 3256 cat > conftest.$ac_ext <<EOF |
3268 #line 3269 "configure" | 3257 #line 3258 "configure" |
3269 #include "confdefs.h" | 3258 #include "confdefs.h" |
3270 extern void (* __after_morecore_hook)(); | 3259 extern void (* __after_morecore_hook)(); |
3271 int main() { | 3260 int main() { |
3272 __after_morecore_hook = 0 | 3261 __after_morecore_hook = 0 |
3273 ; return 0; } | 3262 ; return 0; } |
3274 EOF | 3263 EOF |
3275 if { (eval echo configure:3276: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3264 if { (eval echo configure:3265: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3276 rm -rf conftest* | 3265 rm -rf conftest* |
3277 echo "$ac_t""yes" 1>&6 | 3266 echo "$ac_t""yes" 1>&6 |
3278 else | 3267 else |
3279 echo "configure: failed program was:" >&5 | 3268 echo "configure: failed program was:" >&5 |
3280 cat conftest.$ac_ext >&5 | 3269 cat conftest.$ac_ext >&5 |
3326 | 3315 |
3327 | 3316 |
3328 # Extract the first word of "ranlib", so it can be a program name with args. | 3317 # Extract the first word of "ranlib", so it can be a program name with args. |
3329 set dummy ranlib; ac_word=$2 | 3318 set dummy ranlib; ac_word=$2 |
3330 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 3319 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3331 echo "configure:3332: checking for $ac_word" >&5 | 3320 echo "configure:3321: checking for $ac_word" >&5 |
3332 | 3321 |
3333 if test -n "$RANLIB"; then | 3322 if test -n "$RANLIB"; then |
3334 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 3323 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
3335 else | 3324 else |
3336 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 3325 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
3381 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | 3370 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
3382 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 3371 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
3383 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 3372 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
3384 # ./install, which can be erroneously created by make from ./install.sh. | 3373 # ./install, which can be erroneously created by make from ./install.sh. |
3385 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | 3374 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
3386 echo "configure:3387: checking for a BSD compatible install" >&5 | 3375 echo "configure:3376: checking for a BSD compatible install" >&5 |
3387 if test -z "$INSTALL"; then | 3376 if test -z "$INSTALL"; then |
3388 | 3377 |
3389 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" | 3378 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" |
3390 for ac_dir in $PATH; do | 3379 for ac_dir in $PATH; do |
3391 # Account for people who put trailing slashes in PATH elements. | 3380 # Account for people who put trailing slashes in PATH elements. |
3435 for ac_prog in 'bison -y' byacc | 3424 for ac_prog in 'bison -y' byacc |
3436 do | 3425 do |
3437 # Extract the first word of "$ac_prog", so it can be a program name with args. | 3426 # Extract the first word of "$ac_prog", so it can be a program name with args. |
3438 set dummy $ac_prog; ac_word=$2 | 3427 set dummy $ac_prog; ac_word=$2 |
3439 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 3428 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3440 echo "configure:3441: checking for $ac_word" >&5 | 3429 echo "configure:3430: checking for $ac_word" >&5 |
3441 | 3430 |
3442 if test -n "$YACC"; then | 3431 if test -n "$YACC"; then |
3443 ac_cv_prog_YACC="$YACC" # Let the user override the test. | 3432 ac_cv_prog_YACC="$YACC" # Let the user override the test. |
3444 else | 3433 else |
3445 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 3434 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
3467 | 3456 |
3468 for ac_hdr in a.out.h elf.h cygwin/version.h fcntl.h inttypes.h libgen.h locale.h mach/mach.h sys/param.h sys/pstat.h sys/time.h sys/timeb.h sys/un.h ulimit.h unistd.h | 3457 for ac_hdr in a.out.h elf.h cygwin/version.h fcntl.h inttypes.h libgen.h locale.h mach/mach.h sys/param.h sys/pstat.h sys/time.h sys/timeb.h sys/un.h ulimit.h unistd.h |
3469 do | 3458 do |
3470 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 3459 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
3471 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 3460 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
3472 echo "configure:3473: checking for $ac_hdr" >&5 | 3461 echo "configure:3462: checking for $ac_hdr" >&5 |
3473 | 3462 |
3474 cat > conftest.$ac_ext <<EOF | 3463 cat > conftest.$ac_ext <<EOF |
3475 #line 3476 "configure" | 3464 #line 3465 "configure" |
3476 #include "confdefs.h" | 3465 #include "confdefs.h" |
3477 #include <$ac_hdr> | 3466 #include <$ac_hdr> |
3478 EOF | 3467 EOF |
3479 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3468 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3480 { (eval echo configure:3481: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3469 { (eval echo configure:3470: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3481 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 3470 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3482 if test -z "$ac_err"; then | 3471 if test -z "$ac_err"; then |
3483 rm -rf conftest* | 3472 rm -rf conftest* |
3484 eval "ac_cv_header_$ac_safe=yes" | 3473 eval "ac_cv_header_$ac_safe=yes" |
3485 else | 3474 else |
3505 echo "$ac_t""no" 1>&6 | 3494 echo "$ac_t""no" 1>&6 |
3506 fi | 3495 fi |
3507 done | 3496 done |
3508 | 3497 |
3509 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 | 3498 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 |
3510 echo "configure:3511: checking for sys/wait.h that is POSIX.1 compatible" >&5 | 3499 echo "configure:3500: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
3511 | 3500 |
3512 cat > conftest.$ac_ext <<EOF | 3501 cat > conftest.$ac_ext <<EOF |
3513 #line 3514 "configure" | 3502 #line 3503 "configure" |
3514 #include "confdefs.h" | 3503 #include "confdefs.h" |
3515 #include <sys/types.h> | 3504 #include <sys/types.h> |
3516 #include <sys/wait.h> | 3505 #include <sys/wait.h> |
3517 #ifndef WEXITSTATUS | 3506 #ifndef WEXITSTATUS |
3518 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) | 3507 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) |
3524 int s; | 3513 int s; |
3525 wait (&s); | 3514 wait (&s); |
3526 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; | 3515 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; |
3527 ; return 0; } | 3516 ; return 0; } |
3528 EOF | 3517 EOF |
3529 if { (eval echo configure:3530: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3518 if { (eval echo configure:3519: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3530 rm -rf conftest* | 3519 rm -rf conftest* |
3531 ac_cv_header_sys_wait_h=yes | 3520 ac_cv_header_sys_wait_h=yes |
3532 else | 3521 else |
3533 echo "configure: failed program was:" >&5 | 3522 echo "configure: failed program was:" >&5 |
3534 cat conftest.$ac_ext >&5 | 3523 cat conftest.$ac_ext >&5 |
3548 } | 3537 } |
3549 | 3538 |
3550 fi | 3539 fi |
3551 | 3540 |
3552 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | 3541 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
3553 echo "configure:3554: checking for ANSI C header files" >&5 | 3542 echo "configure:3543: checking for ANSI C header files" >&5 |
3554 | 3543 |
3555 cat > conftest.$ac_ext <<EOF | 3544 cat > conftest.$ac_ext <<EOF |
3556 #line 3557 "configure" | 3545 #line 3546 "configure" |
3557 #include "confdefs.h" | 3546 #include "confdefs.h" |
3558 #include <stdlib.h> | 3547 #include <stdlib.h> |
3559 #include <stdarg.h> | 3548 #include <stdarg.h> |
3560 #include <string.h> | 3549 #include <string.h> |
3561 #include <float.h> | 3550 #include <float.h> |
3562 EOF | 3551 EOF |
3563 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3552 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3564 { (eval echo configure:3565: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3553 { (eval echo configure:3554: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3565 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 3554 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3566 if test -z "$ac_err"; then | 3555 if test -z "$ac_err"; then |
3567 rm -rf conftest* | 3556 rm -rf conftest* |
3568 ac_cv_header_stdc=yes | 3557 ac_cv_header_stdc=yes |
3569 else | 3558 else |
3576 rm -f conftest* | 3565 rm -f conftest* |
3577 | 3566 |
3578 if test $ac_cv_header_stdc = yes; then | 3567 if test $ac_cv_header_stdc = yes; then |
3579 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 3568 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
3580 cat > conftest.$ac_ext <<EOF | 3569 cat > conftest.$ac_ext <<EOF |
3581 #line 3582 "configure" | 3570 #line 3571 "configure" |
3582 #include "confdefs.h" | 3571 #include "confdefs.h" |
3583 #include <string.h> | 3572 #include <string.h> |
3584 EOF | 3573 EOF |
3585 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3574 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3586 egrep "memchr" >/dev/null 2>&1; then | 3575 egrep "memchr" >/dev/null 2>&1; then |
3594 fi | 3583 fi |
3595 | 3584 |
3596 if test $ac_cv_header_stdc = yes; then | 3585 if test $ac_cv_header_stdc = yes; then |
3597 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 3586 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
3598 cat > conftest.$ac_ext <<EOF | 3587 cat > conftest.$ac_ext <<EOF |
3599 #line 3600 "configure" | 3588 #line 3589 "configure" |
3600 #include "confdefs.h" | 3589 #include "confdefs.h" |
3601 #include <stdlib.h> | 3590 #include <stdlib.h> |
3602 EOF | 3591 EOF |
3603 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3592 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3604 egrep "free" >/dev/null 2>&1; then | 3593 egrep "free" >/dev/null 2>&1; then |
3612 fi | 3601 fi |
3613 | 3602 |
3614 if test $ac_cv_header_stdc = yes; then | 3603 if test $ac_cv_header_stdc = yes; then |
3615 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 3604 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
3616 cat > conftest.$ac_ext <<EOF | 3605 cat > conftest.$ac_ext <<EOF |
3617 #line 3618 "configure" | 3606 #line 3607 "configure" |
3618 #include "confdefs.h" | 3607 #include "confdefs.h" |
3619 #include <ctype.h> | 3608 #include <ctype.h> |
3620 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 3609 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
3621 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 3610 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
3622 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 3611 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
3623 int main () { int i; for (i = 0; i < 256; i++) | 3612 int main () { int i; for (i = 0; i < 256; i++) |
3624 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); | 3613 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); |
3625 exit (0); } | 3614 exit (0); } |
3626 | 3615 |
3627 EOF | 3616 EOF |
3628 if { (eval echo configure:3629: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 3617 if { (eval echo configure:3618: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
3629 then | 3618 then |
3630 : | 3619 : |
3631 else | 3620 else |
3632 conftest_rc="$?" | 3621 conftest_rc="$?" |
3633 echo "configure: failed program was:" >&5 | 3622 echo "configure: failed program was:" >&5 |
3649 } | 3638 } |
3650 | 3639 |
3651 fi | 3640 fi |
3652 | 3641 |
3653 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 | 3642 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 |
3654 echo "configure:3655: checking whether time.h and sys/time.h may both be included" >&5 | 3643 echo "configure:3644: checking whether time.h and sys/time.h may both be included" >&5 |
3655 | 3644 |
3656 cat > conftest.$ac_ext <<EOF | 3645 cat > conftest.$ac_ext <<EOF |
3657 #line 3658 "configure" | 3646 #line 3647 "configure" |
3658 #include "confdefs.h" | 3647 #include "confdefs.h" |
3659 #include <sys/types.h> | 3648 #include <sys/types.h> |
3660 #include <sys/time.h> | 3649 #include <sys/time.h> |
3661 #include <time.h> | 3650 #include <time.h> |
3662 int main() { | 3651 int main() { |
3663 struct tm *tp; | 3652 struct tm *tp; |
3664 ; return 0; } | 3653 ; return 0; } |
3665 EOF | 3654 EOF |
3666 if { (eval echo configure:3667: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3655 if { (eval echo configure:3656: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3667 rm -rf conftest* | 3656 rm -rf conftest* |
3668 ac_cv_header_time=yes | 3657 ac_cv_header_time=yes |
3669 else | 3658 else |
3670 echo "configure: failed program was:" >&5 | 3659 echo "configure: failed program was:" >&5 |
3671 cat conftest.$ac_ext >&5 | 3660 cat conftest.$ac_ext >&5 |
3685 } | 3674 } |
3686 | 3675 |
3687 fi | 3676 fi |
3688 | 3677 |
3689 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 | 3678 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 |
3690 echo "configure:3691: checking for sys_siglist declaration in signal.h or unistd.h" >&5 | 3679 echo "configure:3680: checking for sys_siglist declaration in signal.h or unistd.h" >&5 |
3691 | 3680 |
3692 cat > conftest.$ac_ext <<EOF | 3681 cat > conftest.$ac_ext <<EOF |
3693 #line 3694 "configure" | 3682 #line 3683 "configure" |
3694 #include "confdefs.h" | 3683 #include "confdefs.h" |
3695 #include <sys/types.h> | 3684 #include <sys/types.h> |
3696 #include <signal.h> | 3685 #include <signal.h> |
3697 /* NetBSD declares sys_siglist in unistd.h. */ | 3686 /* NetBSD declares sys_siglist in unistd.h. */ |
3698 #ifdef HAVE_UNISTD_H | 3687 #ifdef HAVE_UNISTD_H |
3700 #endif | 3689 #endif |
3701 int main() { | 3690 int main() { |
3702 char *msg = *(sys_siglist + 1); | 3691 char *msg = *(sys_siglist + 1); |
3703 ; return 0; } | 3692 ; return 0; } |
3704 EOF | 3693 EOF |
3705 if { (eval echo configure:3706: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3694 if { (eval echo configure:3695: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3706 rm -rf conftest* | 3695 rm -rf conftest* |
3707 ac_cv_decl_sys_siglist=yes | 3696 ac_cv_decl_sys_siglist=yes |
3708 else | 3697 else |
3709 echo "configure: failed program was:" >&5 | 3698 echo "configure: failed program was:" >&5 |
3710 cat conftest.$ac_ext >&5 | 3699 cat conftest.$ac_ext >&5 |
3726 fi | 3715 fi |
3727 | 3716 |
3728 | 3717 |
3729 | 3718 |
3730 echo $ac_n "checking for utime""... $ac_c" 1>&6 | 3719 echo $ac_n "checking for utime""... $ac_c" 1>&6 |
3731 echo "configure:3732: checking for utime" >&5 | 3720 echo "configure:3721: checking for utime" >&5 |
3732 cat > conftest.$ac_ext <<EOF | 3721 cat > conftest.$ac_ext <<EOF |
3733 #line 3734 "configure" | 3722 #line 3723 "configure" |
3734 #include "confdefs.h" | 3723 #include "confdefs.h" |
3735 #include <sys/types.h> | 3724 #include <sys/types.h> |
3736 #include <utime.h> | 3725 #include <utime.h> |
3737 int main() { | 3726 int main() { |
3738 struct utimbuf x; x.actime = x.modtime = 0; utime ("/", &x); | 3727 struct utimbuf x; x.actime = x.modtime = 0; utime ("/", &x); |
3739 ; return 0; } | 3728 ; return 0; } |
3740 EOF | 3729 EOF |
3741 if { (eval echo configure:3742: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3730 if { (eval echo configure:3731: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3742 rm -rf conftest* | 3731 rm -rf conftest* |
3743 echo "$ac_t""yes" 1>&6 | 3732 echo "$ac_t""yes" 1>&6 |
3744 { test "$extra_verbose" = "yes" && cat << \EOF | 3733 { test "$extra_verbose" = "yes" && cat << \EOF |
3745 Defining HAVE_UTIME | 3734 Defining HAVE_UTIME |
3746 EOF | 3735 EOF |
3755 rm -rf conftest* | 3744 rm -rf conftest* |
3756 echo "$ac_t""no" 1>&6 | 3745 echo "$ac_t""no" 1>&6 |
3757 for ac_func in utimes | 3746 for ac_func in utimes |
3758 do | 3747 do |
3759 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 3748 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
3760 echo "configure:3761: checking for $ac_func" >&5 | 3749 echo "configure:3750: checking for $ac_func" >&5 |
3761 | 3750 |
3762 cat > conftest.$ac_ext <<EOF | 3751 cat > conftest.$ac_ext <<EOF |
3763 #line 3764 "configure" | 3752 #line 3753 "configure" |
3764 #include "confdefs.h" | 3753 #include "confdefs.h" |
3765 /* System header to define __stub macros and hopefully few prototypes, | 3754 /* System header to define __stub macros and hopefully few prototypes, |
3766 which can conflict with char $ac_func(); below. */ | 3755 which can conflict with char $ac_func(); below. */ |
3767 #include <assert.h> | 3756 #include <assert.h> |
3768 /* Override any gcc2 internal prototype to avoid an error. */ | 3757 /* Override any gcc2 internal prototype to avoid an error. */ |
3781 $ac_func(); | 3770 $ac_func(); |
3782 #endif | 3771 #endif |
3783 | 3772 |
3784 ; return 0; } | 3773 ; return 0; } |
3785 EOF | 3774 EOF |
3786 if { (eval echo configure:3787: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3775 if { (eval echo configure:3776: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3787 rm -rf conftest* | 3776 rm -rf conftest* |
3788 eval "ac_cv_func_$ac_func=yes" | 3777 eval "ac_cv_func_$ac_func=yes" |
3789 else | 3778 else |
3790 echo "configure: failed program was:" >&5 | 3779 echo "configure: failed program was:" >&5 |
3791 cat conftest.$ac_ext >&5 | 3780 cat conftest.$ac_ext >&5 |
3813 fi | 3802 fi |
3814 rm -f conftest* | 3803 rm -f conftest* |
3815 | 3804 |
3816 | 3805 |
3817 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 | 3806 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
3818 echo "configure:3819: checking return type of signal handlers" >&5 | 3807 echo "configure:3808: checking return type of signal handlers" >&5 |
3819 | 3808 |
3820 cat > conftest.$ac_ext <<EOF | 3809 cat > conftest.$ac_ext <<EOF |
3821 #line 3822 "configure" | 3810 #line 3811 "configure" |
3822 #include "confdefs.h" | 3811 #include "confdefs.h" |
3823 #include <sys/types.h> | 3812 #include <sys/types.h> |
3824 #include <signal.h> | 3813 #include <signal.h> |
3825 #ifdef signal | 3814 #ifdef signal |
3826 #undef signal | 3815 #undef signal |
3833 | 3822 |
3834 int main() { | 3823 int main() { |
3835 int i; | 3824 int i; |
3836 ; return 0; } | 3825 ; return 0; } |
3837 EOF | 3826 EOF |
3838 if { (eval echo configure:3839: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3827 if { (eval echo configure:3828: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3839 rm -rf conftest* | 3828 rm -rf conftest* |
3840 ac_cv_type_signal=void | 3829 ac_cv_type_signal=void |
3841 else | 3830 else |
3842 echo "configure: failed program was:" >&5 | 3831 echo "configure: failed program was:" >&5 |
3843 cat conftest.$ac_ext >&5 | 3832 cat conftest.$ac_ext >&5 |
3855 EOF | 3844 EOF |
3856 } | 3845 } |
3857 | 3846 |
3858 | 3847 |
3859 echo $ac_n "checking for size_t""... $ac_c" 1>&6 | 3848 echo $ac_n "checking for size_t""... $ac_c" 1>&6 |
3860 echo "configure:3861: checking for size_t" >&5 | 3849 echo "configure:3850: checking for size_t" >&5 |
3861 | 3850 |
3862 cat > conftest.$ac_ext <<EOF | 3851 cat > conftest.$ac_ext <<EOF |
3863 #line 3864 "configure" | 3852 #line 3853 "configure" |
3864 #include "confdefs.h" | 3853 #include "confdefs.h" |
3865 #include <sys/types.h> | 3854 #include <sys/types.h> |
3866 #if STDC_HEADERS | 3855 #if STDC_HEADERS |
3867 #include <stdlib.h> | 3856 #include <stdlib.h> |
3868 #include <stddef.h> | 3857 #include <stddef.h> |
3889 } | 3878 } |
3890 | 3879 |
3891 fi | 3880 fi |
3892 | 3881 |
3893 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 | 3882 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 |
3894 echo "configure:3895: checking for pid_t" >&5 | 3883 echo "configure:3884: checking for pid_t" >&5 |
3895 | 3884 |
3896 cat > conftest.$ac_ext <<EOF | 3885 cat > conftest.$ac_ext <<EOF |
3897 #line 3898 "configure" | 3886 #line 3887 "configure" |
3898 #include "confdefs.h" | 3887 #include "confdefs.h" |
3899 #include <sys/types.h> | 3888 #include <sys/types.h> |
3900 #if STDC_HEADERS | 3889 #if STDC_HEADERS |
3901 #include <stdlib.h> | 3890 #include <stdlib.h> |
3902 #include <stddef.h> | 3891 #include <stddef.h> |
3923 } | 3912 } |
3924 | 3913 |
3925 fi | 3914 fi |
3926 | 3915 |
3927 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 | 3916 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 |
3928 echo "configure:3929: checking for uid_t in sys/types.h" >&5 | 3917 echo "configure:3918: checking for uid_t in sys/types.h" >&5 |
3929 | 3918 |
3930 cat > conftest.$ac_ext <<EOF | 3919 cat > conftest.$ac_ext <<EOF |
3931 #line 3932 "configure" | 3920 #line 3921 "configure" |
3932 #include "confdefs.h" | 3921 #include "confdefs.h" |
3933 #include <sys/types.h> | 3922 #include <sys/types.h> |
3934 EOF | 3923 EOF |
3935 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3924 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3936 egrep "uid_t" >/dev/null 2>&1; then | 3925 egrep "uid_t" >/dev/null 2>&1; then |
3962 } | 3951 } |
3963 | 3952 |
3964 fi | 3953 fi |
3965 | 3954 |
3966 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 | 3955 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 |
3967 echo "configure:3968: checking for mode_t" >&5 | 3956 echo "configure:3957: checking for mode_t" >&5 |
3968 | 3957 |
3969 cat > conftest.$ac_ext <<EOF | 3958 cat > conftest.$ac_ext <<EOF |
3970 #line 3971 "configure" | 3959 #line 3960 "configure" |
3971 #include "confdefs.h" | 3960 #include "confdefs.h" |
3972 #include <sys/types.h> | 3961 #include <sys/types.h> |
3973 #if STDC_HEADERS | 3962 #if STDC_HEADERS |
3974 #include <stdlib.h> | 3963 #include <stdlib.h> |
3975 #include <stddef.h> | 3964 #include <stddef.h> |
3996 } | 3985 } |
3997 | 3986 |
3998 fi | 3987 fi |
3999 | 3988 |
4000 echo $ac_n "checking for off_t""... $ac_c" 1>&6 | 3989 echo $ac_n "checking for off_t""... $ac_c" 1>&6 |
4001 echo "configure:4002: checking for off_t" >&5 | 3990 echo "configure:3991: checking for off_t" >&5 |
4002 | 3991 |
4003 cat > conftest.$ac_ext <<EOF | 3992 cat > conftest.$ac_ext <<EOF |
4004 #line 4005 "configure" | 3993 #line 3994 "configure" |
4005 #include "confdefs.h" | 3994 #include "confdefs.h" |
4006 #include <sys/types.h> | 3995 #include <sys/types.h> |
4007 #if STDC_HEADERS | 3996 #if STDC_HEADERS |
4008 #include <stdlib.h> | 3997 #include <stdlib.h> |
4009 #include <stddef.h> | 3998 #include <stddef.h> |
4030 } | 4019 } |
4031 | 4020 |
4032 fi | 4021 fi |
4033 | 4022 |
4034 echo $ac_n "checking for ssize_t""... $ac_c" 1>&6 | 4023 echo $ac_n "checking for ssize_t""... $ac_c" 1>&6 |
4035 echo "configure:4036: checking for ssize_t" >&5 | 4024 echo "configure:4025: checking for ssize_t" >&5 |
4036 | 4025 |
4037 cat > conftest.$ac_ext <<EOF | 4026 cat > conftest.$ac_ext <<EOF |
4038 #line 4039 "configure" | 4027 #line 4028 "configure" |
4039 #include "confdefs.h" | 4028 #include "confdefs.h" |
4040 #include <sys/types.h> | 4029 #include <sys/types.h> |
4041 #if STDC_HEADERS | 4030 #if STDC_HEADERS |
4042 #include <stdlib.h> | 4031 #include <stdlib.h> |
4043 #include <stddef.h> | 4032 #include <stddef.h> |
4065 | 4054 |
4066 fi | 4055 fi |
4067 | 4056 |
4068 | 4057 |
4069 echo $ac_n "checking for socklen_t""... $ac_c" 1>&6 | 4058 echo $ac_n "checking for socklen_t""... $ac_c" 1>&6 |
4070 echo "configure:4071: checking for socklen_t" >&5 | 4059 echo "configure:4060: checking for socklen_t" >&5 |
4071 cat > conftest.$ac_ext <<EOF | 4060 cat > conftest.$ac_ext <<EOF |
4072 #line 4073 "configure" | 4061 #line 4062 "configure" |
4073 #include "confdefs.h" | 4062 #include "confdefs.h" |
4074 #include <sys/socket.h> | 4063 #include <sys/socket.h> |
4075 socklen_t x; | 4064 socklen_t x; |
4076 | 4065 |
4077 int main() { | 4066 int main() { |
4078 | 4067 |
4079 ; return 0; } | 4068 ; return 0; } |
4080 EOF | 4069 EOF |
4081 if { (eval echo configure:4082: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4070 if { (eval echo configure:4071: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4082 rm -rf conftest* | 4071 rm -rf conftest* |
4083 echo "$ac_t""yes" 1>&6 | 4072 echo "$ac_t""yes" 1>&6 |
4084 else | 4073 else |
4085 echo "configure: failed program was:" >&5 | 4074 echo "configure: failed program was:" >&5 |
4086 cat conftest.$ac_ext >&5 | 4075 cat conftest.$ac_ext >&5 |
4087 rm -rf conftest* | 4076 rm -rf conftest* |
4088 | 4077 |
4089 cat > conftest.$ac_ext <<EOF | 4078 cat > conftest.$ac_ext <<EOF |
4090 #line 4091 "configure" | 4079 #line 4080 "configure" |
4091 #include "confdefs.h" | 4080 #include "confdefs.h" |
4092 #include <sys/socket.h> | 4081 #include <sys/socket.h> |
4093 int accept (int, struct sockaddr *, size_t *); | 4082 int accept (int, struct sockaddr *, size_t *); |
4094 | 4083 |
4095 int main() { | 4084 int main() { |
4096 | 4085 |
4097 ; return 0; } | 4086 ; return 0; } |
4098 EOF | 4087 EOF |
4099 if { (eval echo configure:4100: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4088 if { (eval echo configure:4089: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4100 rm -rf conftest* | 4089 rm -rf conftest* |
4101 | 4090 |
4102 echo "$ac_t""size_t" 1>&6 | 4091 echo "$ac_t""size_t" 1>&6 |
4103 { test "$extra_verbose" = "yes" && cat << \EOF | 4092 { test "$extra_verbose" = "yes" && cat << \EOF |
4104 Defining socklen_t = size_t | 4093 Defining socklen_t = size_t |
4126 rm -f conftest* | 4115 rm -f conftest* |
4127 fi | 4116 fi |
4128 rm -f conftest* | 4117 rm -f conftest* |
4129 | 4118 |
4130 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 | 4119 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 |
4131 echo "configure:4132: checking for struct timeval" >&5 | 4120 echo "configure:4121: checking for struct timeval" >&5 |
4132 cat > conftest.$ac_ext <<EOF | 4121 cat > conftest.$ac_ext <<EOF |
4133 #line 4134 "configure" | 4122 #line 4123 "configure" |
4134 #include "confdefs.h" | 4123 #include "confdefs.h" |
4135 #ifdef TIME_WITH_SYS_TIME | 4124 #ifdef TIME_WITH_SYS_TIME |
4136 #include <sys/time.h> | 4125 #include <sys/time.h> |
4137 #include <time.h> | 4126 #include <time.h> |
4138 #else | 4127 #else |
4144 #endif | 4133 #endif |
4145 int main() { | 4134 int main() { |
4146 static struct timeval x; x.tv_sec = x.tv_usec; | 4135 static struct timeval x; x.tv_sec = x.tv_usec; |
4147 ; return 0; } | 4136 ; return 0; } |
4148 EOF | 4137 EOF |
4149 if { (eval echo configure:4150: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4138 if { (eval echo configure:4139: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4150 rm -rf conftest* | 4139 rm -rf conftest* |
4151 echo "$ac_t""yes" 1>&6 | 4140 echo "$ac_t""yes" 1>&6 |
4152 HAVE_TIMEVAL=yes | 4141 HAVE_TIMEVAL=yes |
4153 { test "$extra_verbose" = "yes" && cat << \EOF | 4142 { test "$extra_verbose" = "yes" && cat << \EOF |
4154 Defining HAVE_TIMEVAL | 4143 Defining HAVE_TIMEVAL |
4166 HAVE_TIMEVAL=no | 4155 HAVE_TIMEVAL=no |
4167 fi | 4156 fi |
4168 rm -f conftest* | 4157 rm -f conftest* |
4169 | 4158 |
4170 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 | 4159 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 |
4171 echo "configure:4172: checking whether struct tm is in sys/time.h or time.h" >&5 | 4160 echo "configure:4161: checking whether struct tm is in sys/time.h or time.h" >&5 |
4172 | 4161 |
4173 cat > conftest.$ac_ext <<EOF | 4162 cat > conftest.$ac_ext <<EOF |
4174 #line 4175 "configure" | 4163 #line 4164 "configure" |
4175 #include "confdefs.h" | 4164 #include "confdefs.h" |
4176 #include <sys/types.h> | 4165 #include <sys/types.h> |
4177 #include <time.h> | 4166 #include <time.h> |
4178 int main() { | 4167 int main() { |
4179 struct tm *tp; tp->tm_sec; | 4168 struct tm *tp; tp->tm_sec; |
4180 ; return 0; } | 4169 ; return 0; } |
4181 EOF | 4170 EOF |
4182 if { (eval echo configure:4183: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4171 if { (eval echo configure:4172: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4183 rm -rf conftest* | 4172 rm -rf conftest* |
4184 ac_cv_struct_tm=time.h | 4173 ac_cv_struct_tm=time.h |
4185 else | 4174 else |
4186 echo "configure: failed program was:" >&5 | 4175 echo "configure: failed program was:" >&5 |
4187 cat conftest.$ac_ext >&5 | 4176 cat conftest.$ac_ext >&5 |
4201 } | 4190 } |
4202 | 4191 |
4203 fi | 4192 fi |
4204 | 4193 |
4205 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 | 4194 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 |
4206 echo "configure:4207: checking for tm_zone in struct tm" >&5 | 4195 echo "configure:4196: checking for tm_zone in struct tm" >&5 |
4207 | 4196 |
4208 cat > conftest.$ac_ext <<EOF | 4197 cat > conftest.$ac_ext <<EOF |
4209 #line 4210 "configure" | 4198 #line 4199 "configure" |
4210 #include "confdefs.h" | 4199 #include "confdefs.h" |
4211 #include <sys/types.h> | 4200 #include <sys/types.h> |
4212 #include <$ac_cv_struct_tm> | 4201 #include <$ac_cv_struct_tm> |
4213 int main() { | 4202 int main() { |
4214 struct tm tm; tm.tm_zone; | 4203 struct tm tm; tm.tm_zone; |
4215 ; return 0; } | 4204 ; return 0; } |
4216 EOF | 4205 EOF |
4217 if { (eval echo configure:4218: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4206 if { (eval echo configure:4207: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4218 rm -rf conftest* | 4207 rm -rf conftest* |
4219 ac_cv_struct_tm_zone=yes | 4208 ac_cv_struct_tm_zone=yes |
4220 else | 4209 else |
4221 echo "configure: failed program was:" >&5 | 4210 echo "configure: failed program was:" >&5 |
4222 cat conftest.$ac_ext >&5 | 4211 cat conftest.$ac_ext >&5 |
4235 EOF | 4224 EOF |
4236 } | 4225 } |
4237 | 4226 |
4238 else | 4227 else |
4239 echo $ac_n "checking for tzname""... $ac_c" 1>&6 | 4228 echo $ac_n "checking for tzname""... $ac_c" 1>&6 |
4240 echo "configure:4241: checking for tzname" >&5 | 4229 echo "configure:4230: checking for tzname" >&5 |
4241 | 4230 |
4242 cat > conftest.$ac_ext <<EOF | 4231 cat > conftest.$ac_ext <<EOF |
4243 #line 4244 "configure" | 4232 #line 4233 "configure" |
4244 #include "confdefs.h" | 4233 #include "confdefs.h" |
4245 #include <time.h> | 4234 #include <time.h> |
4246 #ifndef tzname /* For SGI. */ | 4235 #ifndef tzname /* For SGI. */ |
4247 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ | 4236 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ |
4248 #endif | 4237 #endif |
4249 int main() { | 4238 int main() { |
4250 atoi(*tzname); | 4239 atoi(*tzname); |
4251 ; return 0; } | 4240 ; return 0; } |
4252 EOF | 4241 EOF |
4253 if { (eval echo configure:4254: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4242 if { (eval echo configure:4243: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4254 rm -rf conftest* | 4243 rm -rf conftest* |
4255 ac_cv_var_tzname=yes | 4244 ac_cv_var_tzname=yes |
4256 else | 4245 else |
4257 echo "configure: failed program was:" >&5 | 4246 echo "configure: failed program was:" >&5 |
4258 cat conftest.$ac_ext >&5 | 4247 cat conftest.$ac_ext >&5 |
4274 fi | 4263 fi |
4275 fi | 4264 fi |
4276 | 4265 |
4277 | 4266 |
4278 echo $ac_n "checking for working const""... $ac_c" 1>&6 | 4267 echo $ac_n "checking for working const""... $ac_c" 1>&6 |
4279 echo "configure:4280: checking for working const" >&5 | 4268 echo "configure:4269: checking for working const" >&5 |
4280 | 4269 |
4281 cat > conftest.$ac_ext <<EOF | 4270 cat > conftest.$ac_ext <<EOF |
4282 #line 4283 "configure" | 4271 #line 4272 "configure" |
4283 #include "confdefs.h" | 4272 #include "confdefs.h" |
4284 | 4273 |
4285 int main() { | 4274 int main() { |
4286 | 4275 |
4287 /* Ultrix mips cc rejects this. */ | 4276 /* Ultrix mips cc rejects this. */ |
4326 const int foo = 10; | 4315 const int foo = 10; |
4327 } | 4316 } |
4328 | 4317 |
4329 ; return 0; } | 4318 ; return 0; } |
4330 EOF | 4319 EOF |
4331 if { (eval echo configure:4332: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4320 if { (eval echo configure:4321: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4332 rm -rf conftest* | 4321 rm -rf conftest* |
4333 ac_cv_c_const=yes | 4322 ac_cv_c_const=yes |
4334 else | 4323 else |
4335 echo "configure: failed program was:" >&5 | 4324 echo "configure: failed program was:" >&5 |
4336 cat conftest.$ac_ext >&5 | 4325 cat conftest.$ac_ext >&5 |
4351 | 4340 |
4352 fi | 4341 fi |
4353 | 4342 |
4354 | 4343 |
4355 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | 4344 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
4356 echo "configure:4357: checking whether ${MAKE-make} sets \${MAKE}" >&5 | 4345 echo "configure:4346: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
4357 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | 4346 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
4358 | 4347 |
4359 cat > conftestmake <<\EOF | 4348 cat > conftestmake <<\EOF |
4360 all: | 4349 all: |
4361 @echo 'ac_maketemp="${MAKE}"' | 4350 @echo 'ac_maketemp="${MAKE}"' |
4376 SET_MAKE="MAKE=${MAKE-make}" | 4365 SET_MAKE="MAKE=${MAKE-make}" |
4377 fi | 4366 fi |
4378 | 4367 |
4379 | 4368 |
4380 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 | 4369 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 |
4381 echo "configure:4382: checking whether byte ordering is bigendian" >&5 | 4370 echo "configure:4371: checking whether byte ordering is bigendian" >&5 |
4382 | 4371 |
4383 ac_cv_c_bigendian=unknown | 4372 ac_cv_c_bigendian=unknown |
4384 # See if sys/param.h defines the BYTE_ORDER macro. | 4373 # See if sys/param.h defines the BYTE_ORDER macro. |
4385 cat > conftest.$ac_ext <<EOF | 4374 cat > conftest.$ac_ext <<EOF |
4386 #line 4387 "configure" | 4375 #line 4376 "configure" |
4387 #include "confdefs.h" | 4376 #include "confdefs.h" |
4388 #include <sys/types.h> | 4377 #include <sys/types.h> |
4389 #include <sys/param.h> | 4378 #include <sys/param.h> |
4390 int main() { | 4379 int main() { |
4391 | 4380 |
4392 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN | 4381 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN |
4393 bogus endian macros | 4382 bogus endian macros |
4394 #endif | 4383 #endif |
4395 ; return 0; } | 4384 ; return 0; } |
4396 EOF | 4385 EOF |
4397 if { (eval echo configure:4398: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4386 if { (eval echo configure:4387: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4398 rm -rf conftest* | 4387 rm -rf conftest* |
4399 # It does; now see whether it defined to BIG_ENDIAN or not. | 4388 # It does; now see whether it defined to BIG_ENDIAN or not. |
4400 cat > conftest.$ac_ext <<EOF | 4389 cat > conftest.$ac_ext <<EOF |
4401 #line 4402 "configure" | 4390 #line 4391 "configure" |
4402 #include "confdefs.h" | 4391 #include "confdefs.h" |
4403 #include <sys/types.h> | 4392 #include <sys/types.h> |
4404 #include <sys/param.h> | 4393 #include <sys/param.h> |
4405 int main() { | 4394 int main() { |
4406 | 4395 |
4407 #if BYTE_ORDER != BIG_ENDIAN | 4396 #if BYTE_ORDER != BIG_ENDIAN |
4408 not big endian | 4397 not big endian |
4409 #endif | 4398 #endif |
4410 ; return 0; } | 4399 ; return 0; } |
4411 EOF | 4400 EOF |
4412 if { (eval echo configure:4413: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4401 if { (eval echo configure:4402: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4413 rm -rf conftest* | 4402 rm -rf conftest* |
4414 ac_cv_c_bigendian=yes | 4403 ac_cv_c_bigendian=yes |
4415 else | 4404 else |
4416 echo "configure: failed program was:" >&5 | 4405 echo "configure: failed program was:" >&5 |
4417 cat conftest.$ac_ext >&5 | 4406 cat conftest.$ac_ext >&5 |
4424 cat conftest.$ac_ext >&5 | 4413 cat conftest.$ac_ext >&5 |
4425 fi | 4414 fi |
4426 rm -f conftest* | 4415 rm -f conftest* |
4427 if test $ac_cv_c_bigendian = unknown; then | 4416 if test $ac_cv_c_bigendian = unknown; then |
4428 cat > conftest.$ac_ext <<EOF | 4417 cat > conftest.$ac_ext <<EOF |
4429 #line 4430 "configure" | 4418 #line 4419 "configure" |
4430 #include "confdefs.h" | 4419 #include "confdefs.h" |
4431 main () { | 4420 main () { |
4432 /* Are we little or big endian? From Harbison&Steele. */ | 4421 /* Are we little or big endian? From Harbison&Steele. */ |
4433 union | 4422 union |
4434 { | 4423 { |
4437 } u; | 4426 } u; |
4438 u.l = 1; | 4427 u.l = 1; |
4439 exit (u.c[sizeof (long) - 1] == 1); | 4428 exit (u.c[sizeof (long) - 1] == 1); |
4440 } | 4429 } |
4441 EOF | 4430 EOF |
4442 if { (eval echo configure:4443: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4431 if { (eval echo configure:4432: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4443 then | 4432 then |
4444 ac_cv_c_bigendian=no | 4433 ac_cv_c_bigendian=no |
4445 else | 4434 else |
4446 conftest_rc="$?" | 4435 conftest_rc="$?" |
4447 echo "configure: failed program was:" >&5 | 4436 echo "configure: failed program was:" >&5 |
4464 | 4453 |
4465 fi | 4454 fi |
4466 | 4455 |
4467 | 4456 |
4468 echo $ac_n "checking size of short""... $ac_c" 1>&6 | 4457 echo $ac_n "checking size of short""... $ac_c" 1>&6 |
4469 echo "configure:4470: checking size of short" >&5 | 4458 echo "configure:4459: checking size of short" >&5 |
4470 | 4459 |
4471 cat > conftest.$ac_ext <<EOF | 4460 cat > conftest.$ac_ext <<EOF |
4472 #line 4473 "configure" | 4461 #line 4462 "configure" |
4473 #include "confdefs.h" | 4462 #include "confdefs.h" |
4474 #include <stdio.h> | 4463 #include <stdio.h> |
4475 #include <sys/types.h> | |
4476 main() | 4464 main() |
4477 { | 4465 { |
4478 FILE *f=fopen("conftestval", "w"); | 4466 FILE *f=fopen("conftestval", "w"); |
4479 if (!f) exit(1); | 4467 if (!f) exit(1); |
4480 fprintf(f, "%d\n", sizeof(short)); | 4468 fprintf(f, "%d\n", sizeof(short)); |
4481 exit(0); | 4469 exit(0); |
4482 } | 4470 } |
4483 EOF | 4471 EOF |
4484 if { (eval echo configure:4485: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4472 if { (eval echo configure:4473: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4485 then | 4473 then |
4486 ac_cv_sizeof_short=`cat conftestval` | 4474 ac_cv_sizeof_short=`cat conftestval` |
4487 else | 4475 else |
4488 conftest_rc="$?" | 4476 conftest_rc="$?" |
4489 echo "configure: failed program was:" >&5 | 4477 echo "configure: failed program was:" >&5 |
4507 echo "*** PANIC *** Configure tests are not working - compiler is broken." | 4495 echo "*** PANIC *** Configure tests are not working - compiler is broken." |
4508 echo "*** PANIC *** Please examine config.log for compilation errors." | 4496 echo "*** PANIC *** Please examine config.log for compilation errors." |
4509 exit 1 | 4497 exit 1 |
4510 fi | 4498 fi |
4511 echo $ac_n "checking size of int""... $ac_c" 1>&6 | 4499 echo $ac_n "checking size of int""... $ac_c" 1>&6 |
4512 echo "configure:4513: checking size of int" >&5 | 4500 echo "configure:4501: checking size of int" >&5 |
4513 | 4501 |
4514 cat > conftest.$ac_ext <<EOF | 4502 cat > conftest.$ac_ext <<EOF |
4515 #line 4516 "configure" | 4503 #line 4504 "configure" |
4516 #include "confdefs.h" | 4504 #include "confdefs.h" |
4517 #include <stdio.h> | 4505 #include <stdio.h> |
4518 #include <sys/types.h> | |
4519 main() | 4506 main() |
4520 { | 4507 { |
4521 FILE *f=fopen("conftestval", "w"); | 4508 FILE *f=fopen("conftestval", "w"); |
4522 if (!f) exit(1); | 4509 if (!f) exit(1); |
4523 fprintf(f, "%d\n", sizeof(int)); | 4510 fprintf(f, "%d\n", sizeof(int)); |
4524 exit(0); | 4511 exit(0); |
4525 } | 4512 } |
4526 EOF | 4513 EOF |
4527 if { (eval echo configure:4528: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4514 if { (eval echo configure:4515: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4528 then | 4515 then |
4529 ac_cv_sizeof_int=`cat conftestval` | 4516 ac_cv_sizeof_int=`cat conftestval` |
4530 else | 4517 else |
4531 conftest_rc="$?" | 4518 conftest_rc="$?" |
4532 echo "configure: failed program was:" >&5 | 4519 echo "configure: failed program was:" >&5 |
4544 EOF | 4531 EOF |
4545 } | 4532 } |
4546 | 4533 |
4547 | 4534 |
4548 echo $ac_n "checking size of long""... $ac_c" 1>&6 | 4535 echo $ac_n "checking size of long""... $ac_c" 1>&6 |
4549 echo "configure:4550: checking size of long" >&5 | 4536 echo "configure:4537: checking size of long" >&5 |
4550 | 4537 |
4551 cat > conftest.$ac_ext <<EOF | 4538 cat > conftest.$ac_ext <<EOF |
4552 #line 4553 "configure" | 4539 #line 4540 "configure" |
4553 #include "confdefs.h" | 4540 #include "confdefs.h" |
4554 #include <stdio.h> | 4541 #include <stdio.h> |
4555 #include <sys/types.h> | |
4556 main() | 4542 main() |
4557 { | 4543 { |
4558 FILE *f=fopen("conftestval", "w"); | 4544 FILE *f=fopen("conftestval", "w"); |
4559 if (!f) exit(1); | 4545 if (!f) exit(1); |
4560 fprintf(f, "%d\n", sizeof(long)); | 4546 fprintf(f, "%d\n", sizeof(long)); |
4561 exit(0); | 4547 exit(0); |
4562 } | 4548 } |
4563 EOF | 4549 EOF |
4564 if { (eval echo configure:4565: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4550 if { (eval echo configure:4551: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4565 then | 4551 then |
4566 ac_cv_sizeof_long=`cat conftestval` | 4552 ac_cv_sizeof_long=`cat conftestval` |
4567 else | 4553 else |
4568 conftest_rc="$?" | 4554 conftest_rc="$?" |
4569 echo "configure: failed program was:" >&5 | 4555 echo "configure: failed program was:" >&5 |
4581 EOF | 4567 EOF |
4582 } | 4568 } |
4583 | 4569 |
4584 | 4570 |
4585 echo $ac_n "checking size of long long""... $ac_c" 1>&6 | 4571 echo $ac_n "checking size of long long""... $ac_c" 1>&6 |
4586 echo "configure:4587: checking size of long long" >&5 | 4572 echo "configure:4573: checking size of long long" >&5 |
4587 | 4573 |
4588 cat > conftest.$ac_ext <<EOF | 4574 cat > conftest.$ac_ext <<EOF |
4589 #line 4590 "configure" | 4575 #line 4576 "configure" |
4590 #include "confdefs.h" | 4576 #include "confdefs.h" |
4591 #include <stdio.h> | 4577 #include <stdio.h> |
4592 #include <sys/types.h> | |
4593 main() | 4578 main() |
4594 { | 4579 { |
4595 FILE *f=fopen("conftestval", "w"); | 4580 FILE *f=fopen("conftestval", "w"); |
4596 if (!f) exit(1); | 4581 if (!f) exit(1); |
4597 fprintf(f, "%d\n", sizeof(long long)); | 4582 fprintf(f, "%d\n", sizeof(long long)); |
4598 exit(0); | 4583 exit(0); |
4599 } | 4584 } |
4600 EOF | 4585 EOF |
4601 if { (eval echo configure:4602: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4586 if { (eval echo configure:4587: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4602 then | 4587 then |
4603 ac_cv_sizeof_long_long=`cat conftestval` | 4588 ac_cv_sizeof_long_long=`cat conftestval` |
4604 else | 4589 else |
4605 conftest_rc="$?" | 4590 conftest_rc="$?" |
4606 echo "configure: failed program was:" >&5 | 4591 echo "configure: failed program was:" >&5 |
4618 EOF | 4603 EOF |
4619 } | 4604 } |
4620 | 4605 |
4621 | 4606 |
4622 echo $ac_n "checking size of void *""... $ac_c" 1>&6 | 4607 echo $ac_n "checking size of void *""... $ac_c" 1>&6 |
4623 echo "configure:4624: checking size of void *" >&5 | 4608 echo "configure:4609: checking size of void *" >&5 |
4624 | 4609 |
4625 cat > conftest.$ac_ext <<EOF | 4610 cat > conftest.$ac_ext <<EOF |
4626 #line 4627 "configure" | 4611 #line 4612 "configure" |
4627 #include "confdefs.h" | 4612 #include "confdefs.h" |
4628 #include <stdio.h> | 4613 #include <stdio.h> |
4629 #include <sys/types.h> | |
4630 main() | 4614 main() |
4631 { | 4615 { |
4632 FILE *f=fopen("conftestval", "w"); | 4616 FILE *f=fopen("conftestval", "w"); |
4633 if (!f) exit(1); | 4617 if (!f) exit(1); |
4634 fprintf(f, "%d\n", sizeof(void *)); | 4618 fprintf(f, "%d\n", sizeof(void *)); |
4635 exit(0); | 4619 exit(0); |
4636 } | 4620 } |
4637 EOF | 4621 EOF |
4638 if { (eval echo configure:4639: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4622 if { (eval echo configure:4623: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4639 then | 4623 then |
4640 ac_cv_sizeof_void_p=`cat conftestval` | 4624 ac_cv_sizeof_void_p=`cat conftestval` |
4641 else | 4625 else |
4642 conftest_rc="$?" | 4626 conftest_rc="$?" |
4643 echo "configure: failed program was:" >&5 | 4627 echo "configure: failed program was:" >&5 |
4656 } | 4640 } |
4657 | 4641 |
4658 | 4642 |
4659 | 4643 |
4660 echo $ac_n "checking for long file names""... $ac_c" 1>&6 | 4644 echo $ac_n "checking for long file names""... $ac_c" 1>&6 |
4661 echo "configure:4662: checking for long file names" >&5 | 4645 echo "configure:4646: checking for long file names" >&5 |
4662 | 4646 |
4663 ac_cv_sys_long_file_names=yes | 4647 ac_cv_sys_long_file_names=yes |
4664 # Test for long file names in all the places we know might matter: | 4648 # Test for long file names in all the places we know might matter: |
4665 # . the current directory, where building will happen | 4649 # . the current directory, where building will happen |
4666 # $prefix/lib where we will be installing things | 4650 # $prefix/lib where we will be installing things |
4702 | 4686 |
4703 fi | 4687 fi |
4704 | 4688 |
4705 | 4689 |
4706 echo $ac_n "checking for sin""... $ac_c" 1>&6 | 4690 echo $ac_n "checking for sin""... $ac_c" 1>&6 |
4707 echo "configure:4708: checking for sin" >&5 | 4691 echo "configure:4692: checking for sin" >&5 |
4708 | 4692 |
4709 cat > conftest.$ac_ext <<EOF | 4693 cat > conftest.$ac_ext <<EOF |
4710 #line 4711 "configure" | 4694 #line 4695 "configure" |
4711 #include "confdefs.h" | 4695 #include "confdefs.h" |
4712 /* System header to define __stub macros and hopefully few prototypes, | 4696 /* System header to define __stub macros and hopefully few prototypes, |
4713 which can conflict with char sin(); below. */ | 4697 which can conflict with char sin(); below. */ |
4714 #include <assert.h> | 4698 #include <assert.h> |
4715 /* Override any gcc2 internal prototype to avoid an error. */ | 4699 /* Override any gcc2 internal prototype to avoid an error. */ |
4728 sin(); | 4712 sin(); |
4729 #endif | 4713 #endif |
4730 | 4714 |
4731 ; return 0; } | 4715 ; return 0; } |
4732 EOF | 4716 EOF |
4733 if { (eval echo configure:4734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4717 if { (eval echo configure:4718: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4734 rm -rf conftest* | 4718 rm -rf conftest* |
4735 eval "ac_cv_func_sin=yes" | 4719 eval "ac_cv_func_sin=yes" |
4736 else | 4720 else |
4737 echo "configure: failed program was:" >&5 | 4721 echo "configure: failed program was:" >&5 |
4738 cat conftest.$ac_ext >&5 | 4722 cat conftest.$ac_ext >&5 |
4746 : | 4730 : |
4747 else | 4731 else |
4748 echo "$ac_t""no" 1>&6 | 4732 echo "$ac_t""no" 1>&6 |
4749 | 4733 |
4750 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 | 4734 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
4751 echo "configure:4752: checking for sin in -lm" >&5 | 4735 echo "configure:4736: checking for sin in -lm" >&5 |
4752 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` | 4736 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` |
4753 | 4737 |
4754 xe_check_libs=" -lm " | 4738 xe_check_libs=" -lm " |
4755 cat > conftest.$ac_ext <<EOF | 4739 cat > conftest.$ac_ext <<EOF |
4756 #line 4757 "configure" | 4740 #line 4741 "configure" |
4757 #include "confdefs.h" | 4741 #include "confdefs.h" |
4758 /* Override any gcc2 internal prototype to avoid an error. */ | 4742 /* Override any gcc2 internal prototype to avoid an error. */ |
4759 /* We use char because int might match the return type of a gcc2 | 4743 /* We use char because int might match the return type of a gcc2 |
4760 builtin and then its argument prototype would still apply. */ | 4744 builtin and then its argument prototype would still apply. */ |
4761 char sin(); | 4745 char sin(); |
4762 | 4746 |
4763 int main() { | 4747 int main() { |
4764 sin() | 4748 sin() |
4765 ; return 0; } | 4749 ; return 0; } |
4766 EOF | 4750 EOF |
4767 if { (eval echo configure:4768: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4751 if { (eval echo configure:4752: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4768 rm -rf conftest* | 4752 rm -rf conftest* |
4769 eval "ac_cv_lib_$ac_lib_var=yes" | 4753 eval "ac_cv_lib_$ac_lib_var=yes" |
4770 else | 4754 else |
4771 echo "configure: failed program was:" >&5 | 4755 echo "configure: failed program was:" >&5 |
4772 cat conftest.$ac_ext >&5 | 4756 cat conftest.$ac_ext >&5 |
4806 EOF | 4790 EOF |
4807 } | 4791 } |
4808 | 4792 |
4809 | 4793 |
4810 cat > conftest.$ac_ext <<EOF | 4794 cat > conftest.$ac_ext <<EOF |
4811 #line 4812 "configure" | 4795 #line 4796 "configure" |
4812 #include "confdefs.h" | 4796 #include "confdefs.h" |
4813 #include <math.h> | 4797 #include <math.h> |
4814 int main() { | 4798 int main() { |
4815 return atanh(1.0) + asinh(1.0) + acosh(1.0); | 4799 return atanh(1.0) + asinh(1.0) + acosh(1.0); |
4816 ; return 0; } | 4800 ; return 0; } |
4817 EOF | 4801 EOF |
4818 if { (eval echo configure:4819: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4802 if { (eval echo configure:4803: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4819 rm -rf conftest* | 4803 rm -rf conftest* |
4820 { test "$extra_verbose" = "yes" && cat << \EOF | 4804 { test "$extra_verbose" = "yes" && cat << \EOF |
4821 Defining HAVE_INVERSE_HYPERBOLIC | 4805 Defining HAVE_INVERSE_HYPERBOLIC |
4822 EOF | 4806 EOF |
4823 cat >> confdefs.h <<\EOF | 4807 cat >> confdefs.h <<\EOF |
4832 rm -f conftest* | 4816 rm -f conftest* |
4833 | 4817 |
4834 for ac_func in mkstemp | 4818 for ac_func in mkstemp |
4835 do | 4819 do |
4836 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 4820 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
4837 echo "configure:4838: checking for $ac_func" >&5 | 4821 echo "configure:4822: checking for $ac_func" >&5 |
4838 | 4822 |
4839 cat > conftest.$ac_ext <<EOF | 4823 cat > conftest.$ac_ext <<EOF |
4840 #line 4841 "configure" | 4824 #line 4825 "configure" |
4841 #include "confdefs.h" | 4825 #include "confdefs.h" |
4842 /* System header to define __stub macros and hopefully few prototypes, | 4826 /* System header to define __stub macros and hopefully few prototypes, |
4843 which can conflict with char $ac_func(); below. */ | 4827 which can conflict with char $ac_func(); below. */ |
4844 #include <assert.h> | 4828 #include <assert.h> |
4845 /* Override any gcc2 internal prototype to avoid an error. */ | 4829 /* Override any gcc2 internal prototype to avoid an error. */ |
4858 $ac_func(); | 4842 $ac_func(); |
4859 #endif | 4843 #endif |
4860 | 4844 |
4861 ; return 0; } | 4845 ; return 0; } |
4862 EOF | 4846 EOF |
4863 if { (eval echo configure:4864: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4847 if { (eval echo configure:4848: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4864 rm -rf conftest* | 4848 rm -rf conftest* |
4865 eval "ac_cv_func_$ac_func=yes" | 4849 eval "ac_cv_func_$ac_func=yes" |
4866 else | 4850 else |
4867 echo "configure: failed program was:" >&5 | 4851 echo "configure: failed program was:" >&5 |
4868 cat conftest.$ac_ext >&5 | 4852 cat conftest.$ac_ext >&5 |
4887 fi | 4871 fi |
4888 done | 4872 done |
4889 | 4873 |
4890 | 4874 |
4891 echo "checking type of mail spool file locking" 1>&6 | 4875 echo "checking type of mail spool file locking" 1>&6 |
4892 echo "configure:4893: checking type of mail spool file locking" >&5 | 4876 echo "configure:4877: checking type of mail spool file locking" >&5 |
4893 for ac_func in lockf flock | 4877 for ac_func in lockf flock |
4894 do | 4878 do |
4895 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 4879 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
4896 echo "configure:4897: checking for $ac_func" >&5 | 4880 echo "configure:4881: checking for $ac_func" >&5 |
4897 | 4881 |
4898 cat > conftest.$ac_ext <<EOF | 4882 cat > conftest.$ac_ext <<EOF |
4899 #line 4900 "configure" | 4883 #line 4884 "configure" |
4900 #include "confdefs.h" | 4884 #include "confdefs.h" |
4901 /* System header to define __stub macros and hopefully few prototypes, | 4885 /* System header to define __stub macros and hopefully few prototypes, |
4902 which can conflict with char $ac_func(); below. */ | 4886 which can conflict with char $ac_func(); below. */ |
4903 #include <assert.h> | 4887 #include <assert.h> |
4904 /* Override any gcc2 internal prototype to avoid an error. */ | 4888 /* Override any gcc2 internal prototype to avoid an error. */ |
4917 $ac_func(); | 4901 $ac_func(); |
4918 #endif | 4902 #endif |
4919 | 4903 |
4920 ; return 0; } | 4904 ; return 0; } |
4921 EOF | 4905 EOF |
4922 if { (eval echo configure:4923: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4906 if { (eval echo configure:4907: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4923 rm -rf conftest* | 4907 rm -rf conftest* |
4924 eval "ac_cv_func_$ac_func=yes" | 4908 eval "ac_cv_func_$ac_func=yes" |
4925 else | 4909 else |
4926 echo "configure: failed program was:" >&5 | 4910 echo "configure: failed program was:" >&5 |
4927 cat conftest.$ac_ext >&5 | 4911 cat conftest.$ac_ext >&5 |
4999 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; } | 4983 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; } |
5000 | 4984 |
5001 case "$opsys" in decosf*) | 4985 case "$opsys" in decosf*) |
5002 | 4986 |
5003 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 | 4987 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 |
5004 echo "configure:5005: checking for cma_open in -lpthreads" >&5 | 4988 echo "configure:4989: checking for cma_open in -lpthreads" >&5 |
5005 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` | 4989 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` |
5006 | 4990 |
5007 xe_check_libs=" -lpthreads " | 4991 xe_check_libs=" -lpthreads " |
5008 cat > conftest.$ac_ext <<EOF | 4992 cat > conftest.$ac_ext <<EOF |
5009 #line 5010 "configure" | 4993 #line 4994 "configure" |
5010 #include "confdefs.h" | 4994 #include "confdefs.h" |
5011 /* Override any gcc2 internal prototype to avoid an error. */ | 4995 /* Override any gcc2 internal prototype to avoid an error. */ |
5012 /* We use char because int might match the return type of a gcc2 | 4996 /* We use char because int might match the return type of a gcc2 |
5013 builtin and then its argument prototype would still apply. */ | 4997 builtin and then its argument prototype would still apply. */ |
5014 char cma_open(); | 4998 char cma_open(); |
5015 | 4999 |
5016 int main() { | 5000 int main() { |
5017 cma_open() | 5001 cma_open() |
5018 ; return 0; } | 5002 ; return 0; } |
5019 EOF | 5003 EOF |
5020 if { (eval echo configure:5021: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5004 if { (eval echo configure:5005: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5021 rm -rf conftest* | 5005 rm -rf conftest* |
5022 eval "ac_cv_lib_$ac_lib_var=yes" | 5006 eval "ac_cv_lib_$ac_lib_var=yes" |
5023 else | 5007 else |
5024 echo "configure: failed program was:" >&5 | 5008 echo "configure: failed program was:" >&5 |
5025 cat conftest.$ac_ext >&5 | 5009 cat conftest.$ac_ext >&5 |
5052 c_switch_site="$c_switch_site -threads" ;; | 5036 c_switch_site="$c_switch_site -threads" ;; |
5053 esac | 5037 esac |
5054 | 5038 |
5055 | 5039 |
5056 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 | 5040 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 |
5057 echo "configure:5058: checking whether the -xildoff compiler flag is required" >&5 | 5041 echo "configure:5042: checking whether the -xildoff compiler flag is required" >&5 |
5058 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then | 5042 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then |
5059 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; | 5043 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; |
5060 then echo "$ac_t""no" 1>&6; | 5044 then echo "$ac_t""no" 1>&6; |
5061 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 | 5045 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 |
5062 fi | 5046 fi |
5064 fi | 5048 fi |
5065 | 5049 |
5066 if test "$opsys" = "sol2"; then | 5050 if test "$opsys" = "sol2"; then |
5067 if test "$os_release" -ge 56; then | 5051 if test "$os_release" -ge 56; then |
5068 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 | 5052 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 |
5069 echo "configure:5070: checking for \"-z ignore\" linker flag" >&5 | 5053 echo "configure:5054: checking for \"-z ignore\" linker flag" >&5 |
5070 case "`ld -h 2>&1`" in | 5054 case "`ld -h 2>&1`" in |
5071 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 | 5055 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 |
5072 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; | 5056 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; |
5073 *) echo "$ac_t""no" 1>&6 ;; | 5057 *) echo "$ac_t""no" 1>&6 ;; |
5074 esac | 5058 esac |
5075 fi | 5059 fi |
5076 fi | 5060 fi |
5077 | 5061 |
5078 if test "$pdump" != "yes"; then | 5062 if test "$pdump" != "yes"; then |
5079 echo $ac_n "checking for \"-z nocombreloc\" linker flag""... $ac_c" 1>&6 | 5063 echo $ac_n "checking for \"-z nocombreloc\" linker flag""... $ac_c" 1>&6 |
5080 echo "configure:5081: checking for \"-z nocombreloc\" linker flag" >&5 | 5064 echo "configure:5065: checking for \"-z nocombreloc\" linker flag" >&5 |
5081 case "`ld --help 2>&1`" in | 5065 case "`ld --help 2>&1`" in |
5082 *-z\ nocombreloc* ) echo "$ac_t""yes" 1>&6 | 5066 *-z\ nocombreloc* ) echo "$ac_t""yes" 1>&6 |
5083 ld_switch_site="-z nocombreloc $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z nocombreloc\" to \$ld_switch_site"; fi ;; | 5067 ld_switch_site="-z nocombreloc $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z nocombreloc\" to \$ld_switch_site"; fi ;; |
5084 *) echo "$ac_t""no" 1>&6 ;; | 5068 *) echo "$ac_t""no" 1>&6 ;; |
5085 esac | 5069 esac |
5086 fi | 5070 fi |
5087 | 5071 |
5088 | 5072 |
5089 echo "checking "for specified window system"" 1>&6 | 5073 echo "checking "for specified window system"" 1>&6 |
5090 echo "configure:5091: checking "for specified window system"" >&5 | 5074 echo "configure:5075: checking "for specified window system"" >&5 |
5091 | 5075 |
5092 | 5076 |
5093 GNOME_CONFIG=no | 5077 GNOME_CONFIG=no |
5094 GTK_CONFIG=no | 5078 GTK_CONFIG=no |
5095 | 5079 |
5096 if test "$with_gnome" != "no"; then | 5080 if test "$with_gnome" != "no"; then |
5097 echo $ac_n "checking for GNOME configuration script""... $ac_c" 1>&6 | 5081 echo $ac_n "checking for GNOME configuration script""... $ac_c" 1>&6 |
5098 echo "configure:5099: checking for GNOME configuration script" >&5 | 5082 echo "configure:5083: checking for GNOME configuration script" >&5 |
5099 for possible in gnome-config | 5083 for possible in gnome-config |
5100 do | 5084 do |
5101 possible_version=`${possible} --version 2> /dev/null` | 5085 possible_version=`${possible} --version 2> /dev/null` |
5102 if test "x${possible_version}" != "x"; then | 5086 if test "x${possible_version}" != "x"; then |
5103 GNOME_CONFIG="${possible}" | 5087 GNOME_CONFIG="${possible}" |
5124 c_switch_gtk="$c_switch_gtk ${GNOME_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GNOME_CFLAGS}\" to \$c_switch_gtk"; fi | 5108 c_switch_gtk="$c_switch_gtk ${GNOME_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GNOME_CFLAGS}\" to \$c_switch_gtk"; fi |
5125 fi | 5109 fi |
5126 | 5110 |
5127 if test "$with_gtk" != "no";then | 5111 if test "$with_gtk" != "no";then |
5128 echo $ac_n "checking for GTK configuration script""... $ac_c" 1>&6 | 5112 echo $ac_n "checking for GTK configuration script""... $ac_c" 1>&6 |
5129 echo "configure:5130: checking for GTK configuration script" >&5 | 5113 echo "configure:5114: checking for GTK configuration script" >&5 |
5130 for possible in gtk12-config gtk14-config gtk-config | 5114 for possible in gtk12-config gtk14-config gtk-config |
5131 do | 5115 do |
5132 possible_version=`${possible} --version 2> /dev/null` | 5116 possible_version=`${possible} --version 2> /dev/null` |
5133 if test "x${possible_version}" != "x"; then | 5117 if test "x${possible_version}" != "x"; then |
5134 GTK_CONFIG="${possible}" | 5118 GTK_CONFIG="${possible}" |
5146 echo "$ac_t""${GTK_CONFIG}" 1>&6 | 5130 echo "$ac_t""${GTK_CONFIG}" 1>&6 |
5147 fi | 5131 fi |
5148 | 5132 |
5149 if test "${GTK_CONFIG}" != "no"; then | 5133 if test "${GTK_CONFIG}" != "no"; then |
5150 echo $ac_n "checking gtk version""... $ac_c" 1>&6 | 5134 echo $ac_n "checking gtk version""... $ac_c" 1>&6 |
5151 echo "configure:5152: checking gtk version" >&5 | 5135 echo "configure:5136: checking gtk version" >&5 |
5152 GTK_VERSION=`${GTK_CONFIG} --version` | 5136 GTK_VERSION=`${GTK_CONFIG} --version` |
5153 echo "$ac_t""${GTK_VERSION}" 1>&6 | 5137 echo "$ac_t""${GTK_VERSION}" 1>&6 |
5154 | 5138 |
5155 echo $ac_n "checking gtk libs""... $ac_c" 1>&6 | 5139 echo $ac_n "checking gtk libs""... $ac_c" 1>&6 |
5156 echo "configure:5157: checking gtk libs" >&5 | 5140 echo "configure:5141: checking gtk libs" >&5 |
5157 GTK_LIBS=`${GTK_CONFIG} --libs` | 5141 GTK_LIBS=`${GTK_CONFIG} --libs` |
5158 libs_gtk="$libs_gtk ${GTK_LIBS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_LIBS}\" to \$libs_gtk"; fi | 5142 libs_gtk="$libs_gtk ${GTK_LIBS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_LIBS}\" to \$libs_gtk"; fi |
5159 echo "$ac_t""${GTK_LIBS}" 1>&6 | 5143 echo "$ac_t""${GTK_LIBS}" 1>&6 |
5160 | 5144 |
5161 echo $ac_n "checking gtk cflags""... $ac_c" 1>&6 | 5145 echo $ac_n "checking gtk cflags""... $ac_c" 1>&6 |
5162 echo "configure:5163: checking gtk cflags" >&5 | 5146 echo "configure:5147: checking gtk cflags" >&5 |
5163 GTK_CFLAGS=`${GTK_CONFIG} --cflags` | 5147 GTK_CFLAGS=`${GTK_CONFIG} --cflags` |
5164 if test "$GCC" = "yes"; then | 5148 if test "$GCC" = "yes"; then |
5165 GTK_CFLAGS="${GTK_CFLAGS} -Wno-shadow" | 5149 GTK_CFLAGS="${GTK_CFLAGS} -Wno-shadow" |
5166 fi | 5150 fi |
5167 c_switch_gtk="$c_switch_gtk ${GTK_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_CFLAGS}\" to \$c_switch_gtk"; fi | 5151 c_switch_gtk="$c_switch_gtk ${GTK_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_CFLAGS}\" to \$c_switch_gtk"; fi |
5168 echo "$ac_t""${GTK_CFLAGS}" 1>&6 | 5152 echo "$ac_t""${GTK_CFLAGS}" 1>&6 |
5169 | 5153 |
5170 | 5154 |
5171 echo $ac_n "checking for main in -lgdk_imlib""... $ac_c" 1>&6 | 5155 echo $ac_n "checking for main in -lgdk_imlib""... $ac_c" 1>&6 |
5172 echo "configure:5173: checking for main in -lgdk_imlib" >&5 | 5156 echo "configure:5157: checking for main in -lgdk_imlib" >&5 |
5173 ac_lib_var=`echo gdk_imlib'_'main | sed 'y%./+-%__p_%'` | 5157 ac_lib_var=`echo gdk_imlib'_'main | sed 'y%./+-%__p_%'` |
5174 | 5158 |
5175 xe_check_libs=" -lgdk_imlib " | 5159 xe_check_libs=" -lgdk_imlib " |
5176 cat > conftest.$ac_ext <<EOF | 5160 cat > conftest.$ac_ext <<EOF |
5177 #line 5178 "configure" | 5161 #line 5162 "configure" |
5178 #include "confdefs.h" | 5162 #include "confdefs.h" |
5179 | 5163 |
5180 int main() { | 5164 int main() { |
5181 main() | 5165 main() |
5182 ; return 0; } | 5166 ; return 0; } |
5183 EOF | 5167 EOF |
5184 if { (eval echo configure:5185: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5168 if { (eval echo configure:5169: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5185 rm -rf conftest* | 5169 rm -rf conftest* |
5186 eval "ac_cv_lib_$ac_lib_var=yes" | 5170 eval "ac_cv_lib_$ac_lib_var=yes" |
5187 else | 5171 else |
5188 echo "configure: failed program was:" >&5 | 5172 echo "configure: failed program was:" >&5 |
5189 cat conftest.$ac_ext >&5 | 5173 cat conftest.$ac_ext >&5 |
5201 fi | 5185 fi |
5202 | 5186 |
5203 | 5187 |
5204 | 5188 |
5205 echo $ac_n "checking for Imlib_init in -lImlib""... $ac_c" 1>&6 | 5189 echo $ac_n "checking for Imlib_init in -lImlib""... $ac_c" 1>&6 |
5206 echo "configure:5207: checking for Imlib_init in -lImlib" >&5 | 5190 echo "configure:5191: checking for Imlib_init in -lImlib" >&5 |
5207 ac_lib_var=`echo Imlib'_'Imlib_init | sed 'y%./+-%__p_%'` | 5191 ac_lib_var=`echo Imlib'_'Imlib_init | sed 'y%./+-%__p_%'` |
5208 | 5192 |
5209 xe_check_libs=" -lImlib " | 5193 xe_check_libs=" -lImlib " |
5210 cat > conftest.$ac_ext <<EOF | 5194 cat > conftest.$ac_ext <<EOF |
5211 #line 5212 "configure" | 5195 #line 5196 "configure" |
5212 #include "confdefs.h" | 5196 #include "confdefs.h" |
5213 /* Override any gcc2 internal prototype to avoid an error. */ | 5197 /* Override any gcc2 internal prototype to avoid an error. */ |
5214 /* We use char because int might match the return type of a gcc2 | 5198 /* We use char because int might match the return type of a gcc2 |
5215 builtin and then its argument prototype would still apply. */ | 5199 builtin and then its argument prototype would still apply. */ |
5216 char Imlib_init(); | 5200 char Imlib_init(); |
5217 | 5201 |
5218 int main() { | 5202 int main() { |
5219 Imlib_init() | 5203 Imlib_init() |
5220 ; return 0; } | 5204 ; return 0; } |
5221 EOF | 5205 EOF |
5222 if { (eval echo configure:5223: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5206 if { (eval echo configure:5207: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5223 rm -rf conftest* | 5207 rm -rf conftest* |
5224 eval "ac_cv_lib_$ac_lib_var=yes" | 5208 eval "ac_cv_lib_$ac_lib_var=yes" |
5225 else | 5209 else |
5226 echo "configure: failed program was:" >&5 | 5210 echo "configure: failed program was:" >&5 |
5227 cat conftest.$ac_ext >&5 | 5211 cat conftest.$ac_ext >&5 |
5240 | 5224 |
5241 | 5225 |
5242 for ac_func in gdk_imlib_init | 5226 for ac_func in gdk_imlib_init |
5243 do | 5227 do |
5244 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5228 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
5245 echo "configure:5246: checking for $ac_func" >&5 | 5229 echo "configure:5230: checking for $ac_func" >&5 |
5246 | 5230 |
5247 cat > conftest.$ac_ext <<EOF | 5231 cat > conftest.$ac_ext <<EOF |
5248 #line 5249 "configure" | 5232 #line 5233 "configure" |
5249 #include "confdefs.h" | 5233 #include "confdefs.h" |
5250 /* System header to define __stub macros and hopefully few prototypes, | 5234 /* System header to define __stub macros and hopefully few prototypes, |
5251 which can conflict with char $ac_func(); below. */ | 5235 which can conflict with char $ac_func(); below. */ |
5252 #include <assert.h> | 5236 #include <assert.h> |
5253 /* Override any gcc2 internal prototype to avoid an error. */ | 5237 /* Override any gcc2 internal prototype to avoid an error. */ |
5266 $ac_func(); | 5250 $ac_func(); |
5267 #endif | 5251 #endif |
5268 | 5252 |
5269 ; return 0; } | 5253 ; return 0; } |
5270 EOF | 5254 EOF |
5271 if { (eval echo configure:5272: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5255 if { (eval echo configure:5256: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5272 rm -rf conftest* | 5256 rm -rf conftest* |
5273 eval "ac_cv_func_$ac_func=yes" | 5257 eval "ac_cv_func_$ac_func=yes" |
5274 else | 5258 else |
5275 echo "configure: failed program was:" >&5 | 5259 echo "configure: failed program was:" >&5 |
5276 cat conftest.$ac_ext >&5 | 5260 cat conftest.$ac_ext >&5 |
5321 test "${with_scrollbars}" != "no" && with_scrollbars=gtk | 5305 test "${with_scrollbars}" != "no" && with_scrollbars=gtk |
5322 test "${with_toolbars}" != no && with_toolbars=gtk | 5306 test "${with_toolbars}" != no && with_toolbars=gtk |
5323 test "${with_menubars}" != "no" && with_menubars=gtk | 5307 test "${with_menubars}" != "no" && with_menubars=gtk |
5324 test "${with_dialogs}" != "no" && with_dialogs=gtk | 5308 test "${with_dialogs}" != "no" && with_dialogs=gtk |
5325 test "${with_widgets}" != "no" && with_widgets=gtk | 5309 test "${with_widgets}" != "no" && with_widgets=gtk |
5326 | |
5327 extra_objs="$extra_objs console-gtk.o device-gtk.o event-gtk.o frame-gtk.o" && if test "$extra_verbose" = "yes"; then | |
5328 echo " xemacs will be linked with \"console-gtk.o device-gtk.o event-gtk.o frame-gtk.o\"" | |
5329 fi | |
5330 extra_objs="$extra_objs objects-gtk.o redisplay-gtk.o glyphs-gtk.o" && if test "$extra_verbose" = "yes"; then | |
5331 echo " xemacs will be linked with \"objects-gtk.o redisplay-gtk.o glyphs-gtk.o\"" | |
5332 fi | |
5333 extra_objs="$extra_objs select-gtk.o gccache-gtk.o" && if test "$extra_verbose" = "yes"; then | |
5334 echo " xemacs will be linked with \"select-gtk.o gccache-gtk.o\"" | |
5335 fi | |
5336 extra_objs="$extra_objs gtk-xemacs.o ui-gtk.o" && if test "$extra_verbose" = "yes"; then | |
5337 echo " xemacs will be linked with \"gtk-xemacs.o ui-gtk.o\"" | |
5338 fi | |
5339 | 5310 |
5340 OLD_CFLAGS="${CFLAGS}" | 5311 OLD_CFLAGS="${CFLAGS}" |
5341 OLD_CPPFLAGS="${CPPFLAGS}" | 5312 OLD_CPPFLAGS="${CPPFLAGS}" |
5342 OLD_LDFLAGS="${LDFLAGS}" | 5313 OLD_LDFLAGS="${LDFLAGS}" |
5343 CFLAGS="${GTK_CFLAGS} ${CFLAGS}" | 5314 CFLAGS="${GTK_CFLAGS} ${CFLAGS}" |
5345 LDFLAGS="${LDFLAGS} ${GTK_LIBS}" | 5316 LDFLAGS="${LDFLAGS} ${GTK_LIBS}" |
5346 for ac_hdr in glade/glade.h glade.h | 5317 for ac_hdr in glade/glade.h glade.h |
5347 do | 5318 do |
5348 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5319 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5349 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5320 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5350 echo "configure:5351: checking for $ac_hdr" >&5 | 5321 echo "configure:5322: checking for $ac_hdr" >&5 |
5351 | 5322 |
5352 cat > conftest.$ac_ext <<EOF | 5323 cat > conftest.$ac_ext <<EOF |
5353 #line 5354 "configure" | 5324 #line 5325 "configure" |
5354 #include "confdefs.h" | 5325 #include "confdefs.h" |
5355 #include <$ac_hdr> | 5326 #include <$ac_hdr> |
5356 EOF | 5327 EOF |
5357 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5328 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5358 { (eval echo configure:5359: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5329 { (eval echo configure:5330: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5359 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5330 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5360 if test -z "$ac_err"; then | 5331 if test -z "$ac_err"; then |
5361 rm -rf conftest* | 5332 rm -rf conftest* |
5362 eval "ac_cv_header_$ac_safe=yes" | 5333 eval "ac_cv_header_$ac_safe=yes" |
5363 else | 5334 else |
5384 fi | 5355 fi |
5385 done | 5356 done |
5386 | 5357 |
5387 | 5358 |
5388 echo $ac_n "checking for main in -lxml""... $ac_c" 1>&6 | 5359 echo $ac_n "checking for main in -lxml""... $ac_c" 1>&6 |
5389 echo "configure:5390: checking for main in -lxml" >&5 | 5360 echo "configure:5361: checking for main in -lxml" >&5 |
5390 ac_lib_var=`echo xml'_'main | sed 'y%./+-%__p_%'` | 5361 ac_lib_var=`echo xml'_'main | sed 'y%./+-%__p_%'` |
5391 | 5362 |
5392 xe_check_libs=" -lxml " | 5363 xe_check_libs=" -lxml " |
5393 cat > conftest.$ac_ext <<EOF | 5364 cat > conftest.$ac_ext <<EOF |
5394 #line 5395 "configure" | 5365 #line 5366 "configure" |
5395 #include "confdefs.h" | 5366 #include "confdefs.h" |
5396 | 5367 |
5397 int main() { | 5368 int main() { |
5398 main() | 5369 main() |
5399 ; return 0; } | 5370 ; return 0; } |
5400 EOF | 5371 EOF |
5401 if { (eval echo configure:5402: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5372 if { (eval echo configure:5373: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5402 rm -rf conftest* | 5373 rm -rf conftest* |
5403 eval "ac_cv_lib_$ac_lib_var=yes" | 5374 eval "ac_cv_lib_$ac_lib_var=yes" |
5404 else | 5375 else |
5405 echo "configure: failed program was:" >&5 | 5376 echo "configure: failed program was:" >&5 |
5406 cat conftest.$ac_ext >&5 | 5377 cat conftest.$ac_ext >&5 |
5418 fi | 5389 fi |
5419 | 5390 |
5420 | 5391 |
5421 | 5392 |
5422 echo $ac_n "checking for main in -lglade""... $ac_c" 1>&6 | 5393 echo $ac_n "checking for main in -lglade""... $ac_c" 1>&6 |
5423 echo "configure:5424: checking for main in -lglade" >&5 | 5394 echo "configure:5395: checking for main in -lglade" >&5 |
5424 ac_lib_var=`echo glade'_'main | sed 'y%./+-%__p_%'` | 5395 ac_lib_var=`echo glade'_'main | sed 'y%./+-%__p_%'` |
5425 | 5396 |
5426 xe_check_libs=" -lglade " | 5397 xe_check_libs=" -lglade " |
5427 cat > conftest.$ac_ext <<EOF | 5398 cat > conftest.$ac_ext <<EOF |
5428 #line 5429 "configure" | 5399 #line 5400 "configure" |
5429 #include "confdefs.h" | 5400 #include "confdefs.h" |
5430 | 5401 |
5431 int main() { | 5402 int main() { |
5432 main() | 5403 main() |
5433 ; return 0; } | 5404 ; return 0; } |
5434 EOF | 5405 EOF |
5435 if { (eval echo configure:5436: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5406 if { (eval echo configure:5407: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5436 rm -rf conftest* | 5407 rm -rf conftest* |
5437 eval "ac_cv_lib_$ac_lib_var=yes" | 5408 eval "ac_cv_lib_$ac_lib_var=yes" |
5438 else | 5409 else |
5439 echo "configure: failed program was:" >&5 | 5410 echo "configure: failed program was:" >&5 |
5440 cat conftest.$ac_ext >&5 | 5411 cat conftest.$ac_ext >&5 |
5452 fi | 5423 fi |
5453 | 5424 |
5454 | 5425 |
5455 | 5426 |
5456 echo $ac_n "checking for main in -lglade-gnome""... $ac_c" 1>&6 | 5427 echo $ac_n "checking for main in -lglade-gnome""... $ac_c" 1>&6 |
5457 echo "configure:5458: checking for main in -lglade-gnome" >&5 | 5428 echo "configure:5429: checking for main in -lglade-gnome" >&5 |
5458 ac_lib_var=`echo glade-gnome'_'main | sed 'y%./+-%__p_%'` | 5429 ac_lib_var=`echo glade-gnome'_'main | sed 'y%./+-%__p_%'` |
5459 | 5430 |
5460 xe_check_libs=" -lglade-gnome " | 5431 xe_check_libs=" -lglade-gnome " |
5461 cat > conftest.$ac_ext <<EOF | 5432 cat > conftest.$ac_ext <<EOF |
5462 #line 5463 "configure" | 5433 #line 5434 "configure" |
5463 #include "confdefs.h" | 5434 #include "confdefs.h" |
5464 | 5435 |
5465 int main() { | 5436 int main() { |
5466 main() | 5437 main() |
5467 ; return 0; } | 5438 ; return 0; } |
5468 EOF | 5439 EOF |
5469 if { (eval echo configure:5470: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5440 if { (eval echo configure:5441: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5470 rm -rf conftest* | 5441 rm -rf conftest* |
5471 eval "ac_cv_lib_$ac_lib_var=yes" | 5442 eval "ac_cv_lib_$ac_lib_var=yes" |
5472 else | 5443 else |
5473 echo "configure: failed program was:" >&5 | 5444 echo "configure: failed program was:" >&5 |
5474 cat conftest.$ac_ext >&5 | 5445 cat conftest.$ac_ext >&5 |
5485 echo "$ac_t""no" 1>&6 | 5456 echo "$ac_t""no" 1>&6 |
5486 fi | 5457 fi |
5487 | 5458 |
5488 | 5459 |
5489 cat > conftest.$ac_ext <<EOF | 5460 cat > conftest.$ac_ext <<EOF |
5490 #line 5491 "configure" | 5461 #line 5462 "configure" |
5491 #include "confdefs.h" | 5462 #include "confdefs.h" |
5492 #include <glade/glade-xml.h> | 5463 #include <glade/glade-xml.h> |
5493 EOF | 5464 EOF |
5494 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 5465 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
5495 egrep "char \*txtdomain;" >/dev/null 2>&1; then | 5466 egrep "char \*txtdomain;" >/dev/null 2>&1; then |
5544 # If we find X, set shell vars x_includes and x_libraries to the | 5515 # If we find X, set shell vars x_includes and x_libraries to the |
5545 # paths, otherwise set no_x=yes. | 5516 # paths, otherwise set no_x=yes. |
5546 # Uses ac_ vars as temps to allow command line to override cache and checks. | 5517 # Uses ac_ vars as temps to allow command line to override cache and checks. |
5547 # --without-x overrides everything else, but does not touch the cache. | 5518 # --without-x overrides everything else, but does not touch the cache. |
5548 echo $ac_n "checking for X""... $ac_c" 1>&6 | 5519 echo $ac_n "checking for X""... $ac_c" 1>&6 |
5549 echo "configure:5550: checking for X" >&5 | 5520 echo "configure:5521: checking for X" >&5 |
5550 | 5521 |
5551 # Check whether --with-x or --without-x was given. | 5522 # Check whether --with-x or --without-x was given. |
5552 if test "${with_x+set}" = set; then | 5523 if test "${with_x+set}" = set; then |
5553 withval="$with_x" | 5524 withval="$with_x" |
5554 : | 5525 : |
5604 # Guess where to find include files, by looking for this one X11 .h file. | 5575 # Guess where to find include files, by looking for this one X11 .h file. |
5605 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h | 5576 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h |
5606 | 5577 |
5607 # First, try using that file with no special directory specified. | 5578 # First, try using that file with no special directory specified. |
5608 cat > conftest.$ac_ext <<EOF | 5579 cat > conftest.$ac_ext <<EOF |
5609 #line 5610 "configure" | 5580 #line 5581 "configure" |
5610 #include "confdefs.h" | 5581 #include "confdefs.h" |
5611 #include <$x_direct_test_include> | 5582 #include <$x_direct_test_include> |
5612 EOF | 5583 EOF |
5613 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5584 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5614 { (eval echo configure:5615: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5585 { (eval echo configure:5586: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5615 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5586 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5616 if test -z "$ac_err"; then | 5587 if test -z "$ac_err"; then |
5617 rm -rf conftest* | 5588 rm -rf conftest* |
5618 # We can compile using X headers with no special include directory. | 5589 # We can compile using X headers with no special include directory. |
5619 ac_x_includes= | 5590 ac_x_includes= |
5678 # See if we find them without any special options. | 5649 # See if we find them without any special options. |
5679 # Don't add to $LIBS permanently. | 5650 # Don't add to $LIBS permanently. |
5680 ac_save_LIBS="$LIBS" | 5651 ac_save_LIBS="$LIBS" |
5681 LIBS="-l$x_direct_test_library $LIBS" | 5652 LIBS="-l$x_direct_test_library $LIBS" |
5682 cat > conftest.$ac_ext <<EOF | 5653 cat > conftest.$ac_ext <<EOF |
5683 #line 5684 "configure" | 5654 #line 5655 "configure" |
5684 #include "confdefs.h" | 5655 #include "confdefs.h" |
5685 | 5656 |
5686 int main() { | 5657 int main() { |
5687 ${x_direct_test_function}() | 5658 ${x_direct_test_function}() |
5688 ; return 0; } | 5659 ; return 0; } |
5689 EOF | 5660 EOF |
5690 if { (eval echo configure:5691: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5661 if { (eval echo configure:5662: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5691 rm -rf conftest* | 5662 rm -rf conftest* |
5692 LIBS="$ac_save_LIBS" | 5663 LIBS="$ac_save_LIBS" |
5693 # We can link X programs with no special library path. | 5664 # We can link X programs with no special library path. |
5694 ac_x_libraries= | 5665 ac_x_libraries= |
5695 else | 5666 else |
5794 # For Solaris; some versions of Sun CC require a space after -R and | 5765 # For Solaris; some versions of Sun CC require a space after -R and |
5795 # others require no space. Words are not sufficient . . . . | 5766 # others require no space. Words are not sufficient . . . . |
5796 case "`(uname -sr) 2>/dev/null`" in | 5767 case "`(uname -sr) 2>/dev/null`" in |
5797 "SunOS 5"*) | 5768 "SunOS 5"*) |
5798 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 | 5769 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 |
5799 echo "configure:5800: checking whether -R must be followed by a space" >&5 | 5770 echo "configure:5771: checking whether -R must be followed by a space" >&5 |
5800 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" | 5771 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
5801 cat > conftest.$ac_ext <<EOF | 5772 cat > conftest.$ac_ext <<EOF |
5802 #line 5803 "configure" | 5773 #line 5774 "configure" |
5803 #include "confdefs.h" | 5774 #include "confdefs.h" |
5804 | 5775 |
5805 int main() { | 5776 int main() { |
5806 | 5777 |
5807 ; return 0; } | 5778 ; return 0; } |
5808 EOF | 5779 EOF |
5809 if { (eval echo configure:5810: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5780 if { (eval echo configure:5781: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5810 rm -rf conftest* | 5781 rm -rf conftest* |
5811 ac_R_nospace=yes | 5782 ac_R_nospace=yes |
5812 else | 5783 else |
5813 echo "configure: failed program was:" >&5 | 5784 echo "configure: failed program was:" >&5 |
5814 cat conftest.$ac_ext >&5 | 5785 cat conftest.$ac_ext >&5 |
5820 echo "$ac_t""no" 1>&6 | 5791 echo "$ac_t""no" 1>&6 |
5821 X_LIBS="$X_LIBS -R$x_libraries" | 5792 X_LIBS="$X_LIBS -R$x_libraries" |
5822 else | 5793 else |
5823 LIBS="$ac_xsave_LIBS -R $x_libraries" | 5794 LIBS="$ac_xsave_LIBS -R $x_libraries" |
5824 cat > conftest.$ac_ext <<EOF | 5795 cat > conftest.$ac_ext <<EOF |
5825 #line 5826 "configure" | 5796 #line 5797 "configure" |
5826 #include "confdefs.h" | 5797 #include "confdefs.h" |
5827 | 5798 |
5828 int main() { | 5799 int main() { |
5829 | 5800 |
5830 ; return 0; } | 5801 ; return 0; } |
5831 EOF | 5802 EOF |
5832 if { (eval echo configure:5833: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5803 if { (eval echo configure:5804: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5833 rm -rf conftest* | 5804 rm -rf conftest* |
5834 ac_R_space=yes | 5805 ac_R_space=yes |
5835 else | 5806 else |
5836 echo "configure: failed program was:" >&5 | 5807 echo "configure: failed program was:" >&5 |
5837 cat conftest.$ac_ext >&5 | 5808 cat conftest.$ac_ext >&5 |
5863 if test "$with_dnet" = "no" ; then | 5834 if test "$with_dnet" = "no" ; then |
5864 ac_cv_lib_dnet_dnet_ntoa=no | 5835 ac_cv_lib_dnet_dnet_ntoa=no |
5865 else | 5836 else |
5866 | 5837 |
5867 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 | 5838 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
5868 echo "configure:5869: checking for dnet_ntoa in -ldnet" >&5 | 5839 echo "configure:5840: checking for dnet_ntoa in -ldnet" >&5 |
5869 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 5840 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
5870 | 5841 |
5871 xe_check_libs=" -ldnet " | 5842 xe_check_libs=" -ldnet " |
5872 cat > conftest.$ac_ext <<EOF | 5843 cat > conftest.$ac_ext <<EOF |
5873 #line 5874 "configure" | 5844 #line 5845 "configure" |
5874 #include "confdefs.h" | 5845 #include "confdefs.h" |
5875 /* Override any gcc2 internal prototype to avoid an error. */ | 5846 /* Override any gcc2 internal prototype to avoid an error. */ |
5876 /* We use char because int might match the return type of a gcc2 | 5847 /* We use char because int might match the return type of a gcc2 |
5877 builtin and then its argument prototype would still apply. */ | 5848 builtin and then its argument prototype would still apply. */ |
5878 char dnet_ntoa(); | 5849 char dnet_ntoa(); |
5879 | 5850 |
5880 int main() { | 5851 int main() { |
5881 dnet_ntoa() | 5852 dnet_ntoa() |
5882 ; return 0; } | 5853 ; return 0; } |
5883 EOF | 5854 EOF |
5884 if { (eval echo configure:5885: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5855 if { (eval echo configure:5856: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5885 rm -rf conftest* | 5856 rm -rf conftest* |
5886 eval "ac_cv_lib_$ac_lib_var=yes" | 5857 eval "ac_cv_lib_$ac_lib_var=yes" |
5887 else | 5858 else |
5888 echo "configure: failed program was:" >&5 | 5859 echo "configure: failed program was:" >&5 |
5889 cat conftest.$ac_ext >&5 | 5860 cat conftest.$ac_ext >&5 |
5903 fi | 5874 fi |
5904 | 5875 |
5905 if test $ac_cv_lib_dnet_dnet_ntoa = no; then | 5876 if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
5906 | 5877 |
5907 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 | 5878 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 |
5908 echo "configure:5909: checking for dnet_ntoa in -ldnet_stub" >&5 | 5879 echo "configure:5880: checking for dnet_ntoa in -ldnet_stub" >&5 |
5909 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 5880 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
5910 | 5881 |
5911 xe_check_libs=" -ldnet_stub " | 5882 xe_check_libs=" -ldnet_stub " |
5912 cat > conftest.$ac_ext <<EOF | 5883 cat > conftest.$ac_ext <<EOF |
5913 #line 5914 "configure" | 5884 #line 5885 "configure" |
5914 #include "confdefs.h" | 5885 #include "confdefs.h" |
5915 /* Override any gcc2 internal prototype to avoid an error. */ | 5886 /* Override any gcc2 internal prototype to avoid an error. */ |
5916 /* We use char because int might match the return type of a gcc2 | 5887 /* We use char because int might match the return type of a gcc2 |
5917 builtin and then its argument prototype would still apply. */ | 5888 builtin and then its argument prototype would still apply. */ |
5918 char dnet_ntoa(); | 5889 char dnet_ntoa(); |
5919 | 5890 |
5920 int main() { | 5891 int main() { |
5921 dnet_ntoa() | 5892 dnet_ntoa() |
5922 ; return 0; } | 5893 ; return 0; } |
5923 EOF | 5894 EOF |
5924 if { (eval echo configure:5925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5895 if { (eval echo configure:5896: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5925 rm -rf conftest* | 5896 rm -rf conftest* |
5926 eval "ac_cv_lib_$ac_lib_var=yes" | 5897 eval "ac_cv_lib_$ac_lib_var=yes" |
5927 else | 5898 else |
5928 echo "configure: failed program was:" >&5 | 5899 echo "configure: failed program was:" >&5 |
5929 cat conftest.$ac_ext >&5 | 5900 cat conftest.$ac_ext >&5 |
5948 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) | 5919 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) |
5949 # needs -lnsl. | 5920 # needs -lnsl. |
5950 # The nsl library prevents programs from opening the X display | 5921 # The nsl library prevents programs from opening the X display |
5951 # on Irix 5.2, according to dickey@clark.net. | 5922 # on Irix 5.2, according to dickey@clark.net. |
5952 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 | 5923 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
5953 echo "configure:5954: checking for gethostbyname" >&5 | 5924 echo "configure:5925: checking for gethostbyname" >&5 |
5954 | 5925 |
5955 cat > conftest.$ac_ext <<EOF | 5926 cat > conftest.$ac_ext <<EOF |
5956 #line 5957 "configure" | 5927 #line 5928 "configure" |
5957 #include "confdefs.h" | 5928 #include "confdefs.h" |
5958 /* System header to define __stub macros and hopefully few prototypes, | 5929 /* System header to define __stub macros and hopefully few prototypes, |
5959 which can conflict with char gethostbyname(); below. */ | 5930 which can conflict with char gethostbyname(); below. */ |
5960 #include <assert.h> | 5931 #include <assert.h> |
5961 /* Override any gcc2 internal prototype to avoid an error. */ | 5932 /* Override any gcc2 internal prototype to avoid an error. */ |
5974 gethostbyname(); | 5945 gethostbyname(); |
5975 #endif | 5946 #endif |
5976 | 5947 |
5977 ; return 0; } | 5948 ; return 0; } |
5978 EOF | 5949 EOF |
5979 if { (eval echo configure:5980: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5950 if { (eval echo configure:5951: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5980 rm -rf conftest* | 5951 rm -rf conftest* |
5981 eval "ac_cv_func_gethostbyname=yes" | 5952 eval "ac_cv_func_gethostbyname=yes" |
5982 else | 5953 else |
5983 echo "configure: failed program was:" >&5 | 5954 echo "configure: failed program was:" >&5 |
5984 cat conftest.$ac_ext >&5 | 5955 cat conftest.$ac_ext >&5 |
5995 fi | 5966 fi |
5996 | 5967 |
5997 if test $ac_cv_func_gethostbyname = no; then | 5968 if test $ac_cv_func_gethostbyname = no; then |
5998 | 5969 |
5999 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 | 5970 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
6000 echo "configure:6001: checking for gethostbyname in -lnsl" >&5 | 5971 echo "configure:5972: checking for gethostbyname in -lnsl" >&5 |
6001 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` | 5972 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
6002 | 5973 |
6003 xe_check_libs=" -lnsl " | 5974 xe_check_libs=" -lnsl " |
6004 cat > conftest.$ac_ext <<EOF | 5975 cat > conftest.$ac_ext <<EOF |
6005 #line 6006 "configure" | 5976 #line 5977 "configure" |
6006 #include "confdefs.h" | 5977 #include "confdefs.h" |
6007 /* Override any gcc2 internal prototype to avoid an error. */ | 5978 /* Override any gcc2 internal prototype to avoid an error. */ |
6008 /* We use char because int might match the return type of a gcc2 | 5979 /* We use char because int might match the return type of a gcc2 |
6009 builtin and then its argument prototype would still apply. */ | 5980 builtin and then its argument prototype would still apply. */ |
6010 char gethostbyname(); | 5981 char gethostbyname(); |
6011 | 5982 |
6012 int main() { | 5983 int main() { |
6013 gethostbyname() | 5984 gethostbyname() |
6014 ; return 0; } | 5985 ; return 0; } |
6015 EOF | 5986 EOF |
6016 if { (eval echo configure:6017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5987 if { (eval echo configure:5988: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6017 rm -rf conftest* | 5988 rm -rf conftest* |
6018 eval "ac_cv_lib_$ac_lib_var=yes" | 5989 eval "ac_cv_lib_$ac_lib_var=yes" |
6019 else | 5990 else |
6020 echo "configure: failed program was:" >&5 | 5991 echo "configure: failed program was:" >&5 |
6021 cat conftest.$ac_ext >&5 | 5992 cat conftest.$ac_ext >&5 |
6041 # on later versions), says simon@lia.di.epfl.ch: it contains | 6012 # on later versions), says simon@lia.di.epfl.ch: it contains |
6042 # gethostby* variants that don't use the nameserver (or something). | 6013 # gethostby* variants that don't use the nameserver (or something). |
6043 # -lsocket must be given before -lnsl if both are needed. | 6014 # -lsocket must be given before -lnsl if both are needed. |
6044 # We assume that if connect needs -lnsl, so does gethostbyname. | 6015 # We assume that if connect needs -lnsl, so does gethostbyname. |
6045 echo $ac_n "checking for connect""... $ac_c" 1>&6 | 6016 echo $ac_n "checking for connect""... $ac_c" 1>&6 |
6046 echo "configure:6047: checking for connect" >&5 | 6017 echo "configure:6018: checking for connect" >&5 |
6047 | 6018 |
6048 cat > conftest.$ac_ext <<EOF | 6019 cat > conftest.$ac_ext <<EOF |
6049 #line 6050 "configure" | 6020 #line 6021 "configure" |
6050 #include "confdefs.h" | 6021 #include "confdefs.h" |
6051 /* System header to define __stub macros and hopefully few prototypes, | 6022 /* System header to define __stub macros and hopefully few prototypes, |
6052 which can conflict with char connect(); below. */ | 6023 which can conflict with char connect(); below. */ |
6053 #include <assert.h> | 6024 #include <assert.h> |
6054 /* Override any gcc2 internal prototype to avoid an error. */ | 6025 /* Override any gcc2 internal prototype to avoid an error. */ |
6067 connect(); | 6038 connect(); |
6068 #endif | 6039 #endif |
6069 | 6040 |
6070 ; return 0; } | 6041 ; return 0; } |
6071 EOF | 6042 EOF |
6072 if { (eval echo configure:6073: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6043 if { (eval echo configure:6044: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6073 rm -rf conftest* | 6044 rm -rf conftest* |
6074 eval "ac_cv_func_connect=yes" | 6045 eval "ac_cv_func_connect=yes" |
6075 else | 6046 else |
6076 echo "configure: failed program was:" >&5 | 6047 echo "configure: failed program was:" >&5 |
6077 cat conftest.$ac_ext >&5 | 6048 cat conftest.$ac_ext >&5 |
6090 if test $ac_cv_func_connect = no; then | 6061 if test $ac_cv_func_connect = no; then |
6091 | 6062 |
6092 xe_msg_checking="for connect in -lsocket" | 6063 xe_msg_checking="for connect in -lsocket" |
6093 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 6064 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
6094 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6065 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6095 echo "configure:6096: checking "$xe_msg_checking"" >&5 | 6066 echo "configure:6067: checking "$xe_msg_checking"" >&5 |
6096 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` | 6067 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
6097 | 6068 |
6098 xe_check_libs=" -lsocket $X_EXTRA_LIBS" | 6069 xe_check_libs=" -lsocket $X_EXTRA_LIBS" |
6099 cat > conftest.$ac_ext <<EOF | 6070 cat > conftest.$ac_ext <<EOF |
6100 #line 6101 "configure" | 6071 #line 6072 "configure" |
6101 #include "confdefs.h" | 6072 #include "confdefs.h" |
6102 /* Override any gcc2 internal prototype to avoid an error. */ | 6073 /* Override any gcc2 internal prototype to avoid an error. */ |
6103 /* We use char because int might match the return type of a gcc2 | 6074 /* We use char because int might match the return type of a gcc2 |
6104 builtin and then its argument prototype would still apply. */ | 6075 builtin and then its argument prototype would still apply. */ |
6105 char connect(); | 6076 char connect(); |
6106 | 6077 |
6107 int main() { | 6078 int main() { |
6108 connect() | 6079 connect() |
6109 ; return 0; } | 6080 ; return 0; } |
6110 EOF | 6081 EOF |
6111 if { (eval echo configure:6112: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6082 if { (eval echo configure:6083: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6112 rm -rf conftest* | 6083 rm -rf conftest* |
6113 eval "ac_cv_lib_$ac_lib_var=yes" | 6084 eval "ac_cv_lib_$ac_lib_var=yes" |
6114 else | 6085 else |
6115 echo "configure: failed program was:" >&5 | 6086 echo "configure: failed program was:" >&5 |
6116 cat conftest.$ac_ext >&5 | 6087 cat conftest.$ac_ext >&5 |
6130 | 6101 |
6131 fi | 6102 fi |
6132 | 6103 |
6133 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. | 6104 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
6134 echo $ac_n "checking for remove""... $ac_c" 1>&6 | 6105 echo $ac_n "checking for remove""... $ac_c" 1>&6 |
6135 echo "configure:6136: checking for remove" >&5 | 6106 echo "configure:6107: checking for remove" >&5 |
6136 | 6107 |
6137 cat > conftest.$ac_ext <<EOF | 6108 cat > conftest.$ac_ext <<EOF |
6138 #line 6139 "configure" | 6109 #line 6110 "configure" |
6139 #include "confdefs.h" | 6110 #include "confdefs.h" |
6140 /* System header to define __stub macros and hopefully few prototypes, | 6111 /* System header to define __stub macros and hopefully few prototypes, |
6141 which can conflict with char remove(); below. */ | 6112 which can conflict with char remove(); below. */ |
6142 #include <assert.h> | 6113 #include <assert.h> |
6143 /* Override any gcc2 internal prototype to avoid an error. */ | 6114 /* Override any gcc2 internal prototype to avoid an error. */ |
6156 remove(); | 6127 remove(); |
6157 #endif | 6128 #endif |
6158 | 6129 |
6159 ; return 0; } | 6130 ; return 0; } |
6160 EOF | 6131 EOF |
6161 if { (eval echo configure:6162: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6132 if { (eval echo configure:6133: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6162 rm -rf conftest* | 6133 rm -rf conftest* |
6163 eval "ac_cv_func_remove=yes" | 6134 eval "ac_cv_func_remove=yes" |
6164 else | 6135 else |
6165 echo "configure: failed program was:" >&5 | 6136 echo "configure: failed program was:" >&5 |
6166 cat conftest.$ac_ext >&5 | 6137 cat conftest.$ac_ext >&5 |
6177 fi | 6148 fi |
6178 | 6149 |
6179 if test $ac_cv_func_remove = no; then | 6150 if test $ac_cv_func_remove = no; then |
6180 | 6151 |
6181 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 | 6152 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
6182 echo "configure:6183: checking for remove in -lposix" >&5 | 6153 echo "configure:6154: checking for remove in -lposix" >&5 |
6183 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` | 6154 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
6184 | 6155 |
6185 xe_check_libs=" -lposix " | 6156 xe_check_libs=" -lposix " |
6186 cat > conftest.$ac_ext <<EOF | 6157 cat > conftest.$ac_ext <<EOF |
6187 #line 6188 "configure" | 6158 #line 6159 "configure" |
6188 #include "confdefs.h" | 6159 #include "confdefs.h" |
6189 /* Override any gcc2 internal prototype to avoid an error. */ | 6160 /* Override any gcc2 internal prototype to avoid an error. */ |
6190 /* We use char because int might match the return type of a gcc2 | 6161 /* We use char because int might match the return type of a gcc2 |
6191 builtin and then its argument prototype would still apply. */ | 6162 builtin and then its argument prototype would still apply. */ |
6192 char remove(); | 6163 char remove(); |
6193 | 6164 |
6194 int main() { | 6165 int main() { |
6195 remove() | 6166 remove() |
6196 ; return 0; } | 6167 ; return 0; } |
6197 EOF | 6168 EOF |
6198 if { (eval echo configure:6199: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6169 if { (eval echo configure:6170: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6199 rm -rf conftest* | 6170 rm -rf conftest* |
6200 eval "ac_cv_lib_$ac_lib_var=yes" | 6171 eval "ac_cv_lib_$ac_lib_var=yes" |
6201 else | 6172 else |
6202 echo "configure: failed program was:" >&5 | 6173 echo "configure: failed program was:" >&5 |
6203 cat conftest.$ac_ext >&5 | 6174 cat conftest.$ac_ext >&5 |
6217 | 6188 |
6218 fi | 6189 fi |
6219 | 6190 |
6220 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. | 6191 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
6221 echo $ac_n "checking for shmat""... $ac_c" 1>&6 | 6192 echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
6222 echo "configure:6223: checking for shmat" >&5 | 6193 echo "configure:6194: checking for shmat" >&5 |
6223 | 6194 |
6224 cat > conftest.$ac_ext <<EOF | 6195 cat > conftest.$ac_ext <<EOF |
6225 #line 6226 "configure" | 6196 #line 6197 "configure" |
6226 #include "confdefs.h" | 6197 #include "confdefs.h" |
6227 /* System header to define __stub macros and hopefully few prototypes, | 6198 /* System header to define __stub macros and hopefully few prototypes, |
6228 which can conflict with char shmat(); below. */ | 6199 which can conflict with char shmat(); below. */ |
6229 #include <assert.h> | 6200 #include <assert.h> |
6230 /* Override any gcc2 internal prototype to avoid an error. */ | 6201 /* Override any gcc2 internal prototype to avoid an error. */ |
6243 shmat(); | 6214 shmat(); |
6244 #endif | 6215 #endif |
6245 | 6216 |
6246 ; return 0; } | 6217 ; return 0; } |
6247 EOF | 6218 EOF |
6248 if { (eval echo configure:6249: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6219 if { (eval echo configure:6220: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6249 rm -rf conftest* | 6220 rm -rf conftest* |
6250 eval "ac_cv_func_shmat=yes" | 6221 eval "ac_cv_func_shmat=yes" |
6251 else | 6222 else |
6252 echo "configure: failed program was:" >&5 | 6223 echo "configure: failed program was:" >&5 |
6253 cat conftest.$ac_ext >&5 | 6224 cat conftest.$ac_ext >&5 |
6264 fi | 6235 fi |
6265 | 6236 |
6266 if test $ac_cv_func_shmat = no; then | 6237 if test $ac_cv_func_shmat = no; then |
6267 | 6238 |
6268 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 | 6239 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
6269 echo "configure:6270: checking for shmat in -lipc" >&5 | 6240 echo "configure:6241: checking for shmat in -lipc" >&5 |
6270 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` | 6241 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
6271 | 6242 |
6272 xe_check_libs=" -lipc " | 6243 xe_check_libs=" -lipc " |
6273 cat > conftest.$ac_ext <<EOF | 6244 cat > conftest.$ac_ext <<EOF |
6274 #line 6275 "configure" | 6245 #line 6246 "configure" |
6275 #include "confdefs.h" | 6246 #include "confdefs.h" |
6276 /* Override any gcc2 internal prototype to avoid an error. */ | 6247 /* Override any gcc2 internal prototype to avoid an error. */ |
6277 /* We use char because int might match the return type of a gcc2 | 6248 /* We use char because int might match the return type of a gcc2 |
6278 builtin and then its argument prototype would still apply. */ | 6249 builtin and then its argument prototype would still apply. */ |
6279 char shmat(); | 6250 char shmat(); |
6280 | 6251 |
6281 int main() { | 6252 int main() { |
6282 shmat() | 6253 shmat() |
6283 ; return 0; } | 6254 ; return 0; } |
6284 EOF | 6255 EOF |
6285 if { (eval echo configure:6286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6256 if { (eval echo configure:6257: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6286 rm -rf conftest* | 6257 rm -rf conftest* |
6287 eval "ac_cv_lib_$ac_lib_var=yes" | 6258 eval "ac_cv_lib_$ac_lib_var=yes" |
6288 else | 6259 else |
6289 echo "configure: failed program was:" >&5 | 6260 echo "configure: failed program was:" >&5 |
6290 cat conftest.$ac_ext >&5 | 6261 cat conftest.$ac_ext >&5 |
6316 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. | 6287 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
6317 | 6288 |
6318 xe_msg_checking="for IceConnectionNumber in -lICE" | 6289 xe_msg_checking="for IceConnectionNumber in -lICE" |
6319 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 6290 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
6320 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6291 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6321 echo "configure:6322: checking "$xe_msg_checking"" >&5 | 6292 echo "configure:6293: checking "$xe_msg_checking"" >&5 |
6322 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` | 6293 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
6323 | 6294 |
6324 xe_check_libs=" -lICE $X_EXTRA_LIBS" | 6295 xe_check_libs=" -lICE $X_EXTRA_LIBS" |
6325 cat > conftest.$ac_ext <<EOF | 6296 cat > conftest.$ac_ext <<EOF |
6326 #line 6327 "configure" | 6297 #line 6298 "configure" |
6327 #include "confdefs.h" | 6298 #include "confdefs.h" |
6328 /* Override any gcc2 internal prototype to avoid an error. */ | 6299 /* Override any gcc2 internal prototype to avoid an error. */ |
6329 /* We use char because int might match the return type of a gcc2 | 6300 /* We use char because int might match the return type of a gcc2 |
6330 builtin and then its argument prototype would still apply. */ | 6301 builtin and then its argument prototype would still apply. */ |
6331 char IceConnectionNumber(); | 6302 char IceConnectionNumber(); |
6332 | 6303 |
6333 int main() { | 6304 int main() { |
6334 IceConnectionNumber() | 6305 IceConnectionNumber() |
6335 ; return 0; } | 6306 ; return 0; } |
6336 EOF | 6307 EOF |
6337 if { (eval echo configure:6338: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6308 if { (eval echo configure:6309: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6338 rm -rf conftest* | 6309 rm -rf conftest* |
6339 eval "ac_cv_lib_$ac_lib_var=yes" | 6310 eval "ac_cv_lib_$ac_lib_var=yes" |
6340 else | 6311 else |
6341 echo "configure: failed program was:" >&5 | 6312 echo "configure: failed program was:" >&5 |
6342 cat conftest.$ac_ext >&5 | 6313 cat conftest.$ac_ext >&5 |
6499 EOF | 6470 EOF |
6500 } | 6471 } |
6501 | 6472 |
6502 | 6473 |
6503 echo "checking for X defines extracted by xmkmf" 1>&6 | 6474 echo "checking for X defines extracted by xmkmf" 1>&6 |
6504 echo "configure:6505: checking for X defines extracted by xmkmf" >&5 | 6475 echo "configure:6476: checking for X defines extracted by xmkmf" >&5 |
6505 rm -fr conftestdir | 6476 rm -fr conftestdir |
6506 if mkdir conftestdir; then | 6477 if mkdir conftestdir; then |
6507 cd conftestdir | 6478 cd conftestdir |
6508 cat > Imakefile <<'EOF' | 6479 cat > Imakefile <<'EOF' |
6509 xetest: | 6480 xetest: |
6548 done | 6519 done |
6549 fi | 6520 fi |
6550 | 6521 |
6551 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` | 6522 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` |
6552 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 | 6523 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 |
6553 echo "configure:6554: checking for X11/Intrinsic.h" >&5 | 6524 echo "configure:6525: checking for X11/Intrinsic.h" >&5 |
6554 | 6525 |
6555 cat > conftest.$ac_ext <<EOF | 6526 cat > conftest.$ac_ext <<EOF |
6556 #line 6557 "configure" | 6527 #line 6528 "configure" |
6557 #include "confdefs.h" | 6528 #include "confdefs.h" |
6558 #include <X11/Intrinsic.h> | 6529 #include <X11/Intrinsic.h> |
6559 EOF | 6530 EOF |
6560 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6531 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6561 { (eval echo configure:6562: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6532 { (eval echo configure:6533: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6562 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6533 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6563 if test -z "$ac_err"; then | 6534 if test -z "$ac_err"; then |
6564 rm -rf conftest* | 6535 rm -rf conftest* |
6565 eval "ac_cv_header_$ac_safe=yes" | 6536 eval "ac_cv_header_$ac_safe=yes" |
6566 else | 6537 else |
6580 fi | 6551 fi |
6581 | 6552 |
6582 | 6553 |
6583 | 6554 |
6584 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 | 6555 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 |
6585 echo "configure:6586: checking for XOpenDisplay in -lX11" >&5 | 6556 echo "configure:6557: checking for XOpenDisplay in -lX11" >&5 |
6586 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` | 6557 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` |
6587 | 6558 |
6588 xe_check_libs=" -lX11 " | 6559 xe_check_libs=" -lX11 " |
6589 cat > conftest.$ac_ext <<EOF | 6560 cat > conftest.$ac_ext <<EOF |
6590 #line 6591 "configure" | 6561 #line 6562 "configure" |
6591 #include "confdefs.h" | 6562 #include "confdefs.h" |
6592 /* Override any gcc2 internal prototype to avoid an error. */ | 6563 /* Override any gcc2 internal prototype to avoid an error. */ |
6593 /* We use char because int might match the return type of a gcc2 | 6564 /* We use char because int might match the return type of a gcc2 |
6594 builtin and then its argument prototype would still apply. */ | 6565 builtin and then its argument prototype would still apply. */ |
6595 char XOpenDisplay(); | 6566 char XOpenDisplay(); |
6596 | 6567 |
6597 int main() { | 6568 int main() { |
6598 XOpenDisplay() | 6569 XOpenDisplay() |
6599 ; return 0; } | 6570 ; return 0; } |
6600 EOF | 6571 EOF |
6601 if { (eval echo configure:6602: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6572 if { (eval echo configure:6573: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6602 rm -rf conftest* | 6573 rm -rf conftest* |
6603 eval "ac_cv_lib_$ac_lib_var=yes" | 6574 eval "ac_cv_lib_$ac_lib_var=yes" |
6604 else | 6575 else |
6605 echo "configure: failed program was:" >&5 | 6576 echo "configure: failed program was:" >&5 |
6606 cat conftest.$ac_ext >&5 | 6577 cat conftest.$ac_ext >&5 |
6621 if test "$have_lib_x11" != "yes"; then | 6592 if test "$have_lib_x11" != "yes"; then |
6622 | 6593 |
6623 xe_msg_checking="for XGetFontProperty in -lX11" | 6594 xe_msg_checking="for XGetFontProperty in -lX11" |
6624 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" | 6595 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" |
6625 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6596 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6626 echo "configure:6627: checking "$xe_msg_checking"" >&5 | 6597 echo "configure:6598: checking "$xe_msg_checking"" >&5 |
6627 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` | 6598 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` |
6628 | 6599 |
6629 xe_check_libs=" -lX11 -b i486-linuxaout" | 6600 xe_check_libs=" -lX11 -b i486-linuxaout" |
6630 cat > conftest.$ac_ext <<EOF | 6601 cat > conftest.$ac_ext <<EOF |
6631 #line 6632 "configure" | 6602 #line 6603 "configure" |
6632 #include "confdefs.h" | 6603 #include "confdefs.h" |
6633 /* Override any gcc2 internal prototype to avoid an error. */ | 6604 /* Override any gcc2 internal prototype to avoid an error. */ |
6634 /* We use char because int might match the return type of a gcc2 | 6605 /* We use char because int might match the return type of a gcc2 |
6635 builtin and then its argument prototype would still apply. */ | 6606 builtin and then its argument prototype would still apply. */ |
6636 char XGetFontProperty(); | 6607 char XGetFontProperty(); |
6637 | 6608 |
6638 int main() { | 6609 int main() { |
6639 XGetFontProperty() | 6610 XGetFontProperty() |
6640 ; return 0; } | 6611 ; return 0; } |
6641 EOF | 6612 EOF |
6642 if { (eval echo configure:6643: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6613 if { (eval echo configure:6614: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6643 rm -rf conftest* | 6614 rm -rf conftest* |
6644 eval "ac_cv_lib_$ac_lib_var=yes" | 6615 eval "ac_cv_lib_$ac_lib_var=yes" |
6645 else | 6616 else |
6646 echo "configure: failed program was:" >&5 | 6617 echo "configure: failed program was:" >&5 |
6647 cat conftest.$ac_ext >&5 | 6618 cat conftest.$ac_ext >&5 |
6664 libs_x="-lX11" | 6635 libs_x="-lX11" |
6665 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" | 6636 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" |
6666 | 6637 |
6667 | 6638 |
6668 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 | 6639 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 |
6669 echo "configure:6670: checking for XShapeSelectInput in -lXext" >&5 | 6640 echo "configure:6641: checking for XShapeSelectInput in -lXext" >&5 |
6670 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` | 6641 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` |
6671 | 6642 |
6672 xe_check_libs=" -lXext " | 6643 xe_check_libs=" -lXext " |
6673 cat > conftest.$ac_ext <<EOF | 6644 cat > conftest.$ac_ext <<EOF |
6674 #line 6675 "configure" | 6645 #line 6646 "configure" |
6675 #include "confdefs.h" | 6646 #include "confdefs.h" |
6676 /* Override any gcc2 internal prototype to avoid an error. */ | 6647 /* Override any gcc2 internal prototype to avoid an error. */ |
6677 /* 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 |
6678 builtin and then its argument prototype would still apply. */ | 6649 builtin and then its argument prototype would still apply. */ |
6679 char XShapeSelectInput(); | 6650 char XShapeSelectInput(); |
6680 | 6651 |
6681 int main() { | 6652 int main() { |
6682 XShapeSelectInput() | 6653 XShapeSelectInput() |
6683 ; return 0; } | 6654 ; return 0; } |
6684 EOF | 6655 EOF |
6685 if { (eval echo configure:6686: \"$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 |
6686 rm -rf conftest* | 6657 rm -rf conftest* |
6687 eval "ac_cv_lib_$ac_lib_var=yes" | 6658 eval "ac_cv_lib_$ac_lib_var=yes" |
6688 else | 6659 else |
6689 echo "configure: failed program was:" >&5 | 6660 echo "configure: failed program was:" >&5 |
6690 cat conftest.$ac_ext >&5 | 6661 cat conftest.$ac_ext >&5 |
6703 | 6674 |
6704 | 6675 |
6705 | 6676 |
6706 | 6677 |
6707 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 | 6678 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 |
6708 echo "configure:6709: checking for XtOpenDisplay in -lXt" >&5 | 6679 echo "configure:6680: checking for XtOpenDisplay in -lXt" >&5 |
6709 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` | 6680 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` |
6710 | 6681 |
6711 xe_check_libs=" -lXt " | 6682 xe_check_libs=" -lXt " |
6712 cat > conftest.$ac_ext <<EOF | 6683 cat > conftest.$ac_ext <<EOF |
6713 #line 6714 "configure" | 6684 #line 6685 "configure" |
6714 #include "confdefs.h" | 6685 #include "confdefs.h" |
6715 /* Override any gcc2 internal prototype to avoid an error. */ | 6686 /* Override any gcc2 internal prototype to avoid an error. */ |
6716 /* We use char because int might match the return type of a gcc2 | 6687 /* We use char because int might match the return type of a gcc2 |
6717 builtin and then its argument prototype would still apply. */ | 6688 builtin and then its argument prototype would still apply. */ |
6718 char XtOpenDisplay(); | 6689 char XtOpenDisplay(); |
6719 | 6690 |
6720 int main() { | 6691 int main() { |
6721 XtOpenDisplay() | 6692 XtOpenDisplay() |
6722 ; return 0; } | 6693 ; return 0; } |
6723 EOF | 6694 EOF |
6724 if { (eval echo configure:6725: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6695 if { (eval echo configure:6696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6725 rm -rf conftest* | 6696 rm -rf conftest* |
6726 eval "ac_cv_lib_$ac_lib_var=yes" | 6697 eval "ac_cv_lib_$ac_lib_var=yes" |
6727 else | 6698 else |
6728 echo "configure: failed program was:" >&5 | 6699 echo "configure: failed program was:" >&5 |
6729 cat conftest.$ac_ext >&5 | 6700 cat conftest.$ac_ext >&5 |
6742 fi | 6713 fi |
6743 | 6714 |
6744 | 6715 |
6745 | 6716 |
6746 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 | 6717 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 |
6747 echo "configure:6748: checking the version of X11 being used" >&5 | 6718 echo "configure:6719: checking the version of X11 being used" >&5 |
6748 cat > conftest.$ac_ext <<EOF | 6719 cat > conftest.$ac_ext <<EOF |
6749 #line 6750 "configure" | 6720 #line 6721 "configure" |
6750 #include "confdefs.h" | 6721 #include "confdefs.h" |
6751 #include <X11/Intrinsic.h> | 6722 #include <X11/Intrinsic.h> |
6752 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } | 6723 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } |
6753 EOF | 6724 EOF |
6754 if { (eval echo configure:6755: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 6725 if { (eval echo configure:6726: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
6755 then | 6726 then |
6756 ./conftest foobar; x11_release=$? | 6727 ./conftest foobar; x11_release=$? |
6757 else | 6728 else |
6758 conftest_rc="$?" | 6729 conftest_rc="$?" |
6759 echo "configure: failed program was:" >&5 | 6730 echo "configure: failed program was:" >&5 |
6780 fi | 6751 fi |
6781 | 6752 |
6782 for ac_func in XConvertCase | 6753 for ac_func in XConvertCase |
6783 do | 6754 do |
6784 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 6755 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
6785 echo "configure:6786: checking for $ac_func" >&5 | 6756 echo "configure:6757: checking for $ac_func" >&5 |
6786 | 6757 |
6787 cat > conftest.$ac_ext <<EOF | 6758 cat > conftest.$ac_ext <<EOF |
6788 #line 6789 "configure" | 6759 #line 6760 "configure" |
6789 #include "confdefs.h" | 6760 #include "confdefs.h" |
6790 /* System header to define __stub macros and hopefully few prototypes, | 6761 /* System header to define __stub macros and hopefully few prototypes, |
6791 which can conflict with char $ac_func(); below. */ | 6762 which can conflict with char $ac_func(); below. */ |
6792 #include <assert.h> | 6763 #include <assert.h> |
6793 /* Override any gcc2 internal prototype to avoid an error. */ | 6764 /* Override any gcc2 internal prototype to avoid an error. */ |
6806 $ac_func(); | 6777 $ac_func(); |
6807 #endif | 6778 #endif |
6808 | 6779 |
6809 ; return 0; } | 6780 ; return 0; } |
6810 EOF | 6781 EOF |
6811 if { (eval echo configure:6812: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6782 if { (eval echo configure:6783: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6812 rm -rf conftest* | 6783 rm -rf conftest* |
6813 eval "ac_cv_func_$ac_func=yes" | 6784 eval "ac_cv_func_$ac_func=yes" |
6814 else | 6785 else |
6815 echo "configure: failed program was:" >&5 | 6786 echo "configure: failed program was:" >&5 |
6816 cat conftest.$ac_ext >&5 | 6787 cat conftest.$ac_ext >&5 |
6838 | 6809 |
6839 for ac_hdr in X11/Xlocale.h | 6810 for ac_hdr in X11/Xlocale.h |
6840 do | 6811 do |
6841 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 6812 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
6842 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 6813 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
6843 echo "configure:6844: checking for $ac_hdr" >&5 | 6814 echo "configure:6815: checking for $ac_hdr" >&5 |
6844 | 6815 |
6845 cat > conftest.$ac_ext <<EOF | 6816 cat > conftest.$ac_ext <<EOF |
6846 #line 6847 "configure" | 6817 #line 6818 "configure" |
6847 #include "confdefs.h" | 6818 #include "confdefs.h" |
6848 #include <$ac_hdr> | 6819 #include <$ac_hdr> |
6849 EOF | 6820 EOF |
6850 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6821 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6851 { (eval echo configure:6852: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6822 { (eval echo configure:6823: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6852 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6823 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6853 if test -z "$ac_err"; then | 6824 if test -z "$ac_err"; then |
6854 rm -rf conftest* | 6825 rm -rf conftest* |
6855 eval "ac_cv_header_$ac_safe=yes" | 6826 eval "ac_cv_header_$ac_safe=yes" |
6856 else | 6827 else |
6879 | 6850 |
6880 | 6851 |
6881 for ac_func in XRegisterIMInstantiateCallback | 6852 for ac_func in XRegisterIMInstantiateCallback |
6882 do | 6853 do |
6883 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 6854 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
6884 echo "configure:6885: checking for $ac_func" >&5 | 6855 echo "configure:6856: checking for $ac_func" >&5 |
6885 | 6856 |
6886 cat > conftest.$ac_ext <<EOF | 6857 cat > conftest.$ac_ext <<EOF |
6887 #line 6888 "configure" | 6858 #line 6859 "configure" |
6888 #include "confdefs.h" | 6859 #include "confdefs.h" |
6889 /* System header to define __stub macros and hopefully few prototypes, | 6860 /* System header to define __stub macros and hopefully few prototypes, |
6890 which can conflict with char $ac_func(); below. */ | 6861 which can conflict with char $ac_func(); below. */ |
6891 #include <assert.h> | 6862 #include <assert.h> |
6892 /* Override any gcc2 internal prototype to avoid an error. */ | 6863 /* Override any gcc2 internal prototype to avoid an error. */ |
6905 $ac_func(); | 6876 $ac_func(); |
6906 #endif | 6877 #endif |
6907 | 6878 |
6908 ; return 0; } | 6879 ; return 0; } |
6909 EOF | 6880 EOF |
6910 if { (eval echo configure:6911: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6881 if { (eval echo configure:6882: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6911 rm -rf conftest* | 6882 rm -rf conftest* |
6912 eval "ac_cv_func_$ac_func=yes" | 6883 eval "ac_cv_func_$ac_func=yes" |
6913 else | 6884 else |
6914 echo "configure: failed program was:" >&5 | 6885 echo "configure: failed program was:" >&5 |
6915 cat conftest.$ac_ext >&5 | 6886 cat conftest.$ac_ext >&5 |
6933 echo "$ac_t""no" 1>&6 | 6904 echo "$ac_t""no" 1>&6 |
6934 fi | 6905 fi |
6935 done | 6906 done |
6936 | 6907 |
6937 echo $ac_n "checking for standard XRegisterIMInstantiateCallback prototype""... $ac_c" 1>&6 | 6908 echo $ac_n "checking for standard XRegisterIMInstantiateCallback prototype""... $ac_c" 1>&6 |
6938 echo "configure:6939: checking for standard XRegisterIMInstantiateCallback prototype" >&5 | 6909 echo "configure:6910: checking for standard XRegisterIMInstantiateCallback prototype" >&5 |
6939 cat > conftest.$ac_ext <<EOF | 6910 cat > conftest.$ac_ext <<EOF |
6940 #line 6941 "configure" | 6911 #line 6912 "configure" |
6941 #include "confdefs.h" | 6912 #include "confdefs.h" |
6942 | 6913 |
6943 #define NeedFunctionPrototypes 1 | 6914 #define NeedFunctionPrototypes 1 |
6944 #include <X11/Xlib.h> | 6915 #include <X11/Xlib.h> |
6945 extern Bool XRegisterIMInstantiateCallback( | 6916 extern Bool XRegisterIMInstantiateCallback( |
6947 | 6918 |
6948 int main() { | 6919 int main() { |
6949 | 6920 |
6950 ; return 0; } | 6921 ; return 0; } |
6951 EOF | 6922 EOF |
6952 if { (eval echo configure:6953: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 6923 if { (eval echo configure:6924: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
6953 rm -rf conftest* | 6924 rm -rf conftest* |
6954 echo "$ac_t""yes" 1>&6 | 6925 echo "$ac_t""yes" 1>&6 |
6955 else | 6926 else |
6956 echo "configure: failed program was:" >&5 | 6927 echo "configure: failed program was:" >&5 |
6957 cat conftest.$ac_ext >&5 | 6928 cat conftest.$ac_ext >&5 |
6968 fi | 6939 fi |
6969 rm -f conftest* | 6940 rm -f conftest* |
6970 | 6941 |
6971 test -z "$with_xmu" && { | 6942 test -z "$with_xmu" && { |
6972 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 | 6943 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 |
6973 echo "configure:6974: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 | 6944 echo "configure:6945: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 |
6974 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` | 6945 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` |
6975 | 6946 |
6976 xe_check_libs=" -lXmu " | 6947 xe_check_libs=" -lXmu " |
6977 cat > conftest.$ac_ext <<EOF | 6948 cat > conftest.$ac_ext <<EOF |
6978 #line 6979 "configure" | 6949 #line 6950 "configure" |
6979 #include "confdefs.h" | 6950 #include "confdefs.h" |
6980 /* Override any gcc2 internal prototype to avoid an error. */ | 6951 /* Override any gcc2 internal prototype to avoid an error. */ |
6981 /* We use char because int might match the return type of a gcc2 | 6952 /* We use char because int might match the return type of a gcc2 |
6982 builtin and then its argument prototype would still apply. */ | 6953 builtin and then its argument prototype would still apply. */ |
6983 char XmuReadBitmapDataFromFile(); | 6954 char XmuReadBitmapDataFromFile(); |
6984 | 6955 |
6985 int main() { | 6956 int main() { |
6986 XmuReadBitmapDataFromFile() | 6957 XmuReadBitmapDataFromFile() |
6987 ; return 0; } | 6958 ; return 0; } |
6988 EOF | 6959 EOF |
6989 if { (eval echo configure:6990: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6960 if { (eval echo configure:6961: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6990 rm -rf conftest* | 6961 rm -rf conftest* |
6991 eval "ac_cv_lib_$ac_lib_var=yes" | 6962 eval "ac_cv_lib_$ac_lib_var=yes" |
6992 else | 6963 else |
6993 echo "configure: failed program was:" >&5 | 6964 echo "configure: failed program was:" >&5 |
6994 cat conftest.$ac_ext >&5 | 6965 cat conftest.$ac_ext >&5 |
7023 | 6994 |
7024 fi | 6995 fi |
7025 | 6996 |
7026 | 6997 |
7027 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 | 6998 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 |
7028 echo "configure:7029: checking for main in -lXbsd" >&5 | 6999 echo "configure:7000: checking for main in -lXbsd" >&5 |
7029 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` | 7000 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` |
7030 | 7001 |
7031 xe_check_libs=" -lXbsd " | 7002 xe_check_libs=" -lXbsd " |
7032 cat > conftest.$ac_ext <<EOF | 7003 cat > conftest.$ac_ext <<EOF |
7033 #line 7034 "configure" | 7004 #line 7005 "configure" |
7034 #include "confdefs.h" | 7005 #include "confdefs.h" |
7035 | 7006 |
7036 int main() { | 7007 int main() { |
7037 main() | 7008 main() |
7038 ; return 0; } | 7009 ; return 0; } |
7039 EOF | 7010 EOF |
7040 if { (eval echo configure:7041: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7011 if { (eval echo configure:7012: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7041 rm -rf conftest* | 7012 rm -rf conftest* |
7042 eval "ac_cv_lib_$ac_lib_var=yes" | 7013 eval "ac_cv_lib_$ac_lib_var=yes" |
7043 else | 7014 else |
7044 echo "configure: failed program was:" >&5 | 7015 echo "configure: failed program was:" >&5 |
7045 cat conftest.$ac_ext >&5 | 7016 cat conftest.$ac_ext >&5 |
7072 fi | 7043 fi |
7073 | 7044 |
7074 fi | 7045 fi |
7075 if test "$with_msw" != "no"; then | 7046 if test "$with_msw" != "no"; then |
7076 echo "checking for MS-Windows" 1>&6 | 7047 echo "checking for MS-Windows" 1>&6 |
7077 echo "configure:7078: checking for MS-Windows" >&5 | 7048 echo "configure:7049: checking for MS-Windows" >&5 |
7078 | 7049 |
7079 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 | 7050 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 |
7080 echo "configure:7081: checking for main in -lgdi32" >&5 | 7051 echo "configure:7052: checking for main in -lgdi32" >&5 |
7081 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` | 7052 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` |
7082 | 7053 |
7083 xe_check_libs=" -lgdi32 " | 7054 xe_check_libs=" -lgdi32 " |
7084 cat > conftest.$ac_ext <<EOF | 7055 cat > conftest.$ac_ext <<EOF |
7085 #line 7086 "configure" | 7056 #line 7057 "configure" |
7086 #include "confdefs.h" | 7057 #include "confdefs.h" |
7087 | 7058 |
7088 int main() { | 7059 int main() { |
7089 main() | 7060 main() |
7090 ; return 0; } | 7061 ; return 0; } |
7091 EOF | 7062 EOF |
7092 if { (eval echo configure:7093: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7063 if { (eval echo configure:7064: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7093 rm -rf conftest* | 7064 rm -rf conftest* |
7094 eval "ac_cv_lib_$ac_lib_var=yes" | 7065 eval "ac_cv_lib_$ac_lib_var=yes" |
7095 else | 7066 else |
7096 echo "configure: failed program was:" >&5 | 7067 echo "configure: failed program was:" >&5 |
7097 cat conftest.$ac_ext >&5 | 7068 cat conftest.$ac_ext >&5 |
7124 SRC_SUBDIR_DEPS="$SRC_SUBDIR_DEPS netinstall" && if test "$extra_verbose" = "yes"; then echo " Appending \"netinstall\" to \$SRC_SUBDIR_DEPS"; fi | 7095 SRC_SUBDIR_DEPS="$SRC_SUBDIR_DEPS netinstall" && if test "$extra_verbose" = "yes"; then echo " Appending \"netinstall\" to \$SRC_SUBDIR_DEPS"; fi |
7125 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR netinstall" && if test "$extra_verbose" = "yes"; then echo " Appending \"netinstall\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi | 7096 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR netinstall" && if test "$extra_verbose" = "yes"; then echo " Appending \"netinstall\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi |
7126 fi | 7097 fi |
7127 | 7098 |
7128 install_pp="$blddir/lib-src/installexe.sh" | 7099 install_pp="$blddir/lib-src/installexe.sh" |
7129 libs_system="$libs_system -lshell32 -lgdi32 -luser32 -lcomdlg32 -lcomctl32 -lwinspool" && if test "$extra_verbose" = "yes"; then echo " Appending \"-lshell32 -lgdi32 -luser32 -lcomdlg32 -lcomctl32 -lwinspool\" to \$libs_system"; fi | 7100 libs_system="$libs_system -limm32 -lshell32 -lgdi32 -luser32 -lcomdlg32 -lcomctl32 -lole32 -luuid -lwinspool -lmpr" && if test "$extra_verbose" = "yes"; then echo " Appending \"-limm32 -lshell32 -lgdi32 -luser32 -lcomdlg32 -lcomctl32 -lole32 -luuid -lwinspool -lmpr\" to \$libs_system"; fi |
7130 test "$with_dragndrop" != no && dragndrop_proto="$dragndrop_proto msw" && if test "$extra_verbose" = "yes"; then echo " Appending \"msw\" to \$dragndrop_proto"; fi | 7101 if test "$with_dragndrop" != no; then |
7102 dragndrop_proto="$dragndrop_proto msw" && if test "$extra_verbose" = "yes"; then echo " Appending \"msw\" to \$dragndrop_proto"; fi | |
7103 with_dragndrop=yes | |
7104 fi | |
7131 if test "$window_system" != x11; then | 7105 if test "$window_system" != x11; then |
7132 window_system=msw | 7106 window_system=msw |
7133 test "$with_scrollbars" != "no" && with_scrollbars=msw \ | 7107 test "$with_scrollbars" != "no" && with_scrollbars=msw |
7134 && extra_objs="$extra_objs scrollbar-msw.o" && if test "$extra_verbose" = "yes"; then | 7108 test "$with_menubars" != "no" && with_menubars=msw |
7135 echo " xemacs will be linked with \"scrollbar-msw.o\"" | 7109 test "$with_toolbars" != "no" && with_toolbars=msw |
7136 fi | 7110 test "$with_dialogs" != "no" && with_dialogs=msw |
7137 test "$with_menubars" != "no" && with_menubars=msw \ | 7111 test "$with_widgets" != "no" && with_widgets=msw |
7138 && extra_objs="$extra_objs menubar-msw.o" && if test "$extra_verbose" = "yes"; then | |
7139 echo " xemacs will be linked with \"menubar-msw.o\"" | |
7140 fi | |
7141 test "$with_toolbars" != "no" && with_toolbars=msw \ | |
7142 && extra_objs="$extra_objs toolbar-msw.o" && if test "$extra_verbose" = "yes"; then | |
7143 echo " xemacs will be linked with \"toolbar-msw.o\"" | |
7144 fi | |
7145 test "$with_dialogs" != "no" && with_dialogs=msw \ | |
7146 && extra_objs="$extra_objs dialog-msw.o" && if test "$extra_verbose" = "yes"; then | |
7147 echo " xemacs will be linked with \"dialog-msw.o\"" | |
7148 fi | |
7149 test "$with_widgets" != "no" && with_widgets=msw | |
7150 else | |
7151 test "$with_scrollbars" != "no" && extra_objs="$extra_objs scrollbar-msw.o" && if test "$extra_verbose" = "yes"; then | |
7152 echo " xemacs will be linked with \"scrollbar-msw.o\"" | |
7153 fi | |
7154 test "$with_menubars" != "no" && extra_objs="$extra_objs menubar-msw.o" && if test "$extra_verbose" = "yes"; then | |
7155 echo " xemacs will be linked with \"menubar-msw.o\"" | |
7156 fi | |
7157 test "$with_toolbars" != "no" && extra_objs="$extra_objs toolbar-msw.o" && if test "$extra_verbose" = "yes"; then | |
7158 echo " xemacs will be linked with \"toolbar-msw.o\"" | |
7159 fi | |
7160 test "$with_dialogs" != "no" && extra_objs="$extra_objs dialog-msw.o" && if test "$extra_verbose" = "yes"; then | |
7161 echo " xemacs will be linked with \"dialog-msw.o\"" | |
7162 fi | |
7163 fi | 7112 fi |
7164 cat > conftest.$ac_ext <<EOF | 7113 cat > conftest.$ac_ext <<EOF |
7165 #line 7166 "configure" | 7114 #line 7115 "configure" |
7166 #include "confdefs.h" | 7115 #include "confdefs.h" |
7167 #include <fcntl.h> | 7116 #include <fcntl.h> |
7168 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } | 7117 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } |
7169 EOF | 7118 EOF |
7170 if { (eval echo configure:7171: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 7119 if { (eval echo configure:7120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
7171 then | 7120 then |
7172 need_event_unixoid=yes; { test "$extra_verbose" = "yes" && cat << \EOF | 7121 { test "$extra_verbose" = "yes" && cat << \EOF |
7173 Defining HAVE_MSG_SELECT | 7122 Defining HAVE_MSG_SELECT |
7174 EOF | 7123 EOF |
7175 cat >> confdefs.h <<\EOF | 7124 cat >> confdefs.h <<\EOF |
7176 #define HAVE_MSG_SELECT 1 | 7125 #define HAVE_MSG_SELECT 1 |
7177 EOF | 7126 EOF |
7181 conftest_rc="$?" | 7130 conftest_rc="$?" |
7182 echo "configure: failed program was:" >&5 | 7131 echo "configure: failed program was:" >&5 |
7183 cat conftest.$ac_ext >&5 | 7132 cat conftest.$ac_ext >&5 |
7184 fi | 7133 fi |
7185 rm -fr conftest* | 7134 rm -fr conftest* |
7186 with_file_coding=yes | |
7187 extra_objs="$extra_objs console-msw.o device-msw.o event-msw.o frame-msw.o objects-msw.o select-msw.o redisplay-msw.o glyphs-msw.o gui-msw.o" && if test "$extra_verbose" = "yes"; then | |
7188 echo " xemacs will be linked with \"console-msw.o device-msw.o event-msw.o frame-msw.o objects-msw.o select-msw.o redisplay-msw.o glyphs-msw.o gui-msw.o\"" | |
7189 fi | |
7190 fi | 7135 fi |
7191 fi | 7136 fi |
7192 | 7137 |
7193 | 7138 |
7194 | 7139 |
7140 test -z "$with_dragndrop" && with_dragndrop="$with_dragndrop_default" | |
7195 test -z "$window_system" && window_system="none" | 7141 test -z "$window_system" && window_system="none" |
7196 | 7142 |
7197 if test "$window_system" = "none"; then | 7143 if test "$window_system" = "none"; then |
7198 for feature in menubars scrollbars toolbars dialogs dragndrop xface | 7144 for feature in menubars scrollbars toolbars dialogs dragndrop xface |
7199 do | 7145 do |
7229 fi | 7175 fi |
7230 | 7176 |
7231 if test "$with_x11" = "yes"; then | 7177 if test "$with_x11" = "yes"; then |
7232 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'` | 7178 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'` |
7233 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6 | 7179 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6 |
7234 echo "configure:7235: checking for X11/extensions/shape.h" >&5 | 7180 echo "configure:7181: checking for X11/extensions/shape.h" >&5 |
7235 | 7181 |
7236 cat > conftest.$ac_ext <<EOF | 7182 cat > conftest.$ac_ext <<EOF |
7237 #line 7238 "configure" | 7183 #line 7184 "configure" |
7238 #include "confdefs.h" | 7184 #include "confdefs.h" |
7239 #include <X11/extensions/shape.h> | 7185 #include <X11/extensions/shape.h> |
7240 EOF | 7186 EOF |
7241 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7187 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7242 { (eval echo configure:7243: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7188 { (eval echo configure:7189: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7243 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7189 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7244 if test -z "$ac_err"; then | 7190 if test -z "$ac_err"; then |
7245 rm -rf conftest* | 7191 rm -rf conftest* |
7246 eval "ac_cv_header_$ac_safe=yes" | 7192 eval "ac_cv_header_$ac_safe=yes" |
7247 else | 7193 else |
7261 cat >> confdefs.h <<\EOF | 7207 cat >> confdefs.h <<\EOF |
7262 #define HAVE_BALLOON_HELP 1 | 7208 #define HAVE_BALLOON_HELP 1 |
7263 EOF | 7209 EOF |
7264 } | 7210 } |
7265 | 7211 |
7266 extra_objs="$extra_objs balloon_help.o balloon-x.o" && if test "$extra_verbose" = "yes"; then | 7212 |
7267 echo " xemacs will be linked with \"balloon_help.o balloon-x.o\"" | |
7268 fi | |
7269 else | 7213 else |
7270 echo "$ac_t""no" 1>&6 | 7214 echo "$ac_t""no" 1>&6 |
7271 fi | 7215 fi |
7272 | 7216 |
7273 fi | 7217 fi |
7289 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" | 7233 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" |
7290 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" | 7234 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" |
7291 esac | 7235 esac |
7292 | 7236 |
7293 echo "checking for WM_COMMAND option" 1>&6 | 7237 echo "checking for WM_COMMAND option" 1>&6 |
7294 echo "configure:7295: checking for WM_COMMAND option" >&5; | 7238 echo "configure:7239: checking for WM_COMMAND option" >&5; |
7295 if test "$with_wmcommand" != "no"; then | 7239 if test "$with_wmcommand" != "no"; then |
7296 { test "$extra_verbose" = "yes" && cat << \EOF | 7240 { test "$extra_verbose" = "yes" && cat << \EOF |
7297 Defining HAVE_WMCOMMAND | 7241 Defining HAVE_WMCOMMAND |
7298 EOF | 7242 EOF |
7299 cat >> confdefs.h <<\EOF | 7243 cat >> confdefs.h <<\EOF |
7304 fi | 7248 fi |
7305 | 7249 |
7306 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no | 7250 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no |
7307 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` | 7251 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` |
7308 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 | 7252 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 |
7309 echo "configure:7310: checking for X11/Xauth.h" >&5 | 7253 echo "configure:7254: checking for X11/Xauth.h" >&5 |
7310 | 7254 |
7311 cat > conftest.$ac_ext <<EOF | 7255 cat > conftest.$ac_ext <<EOF |
7312 #line 7313 "configure" | 7256 #line 7257 "configure" |
7313 #include "confdefs.h" | 7257 #include "confdefs.h" |
7314 #include <X11/Xauth.h> | 7258 #include <X11/Xauth.h> |
7315 EOF | 7259 EOF |
7316 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7260 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7317 { (eval echo configure:7318: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7261 { (eval echo configure:7262: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7318 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7262 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7319 if test -z "$ac_err"; then | 7263 if test -z "$ac_err"; then |
7320 rm -rf conftest* | 7264 rm -rf conftest* |
7321 eval "ac_cv_header_$ac_safe=yes" | 7265 eval "ac_cv_header_$ac_safe=yes" |
7322 else | 7266 else |
7335 with_xauth=no | 7279 with_xauth=no |
7336 fi | 7280 fi |
7337 } | 7281 } |
7338 test -z "$with_xauth" && { | 7282 test -z "$with_xauth" && { |
7339 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 | 7283 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 |
7340 echo "configure:7341: checking for XauGetAuthByAddr in -lXau" >&5 | 7284 echo "configure:7285: checking for XauGetAuthByAddr in -lXau" >&5 |
7341 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` | 7285 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` |
7342 | 7286 |
7343 xe_check_libs=" -lXau " | 7287 xe_check_libs=" -lXau " |
7344 cat > conftest.$ac_ext <<EOF | 7288 cat > conftest.$ac_ext <<EOF |
7345 #line 7346 "configure" | 7289 #line 7290 "configure" |
7346 #include "confdefs.h" | 7290 #include "confdefs.h" |
7347 /* Override any gcc2 internal prototype to avoid an error. */ | 7291 /* Override any gcc2 internal prototype to avoid an error. */ |
7348 /* We use char because int might match the return type of a gcc2 | 7292 /* We use char because int might match the return type of a gcc2 |
7349 builtin and then its argument prototype would still apply. */ | 7293 builtin and then its argument prototype would still apply. */ |
7350 char XauGetAuthByAddr(); | 7294 char XauGetAuthByAddr(); |
7351 | 7295 |
7352 int main() { | 7296 int main() { |
7353 XauGetAuthByAddr() | 7297 XauGetAuthByAddr() |
7354 ; return 0; } | 7298 ; return 0; } |
7355 EOF | 7299 EOF |
7356 if { (eval echo configure:7357: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7300 if { (eval echo configure:7301: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7357 rm -rf conftest* | 7301 rm -rf conftest* |
7358 eval "ac_cv_lib_$ac_lib_var=yes" | 7302 eval "ac_cv_lib_$ac_lib_var=yes" |
7359 else | 7303 else |
7360 echo "configure: failed program was:" >&5 | 7304 echo "configure: failed program was:" >&5 |
7361 cat conftest.$ac_ext >&5 | 7305 cat conftest.$ac_ext >&5 |
7396 | 7340 |
7397 if test "$with_tooltalk" != "no" ; then | 7341 if test "$with_tooltalk" != "no" ; then |
7398 for dir in "" "Tt/" "desktop/" ; do | 7342 for dir in "" "Tt/" "desktop/" ; do |
7399 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` | 7343 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` |
7400 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 | 7344 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 |
7401 echo "configure:7402: checking for ${dir}tt_c.h" >&5 | 7345 echo "configure:7346: checking for ${dir}tt_c.h" >&5 |
7402 | 7346 |
7403 cat > conftest.$ac_ext <<EOF | 7347 cat > conftest.$ac_ext <<EOF |
7404 #line 7405 "configure" | 7348 #line 7349 "configure" |
7405 #include "confdefs.h" | 7349 #include "confdefs.h" |
7406 #include <${dir}tt_c.h> | 7350 #include <${dir}tt_c.h> |
7407 EOF | 7351 EOF |
7408 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7352 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7409 { (eval echo configure:7410: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7353 { (eval echo configure:7354: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7410 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7354 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7411 if test -z "$ac_err"; then | 7355 if test -z "$ac_err"; then |
7412 rm -rf conftest* | 7356 rm -rf conftest* |
7413 eval "ac_cv_header_$ac_safe=yes" | 7357 eval "ac_cv_header_$ac_safe=yes" |
7414 else | 7358 else |
7440 for extra_libs in "" "-lI18N -lce" "-lcxx"; do | 7384 for extra_libs in "" "-lI18N -lce" "-lcxx"; do |
7441 | 7385 |
7442 xe_msg_checking="for tt_message_create in -ltt" | 7386 xe_msg_checking="for tt_message_create in -ltt" |
7443 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 7387 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
7444 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 7388 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
7445 echo "configure:7446: checking "$xe_msg_checking"" >&5 | 7389 echo "configure:7390: checking "$xe_msg_checking"" >&5 |
7446 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` | 7390 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` |
7447 | 7391 |
7448 xe_check_libs=" -ltt $extra_libs" | 7392 xe_check_libs=" -ltt $extra_libs" |
7449 cat > conftest.$ac_ext <<EOF | 7393 cat > conftest.$ac_ext <<EOF |
7450 #line 7451 "configure" | 7394 #line 7395 "configure" |
7451 #include "confdefs.h" | 7395 #include "confdefs.h" |
7452 /* Override any gcc2 internal prototype to avoid an error. */ | 7396 /* Override any gcc2 internal prototype to avoid an error. */ |
7453 /* We use char because int might match the return type of a gcc2 | 7397 /* We use char because int might match the return type of a gcc2 |
7454 builtin and then its argument prototype would still apply. */ | 7398 builtin and then its argument prototype would still apply. */ |
7455 char tt_message_create(); | 7399 char tt_message_create(); |
7456 | 7400 |
7457 int main() { | 7401 int main() { |
7458 tt_message_create() | 7402 tt_message_create() |
7459 ; return 0; } | 7403 ; return 0; } |
7460 EOF | 7404 EOF |
7461 if { (eval echo configure:7462: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7405 if { (eval echo configure:7406: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7462 rm -rf conftest* | 7406 rm -rf conftest* |
7463 eval "ac_cv_lib_$ac_lib_var=yes" | 7407 eval "ac_cv_lib_$ac_lib_var=yes" |
7464 else | 7408 else |
7465 echo "configure: failed program was:" >&5 | 7409 echo "configure: failed program was:" >&5 |
7466 cat conftest.$ac_ext >&5 | 7410 cat conftest.$ac_ext >&5 |
7506 #define TT_C_H_FILE "$tt_c_h_file" | 7450 #define TT_C_H_FILE "$tt_c_h_file" |
7507 EOF | 7451 EOF |
7508 } | 7452 } |
7509 | 7453 |
7510 libs_x="$tt_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$tt_libs\" to \$libs_x"; fi | 7454 libs_x="$tt_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$tt_libs\" to \$libs_x"; fi |
7511 extra_objs="$extra_objs tooltalk.o" && if test "$extra_verbose" = "yes"; then | |
7512 echo " xemacs will be linked with \"tooltalk.o\"" | |
7513 fi | |
7514 fi | 7455 fi |
7515 | 7456 |
7516 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` | 7457 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` |
7517 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 | 7458 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 |
7518 echo "configure:7519: checking for Dt/Dt.h" >&5 | 7459 echo "configure:7460: checking for Dt/Dt.h" >&5 |
7519 | 7460 |
7520 cat > conftest.$ac_ext <<EOF | 7461 cat > conftest.$ac_ext <<EOF |
7521 #line 7522 "configure" | 7462 #line 7463 "configure" |
7522 #include "confdefs.h" | 7463 #include "confdefs.h" |
7523 #include <Dt/Dt.h> | 7464 #include <Dt/Dt.h> |
7524 EOF | 7465 EOF |
7525 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7466 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7526 { (eval echo configure:7527: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7467 { (eval echo configure:7468: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7527 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7468 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7528 if test -z "$ac_err"; then | 7469 if test -z "$ac_err"; then |
7529 rm -rf conftest* | 7470 rm -rf conftest* |
7530 eval "ac_cv_header_$ac_safe=yes" | 7471 eval "ac_cv_header_$ac_safe=yes" |
7531 else | 7472 else |
7544 with_cde=no | 7485 with_cde=no |
7545 fi | 7486 fi |
7546 } | 7487 } |
7547 test -z "$with_cde" && { | 7488 test -z "$with_cde" && { |
7548 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 | 7489 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 |
7549 echo "configure:7550: checking for DtDndDragStart in -lDtSvc" >&5 | 7490 echo "configure:7491: checking for DtDndDragStart in -lDtSvc" >&5 |
7550 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` | 7491 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` |
7551 | 7492 |
7552 xe_check_libs=" -lDtSvc " | 7493 xe_check_libs=" -lDtSvc " |
7553 cat > conftest.$ac_ext <<EOF | 7494 cat > conftest.$ac_ext <<EOF |
7554 #line 7555 "configure" | 7495 #line 7496 "configure" |
7555 #include "confdefs.h" | 7496 #include "confdefs.h" |
7556 /* Override any gcc2 internal prototype to avoid an error. */ | 7497 /* Override any gcc2 internal prototype to avoid an error. */ |
7557 /* We use char because int might match the return type of a gcc2 | 7498 /* We use char because int might match the return type of a gcc2 |
7558 builtin and then its argument prototype would still apply. */ | 7499 builtin and then its argument prototype would still apply. */ |
7559 char DtDndDragStart(); | 7500 char DtDndDragStart(); |
7560 | 7501 |
7561 int main() { | 7502 int main() { |
7562 DtDndDragStart() | 7503 DtDndDragStart() |
7563 ; return 0; } | 7504 ; return 0; } |
7564 EOF | 7505 EOF |
7565 if { (eval echo configure:7566: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7506 if { (eval echo configure:7507: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7566 rm -rf conftest* | 7507 rm -rf conftest* |
7567 eval "ac_cv_lib_$ac_lib_var=yes" | 7508 eval "ac_cv_lib_$ac_lib_var=yes" |
7568 else | 7509 else |
7569 echo "configure: failed program was:" >&5 | 7510 echo "configure: failed program was:" >&5 |
7570 cat conftest.$ac_ext >&5 | 7511 cat conftest.$ac_ext >&5 |
7641 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi | 7582 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi |
7642 fi | 7583 fi |
7643 | 7584 |
7644 if test "$with_dragndrop" != "no" ; then | 7585 if test "$with_dragndrop" != "no" ; then |
7645 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 | 7586 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 |
7646 echo "configure:7647: checking if drag and drop API is needed" >&5 | 7587 echo "configure:7588: checking if drag and drop API is needed" >&5 |
7647 if test -n "$dragndrop_proto" ; then | 7588 if test -n "$dragndrop_proto" ; then |
7648 with_dragndrop=yes | 7589 with_dragndrop=yes |
7649 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 | 7590 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 |
7650 { test "$extra_verbose" = "yes" && cat << \EOF | 7591 { test "$extra_verbose" = "yes" && cat << \EOF |
7651 Defining HAVE_DRAGNDROP | 7592 Defining HAVE_DRAGNDROP |
7661 echo "$ac_t""no" 1>&6 | 7602 echo "$ac_t""no" 1>&6 |
7662 fi | 7603 fi |
7663 fi | 7604 fi |
7664 | 7605 |
7665 echo "checking for LDAP" 1>&6 | 7606 echo "checking for LDAP" 1>&6 |
7666 echo "configure:7667: checking for LDAP" >&5 | 7607 echo "configure:7608: checking for LDAP" >&5 |
7667 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` | 7608 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` |
7668 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 | 7609 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 |
7669 echo "configure:7670: checking for ldap.h" >&5 | 7610 echo "configure:7611: checking for ldap.h" >&5 |
7670 | 7611 |
7671 cat > conftest.$ac_ext <<EOF | 7612 cat > conftest.$ac_ext <<EOF |
7672 #line 7673 "configure" | 7613 #line 7614 "configure" |
7673 #include "confdefs.h" | 7614 #include "confdefs.h" |
7674 #include <ldap.h> | 7615 #include <ldap.h> |
7675 EOF | 7616 EOF |
7676 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7617 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7677 { (eval echo configure:7678: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7618 { (eval echo configure:7619: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7678 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7619 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7679 if test -z "$ac_err"; then | 7620 if test -z "$ac_err"; then |
7680 rm -rf conftest* | 7621 rm -rf conftest* |
7681 eval "ac_cv_header_$ac_safe=yes" | 7622 eval "ac_cv_header_$ac_safe=yes" |
7682 else | 7623 else |
7695 with_ldap=no | 7636 with_ldap=no |
7696 fi | 7637 fi |
7697 } | 7638 } |
7698 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` | 7639 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` |
7699 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 | 7640 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 |
7700 echo "configure:7701: checking for lber.h" >&5 | 7641 echo "configure:7642: checking for lber.h" >&5 |
7701 | 7642 |
7702 cat > conftest.$ac_ext <<EOF | 7643 cat > conftest.$ac_ext <<EOF |
7703 #line 7704 "configure" | 7644 #line 7645 "configure" |
7704 #include "confdefs.h" | 7645 #include "confdefs.h" |
7705 #include <lber.h> | 7646 #include <lber.h> |
7706 EOF | 7647 EOF |
7707 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7648 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7708 { (eval echo configure:7709: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7649 { (eval echo configure:7650: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7709 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7650 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7710 if test -z "$ac_err"; then | 7651 if test -z "$ac_err"; then |
7711 rm -rf conftest* | 7652 rm -rf conftest* |
7712 eval "ac_cv_header_$ac_safe=yes" | 7653 eval "ac_cv_header_$ac_safe=yes" |
7713 else | 7654 else |
7727 fi | 7668 fi |
7728 } | 7669 } |
7729 if test "$with_ldap" != "no"; then | 7670 if test "$with_ldap" != "no"; then |
7730 | 7671 |
7731 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 | 7672 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 |
7732 echo "configure:7733: checking for ldap_search in -lldap" >&5 | 7673 echo "configure:7674: checking for ldap_search in -lldap" >&5 |
7733 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` | 7674 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` |
7734 | 7675 |
7735 xe_check_libs=" -lldap " | 7676 xe_check_libs=" -lldap " |
7736 cat > conftest.$ac_ext <<EOF | 7677 cat > conftest.$ac_ext <<EOF |
7737 #line 7738 "configure" | 7678 #line 7679 "configure" |
7738 #include "confdefs.h" | 7679 #include "confdefs.h" |
7739 /* Override any gcc2 internal prototype to avoid an error. */ | 7680 /* Override any gcc2 internal prototype to avoid an error. */ |
7740 /* We use char because int might match the return type of a gcc2 | 7681 /* We use char because int might match the return type of a gcc2 |
7741 builtin and then its argument prototype would still apply. */ | 7682 builtin and then its argument prototype would still apply. */ |
7742 char ldap_search(); | 7683 char ldap_search(); |
7743 | 7684 |
7744 int main() { | 7685 int main() { |
7745 ldap_search() | 7686 ldap_search() |
7746 ; return 0; } | 7687 ; return 0; } |
7747 EOF | 7688 EOF |
7748 if { (eval echo configure:7749: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7689 if { (eval echo configure:7690: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7749 rm -rf conftest* | 7690 rm -rf conftest* |
7750 eval "ac_cv_lib_$ac_lib_var=yes" | 7691 eval "ac_cv_lib_$ac_lib_var=yes" |
7751 else | 7692 else |
7752 echo "configure: failed program was:" >&5 | 7693 echo "configure: failed program was:" >&5 |
7753 cat conftest.$ac_ext >&5 | 7694 cat conftest.$ac_ext >&5 |
7768 | 7709 |
7769 test "$with_ldap_nolber" = "no" && { | 7710 test "$with_ldap_nolber" = "no" && { |
7770 xe_msg_checking="for ldap_open in -lldap" | 7711 xe_msg_checking="for ldap_open in -lldap" |
7771 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" | 7712 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" |
7772 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 7713 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
7773 echo "configure:7774: checking "$xe_msg_checking"" >&5 | 7714 echo "configure:7715: checking "$xe_msg_checking"" >&5 |
7774 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 7715 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
7775 | 7716 |
7776 xe_check_libs=" -lldap -llber" | 7717 xe_check_libs=" -lldap -llber" |
7777 cat > conftest.$ac_ext <<EOF | 7718 cat > conftest.$ac_ext <<EOF |
7778 #line 7779 "configure" | 7719 #line 7720 "configure" |
7779 #include "confdefs.h" | 7720 #include "confdefs.h" |
7780 /* Override any gcc2 internal prototype to avoid an error. */ | 7721 /* Override any gcc2 internal prototype to avoid an error. */ |
7781 /* We use char because int might match the return type of a gcc2 | 7722 /* We use char because int might match the return type of a gcc2 |
7782 builtin and then its argument prototype would still apply. */ | 7723 builtin and then its argument prototype would still apply. */ |
7783 char ldap_open(); | 7724 char ldap_open(); |
7784 | 7725 |
7785 int main() { | 7726 int main() { |
7786 ldap_open() | 7727 ldap_open() |
7787 ; return 0; } | 7728 ; return 0; } |
7788 EOF | 7729 EOF |
7789 if { (eval echo configure:7790: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7730 if { (eval echo configure:7731: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7790 rm -rf conftest* | 7731 rm -rf conftest* |
7791 eval "ac_cv_lib_$ac_lib_var=yes" | 7732 eval "ac_cv_lib_$ac_lib_var=yes" |
7792 else | 7733 else |
7793 echo "configure: failed program was:" >&5 | 7734 echo "configure: failed program was:" >&5 |
7794 cat conftest.$ac_ext >&5 | 7735 cat conftest.$ac_ext >&5 |
7809 } | 7750 } |
7810 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { | 7751 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { |
7811 xe_msg_checking="for ldap_open in -lldap" | 7752 xe_msg_checking="for ldap_open in -lldap" |
7812 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" | 7753 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" |
7813 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 7754 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
7814 echo "configure:7815: checking "$xe_msg_checking"" >&5 | 7755 echo "configure:7756: checking "$xe_msg_checking"" >&5 |
7815 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 7756 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
7816 | 7757 |
7817 xe_check_libs=" -lldap -llber -lkrb" | 7758 xe_check_libs=" -lldap -llber -lkrb" |
7818 cat > conftest.$ac_ext <<EOF | 7759 cat > conftest.$ac_ext <<EOF |
7819 #line 7820 "configure" | 7760 #line 7761 "configure" |
7820 #include "confdefs.h" | 7761 #include "confdefs.h" |
7821 /* Override any gcc2 internal prototype to avoid an error. */ | 7762 /* Override any gcc2 internal prototype to avoid an error. */ |
7822 /* We use char because int might match the return type of a gcc2 | 7763 /* We use char because int might match the return type of a gcc2 |
7823 builtin and then its argument prototype would still apply. */ | 7764 builtin and then its argument prototype would still apply. */ |
7824 char ldap_open(); | 7765 char ldap_open(); |
7825 | 7766 |
7826 int main() { | 7767 int main() { |
7827 ldap_open() | 7768 ldap_open() |
7828 ; return 0; } | 7769 ; return 0; } |
7829 EOF | 7770 EOF |
7830 if { (eval echo configure:7831: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7771 if { (eval echo configure:7772: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7831 rm -rf conftest* | 7772 rm -rf conftest* |
7832 eval "ac_cv_lib_$ac_lib_var=yes" | 7773 eval "ac_cv_lib_$ac_lib_var=yes" |
7833 else | 7774 else |
7834 echo "configure: failed program was:" >&5 | 7775 echo "configure: failed program was:" >&5 |
7835 cat conftest.$ac_ext >&5 | 7776 cat conftest.$ac_ext >&5 |
7850 } | 7791 } |
7851 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { | 7792 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { |
7852 xe_msg_checking="for ldap_open in -lldap" | 7793 xe_msg_checking="for ldap_open in -lldap" |
7853 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" | 7794 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" |
7854 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 7795 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
7855 echo "configure:7856: checking "$xe_msg_checking"" >&5 | 7796 echo "configure:7797: checking "$xe_msg_checking"" >&5 |
7856 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 7797 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
7857 | 7798 |
7858 xe_check_libs=" -lldap -llber -lkrb -ldes" | 7799 xe_check_libs=" -lldap -llber -lkrb -ldes" |
7859 cat > conftest.$ac_ext <<EOF | 7800 cat > conftest.$ac_ext <<EOF |
7860 #line 7861 "configure" | 7801 #line 7802 "configure" |
7861 #include "confdefs.h" | 7802 #include "confdefs.h" |
7862 /* Override any gcc2 internal prototype to avoid an error. */ | 7803 /* Override any gcc2 internal prototype to avoid an error. */ |
7863 /* We use char because int might match the return type of a gcc2 | 7804 /* We use char because int might match the return type of a gcc2 |
7864 builtin and then its argument prototype would still apply. */ | 7805 builtin and then its argument prototype would still apply. */ |
7865 char ldap_open(); | 7806 char ldap_open(); |
7866 | 7807 |
7867 int main() { | 7808 int main() { |
7868 ldap_open() | 7809 ldap_open() |
7869 ; return 0; } | 7810 ; return 0; } |
7870 EOF | 7811 EOF |
7871 if { (eval echo configure:7872: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7812 if { (eval echo configure:7813: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7872 rm -rf conftest* | 7813 rm -rf conftest* |
7873 eval "ac_cv_lib_$ac_lib_var=yes" | 7814 eval "ac_cv_lib_$ac_lib_var=yes" |
7874 else | 7815 else |
7875 echo "configure: failed program was:" >&5 | 7816 echo "configure: failed program was:" >&5 |
7876 cat conftest.$ac_ext >&5 | 7817 cat conftest.$ac_ext >&5 |
7898 cat >> confdefs.h <<\EOF | 7839 cat >> confdefs.h <<\EOF |
7899 #define HAVE_LDAP 1 | 7840 #define HAVE_LDAP 1 |
7900 EOF | 7841 EOF |
7901 } | 7842 } |
7902 | 7843 |
7903 extra_objs="$extra_objs eldap.o" && if test "$extra_verbose" = "yes"; then | |
7904 echo " xemacs will be linked with \"eldap.o\"" | |
7905 fi | |
7906 if test "$with_ldap_nolber" = "yes" ; then | 7844 if test "$with_ldap_nolber" = "yes" ; then |
7907 LIBS="-lldap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap\" to \$LIBS"; fi | 7845 LIBS="-lldap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap\" to \$LIBS"; fi |
7908 else | 7846 else |
7909 if test "$with_ldap_krb" = "yes" ; then | 7847 if test "$with_ldap_krb" = "yes" ; then |
7910 LIBS="-lkrb $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lkrb\" to \$LIBS"; fi | 7848 LIBS="-lkrb $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lkrb\" to \$LIBS"; fi |
7917 LIBS="-lldap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap\" to \$LIBS"; fi | 7855 LIBS="-lldap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap\" to \$LIBS"; fi |
7918 fi | 7856 fi |
7919 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result | 7857 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result |
7920 do | 7858 do |
7921 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7859 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
7922 echo "configure:7923: checking for $ac_func" >&5 | 7860 echo "configure:7861: checking for $ac_func" >&5 |
7923 | 7861 |
7924 cat > conftest.$ac_ext <<EOF | 7862 cat > conftest.$ac_ext <<EOF |
7925 #line 7926 "configure" | 7863 #line 7864 "configure" |
7926 #include "confdefs.h" | 7864 #include "confdefs.h" |
7927 /* System header to define __stub macros and hopefully few prototypes, | 7865 /* System header to define __stub macros and hopefully few prototypes, |
7928 which can conflict with char $ac_func(); below. */ | 7866 which can conflict with char $ac_func(); below. */ |
7929 #include <assert.h> | 7867 #include <assert.h> |
7930 /* Override any gcc2 internal prototype to avoid an error. */ | 7868 /* Override any gcc2 internal prototype to avoid an error. */ |
7943 $ac_func(); | 7881 $ac_func(); |
7944 #endif | 7882 #endif |
7945 | 7883 |
7946 ; return 0; } | 7884 ; return 0; } |
7947 EOF | 7885 EOF |
7948 if { (eval echo configure:7949: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7886 if { (eval echo configure:7887: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7949 rm -rf conftest* | 7887 rm -rf conftest* |
7950 eval "ac_cv_func_$ac_func=yes" | 7888 eval "ac_cv_func_$ac_func=yes" |
7951 else | 7889 else |
7952 echo "configure: failed program was:" >&5 | 7890 echo "configure: failed program was:" >&5 |
7953 cat conftest.$ac_ext >&5 | 7891 cat conftest.$ac_ext >&5 |
7974 | 7912 |
7975 fi | 7913 fi |
7976 | 7914 |
7977 if test "$with_postgresql" != "no"; then | 7915 if test "$with_postgresql" != "no"; then |
7978 echo "checking for PostgreSQL" 1>&6 | 7916 echo "checking for PostgreSQL" 1>&6 |
7979 echo "configure:7980: checking for PostgreSQL" >&5 | 7917 echo "configure:7918: checking for PostgreSQL" >&5 |
7980 | 7918 |
7981 for header_dir in "" "pgsql/" "postgresql/"; do | 7919 for header_dir in "" "pgsql/" "postgresql/"; do |
7982 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` | 7920 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` |
7983 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 | 7921 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 |
7984 echo "configure:7985: checking for ${header_dir}libpq-fe.h" >&5 | 7922 echo "configure:7923: checking for ${header_dir}libpq-fe.h" >&5 |
7985 | 7923 |
7986 cat > conftest.$ac_ext <<EOF | 7924 cat > conftest.$ac_ext <<EOF |
7987 #line 7988 "configure" | 7925 #line 7926 "configure" |
7988 #include "confdefs.h" | 7926 #include "confdefs.h" |
7989 #include <${header_dir}libpq-fe.h> | 7927 #include <${header_dir}libpq-fe.h> |
7990 EOF | 7928 EOF |
7991 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7929 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7992 { (eval echo configure:7993: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7930 { (eval echo configure:7931: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7993 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7931 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7994 if test -z "$ac_err"; then | 7932 if test -z "$ac_err"; then |
7995 rm -rf conftest* | 7933 rm -rf conftest* |
7996 eval "ac_cv_header_$ac_safe=yes" | 7934 eval "ac_cv_header_$ac_safe=yes" |
7997 else | 7935 else |
8011 | 7949 |
8012 done | 7950 done |
8013 | 7951 |
8014 test -n "$libpq_fe_h_file" && { | 7952 test -n "$libpq_fe_h_file" && { |
8015 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 | 7953 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 |
8016 echo "configure:8017: checking for PQconnectdb in -lpq" >&5 | 7954 echo "configure:7955: checking for PQconnectdb in -lpq" >&5 |
8017 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` | 7955 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` |
8018 | 7956 |
8019 xe_check_libs=" -lpq " | 7957 xe_check_libs=" -lpq " |
8020 cat > conftest.$ac_ext <<EOF | 7958 cat > conftest.$ac_ext <<EOF |
8021 #line 8022 "configure" | 7959 #line 7960 "configure" |
8022 #include "confdefs.h" | 7960 #include "confdefs.h" |
8023 /* Override any gcc2 internal prototype to avoid an error. */ | 7961 /* Override any gcc2 internal prototype to avoid an error. */ |
8024 /* We use char because int might match the return type of a gcc2 | 7962 /* We use char because int might match the return type of a gcc2 |
8025 builtin and then its argument prototype would still apply. */ | 7963 builtin and then its argument prototype would still apply. */ |
8026 char PQconnectdb(); | 7964 char PQconnectdb(); |
8027 | 7965 |
8028 int main() { | 7966 int main() { |
8029 PQconnectdb() | 7967 PQconnectdb() |
8030 ; return 0; } | 7968 ; return 0; } |
8031 EOF | 7969 EOF |
8032 if { (eval echo configure:8033: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7970 if { (eval echo configure:7971: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8033 rm -rf conftest* | 7971 rm -rf conftest* |
8034 eval "ac_cv_lib_$ac_lib_var=yes" | 7972 eval "ac_cv_lib_$ac_lib_var=yes" |
8035 else | 7973 else |
8036 echo "configure: failed program was:" >&5 | 7974 echo "configure: failed program was:" >&5 |
8037 cat conftest.$ac_ext >&5 | 7975 cat conftest.$ac_ext >&5 |
8060 EOF | 7998 EOF |
8061 } | 7999 } |
8062 | 8000 |
8063 | 8001 |
8064 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 | 8002 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 |
8065 echo "configure:8066: checking for PQconnectStart in -lpq" >&5 | 8003 echo "configure:8004: checking for PQconnectStart in -lpq" >&5 |
8066 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` | 8004 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` |
8067 | 8005 |
8068 xe_check_libs=" -lpq " | 8006 xe_check_libs=" -lpq " |
8069 cat > conftest.$ac_ext <<EOF | 8007 cat > conftest.$ac_ext <<EOF |
8070 #line 8071 "configure" | 8008 #line 8009 "configure" |
8071 #include "confdefs.h" | 8009 #include "confdefs.h" |
8072 /* Override any gcc2 internal prototype to avoid an error. */ | 8010 /* Override any gcc2 internal prototype to avoid an error. */ |
8073 /* We use char because int might match the return type of a gcc2 | 8011 /* We use char because int might match the return type of a gcc2 |
8074 builtin and then its argument prototype would still apply. */ | 8012 builtin and then its argument prototype would still apply. */ |
8075 char PQconnectStart(); | 8013 char PQconnectStart(); |
8076 | 8014 |
8077 int main() { | 8015 int main() { |
8078 PQconnectStart() | 8016 PQconnectStart() |
8079 ; return 0; } | 8017 ; return 0; } |
8080 EOF | 8018 EOF |
8081 if { (eval echo configure:8082: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8019 if { (eval echo configure:8020: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8082 rm -rf conftest* | 8020 rm -rf conftest* |
8083 eval "ac_cv_lib_$ac_lib_var=yes" | 8021 eval "ac_cv_lib_$ac_lib_var=yes" |
8084 else | 8022 else |
8085 echo "configure: failed program was:" >&5 | 8023 echo "configure: failed program was:" >&5 |
8086 cat conftest.$ac_ext >&5 | 8024 cat conftest.$ac_ext >&5 |
8113 #define LIBPQ_FE_H_FILE "$libpq_fe_h_file" | 8051 #define LIBPQ_FE_H_FILE "$libpq_fe_h_file" |
8114 EOF | 8052 EOF |
8115 } | 8053 } |
8116 | 8054 |
8117 LIBS="-lpq $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpq\" to \$LIBS"; fi | 8055 LIBS="-lpq $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpq\" to \$LIBS"; fi |
8118 extra_objs="$extra_objs postgresql.o" && if test "$extra_verbose" = "yes"; then | |
8119 echo " xemacs will be linked with \"postgresql.o\"" | |
8120 fi | |
8121 elif test "$with_postgresql" = "yes"; then | 8056 elif test "$with_postgresql" = "yes"; then |
8122 { echo "Error:" "Required PostgreSQL support cannot be provided. Check --site-prefixes." >&2; exit 1; } | 8057 { echo "Error:" "Required PostgreSQL support cannot be provided. Check --site-prefixes." >&2; exit 1; } |
8123 fi | 8058 fi |
8124 fi | 8059 fi |
8125 | 8060 |
8126 | 8061 |
8127 if test "$window_system" != "none"; then | 8062 if test "$window_system" != "none"; then |
8128 echo "checking for graphics libraries" 1>&6 | 8063 echo "checking for graphics libraries" 1>&6 |
8129 echo "configure:8130: checking for graphics libraries" >&5 | 8064 echo "configure:8065: checking for graphics libraries" >&5 |
8130 | 8065 |
8131 libpath_xpm= | 8066 libpath_xpm= |
8132 incpath_xpm= | 8067 incpath_xpm= |
8133 case "$opsys" in | 8068 case "$opsys" in |
8134 cygwin*) | 8069 cygwin*) |
8150 xpm_problem="" | 8085 xpm_problem="" |
8151 if test -z "$with_xpm"; then | 8086 if test -z "$with_xpm"; then |
8152 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi | 8087 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi |
8153 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi | 8088 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi |
8154 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 | 8089 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 |
8155 echo "configure:8156: checking for Xpm - no older than 3.4f" >&5 | 8090 echo "configure:8091: checking for Xpm - no older than 3.4f" >&5 |
8156 xe_check_libs=-lXpm | 8091 xe_check_libs=-lXpm |
8157 cat > conftest.$ac_ext <<EOF | 8092 cat > conftest.$ac_ext <<EOF |
8158 #line 8159 "configure" | 8093 #line 8094 "configure" |
8159 #include "confdefs.h" | 8094 #include "confdefs.h" |
8160 #define XPM_NUMBERS | 8095 #define XPM_NUMBERS |
8161 #include <X11/xpm.h> | 8096 #include <X11/xpm.h> |
8162 int main(int c, char **v) { | 8097 int main(int c, char **v) { |
8163 return c == 1 ? 0 : | 8098 return c == 1 ? 0 : |
8164 XpmIncludeVersion != XpmLibraryVersion() ? 1 : | 8099 XpmIncludeVersion != XpmLibraryVersion() ? 1 : |
8165 XpmIncludeVersion < 30406 ? 2 : 0 ;} | 8100 XpmIncludeVersion < 30406 ? 2 : 0 ;} |
8166 EOF | 8101 EOF |
8167 if { (eval echo configure:8168: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 8102 if { (eval echo configure:8103: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
8168 then | 8103 then |
8169 ./conftest dummy_arg; xpm_status=$?; | 8104 ./conftest dummy_arg; xpm_status=$?; |
8170 if test "$xpm_status" = "0"; then | 8105 if test "$xpm_status" = "0"; then |
8171 with_xpm=yes; | 8106 with_xpm=yes; |
8172 else | 8107 else |
8206 | 8141 |
8207 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi | 8142 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi |
8208 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi | 8143 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi |
8209 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi | 8144 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi |
8210 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 | 8145 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 |
8211 echo "configure:8212: checking for \"FOR_MSW\" xpm" >&5 | 8146 echo "configure:8147: checking for \"FOR_MSW\" xpm" >&5 |
8212 xe_check_libs=-lXpm | 8147 xe_check_libs=-lXpm |
8213 cat > conftest.$ac_ext <<EOF | 8148 cat > conftest.$ac_ext <<EOF |
8214 #line 8215 "configure" | 8149 #line 8150 "configure" |
8215 #include "confdefs.h" | 8150 #include "confdefs.h" |
8216 | 8151 |
8217 int main() { | 8152 int main() { |
8218 XpmCreatePixmapFromData() | 8153 XpmCreatePixmapFromData() |
8219 ; return 0; } | 8154 ; return 0; } |
8220 EOF | 8155 EOF |
8221 if { (eval echo configure:8222: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8156 if { (eval echo configure:8157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8222 rm -rf conftest* | 8157 rm -rf conftest* |
8223 xpm_for_msw=no | 8158 xpm_for_msw=no |
8224 else | 8159 else |
8225 echo "configure: failed program was:" >&5 | 8160 echo "configure: failed program was:" >&5 |
8226 cat conftest.$ac_ext >&5 | 8161 cat conftest.$ac_ext >&5 |
8242 fi | 8177 fi |
8243 fi | 8178 fi |
8244 | 8179 |
8245 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 8180 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
8246 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 8181 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
8247 echo "configure:8248: checking for compface.h" >&5 | 8182 echo "configure:8183: checking for compface.h" >&5 |
8248 | 8183 |
8249 cat > conftest.$ac_ext <<EOF | 8184 cat > conftest.$ac_ext <<EOF |
8250 #line 8251 "configure" | 8185 #line 8186 "configure" |
8251 #include "confdefs.h" | 8186 #include "confdefs.h" |
8252 #include <compface.h> | 8187 #include <compface.h> |
8253 EOF | 8188 EOF |
8254 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8189 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8255 { (eval echo configure:8256: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8190 { (eval echo configure:8191: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8256 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8191 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8257 if test -z "$ac_err"; then | 8192 if test -z "$ac_err"; then |
8258 rm -rf conftest* | 8193 rm -rf conftest* |
8259 eval "ac_cv_header_$ac_safe=yes" | 8194 eval "ac_cv_header_$ac_safe=yes" |
8260 else | 8195 else |
8273 with_xface=no | 8208 with_xface=no |
8274 fi | 8209 fi |
8275 } | 8210 } |
8276 test -z "$with_xface" && { | 8211 test -z "$with_xface" && { |
8277 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 8212 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
8278 echo "configure:8279: checking for UnGenFace in -lcompface" >&5 | 8213 echo "configure:8214: checking for UnGenFace in -lcompface" >&5 |
8279 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 8214 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
8280 | 8215 |
8281 xe_check_libs=" -lcompface " | 8216 xe_check_libs=" -lcompface " |
8282 cat > conftest.$ac_ext <<EOF | 8217 cat > conftest.$ac_ext <<EOF |
8283 #line 8284 "configure" | 8218 #line 8219 "configure" |
8284 #include "confdefs.h" | 8219 #include "confdefs.h" |
8285 /* Override any gcc2 internal prototype to avoid an error. */ | 8220 /* Override any gcc2 internal prototype to avoid an error. */ |
8286 /* We use char because int might match the return type of a gcc2 | 8221 /* We use char because int might match the return type of a gcc2 |
8287 builtin and then its argument prototype would still apply. */ | 8222 builtin and then its argument prototype would still apply. */ |
8288 char UnGenFace(); | 8223 char UnGenFace(); |
8289 | 8224 |
8290 int main() { | 8225 int main() { |
8291 UnGenFace() | 8226 UnGenFace() |
8292 ; return 0; } | 8227 ; return 0; } |
8293 EOF | 8228 EOF |
8294 if { (eval echo configure:8295: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8229 if { (eval echo configure:8230: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8295 rm -rf conftest* | 8230 rm -rf conftest* |
8296 eval "ac_cv_lib_$ac_lib_var=yes" | 8231 eval "ac_cv_lib_$ac_lib_var=yes" |
8297 else | 8232 else |
8298 echo "configure: failed program was:" >&5 | 8233 echo "configure: failed program was:" >&5 |
8299 cat conftest.$ac_ext >&5 | 8234 cat conftest.$ac_ext >&5 |
8333 cat >> confdefs.h <<\EOF | 8268 cat >> confdefs.h <<\EOF |
8334 #define HAVE_GIF 1 | 8269 #define HAVE_GIF 1 |
8335 EOF | 8270 EOF |
8336 } | 8271 } |
8337 | 8272 |
8338 extra_objs="$extra_objs dgif_lib.o gif_io.o" && if test "$extra_verbose" = "yes"; then | |
8339 echo " xemacs will be linked with \"dgif_lib.o gif_io.o\"" | |
8340 fi | |
8341 fi | 8273 fi |
8342 | 8274 |
8343 if test "$with_png $with_tiff" != "no no"; then | 8275 if test "$with_png $with_tiff" != "no no"; then |
8344 | 8276 |
8345 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 | 8277 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 |
8346 echo "configure:8347: checking for inflate in -lc" >&5 | 8278 echo "configure:8279: checking for inflate in -lc" >&5 |
8347 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` | 8279 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` |
8348 | 8280 |
8349 xe_check_libs=" -lc " | 8281 xe_check_libs=" -lc " |
8350 cat > conftest.$ac_ext <<EOF | 8282 cat > conftest.$ac_ext <<EOF |
8351 #line 8352 "configure" | 8283 #line 8284 "configure" |
8352 #include "confdefs.h" | 8284 #include "confdefs.h" |
8353 /* Override any gcc2 internal prototype to avoid an error. */ | 8285 /* Override any gcc2 internal prototype to avoid an error. */ |
8354 /* We use char because int might match the return type of a gcc2 | 8286 /* We use char because int might match the return type of a gcc2 |
8355 builtin and then its argument prototype would still apply. */ | 8287 builtin and then its argument prototype would still apply. */ |
8356 char inflate(); | 8288 char inflate(); |
8357 | 8289 |
8358 int main() { | 8290 int main() { |
8359 inflate() | 8291 inflate() |
8360 ; return 0; } | 8292 ; return 0; } |
8361 EOF | 8293 EOF |
8362 if { (eval echo configure:8363: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8294 if { (eval echo configure:8295: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8363 rm -rf conftest* | 8295 rm -rf conftest* |
8364 eval "ac_cv_lib_$ac_lib_var=yes" | 8296 eval "ac_cv_lib_$ac_lib_var=yes" |
8365 else | 8297 else |
8366 echo "configure: failed program was:" >&5 | 8298 echo "configure: failed program was:" >&5 |
8367 cat conftest.$ac_ext >&5 | 8299 cat conftest.$ac_ext >&5 |
8376 : | 8308 : |
8377 else | 8309 else |
8378 echo "$ac_t""no" 1>&6 | 8310 echo "$ac_t""no" 1>&6 |
8379 | 8311 |
8380 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 | 8312 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 |
8381 echo "configure:8382: checking for inflate in -lz" >&5 | 8313 echo "configure:8314: checking for inflate in -lz" >&5 |
8382 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` | 8314 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` |
8383 | 8315 |
8384 xe_check_libs=" -lz " | 8316 xe_check_libs=" -lz " |
8385 cat > conftest.$ac_ext <<EOF | 8317 cat > conftest.$ac_ext <<EOF |
8386 #line 8387 "configure" | 8318 #line 8319 "configure" |
8387 #include "confdefs.h" | 8319 #include "confdefs.h" |
8388 /* Override any gcc2 internal prototype to avoid an error. */ | 8320 /* Override any gcc2 internal prototype to avoid an error. */ |
8389 /* We use char because int might match the return type of a gcc2 | 8321 /* We use char because int might match the return type of a gcc2 |
8390 builtin and then its argument prototype would still apply. */ | 8322 builtin and then its argument prototype would still apply. */ |
8391 char inflate(); | 8323 char inflate(); |
8392 | 8324 |
8393 int main() { | 8325 int main() { |
8394 inflate() | 8326 inflate() |
8395 ; return 0; } | 8327 ; return 0; } |
8396 EOF | 8328 EOF |
8397 if { (eval echo configure:8398: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8329 if { (eval echo configure:8330: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8398 rm -rf conftest* | 8330 rm -rf conftest* |
8399 eval "ac_cv_lib_$ac_lib_var=yes" | 8331 eval "ac_cv_lib_$ac_lib_var=yes" |
8400 else | 8332 else |
8401 echo "configure: failed program was:" >&5 | 8333 echo "configure: failed program was:" >&5 |
8402 cat conftest.$ac_ext >&5 | 8334 cat conftest.$ac_ext >&5 |
8411 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi | 8343 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi |
8412 else | 8344 else |
8413 echo "$ac_t""no" 1>&6 | 8345 echo "$ac_t""no" 1>&6 |
8414 | 8346 |
8415 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 | 8347 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 |
8416 echo "configure:8417: checking for inflate in -lgz" >&5 | 8348 echo "configure:8349: checking for inflate in -lgz" >&5 |
8417 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` | 8349 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` |
8418 | 8350 |
8419 xe_check_libs=" -lgz " | 8351 xe_check_libs=" -lgz " |
8420 cat > conftest.$ac_ext <<EOF | 8352 cat > conftest.$ac_ext <<EOF |
8421 #line 8422 "configure" | 8353 #line 8354 "configure" |
8422 #include "confdefs.h" | 8354 #include "confdefs.h" |
8423 /* Override any gcc2 internal prototype to avoid an error. */ | 8355 /* Override any gcc2 internal prototype to avoid an error. */ |
8424 /* We use char because int might match the return type of a gcc2 | 8356 /* We use char because int might match the return type of a gcc2 |
8425 builtin and then its argument prototype would still apply. */ | 8357 builtin and then its argument prototype would still apply. */ |
8426 char inflate(); | 8358 char inflate(); |
8427 | 8359 |
8428 int main() { | 8360 int main() { |
8429 inflate() | 8361 inflate() |
8430 ; return 0; } | 8362 ; return 0; } |
8431 EOF | 8363 EOF |
8432 if { (eval echo configure:8433: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8364 if { (eval echo configure:8365: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8433 rm -rf conftest* | 8365 rm -rf conftest* |
8434 eval "ac_cv_lib_$ac_lib_var=yes" | 8366 eval "ac_cv_lib_$ac_lib_var=yes" |
8435 else | 8367 else |
8436 echo "configure: failed program was:" >&5 | 8368 echo "configure: failed program was:" >&5 |
8437 cat conftest.$ac_ext >&5 | 8369 cat conftest.$ac_ext >&5 |
8457 | 8389 |
8458 fi | 8390 fi |
8459 | 8391 |
8460 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` | 8392 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` |
8461 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 | 8393 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 |
8462 echo "configure:8463: checking for jpeglib.h" >&5 | 8394 echo "configure:8395: checking for jpeglib.h" >&5 |
8463 | 8395 |
8464 cat > conftest.$ac_ext <<EOF | 8396 cat > conftest.$ac_ext <<EOF |
8465 #line 8466 "configure" | 8397 #line 8398 "configure" |
8466 #include "confdefs.h" | 8398 #include "confdefs.h" |
8467 #include <jpeglib.h> | 8399 #include <jpeglib.h> |
8468 EOF | 8400 EOF |
8469 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8401 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; } | 8402 { (eval echo configure:8403: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8471 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8403 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8472 if test -z "$ac_err"; then | 8404 if test -z "$ac_err"; then |
8473 rm -rf conftest* | 8405 rm -rf conftest* |
8474 eval "ac_cv_header_$ac_safe=yes" | 8406 eval "ac_cv_header_$ac_safe=yes" |
8475 else | 8407 else |
8488 with_jpeg=no | 8420 with_jpeg=no |
8489 fi | 8421 fi |
8490 } | 8422 } |
8491 test -z "$with_jpeg" && { | 8423 test -z "$with_jpeg" && { |
8492 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 | 8424 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 |
8493 echo "configure:8494: checking for jpeg_destroy_decompress in -ljpeg" >&5 | 8425 echo "configure:8426: checking for jpeg_destroy_decompress in -ljpeg" >&5 |
8494 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` | 8426 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` |
8495 | 8427 |
8496 xe_check_libs=" -ljpeg " | 8428 xe_check_libs=" -ljpeg " |
8497 cat > conftest.$ac_ext <<EOF | 8429 cat > conftest.$ac_ext <<EOF |
8498 #line 8499 "configure" | 8430 #line 8431 "configure" |
8499 #include "confdefs.h" | 8431 #include "confdefs.h" |
8500 /* Override any gcc2 internal prototype to avoid an error. */ | 8432 /* Override any gcc2 internal prototype to avoid an error. */ |
8501 /* We use char because int might match the return type of a gcc2 | 8433 /* We use char because int might match the return type of a gcc2 |
8502 builtin and then its argument prototype would still apply. */ | 8434 builtin and then its argument prototype would still apply. */ |
8503 char jpeg_destroy_decompress(); | 8435 char jpeg_destroy_decompress(); |
8504 | 8436 |
8505 int main() { | 8437 int main() { |
8506 jpeg_destroy_decompress() | 8438 jpeg_destroy_decompress() |
8507 ; return 0; } | 8439 ; return 0; } |
8508 EOF | 8440 EOF |
8509 if { (eval echo configure:8510: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8441 if { (eval echo configure:8442: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8510 rm -rf conftest* | 8442 rm -rf conftest* |
8511 eval "ac_cv_lib_$ac_lib_var=yes" | 8443 eval "ac_cv_lib_$ac_lib_var=yes" |
8512 else | 8444 else |
8513 echo "configure: failed program was:" >&5 | 8445 echo "configure: failed program was:" >&5 |
8514 cat conftest.$ac_ext >&5 | 8446 cat conftest.$ac_ext >&5 |
8540 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi | 8472 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi |
8541 fi | 8473 fi |
8542 | 8474 |
8543 png_problem="" | 8475 png_problem="" |
8544 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 | 8476 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 |
8545 echo "configure:8546: checking for pow" >&5 | 8477 echo "configure:8478: checking for pow" >&5 |
8546 | 8478 |
8547 cat > conftest.$ac_ext <<EOF | 8479 cat > conftest.$ac_ext <<EOF |
8548 #line 8549 "configure" | 8480 #line 8481 "configure" |
8549 #include "confdefs.h" | 8481 #include "confdefs.h" |
8550 /* System header to define __stub macros and hopefully few prototypes, | 8482 /* System header to define __stub macros and hopefully few prototypes, |
8551 which can conflict with char pow(); below. */ | 8483 which can conflict with char pow(); below. */ |
8552 #include <assert.h> | 8484 #include <assert.h> |
8553 /* Override any gcc2 internal prototype to avoid an error. */ | 8485 /* Override any gcc2 internal prototype to avoid an error. */ |
8566 pow(); | 8498 pow(); |
8567 #endif | 8499 #endif |
8568 | 8500 |
8569 ; return 0; } | 8501 ; return 0; } |
8570 EOF | 8502 EOF |
8571 if { (eval echo configure:8572: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8503 if { (eval echo configure:8504: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8572 rm -rf conftest* | 8504 rm -rf conftest* |
8573 eval "ac_cv_func_pow=yes" | 8505 eval "ac_cv_func_pow=yes" |
8574 else | 8506 else |
8575 echo "configure: failed program was:" >&5 | 8507 echo "configure: failed program was:" >&5 |
8576 cat conftest.$ac_ext >&5 | 8508 cat conftest.$ac_ext >&5 |
8587 with_png=no | 8519 with_png=no |
8588 fi | 8520 fi |
8589 } | 8521 } |
8590 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` | 8522 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` |
8591 echo $ac_n "checking for png.h""... $ac_c" 1>&6 | 8523 echo $ac_n "checking for png.h""... $ac_c" 1>&6 |
8592 echo "configure:8593: checking for png.h" >&5 | 8524 echo "configure:8525: checking for png.h" >&5 |
8593 | 8525 |
8594 cat > conftest.$ac_ext <<EOF | 8526 cat > conftest.$ac_ext <<EOF |
8595 #line 8596 "configure" | 8527 #line 8528 "configure" |
8596 #include "confdefs.h" | 8528 #include "confdefs.h" |
8597 #include <png.h> | 8529 #include <png.h> |
8598 EOF | 8530 EOF |
8599 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8531 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8600 { (eval echo configure:8601: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8532 { (eval echo configure:8533: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8601 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8533 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8602 if test -z "$ac_err"; then | 8534 if test -z "$ac_err"; then |
8603 rm -rf conftest* | 8535 rm -rf conftest* |
8604 eval "ac_cv_header_$ac_safe=yes" | 8536 eval "ac_cv_header_$ac_safe=yes" |
8605 else | 8537 else |
8618 with_png=no | 8550 with_png=no |
8619 fi | 8551 fi |
8620 } | 8552 } |
8621 test -z "$with_png" && { | 8553 test -z "$with_png" && { |
8622 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 | 8554 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 |
8623 echo "configure:8624: checking for png_read_image in -lpng" >&5 | 8555 echo "configure:8556: checking for png_read_image in -lpng" >&5 |
8624 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` | 8556 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` |
8625 | 8557 |
8626 xe_check_libs=" -lpng " | 8558 xe_check_libs=" -lpng " |
8627 cat > conftest.$ac_ext <<EOF | 8559 cat > conftest.$ac_ext <<EOF |
8628 #line 8629 "configure" | 8560 #line 8561 "configure" |
8629 #include "confdefs.h" | 8561 #include "confdefs.h" |
8630 /* Override any gcc2 internal prototype to avoid an error. */ | 8562 /* Override any gcc2 internal prototype to avoid an error. */ |
8631 /* We use char because int might match the return type of a gcc2 | 8563 /* We use char because int might match the return type of a gcc2 |
8632 builtin and then its argument prototype would still apply. */ | 8564 builtin and then its argument prototype would still apply. */ |
8633 char png_read_image(); | 8565 char png_read_image(); |
8634 | 8566 |
8635 int main() { | 8567 int main() { |
8636 png_read_image() | 8568 png_read_image() |
8637 ; return 0; } | 8569 ; return 0; } |
8638 EOF | 8570 EOF |
8639 if { (eval echo configure:8640: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8571 if { (eval echo configure:8572: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8640 rm -rf conftest* | 8572 rm -rf conftest* |
8641 eval "ac_cv_lib_$ac_lib_var=yes" | 8573 eval "ac_cv_lib_$ac_lib_var=yes" |
8642 else | 8574 else |
8643 echo "configure: failed program was:" >&5 | 8575 echo "configure: failed program was:" >&5 |
8644 cat conftest.$ac_ext >&5 | 8576 cat conftest.$ac_ext >&5 |
8657 fi | 8589 fi |
8658 | 8590 |
8659 } | 8591 } |
8660 if test -z "$with_png"; then | 8592 if test -z "$with_png"; then |
8661 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 | 8593 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 |
8662 echo "configure:8663: checking for workable png version information" >&5 | 8594 echo "configure:8595: checking for workable png version information" >&5 |
8663 xe_check_libs="-lpng -lz" | 8595 xe_check_libs="-lpng -lz" |
8664 cat > conftest.$ac_ext <<EOF | 8596 cat > conftest.$ac_ext <<EOF |
8665 #line 8666 "configure" | 8597 #line 8598 "configure" |
8666 #include "confdefs.h" | 8598 #include "confdefs.h" |
8667 #include <png.h> | 8599 #include <png.h> |
8668 int main(int c, char **v) { | 8600 int main(int c, char **v) { |
8669 if (c == 1) return 0; | 8601 if (c == 1) return 0; |
8670 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; | 8602 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; |
8671 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} | 8603 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} |
8672 EOF | 8604 EOF |
8673 if { (eval echo configure:8674: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 8605 if { (eval echo configure:8606: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
8674 then | 8606 then |
8675 ./conftest dummy_arg; png_status=$?; | 8607 ./conftest dummy_arg; png_status=$?; |
8676 if test "$png_status" = "0"; then | 8608 if test "$png_status" = "0"; then |
8677 with_png=yes; | 8609 with_png=yes; |
8678 else | 8610 else |
8711 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi | 8643 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi |
8712 fi | 8644 fi |
8713 | 8645 |
8714 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` | 8646 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` |
8715 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 | 8647 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 |
8716 echo "configure:8717: checking for tiffio.h" >&5 | 8648 echo "configure:8649: checking for tiffio.h" >&5 |
8717 | 8649 |
8718 cat > conftest.$ac_ext <<EOF | 8650 cat > conftest.$ac_ext <<EOF |
8719 #line 8720 "configure" | 8651 #line 8652 "configure" |
8720 #include "confdefs.h" | 8652 #include "confdefs.h" |
8721 #include <tiffio.h> | 8653 #include <tiffio.h> |
8722 EOF | 8654 EOF |
8723 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8655 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8724 { (eval echo configure:8725: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8656 { (eval echo configure:8657: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8725 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8657 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8726 if test -z "$ac_err"; then | 8658 if test -z "$ac_err"; then |
8727 rm -rf conftest* | 8659 rm -rf conftest* |
8728 eval "ac_cv_header_$ac_safe=yes" | 8660 eval "ac_cv_header_$ac_safe=yes" |
8729 else | 8661 else |
8742 with_tiff=no | 8674 with_tiff=no |
8743 fi | 8675 fi |
8744 } | 8676 } |
8745 test -z "$with_tiff" && { | 8677 test -z "$with_tiff" && { |
8746 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 | 8678 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 |
8747 echo "configure:8748: checking for TIFFClientOpen in -ltiff" >&5 | 8679 echo "configure:8680: checking for TIFFClientOpen in -ltiff" >&5 |
8748 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` | 8680 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` |
8749 | 8681 |
8750 xe_check_libs=" -ltiff " | 8682 xe_check_libs=" -ltiff " |
8751 cat > conftest.$ac_ext <<EOF | 8683 cat > conftest.$ac_ext <<EOF |
8752 #line 8753 "configure" | 8684 #line 8685 "configure" |
8753 #include "confdefs.h" | 8685 #include "confdefs.h" |
8754 /* Override any gcc2 internal prototype to avoid an error. */ | 8686 /* Override any gcc2 internal prototype to avoid an error. */ |
8755 /* We use char because int might match the return type of a gcc2 | 8687 /* We use char because int might match the return type of a gcc2 |
8756 builtin and then its argument prototype would still apply. */ | 8688 builtin and then its argument prototype would still apply. */ |
8757 char TIFFClientOpen(); | 8689 char TIFFClientOpen(); |
8758 | 8690 |
8759 int main() { | 8691 int main() { |
8760 TIFFClientOpen() | 8692 TIFFClientOpen() |
8761 ; return 0; } | 8693 ; return 0; } |
8762 EOF | 8694 EOF |
8763 if { (eval echo configure:8764: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8695 if { (eval echo configure:8696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8764 rm -rf conftest* | 8696 rm -rf conftest* |
8765 eval "ac_cv_lib_$ac_lib_var=yes" | 8697 eval "ac_cv_lib_$ac_lib_var=yes" |
8766 else | 8698 else |
8767 echo "configure: failed program was:" >&5 | 8699 echo "configure: failed program was:" >&5 |
8768 cat conftest.$ac_ext >&5 | 8700 cat conftest.$ac_ext >&5 |
8797 | 8729 |
8798 | 8730 |
8799 if test "$with_gtk" = "yes"; then | 8731 if test "$with_gtk" = "yes"; then |
8800 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 8732 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
8801 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 8733 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
8802 echo "configure:8803: checking for compface.h" >&5 | 8734 echo "configure:8735: checking for compface.h" >&5 |
8803 | 8735 |
8804 cat > conftest.$ac_ext <<EOF | 8736 cat > conftest.$ac_ext <<EOF |
8805 #line 8806 "configure" | 8737 #line 8738 "configure" |
8806 #include "confdefs.h" | 8738 #include "confdefs.h" |
8807 #include <compface.h> | 8739 #include <compface.h> |
8808 EOF | 8740 EOF |
8809 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8741 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8810 { (eval echo configure:8811: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8742 { (eval echo configure:8743: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8811 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8743 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8812 if test -z "$ac_err"; then | 8744 if test -z "$ac_err"; then |
8813 rm -rf conftest* | 8745 rm -rf conftest* |
8814 eval "ac_cv_header_$ac_safe=yes" | 8746 eval "ac_cv_header_$ac_safe=yes" |
8815 else | 8747 else |
8828 with_xface=no | 8760 with_xface=no |
8829 fi | 8761 fi |
8830 } | 8762 } |
8831 test -z "$with_xface" && { | 8763 test -z "$with_xface" && { |
8832 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 8764 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
8833 echo "configure:8834: checking for UnGenFace in -lcompface" >&5 | 8765 echo "configure:8766: checking for UnGenFace in -lcompface" >&5 |
8834 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 8766 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
8835 | 8767 |
8836 xe_check_libs=" -lcompface " | 8768 xe_check_libs=" -lcompface " |
8837 cat > conftest.$ac_ext <<EOF | 8769 cat > conftest.$ac_ext <<EOF |
8838 #line 8839 "configure" | 8770 #line 8771 "configure" |
8839 #include "confdefs.h" | 8771 #include "confdefs.h" |
8840 /* Override any gcc2 internal prototype to avoid an error. */ | 8772 /* Override any gcc2 internal prototype to avoid an error. */ |
8841 /* We use char because int might match the return type of a gcc2 | 8773 /* We use char because int might match the return type of a gcc2 |
8842 builtin and then its argument prototype would still apply. */ | 8774 builtin and then its argument prototype would still apply. */ |
8843 char UnGenFace(); | 8775 char UnGenFace(); |
8844 | 8776 |
8845 int main() { | 8777 int main() { |
8846 UnGenFace() | 8778 UnGenFace() |
8847 ; return 0; } | 8779 ; return 0; } |
8848 EOF | 8780 EOF |
8849 if { (eval echo configure:8850: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8781 if { (eval echo configure:8782: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8850 rm -rf conftest* | 8782 rm -rf conftest* |
8851 eval "ac_cv_lib_$ac_lib_var=yes" | 8783 eval "ac_cv_lib_$ac_lib_var=yes" |
8852 else | 8784 else |
8853 echo "configure: failed program was:" >&5 | 8785 echo "configure: failed program was:" >&5 |
8854 cat conftest.$ac_ext >&5 | 8786 cat conftest.$ac_ext >&5 |
8883 | 8815 |
8884 | 8816 |
8885 | 8817 |
8886 if test "$with_x11" = "yes"; then | 8818 if test "$with_x11" = "yes"; then |
8887 echo "checking for X11 graphics libraries" 1>&6 | 8819 echo "checking for X11 graphics libraries" 1>&6 |
8888 echo "configure:8889: checking for X11 graphics libraries" >&5 | 8820 echo "configure:8821: checking for X11 graphics libraries" >&5 |
8889 fi | 8821 fi |
8890 | 8822 |
8891 case "$with_widgets" in | 8823 case "$with_widgets" in |
8892 "yes" | "athena") detect_athena=yes ;; | 8824 "yes" | "athena") detect_athena=yes ;; |
8893 *) detect_athena=no ;; | 8825 *) detect_athena=no ;; |
8894 esac | 8826 esac |
8895 | 8827 |
8896 if test "$with_x11" = "yes" -a "$detect_athena" = "yes" ; then | 8828 if test "$with_x11" = "yes" -a "$detect_athena" = "yes" ; then |
8897 echo "checking for the Athena widgets" 1>&6 | 8829 echo "checking for the Athena widgets" 1>&6 |
8898 echo "configure:8899: checking for the Athena widgets" >&5 | 8830 echo "configure:8831: checking for the Athena widgets" >&5 |
8899 | 8831 |
8900 case "$with_athena" in | 8832 case "$with_athena" in |
8901 "xaw" | "") athena_variant=Xaw athena_3d=no ;; | 8833 "xaw" | "") athena_variant=Xaw athena_3d=no ;; |
8902 "3d") athena_variant=Xaw3d athena_3d=yes ;; | 8834 "3d") athena_variant=Xaw3d athena_3d=yes ;; |
8903 "next") athena_variant=neXtaw athena_3d=yes ;; | 8835 "next") athena_variant=neXtaw athena_3d=yes ;; |
8907 esac | 8839 esac |
8908 | 8840 |
8909 if test "$athena_3d" = "no"; then | 8841 if test "$athena_3d" = "no"; then |
8910 | 8842 |
8911 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 | 8843 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 |
8912 echo "configure:8913: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 | 8844 echo "configure:8845: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 |
8913 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 8845 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
8914 | 8846 |
8915 xe_check_libs=" -l$athena_variant " | 8847 xe_check_libs=" -l$athena_variant " |
8916 cat > conftest.$ac_ext <<EOF | 8848 cat > conftest.$ac_ext <<EOF |
8917 #line 8918 "configure" | 8849 #line 8850 "configure" |
8918 #include "confdefs.h" | 8850 #include "confdefs.h" |
8919 /* Override any gcc2 internal prototype to avoid an error. */ | 8851 /* Override any gcc2 internal prototype to avoid an error. */ |
8920 /* We use char because int might match the return type of a gcc2 | 8852 /* We use char because int might match the return type of a gcc2 |
8921 builtin and then its argument prototype would still apply. */ | 8853 builtin and then its argument prototype would still apply. */ |
8922 char XawScrollbarSetThumb(); | 8854 char XawScrollbarSetThumb(); |
8923 | 8855 |
8924 int main() { | 8856 int main() { |
8925 XawScrollbarSetThumb() | 8857 XawScrollbarSetThumb() |
8926 ; return 0; } | 8858 ; return 0; } |
8927 EOF | 8859 EOF |
8928 if { (eval echo configure:8929: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8860 if { (eval echo configure:8861: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8929 rm -rf conftest* | 8861 rm -rf conftest* |
8930 eval "ac_cv_lib_$ac_lib_var=yes" | 8862 eval "ac_cv_lib_$ac_lib_var=yes" |
8931 else | 8863 else |
8932 echo "configure: failed program was:" >&5 | 8864 echo "configure: failed program was:" >&5 |
8933 cat conftest.$ac_ext >&5 | 8865 cat conftest.$ac_ext >&5 |
8939 | 8871 |
8940 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | 8872 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then |
8941 echo "$ac_t""yes" 1>&6 | 8873 echo "$ac_t""yes" 1>&6 |
8942 | 8874 |
8943 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 | 8875 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 |
8944 echo "configure:8945: checking for threeDClassRec in -l$athena_variant" >&5 | 8876 echo "configure:8877: checking for threeDClassRec in -l$athena_variant" >&5 |
8945 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` | 8877 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` |
8946 | 8878 |
8947 xe_check_libs=" -l$athena_variant " | 8879 xe_check_libs=" -l$athena_variant " |
8948 cat > conftest.$ac_ext <<EOF | 8880 cat > conftest.$ac_ext <<EOF |
8949 #line 8950 "configure" | 8881 #line 8882 "configure" |
8950 #include "confdefs.h" | 8882 #include "confdefs.h" |
8951 /* Override any gcc2 internal prototype to avoid an error. */ | 8883 /* Override any gcc2 internal prototype to avoid an error. */ |
8952 /* We use char because int might match the return type of a gcc2 | 8884 /* We use char because int might match the return type of a gcc2 |
8953 builtin and then its argument prototype would still apply. */ | 8885 builtin and then its argument prototype would still apply. */ |
8954 char threeDClassRec(); | 8886 char threeDClassRec(); |
8955 | 8887 |
8956 int main() { | 8888 int main() { |
8957 threeDClassRec() | 8889 threeDClassRec() |
8958 ; return 0; } | 8890 ; return 0; } |
8959 EOF | 8891 EOF |
8960 if { (eval echo configure:8961: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8892 if { (eval echo configure:8893: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8961 rm -rf conftest* | 8893 rm -rf conftest* |
8962 eval "ac_cv_lib_$ac_lib_var=yes" | 8894 eval "ac_cv_lib_$ac_lib_var=yes" |
8963 else | 8895 else |
8964 echo "configure: failed program was:" >&5 | 8896 echo "configure: failed program was:" >&5 |
8965 cat conftest.$ac_ext >&5 | 8897 cat conftest.$ac_ext >&5 |
8986 | 8918 |
8987 | 8919 |
8988 else | 8920 else |
8989 | 8921 |
8990 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 | 8922 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 |
8991 echo "configure:8992: checking for threeDClassRec in -l$athena_variant" >&5 | 8923 echo "configure:8924: checking for threeDClassRec in -l$athena_variant" >&5 |
8992 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` | 8924 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` |
8993 | 8925 |
8994 xe_check_libs=" -l$athena_variant " | 8926 xe_check_libs=" -l$athena_variant " |
8995 cat > conftest.$ac_ext <<EOF | 8927 cat > conftest.$ac_ext <<EOF |
8996 #line 8997 "configure" | 8928 #line 8929 "configure" |
8997 #include "confdefs.h" | 8929 #include "confdefs.h" |
8998 /* Override any gcc2 internal prototype to avoid an error. */ | 8930 /* Override any gcc2 internal prototype to avoid an error. */ |
8999 /* We use char because int might match the return type of a gcc2 | 8931 /* We use char because int might match the return type of a gcc2 |
9000 builtin and then its argument prototype would still apply. */ | 8932 builtin and then its argument prototype would still apply. */ |
9001 char threeDClassRec(); | 8933 char threeDClassRec(); |
9002 | 8934 |
9003 int main() { | 8935 int main() { |
9004 threeDClassRec() | 8936 threeDClassRec() |
9005 ; return 0; } | 8937 ; return 0; } |
9006 EOF | 8938 EOF |
9007 if { (eval echo configure:9008: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8939 if { (eval echo configure:8940: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9008 rm -rf conftest* | 8940 rm -rf conftest* |
9009 eval "ac_cv_lib_$ac_lib_var=yes" | 8941 eval "ac_cv_lib_$ac_lib_var=yes" |
9010 else | 8942 else |
9011 echo "configure: failed program was:" >&5 | 8943 echo "configure: failed program was:" >&5 |
9012 cat conftest.$ac_ext >&5 | 8944 cat conftest.$ac_ext >&5 |
9020 echo "$ac_t""yes" 1>&6 | 8952 echo "$ac_t""yes" 1>&6 |
9021 athena_lib=$athena_variant | 8953 athena_lib=$athena_variant |
9022 else | 8954 else |
9023 echo "$ac_t""no" 1>&6 | 8955 echo "$ac_t""no" 1>&6 |
9024 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 | 8956 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 |
9025 echo "configure:9026: checking for threeDClassRec in -lXaw" >&5 | 8957 echo "configure:8958: checking for threeDClassRec in -lXaw" >&5 |
9026 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` | 8958 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` |
9027 | 8959 |
9028 xe_check_libs=" -lXaw " | 8960 xe_check_libs=" -lXaw " |
9029 cat > conftest.$ac_ext <<EOF | 8961 cat > conftest.$ac_ext <<EOF |
9030 #line 9031 "configure" | 8962 #line 8963 "configure" |
9031 #include "confdefs.h" | 8963 #include "confdefs.h" |
9032 /* Override any gcc2 internal prototype to avoid an error. */ | 8964 /* Override any gcc2 internal prototype to avoid an error. */ |
9033 /* We use char because int might match the return type of a gcc2 | 8965 /* We use char because int might match the return type of a gcc2 |
9034 builtin and then its argument prototype would still apply. */ | 8966 builtin and then its argument prototype would still apply. */ |
9035 char threeDClassRec(); | 8967 char threeDClassRec(); |
9036 | 8968 |
9037 int main() { | 8969 int main() { |
9038 threeDClassRec() | 8970 threeDClassRec() |
9039 ; return 0; } | 8971 ; return 0; } |
9040 EOF | 8972 EOF |
9041 if { (eval echo configure:9042: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8973 if { (eval echo configure:8974: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9042 rm -rf conftest* | 8974 rm -rf conftest* |
9043 eval "ac_cv_lib_$ac_lib_var=yes" | 8975 eval "ac_cv_lib_$ac_lib_var=yes" |
9044 else | 8976 else |
9045 echo "configure: failed program was:" >&5 | 8977 echo "configure: failed program was:" >&5 |
9046 cat conftest.$ac_ext >&5 | 8978 cat conftest.$ac_ext >&5 |
9067 fi | 8999 fi |
9068 | 9000 |
9069 if test "$athena_3d" = "no"; then | 9001 if test "$athena_3d" = "no"; then |
9070 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | 9002 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` |
9071 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | 9003 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 |
9072 echo "configure:9073: checking for X11/Xaw/ThreeD.h" >&5 | 9004 echo "configure:9005: checking for X11/Xaw/ThreeD.h" >&5 |
9073 | 9005 |
9074 cat > conftest.$ac_ext <<EOF | 9006 cat > conftest.$ac_ext <<EOF |
9075 #line 9076 "configure" | 9007 #line 9008 "configure" |
9076 #include "confdefs.h" | 9008 #include "confdefs.h" |
9077 #include <X11/Xaw/ThreeD.h> | 9009 #include <X11/Xaw/ThreeD.h> |
9078 EOF | 9010 EOF |
9079 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9011 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9080 { (eval echo configure:9081: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9012 { (eval echo configure:9013: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9081 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9013 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9082 if test -z "$ac_err"; then | 9014 if test -z "$ac_err"; then |
9083 rm -rf conftest* | 9015 rm -rf conftest* |
9084 eval "ac_cv_header_$ac_safe=yes" | 9016 eval "ac_cv_header_$ac_safe=yes" |
9085 else | 9017 else |
9095 echo "configure: warning: Could not find a non-3d Athena header set." 1>&2 | 9027 echo "configure: warning: Could not find a non-3d Athena header set." 1>&2 |
9096 else | 9028 else |
9097 echo "$ac_t""no" 1>&6 | 9029 echo "$ac_t""no" 1>&6 |
9098 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` | 9030 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` |
9099 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 | 9031 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 |
9100 echo "configure:9101: checking for X11/Xaw/XawInit.h" >&5 | 9032 echo "configure:9033: checking for X11/Xaw/XawInit.h" >&5 |
9101 | 9033 |
9102 cat > conftest.$ac_ext <<EOF | 9034 cat > conftest.$ac_ext <<EOF |
9103 #line 9104 "configure" | 9035 #line 9036 "configure" |
9104 #include "confdefs.h" | 9036 #include "confdefs.h" |
9105 #include <X11/Xaw/XawInit.h> | 9037 #include <X11/Xaw/XawInit.h> |
9106 EOF | 9038 EOF |
9107 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9039 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9108 { (eval echo configure:9109: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9040 { (eval echo configure:9041: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9109 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9041 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9110 if test -z "$ac_err"; then | 9042 if test -z "$ac_err"; then |
9111 rm -rf conftest* | 9043 rm -rf conftest* |
9112 eval "ac_cv_header_$ac_safe=yes" | 9044 eval "ac_cv_header_$ac_safe=yes" |
9113 else | 9045 else |
9129 fi | 9061 fi |
9130 | 9062 |
9131 else | 9063 else |
9132 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` | 9064 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` |
9133 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 | 9065 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 |
9134 echo "configure:9135: checking for X11/$athena_variant/XawInit.h" >&5 | 9066 echo "configure:9067: checking for X11/$athena_variant/XawInit.h" >&5 |
9135 | 9067 |
9136 cat > conftest.$ac_ext <<EOF | 9068 cat > conftest.$ac_ext <<EOF |
9137 #line 9138 "configure" | 9069 #line 9070 "configure" |
9138 #include "confdefs.h" | 9070 #include "confdefs.h" |
9139 #include <X11/$athena_variant/XawInit.h> | 9071 #include <X11/$athena_variant/XawInit.h> |
9140 EOF | 9072 EOF |
9141 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9073 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9142 { (eval echo configure:9143: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9074 { (eval echo configure:9075: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9143 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9075 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9144 if test -z "$ac_err"; then | 9076 if test -z "$ac_err"; then |
9145 rm -rf conftest* | 9077 rm -rf conftest* |
9146 eval "ac_cv_header_$ac_safe=yes" | 9078 eval "ac_cv_header_$ac_safe=yes" |
9147 else | 9079 else |
9154 rm -f conftest* | 9086 rm -f conftest* |
9155 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9087 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9156 echo "$ac_t""yes" 1>&6 | 9088 echo "$ac_t""yes" 1>&6 |
9157 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` | 9089 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` |
9158 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 | 9090 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 |
9159 echo "configure:9160: checking for X11/$athena_variant/ThreeD.h" >&5 | 9091 echo "configure:9092: checking for X11/$athena_variant/ThreeD.h" >&5 |
9160 | 9092 |
9161 cat > conftest.$ac_ext <<EOF | 9093 cat > conftest.$ac_ext <<EOF |
9162 #line 9163 "configure" | 9094 #line 9095 "configure" |
9163 #include "confdefs.h" | 9095 #include "confdefs.h" |
9164 #include <X11/$athena_variant/ThreeD.h> | 9096 #include <X11/$athena_variant/ThreeD.h> |
9165 EOF | 9097 EOF |
9166 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9098 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9167 { (eval echo configure:9168: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9099 { (eval echo configure:9100: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9168 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9100 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9169 if test -z "$ac_err"; then | 9101 if test -z "$ac_err"; then |
9170 rm -rf conftest* | 9102 rm -rf conftest* |
9171 eval "ac_cv_header_$ac_safe=yes" | 9103 eval "ac_cv_header_$ac_safe=yes" |
9172 else | 9104 else |
9190 | 9122 |
9191 | 9123 |
9192 if test -z "$athena_h_path"; then | 9124 if test -z "$athena_h_path"; then |
9193 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` | 9125 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` |
9194 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 | 9126 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 |
9195 echo "configure:9196: checking for $athena_variant/XawInit.h" >&5 | 9127 echo "configure:9128: checking for $athena_variant/XawInit.h" >&5 |
9196 | 9128 |
9197 cat > conftest.$ac_ext <<EOF | 9129 cat > conftest.$ac_ext <<EOF |
9198 #line 9199 "configure" | 9130 #line 9131 "configure" |
9199 #include "confdefs.h" | 9131 #include "confdefs.h" |
9200 #include <$athena_variant/XawInit.h> | 9132 #include <$athena_variant/XawInit.h> |
9201 EOF | 9133 EOF |
9202 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9134 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9203 { (eval echo configure:9204: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9135 { (eval echo configure:9136: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9204 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9136 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9205 if test -z "$ac_err"; then | 9137 if test -z "$ac_err"; then |
9206 rm -rf conftest* | 9138 rm -rf conftest* |
9207 eval "ac_cv_header_$ac_safe=yes" | 9139 eval "ac_cv_header_$ac_safe=yes" |
9208 else | 9140 else |
9215 rm -f conftest* | 9147 rm -f conftest* |
9216 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9148 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9217 echo "$ac_t""yes" 1>&6 | 9149 echo "$ac_t""yes" 1>&6 |
9218 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` | 9150 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` |
9219 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 | 9151 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 |
9220 echo "configure:9221: checking for $athena_variant/ThreeD.h" >&5 | 9152 echo "configure:9153: checking for $athena_variant/ThreeD.h" >&5 |
9221 | 9153 |
9222 cat > conftest.$ac_ext <<EOF | 9154 cat > conftest.$ac_ext <<EOF |
9223 #line 9224 "configure" | 9155 #line 9156 "configure" |
9224 #include "confdefs.h" | 9156 #include "confdefs.h" |
9225 #include <$athena_variant/ThreeD.h> | 9157 #include <$athena_variant/ThreeD.h> |
9226 EOF | 9158 EOF |
9227 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9159 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9228 { (eval echo configure:9229: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9160 { (eval echo configure:9161: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9229 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9161 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9230 if test -z "$ac_err"; then | 9162 if test -z "$ac_err"; then |
9231 rm -rf conftest* | 9163 rm -rf conftest* |
9232 eval "ac_cv_header_$ac_safe=yes" | 9164 eval "ac_cv_header_$ac_safe=yes" |
9233 else | 9165 else |
9252 fi | 9184 fi |
9253 | 9185 |
9254 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then | 9186 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then |
9255 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` | 9187 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` |
9256 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 | 9188 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 |
9257 echo "configure:9258: checking for X11/Xaw3d/XawInit.h" >&5 | 9189 echo "configure:9190: checking for X11/Xaw3d/XawInit.h" >&5 |
9258 | 9190 |
9259 cat > conftest.$ac_ext <<EOF | 9191 cat > conftest.$ac_ext <<EOF |
9260 #line 9261 "configure" | 9192 #line 9193 "configure" |
9261 #include "confdefs.h" | 9193 #include "confdefs.h" |
9262 #include <X11/Xaw3d/XawInit.h> | 9194 #include <X11/Xaw3d/XawInit.h> |
9263 EOF | 9195 EOF |
9264 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9196 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9265 { (eval echo configure:9266: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9197 { (eval echo configure:9198: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9266 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9198 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9267 if test -z "$ac_err"; then | 9199 if test -z "$ac_err"; then |
9268 rm -rf conftest* | 9200 rm -rf conftest* |
9269 eval "ac_cv_header_$ac_safe=yes" | 9201 eval "ac_cv_header_$ac_safe=yes" |
9270 else | 9202 else |
9277 rm -f conftest* | 9209 rm -f conftest* |
9278 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9210 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9279 echo "$ac_t""yes" 1>&6 | 9211 echo "$ac_t""yes" 1>&6 |
9280 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` | 9212 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` |
9281 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 | 9213 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 |
9282 echo "configure:9283: checking for X11/Xaw3d/ThreeD.h" >&5 | 9214 echo "configure:9215: checking for X11/Xaw3d/ThreeD.h" >&5 |
9283 | 9215 |
9284 cat > conftest.$ac_ext <<EOF | 9216 cat > conftest.$ac_ext <<EOF |
9285 #line 9286 "configure" | 9217 #line 9218 "configure" |
9286 #include "confdefs.h" | 9218 #include "confdefs.h" |
9287 #include <X11/Xaw3d/ThreeD.h> | 9219 #include <X11/Xaw3d/ThreeD.h> |
9288 EOF | 9220 EOF |
9289 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9221 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9290 { (eval echo configure:9291: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9222 { (eval echo configure:9223: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9291 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9223 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9292 if test -z "$ac_err"; then | 9224 if test -z "$ac_err"; then |
9293 rm -rf conftest* | 9225 rm -rf conftest* |
9294 eval "ac_cv_header_$ac_safe=yes" | 9226 eval "ac_cv_header_$ac_safe=yes" |
9295 else | 9227 else |
9317 fi | 9249 fi |
9318 | 9250 |
9319 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then | 9251 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then |
9320 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` | 9252 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` |
9321 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 | 9253 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 |
9322 echo "configure:9323: checking for Xaw3d/XawInit.h" >&5 | 9254 echo "configure:9255: checking for Xaw3d/XawInit.h" >&5 |
9323 | 9255 |
9324 cat > conftest.$ac_ext <<EOF | 9256 cat > conftest.$ac_ext <<EOF |
9325 #line 9326 "configure" | 9257 #line 9258 "configure" |
9326 #include "confdefs.h" | 9258 #include "confdefs.h" |
9327 #include <Xaw3d/XawInit.h> | 9259 #include <Xaw3d/XawInit.h> |
9328 EOF | 9260 EOF |
9329 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9261 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9330 { (eval echo configure:9331: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9262 { (eval echo configure:9263: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9331 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9263 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9332 if test -z "$ac_err"; then | 9264 if test -z "$ac_err"; then |
9333 rm -rf conftest* | 9265 rm -rf conftest* |
9334 eval "ac_cv_header_$ac_safe=yes" | 9266 eval "ac_cv_header_$ac_safe=yes" |
9335 else | 9267 else |
9342 rm -f conftest* | 9274 rm -f conftest* |
9343 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9275 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9344 echo "$ac_t""yes" 1>&6 | 9276 echo "$ac_t""yes" 1>&6 |
9345 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` | 9277 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` |
9346 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 | 9278 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 |
9347 echo "configure:9348: checking for Xaw3d/ThreeD.h" >&5 | 9279 echo "configure:9280: checking for Xaw3d/ThreeD.h" >&5 |
9348 | 9280 |
9349 cat > conftest.$ac_ext <<EOF | 9281 cat > conftest.$ac_ext <<EOF |
9350 #line 9351 "configure" | 9282 #line 9283 "configure" |
9351 #include "confdefs.h" | 9283 #include "confdefs.h" |
9352 #include <Xaw3d/ThreeD.h> | 9284 #include <Xaw3d/ThreeD.h> |
9353 EOF | 9285 EOF |
9354 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9286 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9355 { (eval echo configure:9356: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9287 { (eval echo configure:9288: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9356 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9288 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9357 if test -z "$ac_err"; then | 9289 if test -z "$ac_err"; then |
9358 rm -rf conftest* | 9290 rm -rf conftest* |
9359 eval "ac_cv_header_$ac_safe=yes" | 9291 eval "ac_cv_header_$ac_safe=yes" |
9360 else | 9292 else |
9382 fi | 9314 fi |
9383 | 9315 |
9384 if test -z "$athena_h_path"; then | 9316 if test -z "$athena_h_path"; then |
9385 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | 9317 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` |
9386 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | 9318 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 |
9387 echo "configure:9388: checking for X11/Xaw/ThreeD.h" >&5 | 9319 echo "configure:9320: checking for X11/Xaw/ThreeD.h" >&5 |
9388 | 9320 |
9389 cat > conftest.$ac_ext <<EOF | 9321 cat > conftest.$ac_ext <<EOF |
9390 #line 9391 "configure" | 9322 #line 9323 "configure" |
9391 #include "confdefs.h" | 9323 #include "confdefs.h" |
9392 #include <X11/Xaw/ThreeD.h> | 9324 #include <X11/Xaw/ThreeD.h> |
9393 EOF | 9325 EOF |
9394 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9326 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9395 { (eval echo configure:9396: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9327 { (eval echo configure:9328: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9396 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9328 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9397 if test -z "$ac_err"; then | 9329 if test -z "$ac_err"; then |
9398 rm -rf conftest* | 9330 rm -rf conftest* |
9399 eval "ac_cv_header_$ac_safe=yes" | 9331 eval "ac_cv_header_$ac_safe=yes" |
9400 else | 9332 else |
9429 have_xaw=no | 9361 have_xaw=no |
9430 fi | 9362 fi |
9431 if test "$with_x11" = "yes"; then | 9363 if test "$with_x11" = "yes"; then |
9432 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 9364 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
9433 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 9365 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
9434 echo "configure:9435: checking for Xm/Xm.h" >&5 | 9366 echo "configure:9367: checking for Xm/Xm.h" >&5 |
9435 | 9367 |
9436 cat > conftest.$ac_ext <<EOF | 9368 cat > conftest.$ac_ext <<EOF |
9437 #line 9438 "configure" | 9369 #line 9370 "configure" |
9438 #include "confdefs.h" | 9370 #include "confdefs.h" |
9439 #include <Xm/Xm.h> | 9371 #include <Xm/Xm.h> |
9440 EOF | 9372 EOF |
9441 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9373 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9442 { (eval echo configure:9443: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9374 { (eval echo configure:9375: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9443 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9375 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9444 if test -z "$ac_err"; then | 9376 if test -z "$ac_err"; then |
9445 rm -rf conftest* | 9377 rm -rf conftest* |
9446 eval "ac_cv_header_$ac_safe=yes" | 9378 eval "ac_cv_header_$ac_safe=yes" |
9447 else | 9379 else |
9454 rm -f conftest* | 9386 rm -f conftest* |
9455 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9387 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9456 echo "$ac_t""yes" 1>&6 | 9388 echo "$ac_t""yes" 1>&6 |
9457 | 9389 |
9458 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 9390 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
9459 echo "configure:9460: checking for XmStringFree in -lXm" >&5 | 9391 echo "configure:9392: checking for XmStringFree in -lXm" >&5 |
9460 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 9392 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
9461 | 9393 |
9462 xe_check_libs=" -lXm " | 9394 xe_check_libs=" -lXm " |
9463 cat > conftest.$ac_ext <<EOF | 9395 cat > conftest.$ac_ext <<EOF |
9464 #line 9465 "configure" | 9396 #line 9397 "configure" |
9465 #include "confdefs.h" | 9397 #include "confdefs.h" |
9466 /* Override any gcc2 internal prototype to avoid an error. */ | 9398 /* Override any gcc2 internal prototype to avoid an error. */ |
9467 /* We use char because int might match the return type of a gcc2 | 9399 /* We use char because int might match the return type of a gcc2 |
9468 builtin and then its argument prototype would still apply. */ | 9400 builtin and then its argument prototype would still apply. */ |
9469 char XmStringFree(); | 9401 char XmStringFree(); |
9470 | 9402 |
9471 int main() { | 9403 int main() { |
9472 XmStringFree() | 9404 XmStringFree() |
9473 ; return 0; } | 9405 ; return 0; } |
9474 EOF | 9406 EOF |
9475 if { (eval echo configure:9476: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9407 if { (eval echo configure:9408: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9476 rm -rf conftest* | 9408 rm -rf conftest* |
9477 eval "ac_cv_lib_$ac_lib_var=yes" | 9409 eval "ac_cv_lib_$ac_lib_var=yes" |
9478 else | 9410 else |
9479 echo "configure: failed program was:" >&5 | 9411 echo "configure: failed program was:" >&5 |
9480 cat conftest.$ac_ext >&5 | 9412 cat conftest.$ac_ext >&5 |
9499 fi | 9431 fi |
9500 | 9432 |
9501 | 9433 |
9502 if test "$have_motif" = "yes"; then | 9434 if test "$have_motif" = "yes"; then |
9503 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 | 9435 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 |
9504 echo "configure:9505: checking for Lesstif" >&5 | 9436 echo "configure:9437: checking for Lesstif" >&5 |
9505 cat > conftest.$ac_ext <<EOF | 9437 cat > conftest.$ac_ext <<EOF |
9506 #line 9507 "configure" | 9438 #line 9439 "configure" |
9507 #include "confdefs.h" | 9439 #include "confdefs.h" |
9508 #include <Xm/Xm.h> | 9440 #include <Xm/Xm.h> |
9509 #ifdef LESSTIF_VERSION | 9441 #ifdef LESSTIF_VERSION |
9510 yes | 9442 yes |
9511 #endif | 9443 #endif |
9530 with_menubars="lucid" ;; | 9462 with_menubars="lucid" ;; |
9531 esac | 9463 esac |
9532 case "$with_dialogs" in "" | "yes" | "lucid" ) | 9464 case "$with_dialogs" in "" | "yes" | "lucid" ) |
9533 if test "$have_motif" = "yes"; then with_dialogs="motif" | 9465 if test "$have_motif" = "yes"; then with_dialogs="motif" |
9534 elif test "$have_xaw" = "yes"; then with_dialogs="athena" | 9466 elif test "$have_xaw" = "yes"; then with_dialogs="athena" |
9467 elif test "$with_msw" = "yes"; then with_dialogs="msw" | |
9535 else with_dialogs=no | 9468 else with_dialogs=no |
9536 fi ;; | 9469 fi ;; |
9537 esac | 9470 esac |
9538 case "$with_scrollbars" in "" | "yes" ) | 9471 case "$with_scrollbars" in "" | "yes" ) |
9539 with_scrollbars="lucid" ;; | 9472 with_scrollbars="lucid" ;; |
9540 esac | 9473 esac |
9541 case "$with_widgets" in "" | "yes" | "lucid") | 9474 case "$with_widgets" in "" | "yes" | "lucid") |
9542 if test "$have_motif" = "yes"; then with_widgets="motif" | 9475 if test "$have_motif" = "yes"; then with_widgets="motif" |
9543 elif test "$have_xaw" = "yes"; then with_widgets="athena" | 9476 elif test "$have_xaw" = "yes"; then with_widgets="athena" |
9477 elif test "$with_msw" = "yes"; then with_widgets="msw" | |
9544 else with_widgets=no | 9478 else with_widgets=no |
9545 fi ;; | 9479 fi ;; |
9546 esac | 9480 esac |
9547 | 9481 |
9548 all_widgets="$with_menubars $with_scrollbars $with_dialogs $with_toolbars $with_widgets" | 9482 all_widgets="$with_menubars $with_scrollbars $with_dialogs $with_toolbars $with_widgets" |
9855 #define LWLIB_WIDGETS_MOTIF 1 | 9789 #define LWLIB_WIDGETS_MOTIF 1 |
9856 EOF | 9790 EOF |
9857 } | 9791 } |
9858 | 9792 |
9859 | 9793 |
9860 test "$with_menubars" != "no" && extra_objs="$extra_objs menubar.o" && if test "$extra_verbose" = "yes"; then | |
9861 echo " xemacs will be linked with \"menubar.o\"" | |
9862 fi | |
9863 test "$with_scrollbars" != "no" && extra_objs="$extra_objs scrollbar.o" && if test "$extra_verbose" = "yes"; then | |
9864 echo " xemacs will be linked with \"scrollbar.o\"" | |
9865 fi | |
9866 test "$with_dialogs" != "no" && extra_objs="$extra_objs dialog.o" && if test "$extra_verbose" = "yes"; then | |
9867 echo " xemacs will be linked with \"dialog.o\"" | |
9868 fi | |
9869 test "$with_toolbars" != "no" && extra_objs="$extra_objs toolbar.o" && if test "$extra_verbose" = "yes"; then | |
9870 echo " xemacs will be linked with \"toolbar.o\"" | |
9871 fi | |
9872 | |
9873 if test "$with_gtk" = "yes"; then | |
9874 test "$with_menubars" != "no" && extra_objs="$extra_objs menubar-gtk.o" && if test "$extra_verbose" = "yes"; then | |
9875 echo " xemacs will be linked with \"menubar-gtk.o\"" | |
9876 fi | |
9877 test "$with_scrollbars" != "no" && extra_objs="$extra_objs scrollbar-gtk.o" && if test "$extra_verbose" = "yes"; then | |
9878 echo " xemacs will be linked with \"scrollbar-gtk.o\"" | |
9879 fi | |
9880 test "$with_dialogs" != "no" && extra_objs="$extra_objs dialog-gtk.o" && if test "$extra_verbose" = "yes"; then | |
9881 echo " xemacs will be linked with \"dialog-gtk.o\"" | |
9882 fi | |
9883 test "$with_toolbars" != "no" && extra_objs="$extra_objs toolbar-common.o toolbar-gtk.o" && if test "$extra_verbose" = "yes"; then | |
9884 echo " xemacs will be linked with \"toolbar-common.o toolbar-gtk.o\"" | |
9885 fi | |
9886 test "$all_widgets" != "no no no no no" && extra_objs="$extra_objs gui-gtk.o" && if test "$extra_verbose" = "yes"; then | |
9887 echo " xemacs will be linked with \"gui-gtk.o\"" | |
9888 fi | |
9889 fi | |
9890 | |
9891 if test "$with_x11" = "yes"; then | |
9892 test "$with_menubars" != "no" && extra_objs="$extra_objs menubar-x.o" && if test "$extra_verbose" = "yes"; then | |
9893 echo " xemacs will be linked with \"menubar-x.o\"" | |
9894 fi | |
9895 test "$with_scrollbars" != "no" && extra_objs="$extra_objs scrollbar-x.o" && if test "$extra_verbose" = "yes"; then | |
9896 echo " xemacs will be linked with \"scrollbar-x.o\"" | |
9897 fi | |
9898 test "$with_dialogs" != "no" && extra_objs="$extra_objs dialog-x.o" && if test "$extra_verbose" = "yes"; then | |
9899 echo " xemacs will be linked with \"dialog-x.o\"" | |
9900 fi | |
9901 test "$with_toolbars" != "no" && extra_objs="$extra_objs toolbar-common.o toolbar-x.o" && if test "$extra_verbose" = "yes"; then | |
9902 echo " xemacs will be linked with \"toolbar-common.o toolbar-x.o\"" | |
9903 fi | |
9904 test "$all_widgets" != "no no no no no" && extra_objs="$extra_objs gui-x.o" && if test "$extra_verbose" = "yes"; then | |
9905 echo " xemacs will be linked with \"gui-x.o\"" | |
9906 fi | |
9907 fi | |
9908 | |
9909 | 9794 |
9910 test -z "$with_mule" && with_mule=no | 9795 test -z "$with_mule" && with_mule=no |
9911 | 9796 |
9912 | 9797 |
9913 if test "$with_file_coding" = "no" && test "$with_mule" = "yes"; then | 9798 if test "$with_default_eol_detection" = "yes"; then |
9914 echo "configure: warning: --with-file-coding forced to \`yes': Required for Mule support" 1>&2 | |
9915 with_file_coding=yes | |
9916 fi | |
9917 | |
9918 if test "$with_file_coding" = "yes" && test "$with_mule" = "no"; then | |
9919 { test "$extra_verbose" = "yes" && cat << \EOF | 9799 { test "$extra_verbose" = "yes" && cat << \EOF |
9920 Defining FILE_CODING | 9800 Defining HAVE_DEFAULT_EOL_DETECTION |
9921 EOF | 9801 EOF |
9922 cat >> confdefs.h <<\EOF | 9802 cat >> confdefs.h <<\EOF |
9923 #define FILE_CODING 1 | 9803 #define HAVE_DEFAULT_EOL_DETECTION 1 |
9924 EOF | 9804 EOF |
9925 } | 9805 } |
9926 | 9806 |
9927 extra_objs="$extra_objs file-coding.o" && if test "$extra_verbose" = "yes"; then | 9807 fi |
9928 echo " xemacs will be linked with \"file-coding.o\"" | |
9929 fi | |
9930 fi | |
9931 | |
9932 test -z "$with_file_coding" && with_file_coding=no | |
9933 | 9808 |
9934 if test "$with_mule" = "yes" ; then | 9809 if test "$with_mule" = "yes" ; then |
9935 echo "checking for Mule-related features" 1>&6 | 9810 echo "checking for Mule-related features" 1>&6 |
9936 echo "configure:9937: checking for Mule-related features" >&5 | 9811 echo "configure:9812: checking for Mule-related features" >&5 |
9937 { test "$extra_verbose" = "yes" && cat << \EOF | 9812 { test "$extra_verbose" = "yes" && cat << \EOF |
9938 Defining MULE | 9813 Defining MULE |
9939 EOF | 9814 EOF |
9940 cat >> confdefs.h <<\EOF | 9815 cat >> confdefs.h <<\EOF |
9941 #define MULE 1 | 9816 #define MULE 1 |
9942 EOF | 9817 EOF |
9943 } | 9818 } |
9944 | 9819 |
9945 { test "$extra_verbose" = "yes" && cat << \EOF | |
9946 Defining FILE_CODING | |
9947 EOF | |
9948 cat >> confdefs.h <<\EOF | |
9949 #define FILE_CODING 1 | |
9950 EOF | |
9951 } | |
9952 | |
9953 extra_objs="$extra_objs mule.o mule-ccl.o mule-charset.o file-coding.o" && if test "$extra_verbose" = "yes"; then | |
9954 echo " xemacs will be linked with \"mule.o mule-ccl.o mule-charset.o file-coding.o\"" | |
9955 fi | |
9956 | 9820 |
9957 for ac_hdr in libintl.h | 9821 for ac_hdr in libintl.h |
9958 do | 9822 do |
9959 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 9823 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
9960 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 9824 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
9961 echo "configure:9962: checking for $ac_hdr" >&5 | 9825 echo "configure:9826: checking for $ac_hdr" >&5 |
9962 | 9826 |
9963 cat > conftest.$ac_ext <<EOF | 9827 cat > conftest.$ac_ext <<EOF |
9964 #line 9965 "configure" | 9828 #line 9829 "configure" |
9965 #include "confdefs.h" | 9829 #include "confdefs.h" |
9966 #include <$ac_hdr> | 9830 #include <$ac_hdr> |
9967 EOF | 9831 EOF |
9968 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9832 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9969 { (eval echo configure:9970: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9833 { (eval echo configure:9834: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9970 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9834 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9971 if test -z "$ac_err"; then | 9835 if test -z "$ac_err"; then |
9972 rm -rf conftest* | 9836 rm -rf conftest* |
9973 eval "ac_cv_header_$ac_safe=yes" | 9837 eval "ac_cv_header_$ac_safe=yes" |
9974 else | 9838 else |
9995 fi | 9859 fi |
9996 done | 9860 done |
9997 | 9861 |
9998 | 9862 |
9999 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 | 9863 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 |
10000 echo "configure:10001: checking for strerror in -lintl" >&5 | 9864 echo "configure:9865: checking for strerror in -lintl" >&5 |
10001 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` | 9865 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` |
10002 | 9866 |
10003 xe_check_libs=" -lintl " | 9867 xe_check_libs=" -lintl " |
10004 cat > conftest.$ac_ext <<EOF | 9868 cat > conftest.$ac_ext <<EOF |
10005 #line 10006 "configure" | 9869 #line 9870 "configure" |
10006 #include "confdefs.h" | 9870 #include "confdefs.h" |
10007 /* Override any gcc2 internal prototype to avoid an error. */ | 9871 /* Override any gcc2 internal prototype to avoid an error. */ |
10008 /* We use char because int might match the return type of a gcc2 | 9872 /* We use char because int might match the return type of a gcc2 |
10009 builtin and then its argument prototype would still apply. */ | 9873 builtin and then its argument prototype would still apply. */ |
10010 char strerror(); | 9874 char strerror(); |
10011 | 9875 |
10012 int main() { | 9876 int main() { |
10013 strerror() | 9877 strerror() |
10014 ; return 0; } | 9878 ; return 0; } |
10015 EOF | 9879 EOF |
10016 if { (eval echo configure:10017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9880 if { (eval echo configure:9881: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10017 rm -rf conftest* | 9881 rm -rf conftest* |
10018 eval "ac_cv_lib_$ac_lib_var=yes" | 9882 eval "ac_cv_lib_$ac_lib_var=yes" |
10019 else | 9883 else |
10020 echo "configure: failed program was:" >&5 | 9884 echo "configure: failed program was:" >&5 |
10021 cat conftest.$ac_ext >&5 | 9885 cat conftest.$ac_ext >&5 |
10044 fi | 9908 fi |
10045 | 9909 |
10046 | 9910 |
10047 | 9911 |
10048 echo "checking for Mule input methods" 1>&6 | 9912 echo "checking for Mule input methods" 1>&6 |
10049 echo "configure:10050: checking for Mule input methods" >&5 | 9913 echo "configure:9914: checking for Mule input methods" >&5 |
10050 case "$with_xim" in "" | "yes" ) | 9914 case "$with_xim" in "" | "yes" ) |
10051 echo "checking for XIM" 1>&6 | 9915 echo "checking for XIM" 1>&6 |
10052 echo "configure:10053: checking for XIM" >&5 | 9916 echo "configure:9917: checking for XIM" >&5 |
10053 | 9917 |
10054 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 | 9918 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 |
10055 echo "configure:10056: checking for XOpenIM in -lX11" >&5 | 9919 echo "configure:9920: checking for XOpenIM in -lX11" >&5 |
10056 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` | 9920 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` |
10057 | 9921 |
10058 xe_check_libs=" -lX11 " | 9922 xe_check_libs=" -lX11 " |
10059 cat > conftest.$ac_ext <<EOF | 9923 cat > conftest.$ac_ext <<EOF |
10060 #line 10061 "configure" | 9924 #line 9925 "configure" |
10061 #include "confdefs.h" | 9925 #include "confdefs.h" |
10062 /* Override any gcc2 internal prototype to avoid an error. */ | 9926 /* Override any gcc2 internal prototype to avoid an error. */ |
10063 /* We use char because int might match the return type of a gcc2 | 9927 /* We use char because int might match the return type of a gcc2 |
10064 builtin and then its argument prototype would still apply. */ | 9928 builtin and then its argument prototype would still apply. */ |
10065 char XOpenIM(); | 9929 char XOpenIM(); |
10066 | 9930 |
10067 int main() { | 9931 int main() { |
10068 XOpenIM() | 9932 XOpenIM() |
10069 ; return 0; } | 9933 ; return 0; } |
10070 EOF | 9934 EOF |
10071 if { (eval echo configure:10072: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9935 if { (eval echo configure:9936: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10072 rm -rf conftest* | 9936 rm -rf conftest* |
10073 eval "ac_cv_lib_$ac_lib_var=yes" | 9937 eval "ac_cv_lib_$ac_lib_var=yes" |
10074 else | 9938 else |
10075 echo "configure: failed program was:" >&5 | 9939 echo "configure: failed program was:" >&5 |
10076 cat conftest.$ac_ext >&5 | 9940 cat conftest.$ac_ext >&5 |
10090 | 9954 |
10091 | 9955 |
10092 if test "$have_motif $have_lesstif" = "yes no"; then | 9956 if test "$have_motif $have_lesstif" = "yes no"; then |
10093 | 9957 |
10094 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 | 9958 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 |
10095 echo "configure:10096: checking for XmImMbLookupString in -lXm" >&5 | 9959 echo "configure:9960: checking for XmImMbLookupString in -lXm" >&5 |
10096 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` | 9960 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` |
10097 | 9961 |
10098 xe_check_libs=" -lXm " | 9962 xe_check_libs=" -lXm " |
10099 cat > conftest.$ac_ext <<EOF | 9963 cat > conftest.$ac_ext <<EOF |
10100 #line 10101 "configure" | 9964 #line 9965 "configure" |
10101 #include "confdefs.h" | 9965 #include "confdefs.h" |
10102 /* Override any gcc2 internal prototype to avoid an error. */ | 9966 /* Override any gcc2 internal prototype to avoid an error. */ |
10103 /* We use char because int might match the return type of a gcc2 | 9967 /* We use char because int might match the return type of a gcc2 |
10104 builtin and then its argument prototype would still apply. */ | 9968 builtin and then its argument prototype would still apply. */ |
10105 char XmImMbLookupString(); | 9969 char XmImMbLookupString(); |
10106 | 9970 |
10107 int main() { | 9971 int main() { |
10108 XmImMbLookupString() | 9972 XmImMbLookupString() |
10109 ; return 0; } | 9973 ; return 0; } |
10110 EOF | 9974 EOF |
10111 if { (eval echo configure:10112: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9975 if { (eval echo configure:9976: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10112 rm -rf conftest* | 9976 rm -rf conftest* |
10113 eval "ac_cv_lib_$ac_lib_var=yes" | 9977 eval "ac_cv_lib_$ac_lib_var=yes" |
10114 else | 9978 else |
10115 echo "configure: failed program was:" >&5 | 9979 echo "configure: failed program was:" >&5 |
10116 cat conftest.$ac_ext >&5 | 9980 cat conftest.$ac_ext >&5 |
10171 fi | 10035 fi |
10172 fi | 10036 fi |
10173 | 10037 |
10174 if test "$with_xfs" = "yes" ; then | 10038 if test "$with_xfs" = "yes" ; then |
10175 echo "checking for XFontSet" 1>&6 | 10039 echo "checking for XFontSet" 1>&6 |
10176 echo "configure:10177: checking for XFontSet" >&5 | 10040 echo "configure:10041: checking for XFontSet" >&5 |
10177 | 10041 |
10178 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 | 10042 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 |
10179 echo "configure:10180: checking for XmbDrawString in -lX11" >&5 | 10043 echo "configure:10044: checking for XmbDrawString in -lX11" >&5 |
10180 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` | 10044 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` |
10181 | 10045 |
10182 xe_check_libs=" -lX11 " | 10046 xe_check_libs=" -lX11 " |
10183 cat > conftest.$ac_ext <<EOF | 10047 cat > conftest.$ac_ext <<EOF |
10184 #line 10185 "configure" | 10048 #line 10049 "configure" |
10185 #include "confdefs.h" | 10049 #include "confdefs.h" |
10186 /* Override any gcc2 internal prototype to avoid an error. */ | 10050 /* Override any gcc2 internal prototype to avoid an error. */ |
10187 /* We use char because int might match the return type of a gcc2 | 10051 /* We use char because int might match the return type of a gcc2 |
10188 builtin and then its argument prototype would still apply. */ | 10052 builtin and then its argument prototype would still apply. */ |
10189 char XmbDrawString(); | 10053 char XmbDrawString(); |
10190 | 10054 |
10191 int main() { | 10055 int main() { |
10192 XmbDrawString() | 10056 XmbDrawString() |
10193 ; return 0; } | 10057 ; return 0; } |
10194 EOF | 10058 EOF |
10195 if { (eval echo configure:10196: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10059 if { (eval echo configure:10060: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10196 rm -rf conftest* | 10060 rm -rf conftest* |
10197 eval "ac_cv_lib_$ac_lib_var=yes" | 10061 eval "ac_cv_lib_$ac_lib_var=yes" |
10198 else | 10062 else |
10199 echo "configure: failed program was:" >&5 | 10063 echo "configure: failed program was:" >&5 |
10200 cat conftest.$ac_ext >&5 | 10064 cat conftest.$ac_ext >&5 |
10230 fi | 10094 fi |
10231 fi | 10095 fi |
10232 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support | 10096 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support |
10233 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` | 10097 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` |
10234 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 | 10098 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 |
10235 echo "configure:10236: checking for wnn/jllib.h" >&5 | 10099 echo "configure:10100: checking for wnn/jllib.h" >&5 |
10236 | 10100 |
10237 cat > conftest.$ac_ext <<EOF | 10101 cat > conftest.$ac_ext <<EOF |
10238 #line 10239 "configure" | 10102 #line 10103 "configure" |
10239 #include "confdefs.h" | 10103 #include "confdefs.h" |
10240 #include <wnn/jllib.h> | 10104 #include <wnn/jllib.h> |
10241 EOF | 10105 EOF |
10242 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10106 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10243 { (eval echo configure:10244: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10107 { (eval echo configure:10108: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10244 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10108 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10245 if test -z "$ac_err"; then | 10109 if test -z "$ac_err"; then |
10246 rm -rf conftest* | 10110 rm -rf conftest* |
10247 eval "ac_cv_header_$ac_safe=yes" | 10111 eval "ac_cv_header_$ac_safe=yes" |
10248 else | 10112 else |
10261 with_wnn=no | 10125 with_wnn=no |
10262 fi | 10126 fi |
10263 } | 10127 } |
10264 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'` | 10128 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'` |
10265 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6 | 10129 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6 |
10266 echo "configure:10267: checking for wnn/commonhd.h" >&5 | 10130 echo "configure:10131: checking for wnn/commonhd.h" >&5 |
10267 | 10131 |
10268 cat > conftest.$ac_ext <<EOF | 10132 cat > conftest.$ac_ext <<EOF |
10269 #line 10270 "configure" | 10133 #line 10134 "configure" |
10270 #include "confdefs.h" | 10134 #include "confdefs.h" |
10271 #include <wnn/commonhd.h> | 10135 #include <wnn/commonhd.h> |
10272 EOF | 10136 EOF |
10273 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10137 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10274 { (eval echo configure:10275: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10138 { (eval echo configure:10139: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10275 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10139 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10276 if test -z "$ac_err"; then | 10140 if test -z "$ac_err"; then |
10277 rm -rf conftest* | 10141 rm -rf conftest* |
10278 eval "ac_cv_header_$ac_safe=yes" | 10142 eval "ac_cv_header_$ac_safe=yes" |
10279 else | 10143 else |
10294 } | 10158 } |
10295 if test "$with_wnn" != "no"; then | 10159 if test "$with_wnn" != "no"; then |
10296 for ac_func in crypt | 10160 for ac_func in crypt |
10297 do | 10161 do |
10298 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 10162 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
10299 echo "configure:10300: checking for $ac_func" >&5 | 10163 echo "configure:10164: checking for $ac_func" >&5 |
10300 | 10164 |
10301 cat > conftest.$ac_ext <<EOF | 10165 cat > conftest.$ac_ext <<EOF |
10302 #line 10303 "configure" | 10166 #line 10167 "configure" |
10303 #include "confdefs.h" | 10167 #include "confdefs.h" |
10304 /* System header to define __stub macros and hopefully few prototypes, | 10168 /* System header to define __stub macros and hopefully few prototypes, |
10305 which can conflict with char $ac_func(); below. */ | 10169 which can conflict with char $ac_func(); below. */ |
10306 #include <assert.h> | 10170 #include <assert.h> |
10307 /* Override any gcc2 internal prototype to avoid an error. */ | 10171 /* Override any gcc2 internal prototype to avoid an error. */ |
10320 $ac_func(); | 10184 $ac_func(); |
10321 #endif | 10185 #endif |
10322 | 10186 |
10323 ; return 0; } | 10187 ; return 0; } |
10324 EOF | 10188 EOF |
10325 if { (eval echo configure:10326: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10189 if { (eval echo configure:10190: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10326 rm -rf conftest* | 10190 rm -rf conftest* |
10327 eval "ac_cv_func_$ac_func=yes" | 10191 eval "ac_cv_func_$ac_func=yes" |
10328 else | 10192 else |
10329 echo "configure: failed program was:" >&5 | 10193 echo "configure: failed program was:" >&5 |
10330 cat conftest.$ac_ext >&5 | 10194 cat conftest.$ac_ext >&5 |
10349 fi | 10213 fi |
10350 done | 10214 done |
10351 | 10215 |
10352 test "$ac_cv_func_crypt" != "yes" && { | 10216 test "$ac_cv_func_crypt" != "yes" && { |
10353 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 | 10217 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 |
10354 echo "configure:10355: checking for crypt in -lcrypt" >&5 | 10218 echo "configure:10219: checking for crypt in -lcrypt" >&5 |
10355 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` | 10219 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` |
10356 | 10220 |
10357 xe_check_libs=" -lcrypt " | 10221 xe_check_libs=" -lcrypt " |
10358 cat > conftest.$ac_ext <<EOF | 10222 cat > conftest.$ac_ext <<EOF |
10359 #line 10360 "configure" | 10223 #line 10224 "configure" |
10360 #include "confdefs.h" | 10224 #include "confdefs.h" |
10361 /* Override any gcc2 internal prototype to avoid an error. */ | 10225 /* Override any gcc2 internal prototype to avoid an error. */ |
10362 /* We use char because int might match the return type of a gcc2 | 10226 /* We use char because int might match the return type of a gcc2 |
10363 builtin and then its argument prototype would still apply. */ | 10227 builtin and then its argument prototype would still apply. */ |
10364 char crypt(); | 10228 char crypt(); |
10365 | 10229 |
10366 int main() { | 10230 int main() { |
10367 crypt() | 10231 crypt() |
10368 ; return 0; } | 10232 ; return 0; } |
10369 EOF | 10233 EOF |
10370 if { (eval echo configure:10371: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10234 if { (eval echo configure:10235: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10371 rm -rf conftest* | 10235 rm -rf conftest* |
10372 eval "ac_cv_lib_$ac_lib_var=yes" | 10236 eval "ac_cv_lib_$ac_lib_var=yes" |
10373 else | 10237 else |
10374 echo "configure: failed program was:" >&5 | 10238 echo "configure: failed program was:" >&5 |
10375 cat conftest.$ac_ext >&5 | 10239 cat conftest.$ac_ext >&5 |
10400 } | 10264 } |
10401 fi | 10265 fi |
10402 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then | 10266 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then |
10403 | 10267 |
10404 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 | 10268 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 |
10405 echo "configure:10406: checking for jl_dic_list_e in -lwnn" >&5 | 10269 echo "configure:10270: checking for jl_dic_list_e in -lwnn" >&5 |
10406 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 10270 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
10407 | 10271 |
10408 xe_check_libs=" -lwnn " | 10272 xe_check_libs=" -lwnn " |
10409 cat > conftest.$ac_ext <<EOF | 10273 cat > conftest.$ac_ext <<EOF |
10410 #line 10411 "configure" | 10274 #line 10275 "configure" |
10411 #include "confdefs.h" | 10275 #include "confdefs.h" |
10412 /* Override any gcc2 internal prototype to avoid an error. */ | 10276 /* Override any gcc2 internal prototype to avoid an error. */ |
10413 /* We use char because int might match the return type of a gcc2 | 10277 /* We use char because int might match the return type of a gcc2 |
10414 builtin and then its argument prototype would still apply. */ | 10278 builtin and then its argument prototype would still apply. */ |
10415 char jl_dic_list_e(); | 10279 char jl_dic_list_e(); |
10416 | 10280 |
10417 int main() { | 10281 int main() { |
10418 jl_dic_list_e() | 10282 jl_dic_list_e() |
10419 ; return 0; } | 10283 ; return 0; } |
10420 EOF | 10284 EOF |
10421 if { (eval echo configure:10422: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10285 if { (eval echo configure:10286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10422 rm -rf conftest* | 10286 rm -rf conftest* |
10423 eval "ac_cv_lib_$ac_lib_var=yes" | 10287 eval "ac_cv_lib_$ac_lib_var=yes" |
10424 else | 10288 else |
10425 echo "configure: failed program was:" >&5 | 10289 echo "configure: failed program was:" >&5 |
10426 cat conftest.$ac_ext >&5 | 10290 cat conftest.$ac_ext >&5 |
10434 echo "$ac_t""yes" 1>&6 | 10298 echo "$ac_t""yes" 1>&6 |
10435 libwnn=wnn | 10299 libwnn=wnn |
10436 else | 10300 else |
10437 echo "$ac_t""no" 1>&6 | 10301 echo "$ac_t""no" 1>&6 |
10438 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 | 10302 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 |
10439 echo "configure:10440: checking for jl_dic_list_e in -lwnn4" >&5 | 10303 echo "configure:10304: checking for jl_dic_list_e in -lwnn4" >&5 |
10440 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 10304 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
10441 | 10305 |
10442 xe_check_libs=" -lwnn4 " | 10306 xe_check_libs=" -lwnn4 " |
10443 cat > conftest.$ac_ext <<EOF | 10307 cat > conftest.$ac_ext <<EOF |
10444 #line 10445 "configure" | 10308 #line 10309 "configure" |
10445 #include "confdefs.h" | 10309 #include "confdefs.h" |
10446 /* Override any gcc2 internal prototype to avoid an error. */ | 10310 /* Override any gcc2 internal prototype to avoid an error. */ |
10447 /* We use char because int might match the return type of a gcc2 | 10311 /* We use char because int might match the return type of a gcc2 |
10448 builtin and then its argument prototype would still apply. */ | 10312 builtin and then its argument prototype would still apply. */ |
10449 char jl_dic_list_e(); | 10313 char jl_dic_list_e(); |
10450 | 10314 |
10451 int main() { | 10315 int main() { |
10452 jl_dic_list_e() | 10316 jl_dic_list_e() |
10453 ; return 0; } | 10317 ; return 0; } |
10454 EOF | 10318 EOF |
10455 if { (eval echo configure:10456: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10319 if { (eval echo configure:10320: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10456 rm -rf conftest* | 10320 rm -rf conftest* |
10457 eval "ac_cv_lib_$ac_lib_var=yes" | 10321 eval "ac_cv_lib_$ac_lib_var=yes" |
10458 else | 10322 else |
10459 echo "configure: failed program was:" >&5 | 10323 echo "configure: failed program was:" >&5 |
10460 cat conftest.$ac_ext >&5 | 10324 cat conftest.$ac_ext >&5 |
10468 echo "$ac_t""yes" 1>&6 | 10332 echo "$ac_t""yes" 1>&6 |
10469 libwnn=wnn4 | 10333 libwnn=wnn4 |
10470 else | 10334 else |
10471 echo "$ac_t""no" 1>&6 | 10335 echo "$ac_t""no" 1>&6 |
10472 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 | 10336 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 |
10473 echo "configure:10474: checking for jl_dic_list_e in -lwnn6" >&5 | 10337 echo "configure:10338: checking for jl_dic_list_e in -lwnn6" >&5 |
10474 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 10338 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
10475 | 10339 |
10476 xe_check_libs=" -lwnn6 " | 10340 xe_check_libs=" -lwnn6 " |
10477 cat > conftest.$ac_ext <<EOF | 10341 cat > conftest.$ac_ext <<EOF |
10478 #line 10479 "configure" | 10342 #line 10343 "configure" |
10479 #include "confdefs.h" | 10343 #include "confdefs.h" |
10480 /* Override any gcc2 internal prototype to avoid an error. */ | 10344 /* Override any gcc2 internal prototype to avoid an error. */ |
10481 /* We use char because int might match the return type of a gcc2 | 10345 /* We use char because int might match the return type of a gcc2 |
10482 builtin and then its argument prototype would still apply. */ | 10346 builtin and then its argument prototype would still apply. */ |
10483 char jl_dic_list_e(); | 10347 char jl_dic_list_e(); |
10484 | 10348 |
10485 int main() { | 10349 int main() { |
10486 jl_dic_list_e() | 10350 jl_dic_list_e() |
10487 ; return 0; } | 10351 ; return 0; } |
10488 EOF | 10352 EOF |
10489 if { (eval echo configure:10490: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10353 if { (eval echo configure:10354: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10490 rm -rf conftest* | 10354 rm -rf conftest* |
10491 eval "ac_cv_lib_$ac_lib_var=yes" | 10355 eval "ac_cv_lib_$ac_lib_var=yes" |
10492 else | 10356 else |
10493 echo "configure: failed program was:" >&5 | 10357 echo "configure: failed program was:" >&5 |
10494 cat conftest.$ac_ext >&5 | 10358 cat conftest.$ac_ext >&5 |
10502 echo "$ac_t""yes" 1>&6 | 10366 echo "$ac_t""yes" 1>&6 |
10503 libwnn=wnn6 | 10367 libwnn=wnn6 |
10504 else | 10368 else |
10505 echo "$ac_t""no" 1>&6 | 10369 echo "$ac_t""no" 1>&6 |
10506 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 | 10370 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 |
10507 echo "configure:10508: checking for dic_list_e in -lwnn6_fromsrc" >&5 | 10371 echo "configure:10372: checking for dic_list_e in -lwnn6_fromsrc" >&5 |
10508 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` | 10372 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` |
10509 | 10373 |
10510 xe_check_libs=" -lwnn6_fromsrc " | 10374 xe_check_libs=" -lwnn6_fromsrc " |
10511 cat > conftest.$ac_ext <<EOF | 10375 cat > conftest.$ac_ext <<EOF |
10512 #line 10513 "configure" | 10376 #line 10377 "configure" |
10513 #include "confdefs.h" | 10377 #include "confdefs.h" |
10514 /* Override any gcc2 internal prototype to avoid an error. */ | 10378 /* Override any gcc2 internal prototype to avoid an error. */ |
10515 /* We use char because int might match the return type of a gcc2 | 10379 /* We use char because int might match the return type of a gcc2 |
10516 builtin and then its argument prototype would still apply. */ | 10380 builtin and then its argument prototype would still apply. */ |
10517 char dic_list_e(); | 10381 char dic_list_e(); |
10518 | 10382 |
10519 int main() { | 10383 int main() { |
10520 dic_list_e() | 10384 dic_list_e() |
10521 ; return 0; } | 10385 ; return 0; } |
10522 EOF | 10386 EOF |
10523 if { (eval echo configure:10524: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10387 if { (eval echo configure:10388: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10524 rm -rf conftest* | 10388 rm -rf conftest* |
10525 eval "ac_cv_lib_$ac_lib_var=yes" | 10389 eval "ac_cv_lib_$ac_lib_var=yes" |
10526 else | 10390 else |
10527 echo "configure: failed program was:" >&5 | 10391 echo "configure: failed program was:" >&5 |
10528 cat conftest.$ac_ext >&5 | 10392 cat conftest.$ac_ext >&5 |
10560 #define HAVE_WNN 1 | 10424 #define HAVE_WNN 1 |
10561 EOF | 10425 EOF |
10562 } | 10426 } |
10563 | 10427 |
10564 libs_x="-l$libwnn $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l$libwnn\" to \$libs_x"; fi | 10428 libs_x="-l$libwnn $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l$libwnn\" to \$libs_x"; fi |
10565 extra_objs="$extra_objs mule-wnnfns.o" && if test "$extra_verbose" = "yes"; then | |
10566 echo " xemacs will be linked with \"mule-wnnfns.o\"" | |
10567 fi | |
10568 if test "$with_wnn6" != "no"; then | 10429 if test "$with_wnn6" != "no"; then |
10569 | 10430 |
10570 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 | 10431 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 |
10571 echo "configure:10572: checking for jl_fi_dic_list in -l$libwnn" >&5 | 10432 echo "configure:10433: checking for jl_fi_dic_list in -l$libwnn" >&5 |
10572 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` | 10433 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` |
10573 | 10434 |
10574 xe_check_libs=" -l$libwnn " | 10435 xe_check_libs=" -l$libwnn " |
10575 cat > conftest.$ac_ext <<EOF | 10436 cat > conftest.$ac_ext <<EOF |
10576 #line 10577 "configure" | 10437 #line 10438 "configure" |
10577 #include "confdefs.h" | 10438 #include "confdefs.h" |
10578 /* Override any gcc2 internal prototype to avoid an error. */ | 10439 /* Override any gcc2 internal prototype to avoid an error. */ |
10579 /* We use char because int might match the return type of a gcc2 | 10440 /* We use char because int might match the return type of a gcc2 |
10580 builtin and then its argument prototype would still apply. */ | 10441 builtin and then its argument prototype would still apply. */ |
10581 char jl_fi_dic_list(); | 10442 char jl_fi_dic_list(); |
10582 | 10443 |
10583 int main() { | 10444 int main() { |
10584 jl_fi_dic_list() | 10445 jl_fi_dic_list() |
10585 ; return 0; } | 10446 ; return 0; } |
10586 EOF | 10447 EOF |
10587 if { (eval echo configure:10588: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10448 if { (eval echo configure:10449: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10588 rm -rf conftest* | 10449 rm -rf conftest* |
10589 eval "ac_cv_lib_$ac_lib_var=yes" | 10450 eval "ac_cv_lib_$ac_lib_var=yes" |
10590 else | 10451 else |
10591 echo "configure: failed program was:" >&5 | 10452 echo "configure: failed program was:" >&5 |
10592 cat conftest.$ac_ext >&5 | 10453 cat conftest.$ac_ext >&5 |
10617 | 10478 |
10618 canna_includes_found=no | 10479 canna_includes_found=no |
10619 if test "$with_canna" != "no"; then | 10480 if test "$with_canna" != "no"; then |
10620 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 10481 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
10621 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 10482 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
10622 echo "configure:10623: checking for canna/jrkanji.h" >&5 | 10483 echo "configure:10484: checking for canna/jrkanji.h" >&5 |
10623 | 10484 |
10624 cat > conftest.$ac_ext <<EOF | 10485 cat > conftest.$ac_ext <<EOF |
10625 #line 10626 "configure" | 10486 #line 10487 "configure" |
10626 #include "confdefs.h" | 10487 #include "confdefs.h" |
10627 #include <canna/jrkanji.h> | 10488 #include <canna/jrkanji.h> |
10628 EOF | 10489 EOF |
10629 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10490 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10630 { (eval echo configure:10631: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10491 { (eval echo configure:10492: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10631 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10492 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10632 if test -z "$ac_err"; then | 10493 if test -z "$ac_err"; then |
10633 rm -rf conftest* | 10494 rm -rf conftest* |
10634 eval "ac_cv_header_$ac_safe=yes" | 10495 eval "ac_cv_header_$ac_safe=yes" |
10635 else | 10496 else |
10652 -d "/usr/local/canna/include"; then | 10513 -d "/usr/local/canna/include"; then |
10653 save_c_switch_site="$c_switch_site" | 10514 save_c_switch_site="$c_switch_site" |
10654 c_switch_site="$c_switch_site -I/usr/local/canna/include" | 10515 c_switch_site="$c_switch_site -I/usr/local/canna/include" |
10655 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 10516 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
10656 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 10517 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
10657 echo "configure:10658: checking for canna/jrkanji.h" >&5 | 10518 echo "configure:10519: checking for canna/jrkanji.h" >&5 |
10658 | 10519 |
10659 cat > conftest.$ac_ext <<EOF | 10520 cat > conftest.$ac_ext <<EOF |
10660 #line 10661 "configure" | 10521 #line 10522 "configure" |
10661 #include "confdefs.h" | 10522 #include "confdefs.h" |
10662 #include <canna/jrkanji.h> | 10523 #include <canna/jrkanji.h> |
10663 EOF | 10524 EOF |
10664 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10525 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10665 { (eval echo configure:10666: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10526 { (eval echo configure:10527: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10666 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10527 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10667 if test -z "$ac_err"; then | 10528 if test -z "$ac_err"; then |
10668 rm -rf conftest* | 10529 rm -rf conftest* |
10669 eval "ac_cv_header_$ac_safe=yes" | 10530 eval "ac_cv_header_$ac_safe=yes" |
10670 else | 10531 else |
10688 fi | 10549 fi |
10689 fi | 10550 fi |
10690 | 10551 |
10691 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` | 10552 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` |
10692 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 | 10553 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 |
10693 echo "configure:10694: checking for canna/RK.h" >&5 | 10554 echo "configure:10555: checking for canna/RK.h" >&5 |
10694 | 10555 |
10695 cat > conftest.$ac_ext <<EOF | 10556 cat > conftest.$ac_ext <<EOF |
10696 #line 10697 "configure" | 10557 #line 10558 "configure" |
10697 #include "confdefs.h" | 10558 #include "confdefs.h" |
10698 #include <canna/RK.h> | 10559 #include <canna/RK.h> |
10699 EOF | 10560 EOF |
10700 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10561 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10701 { (eval echo configure:10702: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10562 { (eval echo configure:10563: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10702 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10563 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10703 if test -z "$ac_err"; then | 10564 if test -z "$ac_err"; then |
10704 rm -rf conftest* | 10565 rm -rf conftest* |
10705 eval "ac_cv_header_$ac_safe=yes" | 10566 eval "ac_cv_header_$ac_safe=yes" |
10706 else | 10567 else |
10719 with_canna=no | 10580 with_canna=no |
10720 fi | 10581 fi |
10721 } | 10582 } |
10722 test -z "$with_canna" && { | 10583 test -z "$with_canna" && { |
10723 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 | 10584 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 |
10724 echo "configure:10725: checking for RkBgnBun in -lRKC" >&5 | 10585 echo "configure:10586: checking for RkBgnBun in -lRKC" >&5 |
10725 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` | 10586 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` |
10726 | 10587 |
10727 xe_check_libs=" -lRKC " | 10588 xe_check_libs=" -lRKC " |
10728 cat > conftest.$ac_ext <<EOF | 10589 cat > conftest.$ac_ext <<EOF |
10729 #line 10730 "configure" | 10590 #line 10591 "configure" |
10730 #include "confdefs.h" | 10591 #include "confdefs.h" |
10731 /* Override any gcc2 internal prototype to avoid an error. */ | 10592 /* Override any gcc2 internal prototype to avoid an error. */ |
10732 /* We use char because int might match the return type of a gcc2 | 10593 /* We use char because int might match the return type of a gcc2 |
10733 builtin and then its argument prototype would still apply. */ | 10594 builtin and then its argument prototype would still apply. */ |
10734 char RkBgnBun(); | 10595 char RkBgnBun(); |
10735 | 10596 |
10736 int main() { | 10597 int main() { |
10737 RkBgnBun() | 10598 RkBgnBun() |
10738 ; return 0; } | 10599 ; return 0; } |
10739 EOF | 10600 EOF |
10740 if { (eval echo configure:10741: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10601 if { (eval echo configure:10602: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10741 rm -rf conftest* | 10602 rm -rf conftest* |
10742 eval "ac_cv_lib_$ac_lib_var=yes" | 10603 eval "ac_cv_lib_$ac_lib_var=yes" |
10743 else | 10604 else |
10744 echo "configure: failed program was:" >&5 | 10605 echo "configure: failed program was:" >&5 |
10745 cat conftest.$ac_ext >&5 | 10606 cat conftest.$ac_ext >&5 |
10758 fi | 10619 fi |
10759 | 10620 |
10760 } | 10621 } |
10761 test -z "$with_canna" && { | 10622 test -z "$with_canna" && { |
10762 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 | 10623 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 |
10763 echo "configure:10764: checking for jrKanjiControl in -lcanna" >&5 | 10624 echo "configure:10625: checking for jrKanjiControl in -lcanna" >&5 |
10764 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` | 10625 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` |
10765 | 10626 |
10766 xe_check_libs=" -lcanna " | 10627 xe_check_libs=" -lcanna " |
10767 cat > conftest.$ac_ext <<EOF | 10628 cat > conftest.$ac_ext <<EOF |
10768 #line 10769 "configure" | 10629 #line 10630 "configure" |
10769 #include "confdefs.h" | 10630 #include "confdefs.h" |
10770 /* Override any gcc2 internal prototype to avoid an error. */ | 10631 /* Override any gcc2 internal prototype to avoid an error. */ |
10771 /* We use char because int might match the return type of a gcc2 | 10632 /* We use char because int might match the return type of a gcc2 |
10772 builtin and then its argument prototype would still apply. */ | 10633 builtin and then its argument prototype would still apply. */ |
10773 char jrKanjiControl(); | 10634 char jrKanjiControl(); |
10774 | 10635 |
10775 int main() { | 10636 int main() { |
10776 jrKanjiControl() | 10637 jrKanjiControl() |
10777 ; return 0; } | 10638 ; return 0; } |
10778 EOF | 10639 EOF |
10779 if { (eval echo configure:10780: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10640 if { (eval echo configure:10641: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10780 rm -rf conftest* | 10641 rm -rf conftest* |
10781 eval "ac_cv_lib_$ac_lib_var=yes" | 10642 eval "ac_cv_lib_$ac_lib_var=yes" |
10782 else | 10643 else |
10783 echo "configure: failed program was:" >&5 | 10644 echo "configure: failed program was:" >&5 |
10784 cat conftest.$ac_ext >&5 | 10645 cat conftest.$ac_ext >&5 |
10806 #define HAVE_CANNA 1 | 10667 #define HAVE_CANNA 1 |
10807 EOF | 10668 EOF |
10808 } | 10669 } |
10809 | 10670 |
10810 libs_x="-lcanna -lRKC $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcanna -lRKC\" to \$libs_x"; fi | 10671 libs_x="-lcanna -lRKC $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcanna -lRKC\" to \$libs_x"; fi |
10811 extra_objs="$extra_objs mule-canna.o" && if test "$extra_verbose" = "yes"; then | |
10812 echo " xemacs will be linked with \"mule-canna.o\"" | |
10813 fi | |
10814 fi | 10672 fi |
10815 | 10673 |
10816 else for feature in xim canna wnn; do | 10674 else for feature in xim canna wnn; do |
10817 if eval "test -n \"\$with_${feature}\" -a \"\$with_${feature}\" != no" ; then | 10675 if eval "test -n \"\$with_${feature}\" -a \"\$with_${feature}\" != no" ; then |
10818 echo "configure: warning: --with-${feature} ignored: Not valid without Mule support" 1>&2 | 10676 echo "configure: warning: --with-${feature} ignored: Not valid without Mule support" 1>&2 |
10823 | 10681 |
10824 if test "$need_motif" = "yes" ; then | 10682 if test "$need_motif" = "yes" ; then |
10825 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi | 10683 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi |
10826 | 10684 |
10827 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 | 10685 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 |
10828 echo "configure:10829: checking for layout_object_getvalue in -li18n" >&5 | 10686 echo "configure:10687: checking for layout_object_getvalue in -li18n" >&5 |
10829 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` | 10687 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` |
10830 | 10688 |
10831 xe_check_libs=" -li18n " | 10689 xe_check_libs=" -li18n " |
10832 cat > conftest.$ac_ext <<EOF | 10690 cat > conftest.$ac_ext <<EOF |
10833 #line 10834 "configure" | 10691 #line 10692 "configure" |
10834 #include "confdefs.h" | 10692 #include "confdefs.h" |
10835 /* Override any gcc2 internal prototype to avoid an error. */ | 10693 /* Override any gcc2 internal prototype to avoid an error. */ |
10836 /* We use char because int might match the return type of a gcc2 | 10694 /* We use char because int might match the return type of a gcc2 |
10837 builtin and then its argument prototype would still apply. */ | 10695 builtin and then its argument prototype would still apply. */ |
10838 char layout_object_getvalue(); | 10696 char layout_object_getvalue(); |
10839 | 10697 |
10840 int main() { | 10698 int main() { |
10841 layout_object_getvalue() | 10699 layout_object_getvalue() |
10842 ; return 0; } | 10700 ; return 0; } |
10843 EOF | 10701 EOF |
10844 if { (eval echo configure:10845: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10702 if { (eval echo configure:10703: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10845 rm -rf conftest* | 10703 rm -rf conftest* |
10846 eval "ac_cv_lib_$ac_lib_var=yes" | 10704 eval "ac_cv_lib_$ac_lib_var=yes" |
10847 else | 10705 else |
10848 echo "configure: failed program was:" >&5 | 10706 echo "configure: failed program was:" >&5 |
10849 cat conftest.$ac_ext >&5 | 10707 cat conftest.$ac_ext >&5 |
10922 fi | 10780 fi |
10923 fi | 10781 fi |
10924 | 10782 |
10925 fi | 10783 fi |
10926 | 10784 |
10927 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime getaddrinfo gethostname getnameinfo 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 stpcpy strerror tzset ulimit usleep waitpid vsnprintf fsync ftruncate umask | 10785 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime getaddrinfo gethostname getnameinfo getpagesize gettimeofday getcwd getwd link logb lrand48 matherr mkdir mktime perror poll random readlink rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask snprintf stpcpy strerror symlink tzset ulimit usleep waitpid vsnprintf fsync ftruncate umask |
10928 do | 10786 do |
10929 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 10787 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
10930 echo "configure:10931: checking for $ac_func" >&5 | 10788 echo "configure:10789: checking for $ac_func" >&5 |
10931 | 10789 |
10932 cat > conftest.$ac_ext <<EOF | 10790 cat > conftest.$ac_ext <<EOF |
10933 #line 10934 "configure" | 10791 #line 10792 "configure" |
10934 #include "confdefs.h" | 10792 #include "confdefs.h" |
10935 /* System header to define __stub macros and hopefully few prototypes, | 10793 /* System header to define __stub macros and hopefully few prototypes, |
10936 which can conflict with char $ac_func(); below. */ | 10794 which can conflict with char $ac_func(); below. */ |
10937 #include <assert.h> | 10795 #include <assert.h> |
10938 /* Override any gcc2 internal prototype to avoid an error. */ | 10796 /* Override any gcc2 internal prototype to avoid an error. */ |
10951 $ac_func(); | 10809 $ac_func(); |
10952 #endif | 10810 #endif |
10953 | 10811 |
10954 ; return 0; } | 10812 ; return 0; } |
10955 EOF | 10813 EOF |
10956 if { (eval echo configure:10957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10814 if { (eval echo configure:10815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10957 rm -rf conftest* | 10815 rm -rf conftest* |
10958 eval "ac_cv_func_$ac_func=yes" | 10816 eval "ac_cv_func_$ac_func=yes" |
10959 else | 10817 else |
10960 echo "configure: failed program was:" >&5 | 10818 echo "configure: failed program was:" >&5 |
10961 cat conftest.$ac_ext >&5 | 10819 cat conftest.$ac_ext >&5 |
10983 | 10841 |
10984 | 10842 |
10985 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp | 10843 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp |
10986 do | 10844 do |
10987 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 10845 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
10988 echo "configure:10989: checking for $ac_func" >&5 | 10846 echo "configure:10847: checking for $ac_func" >&5 |
10989 | 10847 |
10990 cat > conftest.$ac_ext <<EOF | 10848 cat > conftest.$ac_ext <<EOF |
10991 #line 10992 "configure" | 10849 #line 10850 "configure" |
10992 #include "confdefs.h" | 10850 #include "confdefs.h" |
10993 /* System header to define __stub macros and hopefully few prototypes, | 10851 /* System header to define __stub macros and hopefully few prototypes, |
10994 which can conflict with char $ac_func(); below. */ | 10852 which can conflict with char $ac_func(); below. */ |
10995 #include <assert.h> | 10853 #include <assert.h> |
10996 /* Override any gcc2 internal prototype to avoid an error. */ | 10854 /* Override any gcc2 internal prototype to avoid an error. */ |
11009 $ac_func(); | 10867 $ac_func(); |
11010 #endif | 10868 #endif |
11011 | 10869 |
11012 ; return 0; } | 10870 ; return 0; } |
11013 EOF | 10871 EOF |
11014 if { (eval echo configure:11015: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10872 if { (eval echo configure:10873: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11015 rm -rf conftest* | 10873 rm -rf conftest* |
11016 eval "ac_cv_func_$ac_func=yes" | 10874 eval "ac_cv_func_$ac_func=yes" |
11017 else | 10875 else |
11018 echo "configure: failed program was:" >&5 | 10876 echo "configure: failed program was:" >&5 |
11019 cat conftest.$ac_ext >&5 | 10877 cat conftest.$ac_ext >&5 |
11038 fi | 10896 fi |
11039 done | 10897 done |
11040 | 10898 |
11041 | 10899 |
11042 echo $ac_n "checking for openpty""... $ac_c" 1>&6 | 10900 echo $ac_n "checking for openpty""... $ac_c" 1>&6 |
11043 echo "configure:11044: checking for openpty" >&5 | 10901 echo "configure:10902: checking for openpty" >&5 |
11044 | 10902 |
11045 cat > conftest.$ac_ext <<EOF | 10903 cat > conftest.$ac_ext <<EOF |
11046 #line 11047 "configure" | 10904 #line 10905 "configure" |
11047 #include "confdefs.h" | 10905 #include "confdefs.h" |
11048 /* System header to define __stub macros and hopefully few prototypes, | 10906 /* System header to define __stub macros and hopefully few prototypes, |
11049 which can conflict with char openpty(); below. */ | 10907 which can conflict with char openpty(); below. */ |
11050 #include <assert.h> | 10908 #include <assert.h> |
11051 /* Override any gcc2 internal prototype to avoid an error. */ | 10909 /* Override any gcc2 internal prototype to avoid an error. */ |
11064 openpty(); | 10922 openpty(); |
11065 #endif | 10923 #endif |
11066 | 10924 |
11067 ; return 0; } | 10925 ; return 0; } |
11068 EOF | 10926 EOF |
11069 if { (eval echo configure:11070: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10927 if { (eval echo configure:10928: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11070 rm -rf conftest* | 10928 rm -rf conftest* |
11071 eval "ac_cv_func_openpty=yes" | 10929 eval "ac_cv_func_openpty=yes" |
11072 else | 10930 else |
11073 echo "configure: failed program was:" >&5 | 10931 echo "configure: failed program was:" >&5 |
11074 cat conftest.$ac_ext >&5 | 10932 cat conftest.$ac_ext >&5 |
11083 else | 10941 else |
11084 echo "$ac_t""no" 1>&6 | 10942 echo "$ac_t""no" 1>&6 |
11085 | 10943 |
11086 | 10944 |
11087 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 | 10945 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 |
11088 echo "configure:11089: checking for openpty in -lutil" >&5 | 10946 echo "configure:10947: checking for openpty in -lutil" >&5 |
11089 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` | 10947 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` |
11090 | 10948 |
11091 xe_check_libs=" -lutil " | 10949 xe_check_libs=" -lutil " |
11092 cat > conftest.$ac_ext <<EOF | 10950 cat > conftest.$ac_ext <<EOF |
11093 #line 11094 "configure" | 10951 #line 10952 "configure" |
11094 #include "confdefs.h" | 10952 #include "confdefs.h" |
11095 /* Override any gcc2 internal prototype to avoid an error. */ | 10953 /* Override any gcc2 internal prototype to avoid an error. */ |
11096 /* We use char because int might match the return type of a gcc2 | 10954 /* We use char because int might match the return type of a gcc2 |
11097 builtin and then its argument prototype would still apply. */ | 10955 builtin and then its argument prototype would still apply. */ |
11098 char openpty(); | 10956 char openpty(); |
11099 | 10957 |
11100 int main() { | 10958 int main() { |
11101 openpty() | 10959 openpty() |
11102 ; return 0; } | 10960 ; return 0; } |
11103 EOF | 10961 EOF |
11104 if { (eval echo configure:11105: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10962 if { (eval echo configure:10963: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11105 rm -rf conftest* | 10963 rm -rf conftest* |
11106 eval "ac_cv_lib_$ac_lib_var=yes" | 10964 eval "ac_cv_lib_$ac_lib_var=yes" |
11107 else | 10965 else |
11108 echo "configure: failed program was:" >&5 | 10966 echo "configure: failed program was:" >&5 |
11109 cat conftest.$ac_ext >&5 | 10967 cat conftest.$ac_ext >&5 |
11134 | 10992 |
11135 for ac_hdr in libutil.h util.h | 10993 for ac_hdr in libutil.h util.h |
11136 do | 10994 do |
11137 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 10995 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11138 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 10996 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11139 echo "configure:11140: checking for $ac_hdr" >&5 | 10997 echo "configure:10998: checking for $ac_hdr" >&5 |
11140 | 10998 |
11141 cat > conftest.$ac_ext <<EOF | 10999 cat > conftest.$ac_ext <<EOF |
11142 #line 11143 "configure" | 11000 #line 11001 "configure" |
11143 #include "confdefs.h" | 11001 #include "confdefs.h" |
11144 #include <$ac_hdr> | 11002 #include <$ac_hdr> |
11145 EOF | 11003 EOF |
11146 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11004 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11147 { (eval echo configure:11148: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11005 { (eval echo configure:11006: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11148 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11006 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11149 if test -z "$ac_err"; then | 11007 if test -z "$ac_err"; then |
11150 rm -rf conftest* | 11008 rm -rf conftest* |
11151 eval "ac_cv_header_$ac_safe=yes" | 11009 eval "ac_cv_header_$ac_safe=yes" |
11152 else | 11010 else |
11179 case "$opsys" in | 11037 case "$opsys" in |
11180 hpux*) for ac_hdr in sys/ptyio.h | 11038 hpux*) for ac_hdr in sys/ptyio.h |
11181 do | 11039 do |
11182 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11040 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11183 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11041 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11184 echo "configure:11185: checking for $ac_hdr" >&5 | 11042 echo "configure:11043: checking for $ac_hdr" >&5 |
11185 | 11043 |
11186 cat > conftest.$ac_ext <<EOF | 11044 cat > conftest.$ac_ext <<EOF |
11187 #line 11188 "configure" | 11045 #line 11046 "configure" |
11188 #include "confdefs.h" | 11046 #include "confdefs.h" |
11189 #include <$ac_hdr> | 11047 #include <$ac_hdr> |
11190 EOF | 11048 EOF |
11191 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11049 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11192 { (eval echo configure:11193: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11050 { (eval echo configure:11051: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11193 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11051 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11194 if test -z "$ac_err"; then | 11052 if test -z "$ac_err"; then |
11195 rm -rf conftest* | 11053 rm -rf conftest* |
11196 eval "ac_cv_header_$ac_safe=yes" | 11054 eval "ac_cv_header_$ac_safe=yes" |
11197 else | 11055 else |
11220 ;; | 11078 ;; |
11221 *) for ac_hdr in pty.h | 11079 *) for ac_hdr in pty.h |
11222 do | 11080 do |
11223 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11081 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11224 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11082 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11225 echo "configure:11226: checking for $ac_hdr" >&5 | 11083 echo "configure:11084: checking for $ac_hdr" >&5 |
11226 | 11084 |
11227 cat > conftest.$ac_ext <<EOF | 11085 cat > conftest.$ac_ext <<EOF |
11228 #line 11229 "configure" | 11086 #line 11087 "configure" |
11229 #include "confdefs.h" | 11087 #include "confdefs.h" |
11230 #include <$ac_hdr> | 11088 #include <$ac_hdr> |
11231 EOF | 11089 EOF |
11232 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11090 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11233 { (eval echo configure:11234: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11091 { (eval echo configure:11092: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11234 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11092 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11235 if test -z "$ac_err"; then | 11093 if test -z "$ac_err"; then |
11236 rm -rf conftest* | 11094 rm -rf conftest* |
11237 eval "ac_cv_header_$ac_safe=yes" | 11095 eval "ac_cv_header_$ac_safe=yes" |
11238 else | 11096 else |
11261 | 11119 |
11262 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h | 11120 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h |
11263 do | 11121 do |
11264 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11122 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11265 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11123 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11266 echo "configure:11267: checking for $ac_hdr" >&5 | 11124 echo "configure:11125: checking for $ac_hdr" >&5 |
11267 | 11125 |
11268 cat > conftest.$ac_ext <<EOF | 11126 cat > conftest.$ac_ext <<EOF |
11269 #line 11270 "configure" | 11127 #line 11128 "configure" |
11270 #include "confdefs.h" | 11128 #include "confdefs.h" |
11271 #include <$ac_hdr> | 11129 #include <$ac_hdr> |
11272 EOF | 11130 EOF |
11273 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11131 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11274 { (eval echo configure:11275: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11132 { (eval echo configure:11133: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11275 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11133 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11276 if test -z "$ac_err"; then | 11134 if test -z "$ac_err"; then |
11277 rm -rf conftest* | 11135 rm -rf conftest* |
11278 eval "ac_cv_header_$ac_safe=yes" | 11136 eval "ac_cv_header_$ac_safe=yes" |
11279 else | 11137 else |
11305 | 11163 |
11306 for ac_hdr in stropts.h | 11164 for ac_hdr in stropts.h |
11307 do | 11165 do |
11308 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11166 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11309 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11167 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11310 echo "configure:11311: checking for $ac_hdr" >&5 | 11168 echo "configure:11169: checking for $ac_hdr" >&5 |
11311 | 11169 |
11312 cat > conftest.$ac_ext <<EOF | 11170 cat > conftest.$ac_ext <<EOF |
11313 #line 11314 "configure" | 11171 #line 11172 "configure" |
11314 #include "confdefs.h" | 11172 #include "confdefs.h" |
11315 #include <$ac_hdr> | 11173 #include <$ac_hdr> |
11316 EOF | 11174 EOF |
11317 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11175 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11318 { (eval echo configure:11319: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11176 { (eval echo configure:11177: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11319 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11177 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11320 if test -z "$ac_err"; then | 11178 if test -z "$ac_err"; then |
11321 rm -rf conftest* | 11179 rm -rf conftest* |
11322 eval "ac_cv_header_$ac_safe=yes" | 11180 eval "ac_cv_header_$ac_safe=yes" |
11323 else | 11181 else |
11346 | 11204 |
11347 if test "$ac_cv_header_stropts_h" = "yes"; then | 11205 if test "$ac_cv_header_stropts_h" = "yes"; then |
11348 for ac_func in isastream | 11206 for ac_func in isastream |
11349 do | 11207 do |
11350 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11208 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11351 echo "configure:11352: checking for $ac_func" >&5 | 11209 echo "configure:11210: checking for $ac_func" >&5 |
11352 | 11210 |
11353 cat > conftest.$ac_ext <<EOF | 11211 cat > conftest.$ac_ext <<EOF |
11354 #line 11355 "configure" | 11212 #line 11213 "configure" |
11355 #include "confdefs.h" | 11213 #include "confdefs.h" |
11356 /* System header to define __stub macros and hopefully few prototypes, | 11214 /* System header to define __stub macros and hopefully few prototypes, |
11357 which can conflict with char $ac_func(); below. */ | 11215 which can conflict with char $ac_func(); below. */ |
11358 #include <assert.h> | 11216 #include <assert.h> |
11359 /* Override any gcc2 internal prototype to avoid an error. */ | 11217 /* Override any gcc2 internal prototype to avoid an error. */ |
11372 $ac_func(); | 11230 $ac_func(); |
11373 #endif | 11231 #endif |
11374 | 11232 |
11375 ; return 0; } | 11233 ; return 0; } |
11376 EOF | 11234 EOF |
11377 if { (eval echo configure:11378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11235 if { (eval echo configure:11236: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11378 rm -rf conftest* | 11236 rm -rf conftest* |
11379 eval "ac_cv_func_$ac_func=yes" | 11237 eval "ac_cv_func_$ac_func=yes" |
11380 else | 11238 else |
11381 echo "configure: failed program was:" >&5 | 11239 echo "configure: failed program was:" >&5 |
11382 cat conftest.$ac_ext >&5 | 11240 cat conftest.$ac_ext >&5 |
11403 | 11261 |
11404 for ac_hdr in strtio.h | 11262 for ac_hdr in strtio.h |
11405 do | 11263 do |
11406 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11264 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11407 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11265 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11408 echo "configure:11409: checking for $ac_hdr" >&5 | 11266 echo "configure:11267: checking for $ac_hdr" >&5 |
11409 | 11267 |
11410 cat > conftest.$ac_ext <<EOF | 11268 cat > conftest.$ac_ext <<EOF |
11411 #line 11412 "configure" | 11269 #line 11270 "configure" |
11412 #include "confdefs.h" | 11270 #include "confdefs.h" |
11413 #include <$ac_hdr> | 11271 #include <$ac_hdr> |
11414 EOF | 11272 EOF |
11415 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11273 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11416 { (eval echo configure:11417: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11274 { (eval echo configure:11275: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11417 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11275 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11418 if test -z "$ac_err"; then | 11276 if test -z "$ac_err"; then |
11419 rm -rf conftest* | 11277 rm -rf conftest* |
11420 eval "ac_cv_header_$ac_safe=yes" | 11278 eval "ac_cv_header_$ac_safe=yes" |
11421 else | 11279 else |
11441 echo "$ac_t""no" 1>&6 | 11299 echo "$ac_t""no" 1>&6 |
11442 fi | 11300 fi |
11443 done | 11301 done |
11444 fi | 11302 fi |
11445 | 11303 |
11446 extra_objs="$extra_objs realpath.o" && if test "$extra_verbose" = "yes"; then | |
11447 echo " xemacs will be linked with \"realpath.o\"" | |
11448 fi | |
11449 | |
11450 for ac_func in getloadavg | 11304 for ac_func in getloadavg |
11451 do | 11305 do |
11452 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11306 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11453 echo "configure:11454: checking for $ac_func" >&5 | 11307 echo "configure:11308: checking for $ac_func" >&5 |
11454 | 11308 |
11455 cat > conftest.$ac_ext <<EOF | 11309 cat > conftest.$ac_ext <<EOF |
11456 #line 11457 "configure" | 11310 #line 11311 "configure" |
11457 #include "confdefs.h" | 11311 #include "confdefs.h" |
11458 /* System header to define __stub macros and hopefully few prototypes, | 11312 /* System header to define __stub macros and hopefully few prototypes, |
11459 which can conflict with char $ac_func(); below. */ | 11313 which can conflict with char $ac_func(); below. */ |
11460 #include <assert.h> | 11314 #include <assert.h> |
11461 /* Override any gcc2 internal prototype to avoid an error. */ | 11315 /* Override any gcc2 internal prototype to avoid an error. */ |
11474 $ac_func(); | 11328 $ac_func(); |
11475 #endif | 11329 #endif |
11476 | 11330 |
11477 ; return 0; } | 11331 ; return 0; } |
11478 EOF | 11332 EOF |
11479 if { (eval echo configure:11480: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11333 if { (eval echo configure:11334: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11480 rm -rf conftest* | 11334 rm -rf conftest* |
11481 eval "ac_cv_func_$ac_func=yes" | 11335 eval "ac_cv_func_$ac_func=yes" |
11482 else | 11336 else |
11483 echo "configure: failed program was:" >&5 | 11337 echo "configure: failed program was:" >&5 |
11484 cat conftest.$ac_ext >&5 | 11338 cat conftest.$ac_ext >&5 |
11507 if test "$ac_cv_func_getloadavg" = "yes"; then | 11361 if test "$ac_cv_func_getloadavg" = "yes"; then |
11508 for ac_hdr in sys/loadavg.h | 11362 for ac_hdr in sys/loadavg.h |
11509 do | 11363 do |
11510 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11364 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11511 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11365 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11512 echo "configure:11513: checking for $ac_hdr" >&5 | 11366 echo "configure:11367: checking for $ac_hdr" >&5 |
11513 | 11367 |
11514 cat > conftest.$ac_ext <<EOF | 11368 cat > conftest.$ac_ext <<EOF |
11515 #line 11516 "configure" | 11369 #line 11370 "configure" |
11516 #include "confdefs.h" | 11370 #include "confdefs.h" |
11517 #include <$ac_hdr> | 11371 #include <$ac_hdr> |
11518 EOF | 11372 EOF |
11519 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11373 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11520 { (eval echo configure:11521: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11374 { (eval echo configure:11375: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11521 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11375 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11522 if test -z "$ac_err"; then | 11376 if test -z "$ac_err"; then |
11523 rm -rf conftest* | 11377 rm -rf conftest* |
11524 eval "ac_cv_header_$ac_safe=yes" | 11378 eval "ac_cv_header_$ac_safe=yes" |
11525 else | 11379 else |
11551 echo " xemacs will be linked with \"getloadavg.o\"" | 11405 echo " xemacs will be linked with \"getloadavg.o\"" |
11552 fi | 11406 fi |
11553 | 11407 |
11554 | 11408 |
11555 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 | 11409 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 |
11556 echo "configure:11557: checking for kstat_open in -lkstat" >&5 | 11410 echo "configure:11411: checking for kstat_open in -lkstat" >&5 |
11557 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` | 11411 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` |
11558 | 11412 |
11559 xe_check_libs=" -lkstat " | 11413 xe_check_libs=" -lkstat " |
11560 cat > conftest.$ac_ext <<EOF | 11414 cat > conftest.$ac_ext <<EOF |
11561 #line 11562 "configure" | 11415 #line 11416 "configure" |
11562 #include "confdefs.h" | 11416 #include "confdefs.h" |
11563 /* Override any gcc2 internal prototype to avoid an error. */ | 11417 /* Override any gcc2 internal prototype to avoid an error. */ |
11564 /* We use char because int might match the return type of a gcc2 | 11418 /* We use char because int might match the return type of a gcc2 |
11565 builtin and then its argument prototype would still apply. */ | 11419 builtin and then its argument prototype would still apply. */ |
11566 char kstat_open(); | 11420 char kstat_open(); |
11567 | 11421 |
11568 int main() { | 11422 int main() { |
11569 kstat_open() | 11423 kstat_open() |
11570 ; return 0; } | 11424 ; return 0; } |
11571 EOF | 11425 EOF |
11572 if { (eval echo configure:11573: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11426 if { (eval echo configure:11427: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11573 rm -rf conftest* | 11427 rm -rf conftest* |
11574 eval "ac_cv_lib_$ac_lib_var=yes" | 11428 eval "ac_cv_lib_$ac_lib_var=yes" |
11575 else | 11429 else |
11576 echo "configure: failed program was:" >&5 | 11430 echo "configure: failed program was:" >&5 |
11577 cat conftest.$ac_ext >&5 | 11431 cat conftest.$ac_ext >&5 |
11602 | 11456 |
11603 for ac_hdr in kstat.h | 11457 for ac_hdr in kstat.h |
11604 do | 11458 do |
11605 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11459 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11606 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11460 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11607 echo "configure:11608: checking for $ac_hdr" >&5 | 11461 echo "configure:11462: checking for $ac_hdr" >&5 |
11608 | 11462 |
11609 cat > conftest.$ac_ext <<EOF | 11463 cat > conftest.$ac_ext <<EOF |
11610 #line 11611 "configure" | 11464 #line 11465 "configure" |
11611 #include "confdefs.h" | 11465 #include "confdefs.h" |
11612 #include <$ac_hdr> | 11466 #include <$ac_hdr> |
11613 EOF | 11467 EOF |
11614 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11468 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11615 { (eval echo configure:11616: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11469 { (eval echo configure:11470: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11616 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11470 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11617 if test -z "$ac_err"; then | 11471 if test -z "$ac_err"; then |
11618 rm -rf conftest* | 11472 rm -rf conftest* |
11619 eval "ac_cv_header_$ac_safe=yes" | 11473 eval "ac_cv_header_$ac_safe=yes" |
11620 else | 11474 else |
11642 done | 11496 done |
11643 | 11497 |
11644 | 11498 |
11645 | 11499 |
11646 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 | 11500 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 |
11647 echo "configure:11648: checking for kvm_read in -lkvm" >&5 | 11501 echo "configure:11502: checking for kvm_read in -lkvm" >&5 |
11648 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` | 11502 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` |
11649 | 11503 |
11650 xe_check_libs=" -lkvm " | 11504 xe_check_libs=" -lkvm " |
11651 cat > conftest.$ac_ext <<EOF | 11505 cat > conftest.$ac_ext <<EOF |
11652 #line 11653 "configure" | 11506 #line 11507 "configure" |
11653 #include "confdefs.h" | 11507 #include "confdefs.h" |
11654 /* Override any gcc2 internal prototype to avoid an error. */ | 11508 /* Override any gcc2 internal prototype to avoid an error. */ |
11655 /* We use char because int might match the return type of a gcc2 | 11509 /* We use char because int might match the return type of a gcc2 |
11656 builtin and then its argument prototype would still apply. */ | 11510 builtin and then its argument prototype would still apply. */ |
11657 char kvm_read(); | 11511 char kvm_read(); |
11658 | 11512 |
11659 int main() { | 11513 int main() { |
11660 kvm_read() | 11514 kvm_read() |
11661 ; return 0; } | 11515 ; return 0; } |
11662 EOF | 11516 EOF |
11663 if { (eval echo configure:11664: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11517 if { (eval echo configure:11518: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11664 rm -rf conftest* | 11518 rm -rf conftest* |
11665 eval "ac_cv_lib_$ac_lib_var=yes" | 11519 eval "ac_cv_lib_$ac_lib_var=yes" |
11666 else | 11520 else |
11667 echo "configure: failed program was:" >&5 | 11521 echo "configure: failed program was:" >&5 |
11668 cat conftest.$ac_ext >&5 | 11522 cat conftest.$ac_ext >&5 |
11692 | 11546 |
11693 | 11547 |
11694 fi | 11548 fi |
11695 | 11549 |
11696 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 11550 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
11697 echo "configure:11698: checking whether netdb declares h_errno" >&5 | 11551 echo "configure:11552: checking whether netdb declares h_errno" >&5 |
11698 cat > conftest.$ac_ext <<EOF | 11552 cat > conftest.$ac_ext <<EOF |
11699 #line 11700 "configure" | 11553 #line 11554 "configure" |
11700 #include "confdefs.h" | 11554 #include "confdefs.h" |
11701 #include <netdb.h> | 11555 #include <netdb.h> |
11702 int main() { | 11556 int main() { |
11703 return h_errno; | 11557 return h_errno; |
11704 ; return 0; } | 11558 ; return 0; } |
11705 EOF | 11559 EOF |
11706 if { (eval echo configure:11707: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11560 if { (eval echo configure:11561: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11707 rm -rf conftest* | 11561 rm -rf conftest* |
11708 echo "$ac_t""yes" 1>&6 | 11562 echo "$ac_t""yes" 1>&6 |
11709 { test "$extra_verbose" = "yes" && cat << \EOF | 11563 { test "$extra_verbose" = "yes" && cat << \EOF |
11710 Defining HAVE_H_ERRNO | 11564 Defining HAVE_H_ERRNO |
11711 EOF | 11565 EOF |
11721 echo "$ac_t""no" 1>&6 | 11575 echo "$ac_t""no" 1>&6 |
11722 fi | 11576 fi |
11723 rm -f conftest* | 11577 rm -f conftest* |
11724 | 11578 |
11725 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 | 11579 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 |
11726 echo "configure:11727: checking for sigsetjmp" >&5 | 11580 echo "configure:11581: checking for sigsetjmp" >&5 |
11727 cat > conftest.$ac_ext <<EOF | 11581 cat > conftest.$ac_ext <<EOF |
11728 #line 11729 "configure" | 11582 #line 11583 "configure" |
11729 #include "confdefs.h" | 11583 #include "confdefs.h" |
11730 #include <setjmp.h> | 11584 #include <setjmp.h> |
11731 int main() { | 11585 int main() { |
11732 sigjmp_buf bar; sigsetjmp (bar, 0); | 11586 sigjmp_buf bar; sigsetjmp (bar, 0); |
11733 ; return 0; } | 11587 ; return 0; } |
11734 EOF | 11588 EOF |
11735 if { (eval echo configure:11736: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 11589 if { (eval echo configure:11590: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
11736 rm -rf conftest* | 11590 rm -rf conftest* |
11737 echo "$ac_t""yes" 1>&6 | 11591 echo "$ac_t""yes" 1>&6 |
11738 { test "$extra_verbose" = "yes" && cat << \EOF | 11592 { test "$extra_verbose" = "yes" && cat << \EOF |
11739 Defining HAVE_SIGSETJMP | 11593 Defining HAVE_SIGSETJMP |
11740 EOF | 11594 EOF |
11750 echo "$ac_t""no" 1>&6 | 11604 echo "$ac_t""no" 1>&6 |
11751 fi | 11605 fi |
11752 rm -f conftest* | 11606 rm -f conftest* |
11753 | 11607 |
11754 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 11608 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
11755 echo "configure:11756: checking whether localtime caches TZ" >&5 | 11609 echo "configure:11610: checking whether localtime caches TZ" >&5 |
11756 | 11610 |
11757 if test "$ac_cv_func_tzset" = "yes"; then | 11611 if test "$ac_cv_func_tzset" = "yes"; then |
11758 cat > conftest.$ac_ext <<EOF | 11612 cat > conftest.$ac_ext <<EOF |
11759 #line 11760 "configure" | 11613 #line 11614 "configure" |
11760 #include "confdefs.h" | 11614 #include "confdefs.h" |
11761 #include <time.h> | 11615 #include <time.h> |
11762 #if STDC_HEADERS | 11616 #if STDC_HEADERS |
11763 # include <stdlib.h> | 11617 # include <stdlib.h> |
11764 #endif | 11618 #endif |
11789 if (localtime (&now)->tm_hour != hour_unset) | 11643 if (localtime (&now)->tm_hour != hour_unset) |
11790 exit (1); | 11644 exit (1); |
11791 exit (0); | 11645 exit (0); |
11792 } | 11646 } |
11793 EOF | 11647 EOF |
11794 if { (eval echo configure:11795: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 11648 if { (eval echo configure:11649: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
11795 then | 11649 then |
11796 emacs_cv_localtime_cache=no | 11650 emacs_cv_localtime_cache=no |
11797 else | 11651 else |
11798 conftest_rc="$?" | 11652 conftest_rc="$?" |
11799 echo "configure: failed program was:" >&5 | 11653 echo "configure: failed program was:" >&5 |
11819 | 11673 |
11820 fi | 11674 fi |
11821 | 11675 |
11822 if test "$HAVE_TIMEVAL" = "yes"; then | 11676 if test "$HAVE_TIMEVAL" = "yes"; then |
11823 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 | 11677 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 |
11824 echo "configure:11825: checking whether gettimeofday accepts one or two arguments" >&5 | 11678 echo "configure:11679: checking whether gettimeofday accepts one or two arguments" >&5 |
11825 cat > conftest.$ac_ext <<EOF | 11679 cat > conftest.$ac_ext <<EOF |
11826 #line 11827 "configure" | 11680 #line 11681 "configure" |
11827 #include "confdefs.h" | 11681 #include "confdefs.h" |
11828 | 11682 |
11829 #ifdef TIME_WITH_SYS_TIME | 11683 #ifdef TIME_WITH_SYS_TIME |
11830 #include <sys/time.h> | 11684 #include <sys/time.h> |
11831 #include <time.h> | 11685 #include <time.h> |
11842 struct timeval time; | 11696 struct timeval time; |
11843 gettimeofday (&time, 0); | 11697 gettimeofday (&time, 0); |
11844 | 11698 |
11845 ; return 0; } | 11699 ; return 0; } |
11846 EOF | 11700 EOF |
11847 if { (eval echo configure:11848: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11701 if { (eval echo configure:11702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11848 rm -rf conftest* | 11702 rm -rf conftest* |
11849 echo "$ac_t""two" 1>&6 | 11703 echo "$ac_t""two" 1>&6 |
11850 else | 11704 else |
11851 echo "configure: failed program was:" >&5 | 11705 echo "configure: failed program was:" >&5 |
11852 cat conftest.$ac_ext >&5 | 11706 cat conftest.$ac_ext >&5 |
11864 rm -f conftest* | 11718 rm -f conftest* |
11865 fi | 11719 fi |
11866 | 11720 |
11867 | 11721 |
11868 echo $ac_n "checking for inline""... $ac_c" 1>&6 | 11722 echo $ac_n "checking for inline""... $ac_c" 1>&6 |
11869 echo "configure:11870: checking for inline" >&5 | 11723 echo "configure:11724: checking for inline" >&5 |
11870 | 11724 |
11871 ac_cv_c_inline=no | 11725 ac_cv_c_inline=no |
11872 for ac_kw in inline __inline__ __inline; do | 11726 for ac_kw in inline __inline__ __inline; do |
11873 cat > conftest.$ac_ext <<EOF | 11727 cat > conftest.$ac_ext <<EOF |
11874 #line 11875 "configure" | 11728 #line 11729 "configure" |
11875 #include "confdefs.h" | 11729 #include "confdefs.h" |
11876 | 11730 |
11877 int main() { | 11731 int main() { |
11878 } $ac_kw foo() { | 11732 } $ac_kw foo() { |
11879 ; return 0; } | 11733 ; return 0; } |
11880 EOF | 11734 EOF |
11881 if { (eval echo configure:11882: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 11735 if { (eval echo configure:11736: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
11882 rm -rf conftest* | 11736 rm -rf conftest* |
11883 ac_cv_c_inline=$ac_kw; break | 11737 ac_cv_c_inline=$ac_kw; break |
11884 else | 11738 else |
11885 echo "configure: failed program was:" >&5 | 11739 echo "configure: failed program was:" >&5 |
11886 cat conftest.$ac_ext >&5 | 11740 cat conftest.$ac_ext >&5 |
11917 | 11771 |
11918 if test "$__DECC" != "yes"; then | 11772 if test "$__DECC" != "yes"; then |
11919 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 11773 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
11920 # for constant arguments. Useless! | 11774 # for constant arguments. Useless! |
11921 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 11775 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
11922 echo "configure:11923: checking for working alloca.h" >&5 | 11776 echo "configure:11777: checking for working alloca.h" >&5 |
11923 | 11777 |
11924 cat > conftest.$ac_ext <<EOF | 11778 cat > conftest.$ac_ext <<EOF |
11925 #line 11926 "configure" | 11779 #line 11780 "configure" |
11926 #include "confdefs.h" | 11780 #include "confdefs.h" |
11927 #include <alloca.h> | 11781 #include <alloca.h> |
11928 int main() { | 11782 int main() { |
11929 char *p = alloca(2 * sizeof(int)); | 11783 char *p = alloca(2 * sizeof(int)); |
11930 ; return 0; } | 11784 ; return 0; } |
11931 EOF | 11785 EOF |
11932 if { (eval echo configure:11933: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11786 if { (eval echo configure:11787: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11933 rm -rf conftest* | 11787 rm -rf conftest* |
11934 ac_cv_header_alloca_h=yes | 11788 ac_cv_header_alloca_h=yes |
11935 else | 11789 else |
11936 echo "configure: failed program was:" >&5 | 11790 echo "configure: failed program was:" >&5 |
11937 cat conftest.$ac_ext >&5 | 11791 cat conftest.$ac_ext >&5 |
11951 } | 11805 } |
11952 | 11806 |
11953 fi | 11807 fi |
11954 | 11808 |
11955 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 11809 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
11956 echo "configure:11957: checking for alloca" >&5 | 11810 echo "configure:11811: checking for alloca" >&5 |
11957 | 11811 |
11958 cat > conftest.$ac_ext <<EOF | 11812 cat > conftest.$ac_ext <<EOF |
11959 #line 11960 "configure" | 11813 #line 11814 "configure" |
11960 #include "confdefs.h" | 11814 #include "confdefs.h" |
11961 | 11815 |
11962 #ifdef __GNUC__ | 11816 #ifdef __GNUC__ |
11963 # define alloca __builtin_alloca | 11817 # define alloca __builtin_alloca |
11964 #else | 11818 #else |
11982 | 11836 |
11983 int main() { | 11837 int main() { |
11984 char *p = (char *) alloca(1); | 11838 char *p = (char *) alloca(1); |
11985 ; return 0; } | 11839 ; return 0; } |
11986 EOF | 11840 EOF |
11987 if { (eval echo configure:11988: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11841 if { (eval echo configure:11842: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11988 rm -rf conftest* | 11842 rm -rf conftest* |
11989 ac_cv_func_alloca_works=yes | 11843 ac_cv_func_alloca_works=yes |
11990 else | 11844 else |
11991 echo "configure: failed program was:" >&5 | 11845 echo "configure: failed program was:" >&5 |
11992 cat conftest.$ac_ext >&5 | 11846 cat conftest.$ac_ext >&5 |
12021 EOF | 11875 EOF |
12022 } | 11876 } |
12023 | 11877 |
12024 | 11878 |
12025 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 11879 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
12026 echo "configure:12027: checking whether alloca needs Cray hooks" >&5 | 11880 echo "configure:11881: checking whether alloca needs Cray hooks" >&5 |
12027 | 11881 |
12028 cat > conftest.$ac_ext <<EOF | 11882 cat > conftest.$ac_ext <<EOF |
12029 #line 12030 "configure" | 11883 #line 11884 "configure" |
12030 #include "confdefs.h" | 11884 #include "confdefs.h" |
12031 #if defined(CRAY) && ! defined(CRAY2) | 11885 #if defined(CRAY) && ! defined(CRAY2) |
12032 webecray | 11886 webecray |
12033 #else | 11887 #else |
12034 wenotbecray | 11888 wenotbecray |
12048 | 11902 |
12049 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 11903 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
12050 if test $ac_cv_os_cray = yes; then | 11904 if test $ac_cv_os_cray = yes; then |
12051 for ac_func in _getb67 GETB67 getb67; do | 11905 for ac_func in _getb67 GETB67 getb67; do |
12052 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11906 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
12053 echo "configure:12054: checking for $ac_func" >&5 | 11907 echo "configure:11908: checking for $ac_func" >&5 |
12054 | 11908 |
12055 cat > conftest.$ac_ext <<EOF | 11909 cat > conftest.$ac_ext <<EOF |
12056 #line 12057 "configure" | 11910 #line 11911 "configure" |
12057 #include "confdefs.h" | 11911 #include "confdefs.h" |
12058 /* System header to define __stub macros and hopefully few prototypes, | 11912 /* System header to define __stub macros and hopefully few prototypes, |
12059 which can conflict with char $ac_func(); below. */ | 11913 which can conflict with char $ac_func(); below. */ |
12060 #include <assert.h> | 11914 #include <assert.h> |
12061 /* Override any gcc2 internal prototype to avoid an error. */ | 11915 /* Override any gcc2 internal prototype to avoid an error. */ |
12074 $ac_func(); | 11928 $ac_func(); |
12075 #endif | 11929 #endif |
12076 | 11930 |
12077 ; return 0; } | 11931 ; return 0; } |
12078 EOF | 11932 EOF |
12079 if { (eval echo configure:12080: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11933 if { (eval echo configure:11934: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12080 rm -rf conftest* | 11934 rm -rf conftest* |
12081 eval "ac_cv_func_$ac_func=yes" | 11935 eval "ac_cv_func_$ac_func=yes" |
12082 else | 11936 else |
12083 echo "configure: failed program was:" >&5 | 11937 echo "configure: failed program was:" >&5 |
12084 cat conftest.$ac_ext >&5 | 11938 cat conftest.$ac_ext >&5 |
12104 | 11958 |
12105 done | 11959 done |
12106 fi | 11960 fi |
12107 | 11961 |
12108 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 11962 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
12109 echo "configure:12110: checking stack direction for C alloca" >&5 | 11963 echo "configure:11964: checking stack direction for C alloca" >&5 |
12110 | 11964 |
12111 cat > conftest.$ac_ext <<EOF | 11965 cat > conftest.$ac_ext <<EOF |
12112 #line 12113 "configure" | 11966 #line 11967 "configure" |
12113 #include "confdefs.h" | 11967 #include "confdefs.h" |
12114 find_stack_direction () | 11968 find_stack_direction () |
12115 { | 11969 { |
12116 static char *addr = 0; | 11970 static char *addr = 0; |
12117 auto char dummy; | 11971 auto char dummy; |
12126 main () | 11980 main () |
12127 { | 11981 { |
12128 exit (find_stack_direction() < 0); | 11982 exit (find_stack_direction() < 0); |
12129 } | 11983 } |
12130 EOF | 11984 EOF |
12131 if { (eval echo configure:12132: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 11985 if { (eval echo configure:11986: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12132 then | 11986 then |
12133 ac_cv_c_stack_direction=1 | 11987 ac_cv_c_stack_direction=1 |
12134 else | 11988 else |
12135 conftest_rc="$?" | 11989 conftest_rc="$?" |
12136 echo "configure: failed program was:" >&5 | 11990 echo "configure: failed program was:" >&5 |
12154 test -n "$ALLOCA" && extra_objs="$extra_objs $ALLOCA" && if test "$extra_verbose" = "yes"; then | 12008 test -n "$ALLOCA" && extra_objs="$extra_objs $ALLOCA" && if test "$extra_verbose" = "yes"; then |
12155 echo " xemacs will be linked with \"$ALLOCA\"" | 12009 echo " xemacs will be linked with \"$ALLOCA\"" |
12156 fi | 12010 fi |
12157 fi | 12011 fi |
12158 | 12012 |
12159 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` | |
12160 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 | |
12161 echo "configure:12162: checking for vfork.h" >&5 | |
12162 | |
12163 cat > conftest.$ac_ext <<EOF | |
12164 #line 12165 "configure" | |
12165 #include "confdefs.h" | |
12166 #include <vfork.h> | |
12167 EOF | |
12168 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
12169 { (eval echo configure:12170: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | |
12170 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | |
12171 if test -z "$ac_err"; then | |
12172 rm -rf conftest* | |
12173 eval "ac_cv_header_$ac_safe=yes" | |
12174 else | |
12175 echo "$ac_err" >&5 | |
12176 echo "configure: failed program was:" >&5 | |
12177 cat conftest.$ac_ext >&5 | |
12178 rm -rf conftest* | |
12179 eval "ac_cv_header_$ac_safe=no" | |
12180 fi | |
12181 rm -f conftest* | |
12182 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | |
12183 echo "$ac_t""yes" 1>&6 | |
12184 { test "$extra_verbose" = "yes" && cat << \EOF | |
12185 Defining HAVE_VFORK_H | |
12186 EOF | |
12187 cat >> confdefs.h <<\EOF | |
12188 #define HAVE_VFORK_H 1 | |
12189 EOF | |
12190 } | |
12191 | |
12192 else | |
12193 echo "$ac_t""no" 1>&6 | |
12194 fi | |
12195 | |
12196 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 | |
12197 echo "configure:12198: checking for working vfork" >&5 | |
12198 | |
12199 cat > conftest.$ac_ext <<EOF | |
12200 #line 12201 "configure" | |
12201 #include "confdefs.h" | |
12202 /* Thanks to Paul Eggert for this test. */ | |
12203 #include <stdio.h> | |
12204 #include <sys/types.h> | |
12205 #include <sys/stat.h> | |
12206 #ifdef HAVE_UNISTD_H | |
12207 #include <unistd.h> | |
12208 #endif | |
12209 #ifdef HAVE_VFORK_H | |
12210 #include <vfork.h> | |
12211 #endif | |
12212 /* On some sparc systems, changes by the child to local and incoming | |
12213 argument registers are propagated back to the parent. | |
12214 The compiler is told about this with #include <vfork.h>, | |
12215 but some compilers (e.g. gcc -O) don't grok <vfork.h>. | |
12216 Test for this by using a static variable whose address | |
12217 is put into a register that is clobbered by the vfork. */ | |
12218 static | |
12219 #ifdef __cplusplus | |
12220 sparc_address_test (int arg) | |
12221 #else | |
12222 sparc_address_test (arg) int arg; | |
12223 #endif | |
12224 { | |
12225 static pid_t child; | |
12226 if (!child) { | |
12227 child = vfork (); | |
12228 if (child < 0) { | |
12229 perror ("vfork"); | |
12230 _exit(2); | |
12231 } | |
12232 if (!child) { | |
12233 arg = getpid(); | |
12234 write(-1, "", 0); | |
12235 _exit (arg); | |
12236 } | |
12237 } | |
12238 } | |
12239 main() { | |
12240 pid_t parent = getpid (); | |
12241 pid_t child; | |
12242 | |
12243 sparc_address_test (); | |
12244 | |
12245 child = vfork (); | |
12246 | |
12247 if (child == 0) { | |
12248 /* Here is another test for sparc vfork register problems. | |
12249 This test uses lots of local variables, at least | |
12250 as many local variables as main has allocated so far | |
12251 including compiler temporaries. 4 locals are enough for | |
12252 gcc 1.40.3 on a Solaris 4.1.3 sparc, but we use 8 to be safe. | |
12253 A buggy compiler should reuse the register of parent | |
12254 for one of the local variables, since it will think that | |
12255 parent can't possibly be used any more in this routine. | |
12256 Assigning to the local variable will thus munge parent | |
12257 in the parent process. */ | |
12258 pid_t | |
12259 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(), | |
12260 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid(); | |
12261 /* Convince the compiler that p..p7 are live; otherwise, it might | |
12262 use the same hardware register for all 8 local variables. */ | |
12263 if (p != p1 || p != p2 || p != p3 || p != p4 | |
12264 || p != p5 || p != p6 || p != p7) | |
12265 _exit(1); | |
12266 | |
12267 /* On some systems (e.g. IRIX 3.3), | |
12268 vfork doesn't separate parent from child file descriptors. | |
12269 If the child closes a descriptor before it execs or exits, | |
12270 this munges the parent's descriptor as well. | |
12271 Test for this by closing stdout in the child. */ | |
12272 _exit(close(fileno(stdout)) != 0); | |
12273 } else { | |
12274 int status; | |
12275 struct stat st; | |
12276 | |
12277 while (wait(&status) != child) | |
12278 ; | |
12279 exit( | |
12280 /* Was there some problem with vforking? */ | |
12281 child < 0 | |
12282 | |
12283 /* Did the child fail? (This shouldn't happen.) */ | |
12284 || status | |
12285 | |
12286 /* Did the vfork/compiler bug occur? */ | |
12287 || parent != getpid() | |
12288 | |
12289 /* Did the file descriptor bug occur? */ | |
12290 || fstat(fileno(stdout), &st) != 0 | |
12291 ); | |
12292 } | |
12293 } | |
12294 EOF | |
12295 if { (eval echo configure:12296: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | |
12296 then | |
12297 ac_cv_func_vfork_works=yes | |
12298 else | |
12299 conftest_rc="$?" | |
12300 echo "configure: failed program was:" >&5 | |
12301 cat conftest.$ac_ext >&5 | |
12302 rm -fr conftest* | |
12303 ac_cv_func_vfork_works=no | |
12304 fi | |
12305 rm -fr conftest* | |
12306 | |
12307 echo "$ac_t""$ac_cv_func_vfork_works" 1>&6 | |
12308 if test $ac_cv_func_vfork_works = no; then | |
12309 { test "$extra_verbose" = "yes" && cat << \EOF | |
12310 Defining vfork = fork | |
12311 EOF | |
12312 cat >> confdefs.h <<\EOF | |
12313 #define vfork fork | |
12314 EOF | |
12315 } | |
12316 | |
12317 fi | |
12318 | |
12319 | |
12320 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 | 12013 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 |
12321 echo "configure:12322: checking for working strcoll" >&5 | 12014 echo "configure:12015: checking for working strcoll" >&5 |
12322 | 12015 |
12323 cat > conftest.$ac_ext <<EOF | 12016 cat > conftest.$ac_ext <<EOF |
12324 #line 12325 "configure" | 12017 #line 12018 "configure" |
12325 #include "confdefs.h" | 12018 #include "confdefs.h" |
12326 #include <string.h> | 12019 #include <string.h> |
12327 main () | 12020 main () |
12328 { | 12021 { |
12329 exit (strcoll ("abc", "def") >= 0 || | 12022 exit (strcoll ("abc", "def") >= 0 || |
12330 strcoll ("ABC", "DEF") >= 0 || | 12023 strcoll ("ABC", "DEF") >= 0 || |
12331 strcoll ("123", "456") >= 0); | 12024 strcoll ("123", "456") >= 0); |
12332 } | 12025 } |
12333 EOF | 12026 EOF |
12334 if { (eval echo configure:12335: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12027 if { (eval echo configure:12028: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12335 then | 12028 then |
12336 ac_cv_func_strcoll_works=yes | 12029 ac_cv_func_strcoll_works=yes |
12337 else | 12030 else |
12338 conftest_rc="$?" | 12031 conftest_rc="$?" |
12339 echo "configure: failed program was:" >&5 | 12032 echo "configure: failed program was:" >&5 |
12357 | 12050 |
12358 | 12051 |
12359 for ac_func in getpgrp | 12052 for ac_func in getpgrp |
12360 do | 12053 do |
12361 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12054 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
12362 echo "configure:12363: checking for $ac_func" >&5 | 12055 echo "configure:12056: checking for $ac_func" >&5 |
12363 | 12056 |
12364 cat > conftest.$ac_ext <<EOF | 12057 cat > conftest.$ac_ext <<EOF |
12365 #line 12366 "configure" | 12058 #line 12059 "configure" |
12366 #include "confdefs.h" | 12059 #include "confdefs.h" |
12367 /* System header to define __stub macros and hopefully few prototypes, | 12060 /* System header to define __stub macros and hopefully few prototypes, |
12368 which can conflict with char $ac_func(); below. */ | 12061 which can conflict with char $ac_func(); below. */ |
12369 #include <assert.h> | 12062 #include <assert.h> |
12370 /* Override any gcc2 internal prototype to avoid an error. */ | 12063 /* Override any gcc2 internal prototype to avoid an error. */ |
12383 $ac_func(); | 12076 $ac_func(); |
12384 #endif | 12077 #endif |
12385 | 12078 |
12386 ; return 0; } | 12079 ; return 0; } |
12387 EOF | 12080 EOF |
12388 if { (eval echo configure:12389: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12081 if { (eval echo configure:12082: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12389 rm -rf conftest* | 12082 rm -rf conftest* |
12390 eval "ac_cv_func_$ac_func=yes" | 12083 eval "ac_cv_func_$ac_func=yes" |
12391 else | 12084 else |
12392 echo "configure: failed program was:" >&5 | 12085 echo "configure: failed program was:" >&5 |
12393 cat conftest.$ac_ext >&5 | 12086 cat conftest.$ac_ext >&5 |
12411 echo "$ac_t""no" 1>&6 | 12104 echo "$ac_t""no" 1>&6 |
12412 fi | 12105 fi |
12413 done | 12106 done |
12414 | 12107 |
12415 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 | 12108 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 |
12416 echo "configure:12417: checking whether getpgrp takes no argument" >&5 | 12109 echo "configure:12110: checking whether getpgrp takes no argument" >&5 |
12417 | 12110 |
12418 cat > conftest.$ac_ext <<EOF | 12111 cat > conftest.$ac_ext <<EOF |
12419 #line 12420 "configure" | 12112 #line 12113 "configure" |
12420 #include "confdefs.h" | 12113 #include "confdefs.h" |
12421 | 12114 |
12422 /* | 12115 /* |
12423 * If this system has a BSD-style getpgrp(), | 12116 * If this system has a BSD-style getpgrp(), |
12424 * which takes a pid argument, exit unsuccessfully. | 12117 * which takes a pid argument, exit unsuccessfully. |
12469 exit(s>>8); | 12162 exit(s>>8); |
12470 } | 12163 } |
12471 } | 12164 } |
12472 | 12165 |
12473 EOF | 12166 EOF |
12474 if { (eval echo configure:12475: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12167 if { (eval echo configure:12168: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12475 then | 12168 then |
12476 ac_cv_func_getpgrp_void=yes | 12169 ac_cv_func_getpgrp_void=yes |
12477 else | 12170 else |
12478 conftest_rc="$?" | 12171 conftest_rc="$?" |
12479 echo "configure: failed program was:" >&5 | 12172 echo "configure: failed program was:" >&5 |
12496 | 12189 |
12497 fi | 12190 fi |
12498 | 12191 |
12499 | 12192 |
12500 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 12193 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
12501 echo "configure:12502: checking for working mmap" >&5 | 12194 echo "configure:12195: checking for working mmap" >&5 |
12502 case "$opsys" in ultrix* ) have_mmap=no ;; *) | 12195 case "$opsys" in ultrix* ) have_mmap=no ;; *) |
12503 cat > conftest.$ac_ext <<EOF | 12196 cat > conftest.$ac_ext <<EOF |
12504 #line 12505 "configure" | 12197 #line 12198 "configure" |
12505 #include "confdefs.h" | 12198 #include "confdefs.h" |
12506 #include <stdio.h> | 12199 #include <stdio.h> |
12507 #include <unistd.h> | 12200 #include <unistd.h> |
12508 #include <fcntl.h> | 12201 #include <fcntl.h> |
12509 #include <sys/mman.h> | 12202 #include <sys/mman.h> |
12532 return 0; | 12225 return 0; |
12533 perror ("conftest: mmap failed"); | 12226 perror ("conftest: mmap failed"); |
12534 return 1; | 12227 return 1; |
12535 } | 12228 } |
12536 EOF | 12229 EOF |
12537 if { (eval echo configure:12538: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12230 if { (eval echo configure:12231: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12538 then | 12231 then |
12539 have_mmap=yes | 12232 have_mmap=yes |
12540 else | 12233 else |
12541 conftest_rc="$?" | 12234 conftest_rc="$?" |
12542 echo "configure: failed program was:" >&5 | 12235 echo "configure: failed program was:" >&5 |
12561 esac | 12254 esac |
12562 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no | 12255 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no |
12563 if test "$rel_alloc $have_mmap" = "default yes"; then | 12256 if test "$rel_alloc $have_mmap" = "default yes"; then |
12564 if test "$doug_lea_malloc" = "yes"; then | 12257 if test "$doug_lea_malloc" = "yes"; then |
12565 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 | 12258 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 |
12566 echo "configure:12567: checking for M_MMAP_THRESHOLD" >&5 | 12259 echo "configure:12260: checking for M_MMAP_THRESHOLD" >&5 |
12567 cat > conftest.$ac_ext <<EOF | 12260 cat > conftest.$ac_ext <<EOF |
12568 #line 12569 "configure" | 12261 #line 12262 "configure" |
12569 #include "confdefs.h" | 12262 #include "confdefs.h" |
12570 #include <malloc.h> | 12263 #include <malloc.h> |
12571 int main() { | 12264 int main() { |
12572 | 12265 |
12573 #ifndef M_MMAP_THRESHOLD | 12266 #ifndef M_MMAP_THRESHOLD |
12575 !@+$%^&*_)(_ - unlikely to compile... | 12268 !@+$%^&*_)(_ - unlikely to compile... |
12576 #endif | 12269 #endif |
12577 | 12270 |
12578 ; return 0; } | 12271 ; return 0; } |
12579 EOF | 12272 EOF |
12580 if { (eval echo configure:12581: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 12273 if { (eval echo configure:12274: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
12581 rm -rf conftest* | 12274 rm -rf conftest* |
12582 rel_alloc=no; echo "$ac_t""yes" 1>&6; | 12275 rel_alloc=no; echo "$ac_t""yes" 1>&6; |
12583 else | 12276 else |
12584 echo "configure: failed program was:" >&5 | 12277 echo "configure: failed program was:" >&5 |
12585 cat conftest.$ac_ext >&5 | 12278 cat conftest.$ac_ext >&5 |
12600 } | 12293 } |
12601 | 12294 |
12602 | 12295 |
12603 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` | 12296 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` |
12604 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 | 12297 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 |
12605 echo "configure:12606: checking for termios.h" >&5 | 12298 echo "configure:12299: checking for termios.h" >&5 |
12606 | 12299 |
12607 cat > conftest.$ac_ext <<EOF | 12300 cat > conftest.$ac_ext <<EOF |
12608 #line 12609 "configure" | 12301 #line 12302 "configure" |
12609 #include "confdefs.h" | 12302 #include "confdefs.h" |
12610 #include <termios.h> | 12303 #include <termios.h> |
12611 EOF | 12304 EOF |
12612 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12305 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12613 { (eval echo configure:12614: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12306 { (eval echo configure:12307: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12614 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12307 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12615 if test -z "$ac_err"; then | 12308 if test -z "$ac_err"; then |
12616 rm -rf conftest* | 12309 rm -rf conftest* |
12617 eval "ac_cv_header_$ac_safe=yes" | 12310 eval "ac_cv_header_$ac_safe=yes" |
12618 else | 12311 else |
12651 | 12344 |
12652 else | 12345 else |
12653 echo "$ac_t""no" 1>&6 | 12346 echo "$ac_t""no" 1>&6 |
12654 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` | 12347 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` |
12655 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 | 12348 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 |
12656 echo "configure:12657: checking for termio.h" >&5 | 12349 echo "configure:12350: checking for termio.h" >&5 |
12657 | 12350 |
12658 cat > conftest.$ac_ext <<EOF | 12351 cat > conftest.$ac_ext <<EOF |
12659 #line 12660 "configure" | 12352 #line 12353 "configure" |
12660 #include "confdefs.h" | 12353 #include "confdefs.h" |
12661 #include <termio.h> | 12354 #include <termio.h> |
12662 EOF | 12355 EOF |
12663 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12356 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12664 { (eval echo configure:12665: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12357 { (eval echo configure:12358: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12665 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12358 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12666 if test -z "$ac_err"; then | 12359 if test -z "$ac_err"; then |
12667 rm -rf conftest* | 12360 rm -rf conftest* |
12668 eval "ac_cv_header_$ac_safe=yes" | 12361 eval "ac_cv_header_$ac_safe=yes" |
12669 else | 12362 else |
12691 fi | 12384 fi |
12692 | 12385 |
12693 | 12386 |
12694 | 12387 |
12695 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 12388 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
12696 echo "configure:12697: checking for socket" >&5 | 12389 echo "configure:12390: checking for socket" >&5 |
12697 | 12390 |
12698 cat > conftest.$ac_ext <<EOF | 12391 cat > conftest.$ac_ext <<EOF |
12699 #line 12700 "configure" | 12392 #line 12393 "configure" |
12700 #include "confdefs.h" | 12393 #include "confdefs.h" |
12701 /* System header to define __stub macros and hopefully few prototypes, | 12394 /* System header to define __stub macros and hopefully few prototypes, |
12702 which can conflict with char socket(); below. */ | 12395 which can conflict with char socket(); below. */ |
12703 #include <assert.h> | 12396 #include <assert.h> |
12704 /* Override any gcc2 internal prototype to avoid an error. */ | 12397 /* Override any gcc2 internal prototype to avoid an error. */ |
12717 socket(); | 12410 socket(); |
12718 #endif | 12411 #endif |
12719 | 12412 |
12720 ; return 0; } | 12413 ; return 0; } |
12721 EOF | 12414 EOF |
12722 if { (eval echo configure:12723: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12415 if { (eval echo configure:12416: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12723 rm -rf conftest* | 12416 rm -rf conftest* |
12724 eval "ac_cv_func_socket=yes" | 12417 eval "ac_cv_func_socket=yes" |
12725 else | 12418 else |
12726 echo "configure: failed program was:" >&5 | 12419 echo "configure: failed program was:" >&5 |
12727 cat conftest.$ac_ext >&5 | 12420 cat conftest.$ac_ext >&5 |
12732 | 12425 |
12733 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then | 12426 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then |
12734 echo "$ac_t""yes" 1>&6 | 12427 echo "$ac_t""yes" 1>&6 |
12735 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 12428 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
12736 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 12429 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
12737 echo "configure:12738: checking for netinet/in.h" >&5 | 12430 echo "configure:12431: checking for netinet/in.h" >&5 |
12738 | 12431 |
12739 cat > conftest.$ac_ext <<EOF | 12432 cat > conftest.$ac_ext <<EOF |
12740 #line 12741 "configure" | 12433 #line 12434 "configure" |
12741 #include "confdefs.h" | 12434 #include "confdefs.h" |
12742 #include <netinet/in.h> | 12435 #include <netinet/in.h> |
12743 EOF | 12436 EOF |
12744 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12437 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12745 { (eval echo configure:12746: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12438 { (eval echo configure:12439: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12746 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12439 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12747 if test -z "$ac_err"; then | 12440 if test -z "$ac_err"; then |
12748 rm -rf conftest* | 12441 rm -rf conftest* |
12749 eval "ac_cv_header_$ac_safe=yes" | 12442 eval "ac_cv_header_$ac_safe=yes" |
12750 else | 12443 else |
12757 rm -f conftest* | 12450 rm -f conftest* |
12758 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 12451 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
12759 echo "$ac_t""yes" 1>&6 | 12452 echo "$ac_t""yes" 1>&6 |
12760 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 12453 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
12761 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 12454 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
12762 echo "configure:12763: checking for arpa/inet.h" >&5 | 12455 echo "configure:12456: checking for arpa/inet.h" >&5 |
12763 | 12456 |
12764 cat > conftest.$ac_ext <<EOF | 12457 cat > conftest.$ac_ext <<EOF |
12765 #line 12766 "configure" | 12458 #line 12459 "configure" |
12766 #include "confdefs.h" | 12459 #include "confdefs.h" |
12767 #include <arpa/inet.h> | 12460 #include <arpa/inet.h> |
12768 EOF | 12461 EOF |
12769 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12462 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12770 { (eval echo configure:12771: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12463 { (eval echo configure:12464: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12771 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12464 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12772 if test -z "$ac_err"; then | 12465 if test -z "$ac_err"; then |
12773 rm -rf conftest* | 12466 rm -rf conftest* |
12774 eval "ac_cv_header_$ac_safe=yes" | 12467 eval "ac_cv_header_$ac_safe=yes" |
12775 else | 12468 else |
12790 #define HAVE_SOCKETS 1 | 12483 #define HAVE_SOCKETS 1 |
12791 EOF | 12484 EOF |
12792 } | 12485 } |
12793 | 12486 |
12794 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 | 12487 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 |
12795 echo "configure:12796: checking "for sun_len member in struct sockaddr_un"" >&5 | 12488 echo "configure:12489: checking "for sun_len member in struct sockaddr_un"" >&5 |
12796 cat > conftest.$ac_ext <<EOF | 12489 cat > conftest.$ac_ext <<EOF |
12797 #line 12798 "configure" | 12490 #line 12491 "configure" |
12798 #include "confdefs.h" | 12491 #include "confdefs.h" |
12799 | 12492 |
12800 #include <sys/types.h> | 12493 #include <sys/types.h> |
12801 #include <sys/socket.h> | 12494 #include <sys/socket.h> |
12802 #include <sys/un.h> | 12495 #include <sys/un.h> |
12803 | 12496 |
12804 int main() { | 12497 int main() { |
12805 static struct sockaddr_un x; x.sun_len = 1; | 12498 static struct sockaddr_un x; x.sun_len = 1; |
12806 ; return 0; } | 12499 ; return 0; } |
12807 EOF | 12500 EOF |
12808 if { (eval echo configure:12809: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12501 if { (eval echo configure:12502: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12809 rm -rf conftest* | 12502 rm -rf conftest* |
12810 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 12503 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
12811 Defining HAVE_SOCKADDR_SUN_LEN | 12504 Defining HAVE_SOCKADDR_SUN_LEN |
12812 EOF | 12505 EOF |
12813 cat >> confdefs.h <<\EOF | 12506 cat >> confdefs.h <<\EOF |
12821 rm -rf conftest* | 12514 rm -rf conftest* |
12822 echo "$ac_t""no" 1>&6 | 12515 echo "$ac_t""no" 1>&6 |
12823 fi | 12516 fi |
12824 rm -f conftest* | 12517 rm -f conftest* |
12825 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 | 12518 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 |
12826 echo "configure:12827: checking "for ip_mreq struct in netinet/in.h"" >&5 | 12519 echo "configure:12520: checking "for ip_mreq struct in netinet/in.h"" >&5 |
12827 cat > conftest.$ac_ext <<EOF | 12520 cat > conftest.$ac_ext <<EOF |
12828 #line 12829 "configure" | 12521 #line 12522 "configure" |
12829 #include "confdefs.h" | 12522 #include "confdefs.h" |
12830 | 12523 |
12831 #include <sys/types.h> | 12524 #include <sys/types.h> |
12832 #include <netinet/in.h> | 12525 #include <netinet/in.h> |
12833 | 12526 |
12834 int main() { | 12527 int main() { |
12835 static struct ip_mreq x; | 12528 static struct ip_mreq x; |
12836 ; return 0; } | 12529 ; return 0; } |
12837 EOF | 12530 EOF |
12838 if { (eval echo configure:12839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12531 if { (eval echo configure:12532: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12839 rm -rf conftest* | 12532 rm -rf conftest* |
12840 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 12533 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
12841 Defining HAVE_MULTICAST | 12534 Defining HAVE_MULTICAST |
12842 EOF | 12535 EOF |
12843 cat >> confdefs.h <<\EOF | 12536 cat >> confdefs.h <<\EOF |
12864 echo "$ac_t""no" 1>&6 | 12557 echo "$ac_t""no" 1>&6 |
12865 fi | 12558 fi |
12866 | 12559 |
12867 | 12560 |
12868 echo $ac_n "checking for msgget""... $ac_c" 1>&6 | 12561 echo $ac_n "checking for msgget""... $ac_c" 1>&6 |
12869 echo "configure:12870: checking for msgget" >&5 | 12562 echo "configure:12563: checking for msgget" >&5 |
12870 | 12563 |
12871 cat > conftest.$ac_ext <<EOF | 12564 cat > conftest.$ac_ext <<EOF |
12872 #line 12873 "configure" | 12565 #line 12566 "configure" |
12873 #include "confdefs.h" | 12566 #include "confdefs.h" |
12874 /* System header to define __stub macros and hopefully few prototypes, | 12567 /* System header to define __stub macros and hopefully few prototypes, |
12875 which can conflict with char msgget(); below. */ | 12568 which can conflict with char msgget(); below. */ |
12876 #include <assert.h> | 12569 #include <assert.h> |
12877 /* Override any gcc2 internal prototype to avoid an error. */ | 12570 /* Override any gcc2 internal prototype to avoid an error. */ |
12890 msgget(); | 12583 msgget(); |
12891 #endif | 12584 #endif |
12892 | 12585 |
12893 ; return 0; } | 12586 ; return 0; } |
12894 EOF | 12587 EOF |
12895 if { (eval echo configure:12896: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12588 if { (eval echo configure:12589: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12896 rm -rf conftest* | 12589 rm -rf conftest* |
12897 eval "ac_cv_func_msgget=yes" | 12590 eval "ac_cv_func_msgget=yes" |
12898 else | 12591 else |
12899 echo "configure: failed program was:" >&5 | 12592 echo "configure: failed program was:" >&5 |
12900 cat conftest.$ac_ext >&5 | 12593 cat conftest.$ac_ext >&5 |
12905 | 12598 |
12906 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then | 12599 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then |
12907 echo "$ac_t""yes" 1>&6 | 12600 echo "$ac_t""yes" 1>&6 |
12908 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` | 12601 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` |
12909 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 | 12602 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 |
12910 echo "configure:12911: checking for sys/ipc.h" >&5 | 12603 echo "configure:12604: checking for sys/ipc.h" >&5 |
12911 | 12604 |
12912 cat > conftest.$ac_ext <<EOF | 12605 cat > conftest.$ac_ext <<EOF |
12913 #line 12914 "configure" | 12606 #line 12607 "configure" |
12914 #include "confdefs.h" | 12607 #include "confdefs.h" |
12915 #include <sys/ipc.h> | 12608 #include <sys/ipc.h> |
12916 EOF | 12609 EOF |
12917 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12610 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12918 { (eval echo configure:12919: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12611 { (eval echo configure:12612: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12919 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12612 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12920 if test -z "$ac_err"; then | 12613 if test -z "$ac_err"; then |
12921 rm -rf conftest* | 12614 rm -rf conftest* |
12922 eval "ac_cv_header_$ac_safe=yes" | 12615 eval "ac_cv_header_$ac_safe=yes" |
12923 else | 12616 else |
12930 rm -f conftest* | 12623 rm -f conftest* |
12931 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 12624 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
12932 echo "$ac_t""yes" 1>&6 | 12625 echo "$ac_t""yes" 1>&6 |
12933 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` | 12626 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` |
12934 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 | 12627 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 |
12935 echo "configure:12936: checking for sys/msg.h" >&5 | 12628 echo "configure:12629: checking for sys/msg.h" >&5 |
12936 | 12629 |
12937 cat > conftest.$ac_ext <<EOF | 12630 cat > conftest.$ac_ext <<EOF |
12938 #line 12939 "configure" | 12631 #line 12632 "configure" |
12939 #include "confdefs.h" | 12632 #include "confdefs.h" |
12940 #include <sys/msg.h> | 12633 #include <sys/msg.h> |
12941 EOF | 12634 EOF |
12942 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12635 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12943 { (eval echo configure:12944: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12636 { (eval echo configure:12637: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12944 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12637 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12945 if test -z "$ac_err"; then | 12638 if test -z "$ac_err"; then |
12946 rm -rf conftest* | 12639 rm -rf conftest* |
12947 eval "ac_cv_header_$ac_safe=yes" | 12640 eval "ac_cv_header_$ac_safe=yes" |
12948 else | 12641 else |
12976 fi | 12669 fi |
12977 | 12670 |
12978 | 12671 |
12979 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` | 12672 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` |
12980 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 | 12673 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 |
12981 echo "configure:12982: checking for dirent.h" >&5 | 12674 echo "configure:12675: checking for dirent.h" >&5 |
12982 | 12675 |
12983 cat > conftest.$ac_ext <<EOF | 12676 cat > conftest.$ac_ext <<EOF |
12984 #line 12985 "configure" | 12677 #line 12678 "configure" |
12985 #include "confdefs.h" | 12678 #include "confdefs.h" |
12986 #include <dirent.h> | 12679 #include <dirent.h> |
12987 EOF | 12680 EOF |
12988 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12681 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12989 { (eval echo configure:12990: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12682 { (eval echo configure:12683: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12990 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12683 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12991 if test -z "$ac_err"; then | 12684 if test -z "$ac_err"; then |
12992 rm -rf conftest* | 12685 rm -rf conftest* |
12993 eval "ac_cv_header_$ac_safe=yes" | 12686 eval "ac_cv_header_$ac_safe=yes" |
12994 else | 12687 else |
13011 | 12704 |
13012 else | 12705 else |
13013 echo "$ac_t""no" 1>&6 | 12706 echo "$ac_t""no" 1>&6 |
13014 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` | 12707 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` |
13015 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 | 12708 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 |
13016 echo "configure:13017: checking for sys/dir.h" >&5 | 12709 echo "configure:12710: checking for sys/dir.h" >&5 |
13017 | 12710 |
13018 cat > conftest.$ac_ext <<EOF | 12711 cat > conftest.$ac_ext <<EOF |
13019 #line 13020 "configure" | 12712 #line 12713 "configure" |
13020 #include "confdefs.h" | 12713 #include "confdefs.h" |
13021 #include <sys/dir.h> | 12714 #include <sys/dir.h> |
13022 EOF | 12715 EOF |
13023 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12716 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13024 { (eval echo configure:13025: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12717 { (eval echo configure:12718: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13025 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12718 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13026 if test -z "$ac_err"; then | 12719 if test -z "$ac_err"; then |
13027 rm -rf conftest* | 12720 rm -rf conftest* |
13028 eval "ac_cv_header_$ac_safe=yes" | 12721 eval "ac_cv_header_$ac_safe=yes" |
13029 else | 12722 else |
13052 fi | 12745 fi |
13053 | 12746 |
13054 | 12747 |
13055 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 12748 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
13056 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 12749 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
13057 echo "configure:13058: checking for nlist.h" >&5 | 12750 echo "configure:12751: checking for nlist.h" >&5 |
13058 | 12751 |
13059 cat > conftest.$ac_ext <<EOF | 12752 cat > conftest.$ac_ext <<EOF |
13060 #line 13061 "configure" | 12753 #line 12754 "configure" |
13061 #include "confdefs.h" | 12754 #include "confdefs.h" |
13062 #include <nlist.h> | 12755 #include <nlist.h> |
13063 EOF | 12756 EOF |
13064 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12757 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13065 { (eval echo configure:13066: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12758 { (eval echo configure:12759: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13066 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12759 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13067 if test -z "$ac_err"; then | 12760 if test -z "$ac_err"; then |
13068 rm -rf conftest* | 12761 rm -rf conftest* |
13069 eval "ac_cv_header_$ac_safe=yes" | 12762 eval "ac_cv_header_$ac_safe=yes" |
13070 else | 12763 else |
13090 fi | 12783 fi |
13091 | 12784 |
13092 | 12785 |
13093 | 12786 |
13094 echo "checking "for sound support"" 1>&6 | 12787 echo "checking "for sound support"" 1>&6 |
13095 echo "configure:13096: checking "for sound support"" >&5 | 12788 echo "configure:12789: checking "for sound support"" >&5 |
13096 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes | 12789 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes |
13097 | 12790 |
13098 if test "$with_native_sound" != "no"; then | 12791 if test "$with_native_sound" != "no"; then |
13099 if test -n "$native_sound_lib"; then | 12792 if test -n "$native_sound_lib"; then |
13100 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` | 12793 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` |
13101 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 | 12794 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 |
13102 echo "configure:13103: checking for multimedia/audio_device.h" >&5 | 12795 echo "configure:12796: checking for multimedia/audio_device.h" >&5 |
13103 | 12796 |
13104 cat > conftest.$ac_ext <<EOF | 12797 cat > conftest.$ac_ext <<EOF |
13105 #line 13106 "configure" | 12798 #line 12799 "configure" |
13106 #include "confdefs.h" | 12799 #include "confdefs.h" |
13107 #include <multimedia/audio_device.h> | 12800 #include <multimedia/audio_device.h> |
13108 EOF | 12801 EOF |
13109 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12802 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13110 { (eval echo configure:13111: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12803 { (eval echo configure:12804: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13111 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12804 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13112 if test -z "$ac_err"; then | 12805 if test -z "$ac_err"; then |
13113 rm -rf conftest* | 12806 rm -rf conftest* |
13114 eval "ac_cv_header_$ac_safe=yes" | 12807 eval "ac_cv_header_$ac_safe=yes" |
13115 else | 12808 else |
13153 case "$canonical" in | 12846 case "$canonical" in |
13154 *-sgi-* ) | 12847 *-sgi-* ) |
13155 if test -z "$native_sound_lib"; then | 12848 if test -z "$native_sound_lib"; then |
13156 | 12849 |
13157 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 | 12850 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 |
13158 echo "configure:13159: checking for ALopenport in -laudio" >&5 | 12851 echo "configure:12852: checking for ALopenport in -laudio" >&5 |
13159 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` | 12852 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` |
13160 | 12853 |
13161 xe_check_libs=" -laudio " | 12854 xe_check_libs=" -laudio " |
13162 cat > conftest.$ac_ext <<EOF | 12855 cat > conftest.$ac_ext <<EOF |
13163 #line 13164 "configure" | 12856 #line 12857 "configure" |
13164 #include "confdefs.h" | 12857 #include "confdefs.h" |
13165 /* Override any gcc2 internal prototype to avoid an error. */ | 12858 /* Override any gcc2 internal prototype to avoid an error. */ |
13166 /* We use char because int might match the return type of a gcc2 | 12859 /* We use char because int might match the return type of a gcc2 |
13167 builtin and then its argument prototype would still apply. */ | 12860 builtin and then its argument prototype would still apply. */ |
13168 char ALopenport(); | 12861 char ALopenport(); |
13169 | 12862 |
13170 int main() { | 12863 int main() { |
13171 ALopenport() | 12864 ALopenport() |
13172 ; return 0; } | 12865 ; return 0; } |
13173 EOF | 12866 EOF |
13174 if { (eval echo configure:13175: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12867 if { (eval echo configure:12868: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13175 rm -rf conftest* | 12868 rm -rf conftest* |
13176 eval "ac_cv_lib_$ac_lib_var=yes" | 12869 eval "ac_cv_lib_$ac_lib_var=yes" |
13177 else | 12870 else |
13178 echo "configure: failed program was:" >&5 | 12871 echo "configure: failed program was:" >&5 |
13179 cat conftest.$ac_ext >&5 | 12872 cat conftest.$ac_ext >&5 |
13200 fi ;; | 12893 fi ;; |
13201 hppa*-hp-hpux* ) | 12894 hppa*-hp-hpux* ) |
13202 if test -z "$native_sound_lib"; then | 12895 if test -z "$native_sound_lib"; then |
13203 | 12896 |
13204 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 | 12897 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 |
13205 echo "configure:13206: checking for AOpenAudio in -lAlib" >&5 | 12898 echo "configure:12899: checking for AOpenAudio in -lAlib" >&5 |
13206 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` | 12899 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` |
13207 | 12900 |
13208 xe_check_libs=" -lAlib " | 12901 xe_check_libs=" -lAlib " |
13209 cat > conftest.$ac_ext <<EOF | 12902 cat > conftest.$ac_ext <<EOF |
13210 #line 13211 "configure" | 12903 #line 12904 "configure" |
13211 #include "confdefs.h" | 12904 #include "confdefs.h" |
13212 /* Override any gcc2 internal prototype to avoid an error. */ | 12905 /* Override any gcc2 internal prototype to avoid an error. */ |
13213 /* We use char because int might match the return type of a gcc2 | 12906 /* We use char because int might match the return type of a gcc2 |
13214 builtin and then its argument prototype would still apply. */ | 12907 builtin and then its argument prototype would still apply. */ |
13215 char AOpenAudio(); | 12908 char AOpenAudio(); |
13216 | 12909 |
13217 int main() { | 12910 int main() { |
13218 AOpenAudio() | 12911 AOpenAudio() |
13219 ; return 0; } | 12912 ; return 0; } |
13220 EOF | 12913 EOF |
13221 if { (eval echo configure:13222: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12914 if { (eval echo configure:12915: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13222 rm -rf conftest* | 12915 rm -rf conftest* |
13223 eval "ac_cv_lib_$ac_lib_var=yes" | 12916 eval "ac_cv_lib_$ac_lib_var=yes" |
13224 else | 12917 else |
13225 echo "configure: failed program was:" >&5 | 12918 echo "configure: failed program was:" >&5 |
13226 cat conftest.$ac_ext >&5 | 12919 cat conftest.$ac_ext >&5 |
13264 | 12957 |
13265 if test -z "$sound_found"; then | 12958 if test -z "$sound_found"; then |
13266 for dir in "machine" "sys" "linux"; do | 12959 for dir in "machine" "sys" "linux"; do |
13267 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` | 12960 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` |
13268 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 | 12961 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 |
13269 echo "configure:13270: checking for ${dir}/soundcard.h" >&5 | 12962 echo "configure:12963: checking for ${dir}/soundcard.h" >&5 |
13270 | 12963 |
13271 cat > conftest.$ac_ext <<EOF | 12964 cat > conftest.$ac_ext <<EOF |
13272 #line 13273 "configure" | 12965 #line 12966 "configure" |
13273 #include "confdefs.h" | 12966 #include "confdefs.h" |
13274 #include <${dir}/soundcard.h> | 12967 #include <${dir}/soundcard.h> |
13275 EOF | 12968 EOF |
13276 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12969 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13277 { (eval echo configure:13278: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12970 { (eval echo configure:12971: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13278 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12971 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13279 if test -z "$ac_err"; then | 12972 if test -z "$ac_err"; then |
13280 rm -rf conftest* | 12973 rm -rf conftest* |
13281 eval "ac_cv_header_$ac_safe=yes" | 12974 eval "ac_cv_header_$ac_safe=yes" |
13282 else | 12975 else |
13326 fi | 13019 fi |
13327 | 13020 |
13328 if test "$with_nas_sound" != "no"; then | 13021 if test "$with_nas_sound" != "no"; then |
13329 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` | 13022 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` |
13330 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 | 13023 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 |
13331 echo "configure:13332: checking for audio/audiolib.h" >&5 | 13024 echo "configure:13025: checking for audio/audiolib.h" >&5 |
13332 | 13025 |
13333 cat > conftest.$ac_ext <<EOF | 13026 cat > conftest.$ac_ext <<EOF |
13334 #line 13335 "configure" | 13027 #line 13028 "configure" |
13335 #include "confdefs.h" | 13028 #include "confdefs.h" |
13336 #include <audio/audiolib.h> | 13029 #include <audio/audiolib.h> |
13337 EOF | 13030 EOF |
13338 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13031 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13339 { (eval echo configure:13340: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13032 { (eval echo configure:13033: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13340 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13033 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13341 if test -z "$ac_err"; then | 13034 if test -z "$ac_err"; then |
13342 rm -rf conftest* | 13035 rm -rf conftest* |
13343 eval "ac_cv_header_$ac_safe=yes" | 13036 eval "ac_cv_header_$ac_safe=yes" |
13344 else | 13037 else |
13352 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 13045 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
13353 echo "$ac_t""yes" 1>&6 | 13046 echo "$ac_t""yes" 1>&6 |
13354 | 13047 |
13355 | 13048 |
13356 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 | 13049 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 |
13357 echo "configure:13358: checking for AuOpenServer in -laudio" >&5 | 13050 echo "configure:13051: checking for AuOpenServer in -laudio" >&5 |
13358 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` | 13051 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` |
13359 | 13052 |
13360 xe_check_libs=" -laudio " | 13053 xe_check_libs=" -laudio " |
13361 cat > conftest.$ac_ext <<EOF | 13054 cat > conftest.$ac_ext <<EOF |
13362 #line 13363 "configure" | 13055 #line 13056 "configure" |
13363 #include "confdefs.h" | 13056 #include "confdefs.h" |
13364 /* Override any gcc2 internal prototype to avoid an error. */ | 13057 /* Override any gcc2 internal prototype to avoid an error. */ |
13365 /* We use char because int might match the return type of a gcc2 | 13058 /* We use char because int might match the return type of a gcc2 |
13366 builtin and then its argument prototype would still apply. */ | 13059 builtin and then its argument prototype would still apply. */ |
13367 char AuOpenServer(); | 13060 char AuOpenServer(); |
13368 | 13061 |
13369 int main() { | 13062 int main() { |
13370 AuOpenServer() | 13063 AuOpenServer() |
13371 ; return 0; } | 13064 ; return 0; } |
13372 EOF | 13065 EOF |
13373 if { (eval echo configure:13374: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13066 if { (eval echo configure:13067: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13374 rm -rf conftest* | 13067 rm -rf conftest* |
13375 eval "ac_cv_lib_$ac_lib_var=yes" | 13068 eval "ac_cv_lib_$ac_lib_var=yes" |
13376 else | 13069 else |
13377 echo "configure: failed program was:" >&5 | 13070 echo "configure: failed program was:" >&5 |
13378 cat conftest.$ac_ext >&5 | 13071 cat conftest.$ac_ext >&5 |
13407 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then | 13100 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then |
13408 echo " xemacs will be linked with \"nas.o\"" | 13101 echo " xemacs will be linked with \"nas.o\"" |
13409 fi | 13102 fi |
13410 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi | 13103 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi |
13411 cat > conftest.$ac_ext <<EOF | 13104 cat > conftest.$ac_ext <<EOF |
13412 #line 13413 "configure" | 13105 #line 13106 "configure" |
13413 #include "confdefs.h" | 13106 #include "confdefs.h" |
13414 #include <audio/Xtutil.h> | 13107 #include <audio/Xtutil.h> |
13415 EOF | 13108 EOF |
13416 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 13109 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
13417 egrep "AuXtErrorJump" >/dev/null 2>&1; then | 13110 egrep "AuXtErrorJump" >/dev/null 2>&1; then |
13438 | 13131 |
13439 if test "$with_esd_sound" != "no"; then | 13132 if test "$with_esd_sound" != "no"; then |
13440 # Extract the first word of "esd-config", so it can be a program name with args. | 13133 # Extract the first word of "esd-config", so it can be a program name with args. |
13441 set dummy esd-config; ac_word=$2 | 13134 set dummy esd-config; ac_word=$2 |
13442 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 13135 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
13443 echo "configure:13444: checking for $ac_word" >&5 | 13136 echo "configure:13137: checking for $ac_word" >&5 |
13444 | 13137 |
13445 if test -n "$have_esd_config"; then | 13138 if test -n "$have_esd_config"; then |
13446 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. | 13139 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. |
13447 else | 13140 else |
13448 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 13141 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
13467 if test "$have_esd_config" = "yes"; then | 13160 if test "$have_esd_config" = "yes"; then |
13468 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" | 13161 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" |
13469 c_switch_site="$c_switch_site `esd-config --cflags`" && if test "$extra_verbose" = "yes"; then echo " Appending \"`esd-config --cflags`\" to \$c_switch_site"; fi | 13162 c_switch_site="$c_switch_site `esd-config --cflags`" && if test "$extra_verbose" = "yes"; then echo " Appending \"`esd-config --cflags`\" to \$c_switch_site"; fi |
13470 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi | 13163 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi |
13471 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 | 13164 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 |
13472 echo "configure:13473: checking for esd_play_stream" >&5 | 13165 echo "configure:13166: checking for esd_play_stream" >&5 |
13473 | 13166 |
13474 cat > conftest.$ac_ext <<EOF | 13167 cat > conftest.$ac_ext <<EOF |
13475 #line 13476 "configure" | 13168 #line 13169 "configure" |
13476 #include "confdefs.h" | 13169 #include "confdefs.h" |
13477 /* System header to define __stub macros and hopefully few prototypes, | 13170 /* System header to define __stub macros and hopefully few prototypes, |
13478 which can conflict with char esd_play_stream(); below. */ | 13171 which can conflict with char esd_play_stream(); below. */ |
13479 #include <assert.h> | 13172 #include <assert.h> |
13480 /* Override any gcc2 internal prototype to avoid an error. */ | 13173 /* Override any gcc2 internal prototype to avoid an error. */ |
13493 esd_play_stream(); | 13186 esd_play_stream(); |
13494 #endif | 13187 #endif |
13495 | 13188 |
13496 ; return 0; } | 13189 ; return 0; } |
13497 EOF | 13190 EOF |
13498 if { (eval echo configure:13499: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13191 if { (eval echo configure:13192: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13499 rm -rf conftest* | 13192 rm -rf conftest* |
13500 eval "ac_cv_func_esd_play_stream=yes" | 13193 eval "ac_cv_func_esd_play_stream=yes" |
13501 else | 13194 else |
13502 echo "configure: failed program was:" >&5 | 13195 echo "configure: failed program was:" >&5 |
13503 cat conftest.$ac_ext >&5 | 13196 cat conftest.$ac_ext >&5 |
13544 | 13237 |
13545 test -z "$with_tty" && with_tty=yes | 13238 test -z "$with_tty" && with_tty=yes |
13546 | 13239 |
13547 if test "$with_tty" = "yes" ; then | 13240 if test "$with_tty" = "yes" ; then |
13548 echo "checking for TTY-related features" 1>&6 | 13241 echo "checking for TTY-related features" 1>&6 |
13549 echo "configure:13550: checking for TTY-related features" >&5 | 13242 echo "configure:13243: checking for TTY-related features" >&5 |
13550 { test "$extra_verbose" = "yes" && cat << \EOF | 13243 { test "$extra_verbose" = "yes" && cat << \EOF |
13551 Defining HAVE_TTY | 13244 Defining HAVE_TTY |
13552 EOF | 13245 EOF |
13553 cat >> confdefs.h <<\EOF | 13246 cat >> confdefs.h <<\EOF |
13554 #define HAVE_TTY 1 | 13247 #define HAVE_TTY 1 |
13555 EOF | 13248 EOF |
13556 } | 13249 } |
13557 | 13250 |
13558 extra_objs="$extra_objs console-tty.o device-tty.o event-tty.o frame-tty.o objects-tty.o redisplay-tty.o cm.o" && if test "$extra_verbose" = "yes"; then | |
13559 echo " xemacs will be linked with \"console-tty.o device-tty.o event-tty.o frame-tty.o objects-tty.o redisplay-tty.o cm.o\"" | |
13560 fi | |
13561 | 13251 |
13562 if test -z "$with_ncurses"; then | 13252 if test -z "$with_ncurses"; then |
13563 | 13253 |
13564 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 | 13254 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 |
13565 echo "configure:13566: checking for tgetent in -lncurses" >&5 | 13255 echo "configure:13256: checking for tgetent in -lncurses" >&5 |
13566 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` | 13256 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` |
13567 | 13257 |
13568 xe_check_libs=" -lncurses " | 13258 xe_check_libs=" -lncurses " |
13569 cat > conftest.$ac_ext <<EOF | 13259 cat > conftest.$ac_ext <<EOF |
13570 #line 13571 "configure" | 13260 #line 13261 "configure" |
13571 #include "confdefs.h" | 13261 #include "confdefs.h" |
13572 /* Override any gcc2 internal prototype to avoid an error. */ | 13262 /* Override any gcc2 internal prototype to avoid an error. */ |
13573 /* We use char because int might match the return type of a gcc2 | 13263 /* We use char because int might match the return type of a gcc2 |
13574 builtin and then its argument prototype would still apply. */ | 13264 builtin and then its argument prototype would still apply. */ |
13575 char tgetent(); | 13265 char tgetent(); |
13576 | 13266 |
13577 int main() { | 13267 int main() { |
13578 tgetent() | 13268 tgetent() |
13579 ; return 0; } | 13269 ; return 0; } |
13580 EOF | 13270 EOF |
13581 if { (eval echo configure:13582: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13271 if { (eval echo configure:13272: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13582 rm -rf conftest* | 13272 rm -rf conftest* |
13583 eval "ac_cv_lib_$ac_lib_var=yes" | 13273 eval "ac_cv_lib_$ac_lib_var=yes" |
13584 else | 13274 else |
13585 echo "configure: failed program was:" >&5 | 13275 echo "configure: failed program was:" >&5 |
13586 cat conftest.$ac_ext >&5 | 13276 cat conftest.$ac_ext >&5 |
13609 EOF | 13299 EOF |
13610 } | 13300 } |
13611 | 13301 |
13612 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 13302 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
13613 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 13303 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
13614 echo "configure:13615: checking for ncurses/curses.h" >&5 | 13304 echo "configure:13305: checking for ncurses/curses.h" >&5 |
13615 | 13305 |
13616 cat > conftest.$ac_ext <<EOF | 13306 cat > conftest.$ac_ext <<EOF |
13617 #line 13618 "configure" | 13307 #line 13308 "configure" |
13618 #include "confdefs.h" | 13308 #include "confdefs.h" |
13619 #include <ncurses/curses.h> | 13309 #include <ncurses/curses.h> |
13620 EOF | 13310 EOF |
13621 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13311 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13622 { (eval echo configure:13623: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13312 { (eval echo configure:13313: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13623 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13313 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13624 if test -z "$ac_err"; then | 13314 if test -z "$ac_err"; then |
13625 rm -rf conftest* | 13315 rm -rf conftest* |
13626 eval "ac_cv_header_$ac_safe=yes" | 13316 eval "ac_cv_header_$ac_safe=yes" |
13627 else | 13317 else |
13639 echo "$ac_t""no" 1>&6 | 13329 echo "$ac_t""no" 1>&6 |
13640 fi | 13330 fi |
13641 | 13331 |
13642 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` | 13332 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` |
13643 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 | 13333 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 |
13644 echo "configure:13645: checking for ncurses/term.h" >&5 | 13334 echo "configure:13335: checking for ncurses/term.h" >&5 |
13645 | 13335 |
13646 cat > conftest.$ac_ext <<EOF | 13336 cat > conftest.$ac_ext <<EOF |
13647 #line 13648 "configure" | 13337 #line 13338 "configure" |
13648 #include "confdefs.h" | 13338 #include "confdefs.h" |
13649 #include <ncurses/term.h> | 13339 #include <ncurses/term.h> |
13650 EOF | 13340 EOF |
13651 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13341 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13652 { (eval echo configure:13653: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13342 { (eval echo configure:13343: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13653 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13343 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13654 if test -z "$ac_err"; then | 13344 if test -z "$ac_err"; then |
13655 rm -rf conftest* | 13345 rm -rf conftest* |
13656 eval "ac_cv_header_$ac_safe=yes" | 13346 eval "ac_cv_header_$ac_safe=yes" |
13657 else | 13347 else |
13677 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then | 13367 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then |
13678 save_c_switch_site="$c_switch_site" | 13368 save_c_switch_site="$c_switch_site" |
13679 c_switch_site="$c_switch_site -I/usr/include/ncurses" | 13369 c_switch_site="$c_switch_site -I/usr/include/ncurses" |
13680 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 13370 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
13681 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 13371 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
13682 echo "configure:13683: checking for ncurses/curses.h" >&5 | 13372 echo "configure:13373: checking for ncurses/curses.h" >&5 |
13683 | 13373 |
13684 cat > conftest.$ac_ext <<EOF | 13374 cat > conftest.$ac_ext <<EOF |
13685 #line 13686 "configure" | 13375 #line 13376 "configure" |
13686 #include "confdefs.h" | 13376 #include "confdefs.h" |
13687 #include <ncurses/curses.h> | 13377 #include <ncurses/curses.h> |
13688 EOF | 13378 EOF |
13689 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13379 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13690 { (eval echo configure:13691: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13380 { (eval echo configure:13381: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13691 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13381 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13692 if test -z "$ac_err"; then | 13382 if test -z "$ac_err"; then |
13693 rm -rf conftest* | 13383 rm -rf conftest* |
13694 eval "ac_cv_header_$ac_safe=yes" | 13384 eval "ac_cv_header_$ac_safe=yes" |
13695 else | 13385 else |
13720 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 13410 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
13721 else | 13411 else |
13722 for lib in curses termlib termcap; do | 13412 for lib in curses termlib termcap; do |
13723 | 13413 |
13724 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 | 13414 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 |
13725 echo "configure:13726: checking for tgetent in -l$lib" >&5 | 13415 echo "configure:13416: checking for tgetent in -l$lib" >&5 |
13726 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` | 13416 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` |
13727 | 13417 |
13728 xe_check_libs=" -l$lib " | 13418 xe_check_libs=" -l$lib " |
13729 cat > conftest.$ac_ext <<EOF | 13419 cat > conftest.$ac_ext <<EOF |
13730 #line 13731 "configure" | 13420 #line 13421 "configure" |
13731 #include "confdefs.h" | 13421 #include "confdefs.h" |
13732 /* Override any gcc2 internal prototype to avoid an error. */ | 13422 /* Override any gcc2 internal prototype to avoid an error. */ |
13733 /* We use char because int might match the return type of a gcc2 | 13423 /* We use char because int might match the return type of a gcc2 |
13734 builtin and then its argument prototype would still apply. */ | 13424 builtin and then its argument prototype would still apply. */ |
13735 char tgetent(); | 13425 char tgetent(); |
13736 | 13426 |
13737 int main() { | 13427 int main() { |
13738 tgetent() | 13428 tgetent() |
13739 ; return 0; } | 13429 ; return 0; } |
13740 EOF | 13430 EOF |
13741 if { (eval echo configure:13742: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13431 if { (eval echo configure:13432: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13742 rm -rf conftest* | 13432 rm -rf conftest* |
13743 eval "ac_cv_lib_$ac_lib_var=yes" | 13433 eval "ac_cv_lib_$ac_lib_var=yes" |
13744 else | 13434 else |
13745 echo "configure: failed program was:" >&5 | 13435 echo "configure: failed program was:" >&5 |
13746 cat conftest.$ac_ext >&5 | 13436 cat conftest.$ac_ext >&5 |
13767 if test -n "$libs_termcap"; then | 13457 if test -n "$libs_termcap"; then |
13768 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 13458 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
13769 else | 13459 else |
13770 | 13460 |
13771 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 | 13461 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 |
13772 echo "configure:13773: checking for tgetent in -lcurses" >&5 | 13462 echo "configure:13463: checking for tgetent in -lcurses" >&5 |
13773 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` | 13463 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` |
13774 | 13464 |
13775 xe_check_libs=" -lcurses " | 13465 xe_check_libs=" -lcurses " |
13776 cat > conftest.$ac_ext <<EOF | 13466 cat > conftest.$ac_ext <<EOF |
13777 #line 13778 "configure" | 13467 #line 13468 "configure" |
13778 #include "confdefs.h" | 13468 #include "confdefs.h" |
13779 /* Override any gcc2 internal prototype to avoid an error. */ | 13469 /* Override any gcc2 internal prototype to avoid an error. */ |
13780 /* We use char because int might match the return type of a gcc2 | 13470 /* We use char because int might match the return type of a gcc2 |
13781 builtin and then its argument prototype would still apply. */ | 13471 builtin and then its argument prototype would still apply. */ |
13782 char tgetent(); | 13472 char tgetent(); |
13783 | 13473 |
13784 int main() { | 13474 int main() { |
13785 tgetent() | 13475 tgetent() |
13786 ; return 0; } | 13476 ; return 0; } |
13787 EOF | 13477 EOF |
13788 if { (eval echo configure:13789: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13478 if { (eval echo configure:13479: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13789 rm -rf conftest* | 13479 rm -rf conftest* |
13790 eval "ac_cv_lib_$ac_lib_var=yes" | 13480 eval "ac_cv_lib_$ac_lib_var=yes" |
13791 else | 13481 else |
13792 echo "configure: failed program was:" >&5 | 13482 echo "configure: failed program was:" >&5 |
13793 cat conftest.$ac_ext >&5 | 13483 cat conftest.$ac_ext >&5 |
13801 echo "$ac_t""yes" 1>&6 | 13491 echo "$ac_t""yes" 1>&6 |
13802 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi | 13492 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi |
13803 else | 13493 else |
13804 echo "$ac_t""no" 1>&6 | 13494 echo "$ac_t""no" 1>&6 |
13805 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 | 13495 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 |
13806 echo "configure:13807: checking for tgetent in -ltermcap" >&5 | 13496 echo "configure:13497: checking for tgetent in -ltermcap" >&5 |
13807 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` | 13497 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` |
13808 | 13498 |
13809 xe_check_libs=" -ltermcap " | 13499 xe_check_libs=" -ltermcap " |
13810 cat > conftest.$ac_ext <<EOF | 13500 cat > conftest.$ac_ext <<EOF |
13811 #line 13812 "configure" | 13501 #line 13502 "configure" |
13812 #include "confdefs.h" | 13502 #include "confdefs.h" |
13813 /* Override any gcc2 internal prototype to avoid an error. */ | 13503 /* Override any gcc2 internal prototype to avoid an error. */ |
13814 /* We use char because int might match the return type of a gcc2 | 13504 /* We use char because int might match the return type of a gcc2 |
13815 builtin and then its argument prototype would still apply. */ | 13505 builtin and then its argument prototype would still apply. */ |
13816 char tgetent(); | 13506 char tgetent(); |
13817 | 13507 |
13818 int main() { | 13508 int main() { |
13819 tgetent() | 13509 tgetent() |
13820 ; return 0; } | 13510 ; return 0; } |
13821 EOF | 13511 EOF |
13822 if { (eval echo configure:13823: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13512 if { (eval echo configure:13513: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13823 rm -rf conftest* | 13513 rm -rf conftest* |
13824 eval "ac_cv_lib_$ac_lib_var=yes" | 13514 eval "ac_cv_lib_$ac_lib_var=yes" |
13825 else | 13515 else |
13826 echo "configure: failed program was:" >&5 | 13516 echo "configure: failed program was:" >&5 |
13827 cat conftest.$ac_ext >&5 | 13517 cat conftest.$ac_ext >&5 |
13865 } | 13555 } |
13866 | 13556 |
13867 | 13557 |
13868 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` | 13558 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` |
13869 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 | 13559 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 |
13870 echo "configure:13871: checking for gpm.h" >&5 | 13560 echo "configure:13561: checking for gpm.h" >&5 |
13871 | 13561 |
13872 cat > conftest.$ac_ext <<EOF | 13562 cat > conftest.$ac_ext <<EOF |
13873 #line 13874 "configure" | 13563 #line 13564 "configure" |
13874 #include "confdefs.h" | 13564 #include "confdefs.h" |
13875 #include <gpm.h> | 13565 #include <gpm.h> |
13876 EOF | 13566 EOF |
13877 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13567 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13878 { (eval echo configure:13879: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13568 { (eval echo configure:13569: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13879 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13569 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13880 if test -z "$ac_err"; then | 13570 if test -z "$ac_err"; then |
13881 rm -rf conftest* | 13571 rm -rf conftest* |
13882 eval "ac_cv_header_$ac_safe=yes" | 13572 eval "ac_cv_header_$ac_safe=yes" |
13883 else | 13573 else |
13896 with_gpm=no | 13586 with_gpm=no |
13897 fi | 13587 fi |
13898 } | 13588 } |
13899 test -z "$with_gpm" && { | 13589 test -z "$with_gpm" && { |
13900 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 | 13590 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 |
13901 echo "configure:13902: checking for Gpm_Open in -lgpm" >&5 | 13591 echo "configure:13592: checking for Gpm_Open in -lgpm" >&5 |
13902 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` | 13592 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` |
13903 | 13593 |
13904 xe_check_libs=" -lgpm " | 13594 xe_check_libs=" -lgpm " |
13905 cat > conftest.$ac_ext <<EOF | 13595 cat > conftest.$ac_ext <<EOF |
13906 #line 13907 "configure" | 13596 #line 13597 "configure" |
13907 #include "confdefs.h" | 13597 #include "confdefs.h" |
13908 /* Override any gcc2 internal prototype to avoid an error. */ | 13598 /* Override any gcc2 internal prototype to avoid an error. */ |
13909 /* We use char because int might match the return type of a gcc2 | 13599 /* We use char because int might match the return type of a gcc2 |
13910 builtin and then its argument prototype would still apply. */ | 13600 builtin and then its argument prototype would still apply. */ |
13911 char Gpm_Open(); | 13601 char Gpm_Open(); |
13912 | 13602 |
13913 int main() { | 13603 int main() { |
13914 Gpm_Open() | 13604 Gpm_Open() |
13915 ; return 0; } | 13605 ; return 0; } |
13916 EOF | 13606 EOF |
13917 if { (eval echo configure:13918: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13607 if { (eval echo configure:13608: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13918 rm -rf conftest* | 13608 rm -rf conftest* |
13919 eval "ac_cv_lib_$ac_lib_var=yes" | 13609 eval "ac_cv_lib_$ac_lib_var=yes" |
13920 else | 13610 else |
13921 echo "configure: failed program was:" >&5 | 13611 echo "configure: failed program was:" >&5 |
13922 cat conftest.$ac_ext >&5 | 13612 cat conftest.$ac_ext >&5 |
13942 cat >> confdefs.h <<\EOF | 13632 cat >> confdefs.h <<\EOF |
13943 #define HAVE_GPM 1 | 13633 #define HAVE_GPM 1 |
13944 EOF | 13634 EOF |
13945 } | 13635 } |
13946 | 13636 |
13947 extra_objs="$extra_objs gpmevent.o" && if test "$extra_verbose" = "yes"; then | |
13948 echo " xemacs will be linked with \"gpmevent.o\"" | |
13949 fi | |
13950 LIBS="-lgpm $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lgpm\" to \$LIBS"; fi | 13637 LIBS="-lgpm $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lgpm\" to \$LIBS"; fi |
13951 fi | 13638 fi |
13952 | 13639 |
13953 else for feature in ncurses gpm; do | 13640 else for feature in ncurses gpm; do |
13954 if eval "test -n \"\$with_${feature}\" -a \"\$with_${feature}\" != no" ; then | 13641 if eval "test -n \"\$with_${feature}\" -a \"\$with_${feature}\" != no" ; then |
13955 echo "configure: warning: --with-${feature} ignored: Not valid without TTY support" 1>&2 | 13642 echo "configure: warning: --with-${feature} ignored: Not valid without TTY support" 1>&2 |
13956 fi | 13643 fi |
13957 eval "with_${feature}=no" | 13644 eval "with_${feature}=no" |
13958 done | 13645 done |
13959 fi | 13646 fi |
13960 test "$with_x11" = "yes" -o "$with_tty" = "yes" -o "$need_event_unixoid" = "yes" && extra_objs="$extra_objs event-unixoid.o" && if test "$extra_verbose" = "yes"; then | |
13961 echo " xemacs will be linked with \"event-unixoid.o\"" | |
13962 fi | |
13963 | |
13964 | 13647 |
13965 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ | 13648 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ |
13966 != "no no no" && echo "checking for database support" 1>&6 | 13649 != "no no no" && echo "checking for database support" 1>&6 |
13967 echo "configure:13968: checking for database support" >&5 | 13650 echo "configure:13651: checking for database support" >&5 |
13968 | 13651 |
13969 if test "$with_database_gdbm $with_database_dbm" != "no no"; then | 13652 if test "$with_database_gdbm $with_database_dbm" != "no no"; then |
13970 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` | 13653 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` |
13971 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 | 13654 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 |
13972 echo "configure:13973: checking for ndbm.h" >&5 | 13655 echo "configure:13656: checking for ndbm.h" >&5 |
13973 | 13656 |
13974 cat > conftest.$ac_ext <<EOF | 13657 cat > conftest.$ac_ext <<EOF |
13975 #line 13976 "configure" | 13658 #line 13659 "configure" |
13976 #include "confdefs.h" | 13659 #include "confdefs.h" |
13977 #include <ndbm.h> | 13660 #include <ndbm.h> |
13978 EOF | 13661 EOF |
13979 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13662 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13980 { (eval echo configure:13981: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13663 { (eval echo configure:13664: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13981 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13664 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13982 if test -z "$ac_err"; then | 13665 if test -z "$ac_err"; then |
13983 rm -rf conftest* | 13666 rm -rf conftest* |
13984 eval "ac_cv_header_$ac_safe=yes" | 13667 eval "ac_cv_header_$ac_safe=yes" |
13985 else | 13668 else |
14005 fi | 13688 fi |
14006 | 13689 |
14007 if test "$with_database_gdbm" != "no"; then | 13690 if test "$with_database_gdbm" != "no"; then |
14008 | 13691 |
14009 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 | 13692 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 |
14010 echo "configure:14011: checking for dbm_open in -lgdbm" >&5 | 13693 echo "configure:13694: checking for dbm_open in -lgdbm" >&5 |
14011 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` | 13694 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` |
14012 | 13695 |
14013 xe_check_libs=" -lgdbm " | 13696 xe_check_libs=" -lgdbm " |
14014 cat > conftest.$ac_ext <<EOF | 13697 cat > conftest.$ac_ext <<EOF |
14015 #line 14016 "configure" | 13698 #line 13699 "configure" |
14016 #include "confdefs.h" | 13699 #include "confdefs.h" |
14017 /* Override any gcc2 internal prototype to avoid an error. */ | 13700 /* Override any gcc2 internal prototype to avoid an error. */ |
14018 /* We use char because int might match the return type of a gcc2 | 13701 /* We use char because int might match the return type of a gcc2 |
14019 builtin and then its argument prototype would still apply. */ | 13702 builtin and then its argument prototype would still apply. */ |
14020 char dbm_open(); | 13703 char dbm_open(); |
14021 | 13704 |
14022 int main() { | 13705 int main() { |
14023 dbm_open() | 13706 dbm_open() |
14024 ; return 0; } | 13707 ; return 0; } |
14025 EOF | 13708 EOF |
14026 if { (eval echo configure:14027: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13709 if { (eval echo configure:13710: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14027 rm -rf conftest* | 13710 rm -rf conftest* |
14028 eval "ac_cv_lib_$ac_lib_var=yes" | 13711 eval "ac_cv_lib_$ac_lib_var=yes" |
14029 else | 13712 else |
14030 echo "configure: failed program was:" >&5 | 13713 echo "configure: failed program was:" >&5 |
14031 cat conftest.$ac_ext >&5 | 13714 cat conftest.$ac_ext >&5 |
14049 | 13732 |
14050 fi | 13733 fi |
14051 | 13734 |
14052 if test "$with_database_dbm" != "no"; then | 13735 if test "$with_database_dbm" != "no"; then |
14053 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 13736 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
14054 echo "configure:14055: checking for dbm_open" >&5 | 13737 echo "configure:13738: checking for dbm_open" >&5 |
14055 | 13738 |
14056 cat > conftest.$ac_ext <<EOF | 13739 cat > conftest.$ac_ext <<EOF |
14057 #line 14058 "configure" | 13740 #line 13741 "configure" |
14058 #include "confdefs.h" | 13741 #include "confdefs.h" |
14059 /* System header to define __stub macros and hopefully few prototypes, | 13742 /* System header to define __stub macros and hopefully few prototypes, |
14060 which can conflict with char dbm_open(); below. */ | 13743 which can conflict with char dbm_open(); below. */ |
14061 #include <assert.h> | 13744 #include <assert.h> |
14062 /* Override any gcc2 internal prototype to avoid an error. */ | 13745 /* Override any gcc2 internal prototype to avoid an error. */ |
14075 dbm_open(); | 13758 dbm_open(); |
14076 #endif | 13759 #endif |
14077 | 13760 |
14078 ; return 0; } | 13761 ; return 0; } |
14079 EOF | 13762 EOF |
14080 if { (eval echo configure:14081: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13763 if { (eval echo configure:13764: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14081 rm -rf conftest* | 13764 rm -rf conftest* |
14082 eval "ac_cv_func_dbm_open=yes" | 13765 eval "ac_cv_func_dbm_open=yes" |
14083 else | 13766 else |
14084 echo "configure: failed program was:" >&5 | 13767 echo "configure: failed program was:" >&5 |
14085 cat conftest.$ac_ext >&5 | 13768 cat conftest.$ac_ext >&5 |
14094 else | 13777 else |
14095 echo "$ac_t""no" 1>&6 | 13778 echo "$ac_t""no" 1>&6 |
14096 | 13779 |
14097 | 13780 |
14098 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 | 13781 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 |
14099 echo "configure:14100: checking for dbm_open in -ldbm" >&5 | 13782 echo "configure:13783: checking for dbm_open in -ldbm" >&5 |
14100 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` | 13783 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` |
14101 | 13784 |
14102 xe_check_libs=" -ldbm " | 13785 xe_check_libs=" -ldbm " |
14103 cat > conftest.$ac_ext <<EOF | 13786 cat > conftest.$ac_ext <<EOF |
14104 #line 14105 "configure" | 13787 #line 13788 "configure" |
14105 #include "confdefs.h" | 13788 #include "confdefs.h" |
14106 /* Override any gcc2 internal prototype to avoid an error. */ | 13789 /* Override any gcc2 internal prototype to avoid an error. */ |
14107 /* We use char because int might match the return type of a gcc2 | 13790 /* We use char because int might match the return type of a gcc2 |
14108 builtin and then its argument prototype would still apply. */ | 13791 builtin and then its argument prototype would still apply. */ |
14109 char dbm_open(); | 13792 char dbm_open(); |
14110 | 13793 |
14111 int main() { | 13794 int main() { |
14112 dbm_open() | 13795 dbm_open() |
14113 ; return 0; } | 13796 ; return 0; } |
14114 EOF | 13797 EOF |
14115 if { (eval echo configure:14116: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13798 if { (eval echo configure:13799: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14116 rm -rf conftest* | 13799 rm -rf conftest* |
14117 eval "ac_cv_lib_$ac_lib_var=yes" | 13800 eval "ac_cv_lib_$ac_lib_var=yes" |
14118 else | 13801 else |
14119 echo "configure: failed program was:" >&5 | 13802 echo "configure: failed program was:" >&5 |
14120 cat conftest.$ac_ext >&5 | 13803 cat conftest.$ac_ext >&5 |
14151 } | 13834 } |
14152 | 13835 |
14153 | 13836 |
14154 if test "$with_database_berkdb" != "no"; then | 13837 if test "$with_database_berkdb" != "no"; then |
14155 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 | 13838 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 |
14156 echo "configure:14157: checking for Berkeley db.h" >&5 | 13839 echo "configure:13840: checking for Berkeley db.h" >&5 |
14157 for header in "db/db.h" "db.h"; do | 13840 for header in "db/db.h" "db.h"; do |
14158 cat > conftest.$ac_ext <<EOF | 13841 cat > conftest.$ac_ext <<EOF |
14159 #line 14160 "configure" | 13842 #line 13843 "configure" |
14160 #include "confdefs.h" | 13843 #include "confdefs.h" |
14161 | 13844 |
14162 #include <stdlib.h> | 13845 #include <stdlib.h> |
14163 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) | 13846 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) |
14164 #ifdef HAVE_INTTYPES_H | 13847 #ifdef HAVE_INTTYPES_H |
14176 | 13859 |
14177 int main() { | 13860 int main() { |
14178 | 13861 |
14179 ; return 0; } | 13862 ; return 0; } |
14180 EOF | 13863 EOF |
14181 if { (eval echo configure:14182: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 13864 if { (eval echo configure:13865: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
14182 rm -rf conftest* | 13865 rm -rf conftest* |
14183 db_h_file="$header"; break | 13866 db_h_file="$header"; break |
14184 else | 13867 else |
14185 echo "configure: failed program was:" >&5 | 13868 echo "configure: failed program was:" >&5 |
14186 cat conftest.$ac_ext >&5 | 13869 cat conftest.$ac_ext >&5 |
14192 else echo "$ac_t""$db_h_file" 1>&6 | 13875 else echo "$ac_t""$db_h_file" 1>&6 |
14193 fi | 13876 fi |
14194 | 13877 |
14195 if test "$with_database_berkdb" != "no"; then | 13878 if test "$with_database_berkdb" != "no"; then |
14196 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 | 13879 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 |
14197 echo "configure:14198: checking for Berkeley DB version" >&5 | 13880 echo "configure:13881: checking for Berkeley DB version" >&5 |
14198 cat > conftest.$ac_ext <<EOF | 13881 cat > conftest.$ac_ext <<EOF |
14199 #line 14200 "configure" | 13882 #line 13883 "configure" |
14200 #include "confdefs.h" | 13883 #include "confdefs.h" |
14201 #include <$db_h_file> | 13884 #include <$db_h_file> |
14202 #if DB_VERSION_MAJOR > 1 | 13885 #if DB_VERSION_MAJOR > 1 |
14203 yes | 13886 yes |
14204 #endif | 13887 #endif |
14206 EOF | 13889 EOF |
14207 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 13890 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
14208 egrep "yes" >/dev/null 2>&1; then | 13891 egrep "yes" >/dev/null 2>&1; then |
14209 rm -rf conftest* | 13892 rm -rf conftest* |
14210 cat > conftest.$ac_ext <<EOF | 13893 cat > conftest.$ac_ext <<EOF |
14211 #line 14212 "configure" | 13894 #line 13895 "configure" |
14212 #include "confdefs.h" | 13895 #include "confdefs.h" |
14213 #include <$db_h_file> | 13896 #include <$db_h_file> |
14214 #if DB_VERSION_MAJOR > 2 | 13897 #if DB_VERSION_MAJOR > 2 |
14215 yes | 13898 yes |
14216 #endif | 13899 #endif |
14233 echo "$ac_t""1" 1>&6; dbfunc=dbopen | 13916 echo "$ac_t""1" 1>&6; dbfunc=dbopen |
14234 fi | 13917 fi |
14235 rm -f conftest* | 13918 rm -f conftest* |
14236 | 13919 |
14237 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 | 13920 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 |
14238 echo "configure:14239: checking for $dbfunc" >&5 | 13921 echo "configure:13922: checking for $dbfunc" >&5 |
14239 | 13922 |
14240 cat > conftest.$ac_ext <<EOF | 13923 cat > conftest.$ac_ext <<EOF |
14241 #line 14242 "configure" | 13924 #line 13925 "configure" |
14242 #include "confdefs.h" | 13925 #include "confdefs.h" |
14243 /* System header to define __stub macros and hopefully few prototypes, | 13926 /* System header to define __stub macros and hopefully few prototypes, |
14244 which can conflict with char $dbfunc(); below. */ | 13927 which can conflict with char $dbfunc(); below. */ |
14245 #include <assert.h> | 13928 #include <assert.h> |
14246 /* Override any gcc2 internal prototype to avoid an error. */ | 13929 /* Override any gcc2 internal prototype to avoid an error. */ |
14259 $dbfunc(); | 13942 $dbfunc(); |
14260 #endif | 13943 #endif |
14261 | 13944 |
14262 ; return 0; } | 13945 ; return 0; } |
14263 EOF | 13946 EOF |
14264 if { (eval echo configure:14265: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13947 if { (eval echo configure:13948: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14265 rm -rf conftest* | 13948 rm -rf conftest* |
14266 eval "ac_cv_func_$dbfunc=yes" | 13949 eval "ac_cv_func_$dbfunc=yes" |
14267 else | 13950 else |
14268 echo "configure: failed program was:" >&5 | 13951 echo "configure: failed program was:" >&5 |
14269 cat conftest.$ac_ext >&5 | 13952 cat conftest.$ac_ext >&5 |
14278 else | 13961 else |
14279 echo "$ac_t""no" 1>&6 | 13962 echo "$ac_t""no" 1>&6 |
14280 | 13963 |
14281 | 13964 |
14282 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 | 13965 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 |
14283 echo "configure:14284: checking for $dbfunc in -ldb" >&5 | 13966 echo "configure:13967: checking for $dbfunc in -ldb" >&5 |
14284 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` | 13967 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` |
14285 | 13968 |
14286 xe_check_libs=" -ldb " | 13969 xe_check_libs=" -ldb " |
14287 cat > conftest.$ac_ext <<EOF | 13970 cat > conftest.$ac_ext <<EOF |
14288 #line 14289 "configure" | 13971 #line 13972 "configure" |
14289 #include "confdefs.h" | 13972 #include "confdefs.h" |
14290 /* Override any gcc2 internal prototype to avoid an error. */ | 13973 /* Override any gcc2 internal prototype to avoid an error. */ |
14291 /* We use char because int might match the return type of a gcc2 | 13974 /* We use char because int might match the return type of a gcc2 |
14292 builtin and then its argument prototype would still apply. */ | 13975 builtin and then its argument prototype would still apply. */ |
14293 char $dbfunc(); | 13976 char $dbfunc(); |
14294 | 13977 |
14295 int main() { | 13978 int main() { |
14296 $dbfunc() | 13979 $dbfunc() |
14297 ; return 0; } | 13980 ; return 0; } |
14298 EOF | 13981 EOF |
14299 if { (eval echo configure:14300: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13982 if { (eval echo configure:13983: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14300 rm -rf conftest* | 13983 rm -rf conftest* |
14301 eval "ac_cv_lib_$ac_lib_var=yes" | 13984 eval "ac_cv_lib_$ac_lib_var=yes" |
14302 else | 13985 else |
14303 echo "configure: failed program was:" >&5 | 13986 echo "configure: failed program was:" >&5 |
14304 cat conftest.$ac_ext >&5 | 13987 cat conftest.$ac_ext >&5 |
14350 cat >> confdefs.h <<\EOF | 14033 cat >> confdefs.h <<\EOF |
14351 #define HAVE_DATABASE 1 | 14034 #define HAVE_DATABASE 1 |
14352 EOF | 14035 EOF |
14353 } | 14036 } |
14354 | 14037 |
14355 extra_objs="$extra_objs database.o" && if test "$extra_verbose" = "yes"; then | |
14356 echo " xemacs will be linked with \"database.o\"" | |
14357 fi | |
14358 fi | 14038 fi |
14359 | 14039 |
14360 if test "$with_socks" = "yes"; then | 14040 if test "$with_socks" = "yes"; then |
14361 | 14041 |
14362 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 | 14042 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 |
14363 echo "configure:14364: checking for SOCKSinit in -lsocks" >&5 | 14043 echo "configure:14044: checking for SOCKSinit in -lsocks" >&5 |
14364 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` | 14044 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` |
14365 | 14045 |
14366 xe_check_libs=" -lsocks " | 14046 xe_check_libs=" -lsocks " |
14367 cat > conftest.$ac_ext <<EOF | 14047 cat > conftest.$ac_ext <<EOF |
14368 #line 14369 "configure" | 14048 #line 14049 "configure" |
14369 #include "confdefs.h" | 14049 #include "confdefs.h" |
14370 /* Override any gcc2 internal prototype to avoid an error. */ | 14050 /* Override any gcc2 internal prototype to avoid an error. */ |
14371 /* We use char because int might match the return type of a gcc2 | 14051 /* We use char because int might match the return type of a gcc2 |
14372 builtin and then its argument prototype would still apply. */ | 14052 builtin and then its argument prototype would still apply. */ |
14373 char SOCKSinit(); | 14053 char SOCKSinit(); |
14374 | 14054 |
14375 int main() { | 14055 int main() { |
14376 SOCKSinit() | 14056 SOCKSinit() |
14377 ; return 0; } | 14057 ; return 0; } |
14378 EOF | 14058 EOF |
14379 if { (eval echo configure:14380: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14059 if { (eval echo configure:14060: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14380 rm -rf conftest* | 14060 rm -rf conftest* |
14381 eval "ac_cv_lib_$ac_lib_var=yes" | 14061 eval "ac_cv_lib_$ac_lib_var=yes" |
14382 else | 14062 else |
14383 echo "configure: failed program was:" >&5 | 14063 echo "configure: failed program was:" >&5 |
14384 cat conftest.$ac_ext >&5 | 14064 cat conftest.$ac_ext >&5 |
14429 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi | 14109 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi |
14430 fi | 14110 fi |
14431 | 14111 |
14432 if test "$with_modules" != "no"; then | 14112 if test "$with_modules" != "no"; then |
14433 echo "checking for module support" 1>&6 | 14113 echo "checking for module support" 1>&6 |
14434 echo "configure:14435: checking for module support" >&5 | 14114 echo "configure:14115: checking for module support" >&5 |
14435 | 14115 |
14436 if test "$with_msw" = "yes"; then | 14116 if test "$with_msw" = "yes"; then |
14437 have_dl=yes; | 14117 have_dl=yes; |
14438 else | 14118 else |
14439 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` | 14119 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` |
14440 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 | 14120 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 |
14441 echo "configure:14442: checking for dlfcn.h" >&5 | 14121 echo "configure:14122: checking for dlfcn.h" >&5 |
14442 | 14122 |
14443 cat > conftest.$ac_ext <<EOF | 14123 cat > conftest.$ac_ext <<EOF |
14444 #line 14445 "configure" | 14124 #line 14125 "configure" |
14445 #include "confdefs.h" | 14125 #include "confdefs.h" |
14446 #include <dlfcn.h> | 14126 #include <dlfcn.h> |
14447 EOF | 14127 EOF |
14448 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14128 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14449 { (eval echo configure:14450: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14129 { (eval echo configure:14130: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14450 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14130 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14451 if test -z "$ac_err"; then | 14131 if test -z "$ac_err"; then |
14452 rm -rf conftest* | 14132 rm -rf conftest* |
14453 eval "ac_cv_header_$ac_safe=yes" | 14133 eval "ac_cv_header_$ac_safe=yes" |
14454 else | 14134 else |
14461 rm -f conftest* | 14141 rm -f conftest* |
14462 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 14142 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
14463 echo "$ac_t""yes" 1>&6 | 14143 echo "$ac_t""yes" 1>&6 |
14464 | 14144 |
14465 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 | 14145 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 |
14466 echo "configure:14467: checking for dlopen in -lc" >&5 | 14146 echo "configure:14147: checking for dlopen in -lc" >&5 |
14467 cat > conftest.$ac_ext <<EOF | 14147 cat > conftest.$ac_ext <<EOF |
14468 #line 14469 "configure" | 14148 #line 14149 "configure" |
14469 #include "confdefs.h" | 14149 #include "confdefs.h" |
14470 #include <dlfcn.h> | 14150 #include <dlfcn.h> |
14471 int main() { | 14151 int main() { |
14472 dlopen ("", 0); | 14152 dlopen ("", 0); |
14473 ; return 0; } | 14153 ; return 0; } |
14474 EOF | 14154 EOF |
14475 if { (eval echo configure:14476: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14155 if { (eval echo configure:14156: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14476 rm -rf conftest* | 14156 rm -rf conftest* |
14477 have_dl=yes | 14157 have_dl=yes |
14478 else | 14158 else |
14479 echo "configure: failed program was:" >&5 | 14159 echo "configure: failed program was:" >&5 |
14480 cat conftest.$ac_ext >&5 | 14160 cat conftest.$ac_ext >&5 |
14481 rm -rf conftest* | 14161 rm -rf conftest* |
14482 | 14162 |
14483 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 | 14163 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
14484 echo "configure:14485: checking for dlopen in -ldl" >&5 | 14164 echo "configure:14165: checking for dlopen in -ldl" >&5 |
14485 ac_save_LIBS="$LIBS" | 14165 ac_save_LIBS="$LIBS" |
14486 LIBS="-ldl $LIBS" | 14166 LIBS="-ldl $LIBS" |
14487 cat > conftest.$ac_ext <<EOF | 14167 cat > conftest.$ac_ext <<EOF |
14488 #line 14489 "configure" | 14168 #line 14169 "configure" |
14489 #include "confdefs.h" | 14169 #include "confdefs.h" |
14490 #include <dlfcn.h> | 14170 #include <dlfcn.h> |
14491 int main() { | 14171 int main() { |
14492 dlopen ("", 0); | 14172 dlopen ("", 0); |
14493 ; return 0; } | 14173 ; return 0; } |
14494 EOF | 14174 EOF |
14495 if { (eval echo configure:14496: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14175 if { (eval echo configure:14176: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14496 rm -rf conftest* | 14176 rm -rf conftest* |
14497 have_dl=yes | 14177 have_dl=yes |
14498 else | 14178 else |
14499 echo "configure: failed program was:" >&5 | 14179 echo "configure: failed program was:" >&5 |
14500 cat conftest.$ac_ext >&5 | 14180 cat conftest.$ac_ext >&5 |
14519 } | 14199 } |
14520 | 14200 |
14521 else | 14201 else |
14522 | 14202 |
14523 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 | 14203 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 |
14524 echo "configure:14525: checking for shl_load in -ldld" >&5 | 14204 echo "configure:14205: checking for shl_load in -ldld" >&5 |
14525 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` | 14205 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` |
14526 | 14206 |
14527 xe_check_libs=" -ldld " | 14207 xe_check_libs=" -ldld " |
14528 cat > conftest.$ac_ext <<EOF | 14208 cat > conftest.$ac_ext <<EOF |
14529 #line 14530 "configure" | 14209 #line 14210 "configure" |
14530 #include "confdefs.h" | 14210 #include "confdefs.h" |
14531 /* Override any gcc2 internal prototype to avoid an error. */ | 14211 /* Override any gcc2 internal prototype to avoid an error. */ |
14532 /* We use char because int might match the return type of a gcc2 | 14212 /* We use char because int might match the return type of a gcc2 |
14533 builtin and then its argument prototype would still apply. */ | 14213 builtin and then its argument prototype would still apply. */ |
14534 char shl_load(); | 14214 char shl_load(); |
14535 | 14215 |
14536 int main() { | 14216 int main() { |
14537 shl_load() | 14217 shl_load() |
14538 ; return 0; } | 14218 ; return 0; } |
14539 EOF | 14219 EOF |
14540 if { (eval echo configure:14541: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14220 if { (eval echo configure:14221: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14541 rm -rf conftest* | 14221 rm -rf conftest* |
14542 eval "ac_cv_lib_$ac_lib_var=yes" | 14222 eval "ac_cv_lib_$ac_lib_var=yes" |
14543 else | 14223 else |
14544 echo "configure: failed program was:" >&5 | 14224 echo "configure: failed program was:" >&5 |
14545 cat conftest.$ac_ext >&5 | 14225 cat conftest.$ac_ext >&5 |
14562 | 14242 |
14563 else | 14243 else |
14564 echo "$ac_t""no" 1>&6 | 14244 echo "$ac_t""no" 1>&6 |
14565 | 14245 |
14566 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 | 14246 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 |
14567 echo "configure:14568: checking for dld_init in -ldld" >&5 | 14247 echo "configure:14248: checking for dld_init in -ldld" >&5 |
14568 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` | 14248 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` |
14569 | 14249 |
14570 xe_check_libs=" -ldld " | 14250 xe_check_libs=" -ldld " |
14571 cat > conftest.$ac_ext <<EOF | 14251 cat > conftest.$ac_ext <<EOF |
14572 #line 14573 "configure" | 14252 #line 14253 "configure" |
14573 #include "confdefs.h" | 14253 #include "confdefs.h" |
14574 /* Override any gcc2 internal prototype to avoid an error. */ | 14254 /* Override any gcc2 internal prototype to avoid an error. */ |
14575 /* We use char because int might match the return type of a gcc2 | 14255 /* We use char because int might match the return type of a gcc2 |
14576 builtin and then its argument prototype would still apply. */ | 14256 builtin and then its argument prototype would still apply. */ |
14577 char dld_init(); | 14257 char dld_init(); |
14578 | 14258 |
14579 int main() { | 14259 int main() { |
14580 dld_init() | 14260 dld_init() |
14581 ; return 0; } | 14261 ; return 0; } |
14582 EOF | 14262 EOF |
14583 if { (eval echo configure:14584: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14263 if { (eval echo configure:14264: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14584 rm -rf conftest* | 14264 rm -rf conftest* |
14585 eval "ac_cv_lib_$ac_lib_var=yes" | 14265 eval "ac_cv_lib_$ac_lib_var=yes" |
14586 else | 14266 else |
14587 echo "configure: failed program was:" >&5 | 14267 echo "configure: failed program was:" >&5 |
14588 cat conftest.$ac_ext >&5 | 14268 cat conftest.$ac_ext >&5 |
14623 ld_dynamic_link_flags= | 14303 ld_dynamic_link_flags= |
14624 xehost=$canonical | 14304 xehost=$canonical |
14625 xealias=$internal_configuration | 14305 xealias=$internal_configuration |
14626 | 14306 |
14627 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 | 14307 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 |
14628 echo "configure:14629: checking how to build dynamic libraries for ${xehost}" >&5 | 14308 echo "configure:14309: checking how to build dynamic libraries for ${xehost}" >&5 |
14629 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. | 14309 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. |
14630 case "$xehost" in | 14310 case "$xehost" in |
14631 *-*-linux-gnu*) ;; | 14311 *-*-linux-gnu*) ;; |
14632 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` | 14312 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` |
14633 esac | 14313 esac |
14651 # Now see if the compiler is really GCC. | 14331 # Now see if the compiler is really GCC. |
14652 if test "$GCC" = "yes"; then | 14332 if test "$GCC" = "yes"; then |
14653 XEGCC=yes | 14333 XEGCC=yes |
14654 else | 14334 else |
14655 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 | 14335 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 |
14656 echo "configure:14657: checking checking whether we are using GNU C" >&5 | 14336 echo "configure:14337: checking checking whether we are using GNU C" >&5 |
14657 cat > conftest.$ac_ext <<EOF | 14337 cat > conftest.$ac_ext <<EOF |
14658 #line 14659 "configure" | 14338 #line 14339 "configure" |
14659 #include "confdefs.h" | 14339 #include "confdefs.h" |
14660 | 14340 |
14661 #ifdef __GNUC__ | 14341 #ifdef __GNUC__ |
14662 yes; | 14342 yes; |
14663 #endif | 14343 #endif |
14675 | 14355 |
14676 echo "$ac_t""${XEGCC}" 1>&6 | 14356 echo "$ac_t""${XEGCC}" 1>&6 |
14677 fi | 14357 fi |
14678 | 14358 |
14679 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 | 14359 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 |
14680 echo "configure:14681: checking how to produce PIC code" >&5 | 14360 echo "configure:14361: checking how to produce PIC code" >&5 |
14681 wl= | 14361 wl= |
14682 | 14362 |
14683 can_build_shared=yes | 14363 can_build_shared=yes |
14684 if test "$XEGCC" = yes; then | 14364 if test "$XEGCC" = yes; then |
14685 wl='-Wl,' | 14365 wl='-Wl,' |
14776 if test -n "$dll_cflags"; then | 14456 if test -n "$dll_cflags"; then |
14777 echo "$ac_t""${dll_cflags}" 1>&6 | 14457 echo "$ac_t""${dll_cflags}" 1>&6 |
14778 | 14458 |
14779 # Check to make sure the dll_cflags actually works. | 14459 # Check to make sure the dll_cflags actually works. |
14780 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 | 14460 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 |
14781 echo "configure:14782: checking if PIC flag ${dll_cflags} really works" >&5 | 14461 echo "configure:14462: checking if PIC flag ${dll_cflags} really works" >&5 |
14782 save_CFLAGS="$CFLAGS" | 14462 save_CFLAGS="$CFLAGS" |
14783 CFLAGS="$CFLAGS $dll_cflags -DPIC" | 14463 CFLAGS="$CFLAGS $dll_cflags -DPIC" |
14784 cat > conftest.$ac_ext <<EOF | 14464 cat > conftest.$ac_ext <<EOF |
14785 #line 14786 "configure" | 14465 #line 14466 "configure" |
14786 #include "confdefs.h" | 14466 #include "confdefs.h" |
14787 | 14467 |
14788 int main() { | 14468 int main() { |
14789 int x=0; | 14469 int x=0; |
14790 ; return 0; } | 14470 ; return 0; } |
14791 EOF | 14471 EOF |
14792 if { (eval echo configure:14793: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 14472 if { (eval echo configure:14473: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
14793 rm -rf conftest* | 14473 rm -rf conftest* |
14794 | 14474 |
14795 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also | 14475 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also |
14796 # reports no error. So, we need to grep stderr for (Bundled). | 14476 # reports no error. So, we need to grep stderr for (Bundled). |
14797 if grep '(Bundled)' config.log >/dev/null; then | 14477 if grep '(Bundled)' config.log >/dev/null; then |
14818 if test "$can_build_shared" = "yes"; then | 14498 if test "$can_build_shared" = "yes"; then |
14819 cc_produces_so=no | 14499 cc_produces_so=no |
14820 xldf= | 14500 xldf= |
14821 xcldf= | 14501 xcldf= |
14822 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 | 14502 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 |
14823 echo "configure:14824: checking if C compiler can produce shared libraries" >&5 | 14503 echo "configure:14504: checking if C compiler can produce shared libraries" >&5 |
14824 if test "$XEGCC" = yes; then | 14504 if test "$XEGCC" = yes; then |
14825 xcldf="-shared" | 14505 xcldf="-shared" |
14826 xldf="-shared" | 14506 xldf="-shared" |
14827 else # Not using GCC | 14507 else # Not using GCC |
14828 case "$xehost_os" in | 14508 case "$xehost_os" in |
14869 LDFLAGS="$xcldf $LDFLAGS" | 14549 LDFLAGS="$xcldf $LDFLAGS" |
14870 LIBS= | 14550 LIBS= |
14871 xe_libs= | 14551 xe_libs= |
14872 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 14552 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
14873 cat > conftest.$ac_ext <<EOF | 14553 cat > conftest.$ac_ext <<EOF |
14874 #line 14875 "configure" | 14554 #line 14555 "configure" |
14875 #include "confdefs.h" | 14555 #include "confdefs.h" |
14876 | 14556 |
14877 int main() { | 14557 int main() { |
14878 int x=0; | 14558 int x=0; |
14879 ; return 0; } | 14559 ; return 0; } |
14880 EOF | 14560 EOF |
14881 if { (eval echo configure:14882: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14561 if { (eval echo configure:14562: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14882 rm -rf conftest* | 14562 rm -rf conftest* |
14883 cc_produces_so=yes | 14563 cc_produces_so=yes |
14884 else | 14564 else |
14885 echo "configure: failed program was:" >&5 | 14565 echo "configure: failed program was:" >&5 |
14886 cat conftest.$ac_ext >&5 | 14566 cat conftest.$ac_ext >&5 |
14901 if test -z "$LTLD"; then | 14581 if test -z "$LTLD"; then |
14902 ac_prog=ld | 14582 ac_prog=ld |
14903 if test "$XEGCC" = yes; then | 14583 if test "$XEGCC" = yes; then |
14904 # Check if gcc -print-prog-name=ld gives a path. | 14584 # Check if gcc -print-prog-name=ld gives a path. |
14905 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 | 14585 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 |
14906 echo "configure:14907: checking for ld used by GCC" >&5 | 14586 echo "configure:14587: checking for ld used by GCC" >&5 |
14907 ac_prog=`($CC -print-prog-name=ld) 2>&5` | 14587 ac_prog=`($CC -print-prog-name=ld) 2>&5` |
14908 case "$ac_prog" in | 14588 case "$ac_prog" in |
14909 # Accept absolute paths. | 14589 # Accept absolute paths. |
14910 /*) | 14590 /*) |
14911 if test -z "$LTLD"; then | 14591 if test -z "$LTLD"; then |
14927 with_gnu_ld=unknown | 14607 with_gnu_ld=unknown |
14928 ;; | 14608 ;; |
14929 esac | 14609 esac |
14930 else | 14610 else |
14931 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 | 14611 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 |
14932 echo "configure:14933: checking for GNU ld" >&5 | 14612 echo "configure:14613: checking for GNU ld" >&5 |
14933 fi | 14613 fi |
14934 | 14614 |
14935 if test -z "$LTLD"; then | 14615 if test -z "$LTLD"; then |
14936 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 14616 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
14937 for ac_dir in $PATH; do | 14617 for ac_dir in $PATH; do |
14965 | 14645 |
14966 ld_dynamic_link_flags= | 14646 ld_dynamic_link_flags= |
14967 | 14647 |
14968 # Check to see if it really is or isn't GNU ld. | 14648 # Check to see if it really is or isn't GNU ld. |
14969 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 | 14649 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 |
14970 echo "configure:14971: checking if the linker is GNU ld" >&5 | 14650 echo "configure:14651: checking if the linker is GNU ld" >&5 |
14971 # I'd rather use --version here, but apparently some GNU ld's only accept -v. | 14651 # I'd rather use --version here, but apparently some GNU ld's only accept -v. |
14972 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then | 14652 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then |
14973 xe_gnu_ld=yes | 14653 xe_gnu_ld=yes |
14974 else | 14654 else |
14975 xe_gnu_ld=no | 14655 xe_gnu_ld=no |
14993 ld_shlibs=yes | 14673 ld_shlibs=yes |
14994 else | 14674 else |
14995 # OK - only NOW do we futz about with ld. | 14675 # OK - only NOW do we futz about with ld. |
14996 # See if the linker supports building shared libraries. | 14676 # See if the linker supports building shared libraries. |
14997 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 | 14677 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 |
14998 echo "configure:14999: checking whether the linker supports shared libraries" >&5 | 14678 echo "configure:14679: checking whether the linker supports shared libraries" >&5 |
14999 dll_ld=$CC | 14679 dll_ld=$CC |
15000 dll_ldflags=$LDFLAGS | 14680 dll_ldflags=$LDFLAGS |
15001 ld_shlibs=yes | 14681 ld_shlibs=yes |
15002 can_build_shared=yes | 14682 can_build_shared=yes |
15003 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then | 14683 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then |
15196 cat >> confdefs.h <<\EOF | 14876 cat >> confdefs.h <<\EOF |
15197 #define HAVE_SHLIB 1 | 14877 #define HAVE_SHLIB 1 |
15198 EOF | 14878 EOF |
15199 } | 14879 } |
15200 | 14880 |
15201 extra_objs="$extra_objs sysdll.o emodules.o" && if test "$extra_verbose" = "yes"; then | |
15202 echo " xemacs will be linked with \"sysdll.o emodules.o\"" | |
15203 fi | |
15204 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi | 14881 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi |
15205 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi | 14882 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi |
15206 for ac_func in dlerror _dlerror | 14883 for ac_func in dlerror _dlerror |
15207 do | 14884 do |
15208 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 14885 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
15209 echo "configure:15210: checking for $ac_func" >&5 | 14886 echo "configure:14887: checking for $ac_func" >&5 |
15210 | 14887 |
15211 cat > conftest.$ac_ext <<EOF | 14888 cat > conftest.$ac_ext <<EOF |
15212 #line 15213 "configure" | 14889 #line 14890 "configure" |
15213 #include "confdefs.h" | 14890 #include "confdefs.h" |
15214 /* System header to define __stub macros and hopefully few prototypes, | 14891 /* System header to define __stub macros and hopefully few prototypes, |
15215 which can conflict with char $ac_func(); below. */ | 14892 which can conflict with char $ac_func(); below. */ |
15216 #include <assert.h> | 14893 #include <assert.h> |
15217 /* Override any gcc2 internal prototype to avoid an error. */ | 14894 /* Override any gcc2 internal prototype to avoid an error. */ |
15230 $ac_func(); | 14907 $ac_func(); |
15231 #endif | 14908 #endif |
15232 | 14909 |
15233 ; return 0; } | 14910 ; return 0; } |
15234 EOF | 14911 EOF |
15235 if { (eval echo configure:15236: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14912 if { (eval echo configure:14913: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15236 rm -rf conftest* | 14913 rm -rf conftest* |
15237 eval "ac_cv_func_$ac_func=yes" | 14914 eval "ac_cv_func_$ac_func=yes" |
15238 else | 14915 else |
15239 echo "configure: failed program was:" >&5 | 14916 echo "configure: failed program was:" >&5 |
15240 cat conftest.$ac_ext >&5 | 14917 cat conftest.$ac_ext >&5 |
15269 with_modules=no | 14946 with_modules=no |
15270 fi | 14947 fi |
15271 fi | 14948 fi |
15272 | 14949 |
15273 cat > conftest.$ac_ext <<EOF | 14950 cat > conftest.$ac_ext <<EOF |
15274 #line 15275 "configure" | 14951 #line 14952 "configure" |
15275 #include "confdefs.h" | 14952 #include "confdefs.h" |
15276 int main(int c,char *v[]){return 0;} | 14953 int main(int c,char *v[]){return 0;} |
15277 EOF | 14954 EOF |
15278 if { (eval echo configure:15279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 14955 if { (eval echo configure:14956: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
15279 then | 14956 then |
15280 : | 14957 : |
15281 else | 14958 else |
15282 conftest_rc="$?" | 14959 conftest_rc="$?" |
15283 echo "configure: failed program was:" >&5 | 14960 echo "configure: failed program was:" >&5 |
15300 echo "*** PANIC *** on your system. Don't do that." | 14977 echo "*** PANIC *** on your system. Don't do that." |
15301 exit 1 | 14978 exit 1 |
15302 fi | 14979 fi |
15303 rm -fr conftest* | 14980 rm -fr conftest* |
15304 | 14981 |
15305 if test "$win32_processes" = "yes"; then | 14982 if test "$win32_processes" != "yes"; then |
15306 extra_objs="$extra_objs process-nt.o" && if test "$extra_verbose" = "yes"; then | |
15307 echo " xemacs will be linked with \"process-nt.o\"" | |
15308 fi | |
15309 else | |
15310 { test "$extra_verbose" = "yes" && cat << \EOF | 14983 { test "$extra_verbose" = "yes" && cat << \EOF |
15311 Defining HAVE_UNIX_PROCESSES | 14984 Defining HAVE_UNIX_PROCESSES |
15312 EOF | 14985 EOF |
15313 cat >> confdefs.h <<\EOF | 14986 cat >> confdefs.h <<\EOF |
15314 #define HAVE_UNIX_PROCESSES 1 | 14987 #define HAVE_UNIX_PROCESSES 1 |
15315 EOF | 14988 EOF |
15316 } | 14989 } |
15317 | 14990 |
15318 extra_objs="$extra_objs process-unix.o" && if test "$extra_verbose" = "yes"; then | |
15319 echo " xemacs will be linked with \"process-unix.o\"" | |
15320 fi | |
15321 fi | 14991 fi |
15322 | 14992 |
15323 | 14993 |
15324 | 14994 |
15325 T="" | 14995 T="" |
15752 #define USE_SYSTEM_MALLOC 1 | 15422 #define USE_SYSTEM_MALLOC 1 |
15753 EOF | 15423 EOF |
15754 } | 15424 } |
15755 | 15425 |
15756 fi | 15426 fi |
15757 test "$with_i18n3" = "yes" && { test "$extra_verbose" = "yes" && cat << \EOF | |
15758 Defining I18N3 | |
15759 EOF | |
15760 cat >> confdefs.h <<\EOF | |
15761 #define I18N3 1 | |
15762 EOF | |
15763 } | |
15764 | |
15765 test "$GCC" = "yes" && { test "$extra_verbose" = "yes" && cat << \EOF | 15427 test "$GCC" = "yes" && { test "$extra_verbose" = "yes" && cat << \EOF |
15766 Defining USE_GCC | 15428 Defining USE_GCC |
15767 EOF | 15429 EOF |
15768 cat >> confdefs.h <<\EOF | 15430 cat >> confdefs.h <<\EOF |
15769 #define USE_GCC 1 | 15431 #define USE_GCC 1 |
16031 fi | 15693 fi |
16032 | 15694 |
16033 echo " | 15695 echo " |
16034 Internationalization:" | 15696 Internationalization:" |
16035 test "$with_mule" = yes && echo " Compiling in support for Mule (multi-lingual Emacs)." | 15697 test "$with_mule" = yes && echo " Compiling in support for Mule (multi-lingual Emacs)." |
16036 test "$with_file_coding" = yes && echo " Compiling in support for file coding." | |
16037 test "$with_xim" != no && echo " Compiling in support for XIM (X11R5+ I18N input method)." | 15698 test "$with_xim" != no && echo " Compiling in support for XIM (X11R5+ I18N input method)." |
16038 test "$with_xim" = motif && echo " - Using Motif to provide XIM support." | 15699 test "$with_xim" = motif && echo " - Using Motif to provide XIM support." |
16039 test "$with_xim" = xlib && echo " - Using raw Xlib to provide XIM support." | 15700 test "$with_xim" = xlib && echo " - Using raw Xlib to provide XIM support." |
16040 test "$with_xfs" = yes && echo " - Using XFontSet to provide bilingual menubar." | 15701 test "$with_xfs" = yes && echo " - Using XFontSet to provide bilingual menubar." |
16041 test "$with_canna" = yes && echo " Compiling in support for Canna on Mule." | 15702 test "$with_canna" = yes && echo " Compiling in support for Canna on Mule." |
16042 if test "$with_wnn" = yes; then | 15703 if test "$with_wnn" = yes; then |
16043 echo " Compiling in support for the WNN input method on Mule." | 15704 echo " Compiling in support for the WNN input method on Mule." |
16044 test "$with_wnn6" = yes && echo " - Using WNN version 6." | 15705 test "$with_wnn6" = yes && echo " - Using WNN version 6." |
16045 fi | 15706 fi |
16046 test "$with_i18n3" = yes && echo " Compiling in support for I18N level 3 (doesn't currently work)." | |
16047 | 15707 |
16048 echo " | 15708 echo " |
16049 Mail:" | 15709 Mail:" |
16050 test "$with_pop" = yes && echo " Compiling in support for POP mail retrieval." | 15710 test "$with_pop" = yes && echo " Compiling in support for POP mail retrieval." |
16051 test "$with_kerberos" = yes && echo " Compiling in support for Kerberos POP authentication." | 15711 test "$with_kerberos" = yes && echo " Compiling in support for Kerberos POP authentication." |