Mercurial > hg > xemacs-beta
comparison configure @ 408:501cfd01ee6d r21-2-34
Import from CVS: tag r21-2-34
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:18:11 +0200 |
parents | b8cc9ab3f761 |
children | de805c49cfc1 |
comparison
equal
deleted
inserted
replaced
407:ed6218a7d4d3 | 408:501cfd01ee6d |
---|---|
238 sitelispdir='${datadir}/${inststaticdir}/site-lisp' | 238 sitelispdir='${datadir}/${inststaticdir}/site-lisp' |
239 sitemoduledir='${datadir}/${inststaticdir}/site-modules' | 239 sitemoduledir='${datadir}/${inststaticdir}/site-modules' |
240 pkgdir='${datadir}/${instvardir}/lisp' | 240 pkgdir='${datadir}/${instvardir}/lisp' |
241 package_path='' | 241 package_path='' |
242 etcdir='${datadir}/${instvardir}/etc' | 242 etcdir='${datadir}/${instvardir}/etc' |
243 lockdir='${statedir}/${inststaticdir}/lock' | |
244 archlibdir='${datadir}/${instvardir}/${configuration}' | 243 archlibdir='${datadir}/${instvardir}/${configuration}' |
245 docdir='${archlibdir}' | 244 docdir='${archlibdir}' |
246 with_prefix='yes' | 245 with_prefix='yes' |
247 with_site_lisp='no' | 246 with_site_lisp='no' |
248 with_site_modules='yes' | 247 with_site_modules='yes' |
582 done | 581 done |
583 ;; | 582 ;; |
584 | 583 |
585 | 584 |
586 prefix | exec_prefix | bindir | datadir | statedir | libdir | \ | 585 prefix | exec_prefix | bindir | datadir | statedir | libdir | \ |
587 mandir | infodir | infopath | lispdir | etcdir | lockdir | pkgdir | \ | 586 mandir | infodir | infopath | lispdir | etcdir | pkgdir | \ |
588 archlibdir | docdir | package_path ) | 587 archlibdir | docdir | package_path ) |
589 if test "$valomitted" = "yes"; then | 588 if test "$valomitted" = "yes"; then |
590 if test "$#" = 0; then | 589 if test "$#" = 0; then |
591 (echo "$progname: Usage error:" | 590 (echo "$progname: Usage error:" |
592 echo " " "The \`--$optname' option requires a value." | 591 echo " " "The \`--$optname' option requires a value." |
689 { test "$extra_verbose" = "yes" && cat << \EOF | 688 { test "$extra_verbose" = "yes" && cat << \EOF |
690 Defining ETCDIR_USER_DEFINED | 689 Defining ETCDIR_USER_DEFINED |
691 EOF | 690 EOF |
692 cat >> confdefs.h <<\EOF | 691 cat >> confdefs.h <<\EOF |
693 #define ETCDIR_USER_DEFINED 1 | 692 #define ETCDIR_USER_DEFINED 1 |
694 EOF | |
695 } | |
696 ;; | |
697 statedir | lockdir ) { test "$extra_verbose" = "yes" && cat << \EOF | |
698 Defining LOCKDIR_USER_DEFINED | |
699 EOF | |
700 cat >> confdefs.h <<\EOF | |
701 #define LOCKDIR_USER_DEFINED 1 | |
702 EOF | 693 EOF |
703 } | 694 } |
704 ;; | 695 ;; |
705 docdir ) { test "$extra_verbose" = "yes" && cat << \EOF | 696 docdir ) { test "$extra_verbose" = "yes" && cat << \EOF |
706 Defining DOCDIR_USER_DEFINED | 697 Defining DOCDIR_USER_DEFINED |
836 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 | 827 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 |
837 fi | 828 fi |
838 fi | 829 fi |
839 | 830 |
840 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 | 831 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 |
841 echo "configure:842: checking whether ln -s works" >&5 | 832 echo "configure:833: checking whether ln -s works" >&5 |
842 | 833 |
843 rm -f conftestdata | 834 rm -f conftestdata |
844 if ln -s X conftestdata 2>/dev/null | 835 if ln -s X conftestdata 2>/dev/null |
845 then | 836 then |
846 rm -f conftestdata | 837 rm -f conftestdata |
1101 } | 1092 } |
1102 | 1093 |
1103 | 1094 |
1104 | 1095 |
1105 echo $ac_n "checking "host system type"""... $ac_c" 1>&6 | 1096 echo $ac_n "checking "host system type"""... $ac_c" 1>&6 |
1106 echo "configure:1107: checking "host system type"" >&5 | 1097 echo "configure:1098: checking "host system type"" >&5 |
1107 internal_configuration=`echo $configuration | sed 's/-\(workshop\)//'` | 1098 internal_configuration=`echo $configuration | sed 's/-\(workshop\)//'` |
1108 canonical=`${CONFIG_SHELL-/bin/sh} $srcdir/config.sub "$internal_configuration"` | 1099 canonical=`${CONFIG_SHELL-/bin/sh} $srcdir/config.sub "$internal_configuration"` |
1109 configuration=`echo "$configuration" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` | 1100 configuration=`echo "$configuration" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` |
1110 canonical=`echo "$canonical" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` | 1101 canonical=`echo "$canonical" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` |
1111 echo "$ac_t""$configuration" 1>&6 | 1102 echo "$ac_t""$configuration" 1>&6 |
1596 xe_save_CFLAGS="$CFLAGS" | 1587 xe_save_CFLAGS="$CFLAGS" |
1597 | 1588 |
1598 # Extract the first word of "gcc", so it can be a program name with args. | 1589 # Extract the first word of "gcc", so it can be a program name with args. |
1599 set dummy gcc; ac_word=$2 | 1590 set dummy gcc; ac_word=$2 |
1600 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1591 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1601 echo "configure:1602: checking for $ac_word" >&5 | 1592 echo "configure:1593: checking for $ac_word" >&5 |
1602 | 1593 |
1603 if test -n "$CC"; then | 1594 if test -n "$CC"; then |
1604 ac_cv_prog_CC="$CC" # Let the user override the test. | 1595 ac_cv_prog_CC="$CC" # Let the user override the test. |
1605 else | 1596 else |
1606 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1597 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1623 | 1614 |
1624 if test -z "$CC"; then | 1615 if test -z "$CC"; then |
1625 # Extract the first word of "cc", so it can be a program name with args. | 1616 # Extract the first word of "cc", so it can be a program name with args. |
1626 set dummy cc; ac_word=$2 | 1617 set dummy cc; ac_word=$2 |
1627 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1618 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1628 echo "configure:1629: checking for $ac_word" >&5 | 1619 echo "configure:1620: checking for $ac_word" >&5 |
1629 | 1620 |
1630 if test -n "$CC"; then | 1621 if test -n "$CC"; then |
1631 ac_cv_prog_CC="$CC" # Let the user override the test. | 1622 ac_cv_prog_CC="$CC" # Let the user override the test. |
1632 else | 1623 else |
1633 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1624 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1671 case "`uname -s`" in | 1662 case "`uname -s`" in |
1672 *win32* | *WIN32*) | 1663 *win32* | *WIN32*) |
1673 # Extract the first word of "cl", so it can be a program name with args. | 1664 # Extract the first word of "cl", so it can be a program name with args. |
1674 set dummy cl; ac_word=$2 | 1665 set dummy cl; ac_word=$2 |
1675 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1666 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1676 echo "configure:1677: checking for $ac_word" >&5 | 1667 echo "configure:1668: checking for $ac_word" >&5 |
1677 | 1668 |
1678 if test -n "$CC"; then | 1669 if test -n "$CC"; then |
1679 ac_cv_prog_CC="$CC" # Let the user override the test. | 1670 ac_cv_prog_CC="$CC" # Let the user override the test. |
1680 else | 1671 else |
1681 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1672 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1700 fi | 1691 fi |
1701 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1692 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
1702 fi | 1693 fi |
1703 | 1694 |
1704 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1695 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
1705 echo "configure:1706: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1696 echo "configure:1697: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
1706 | 1697 |
1707 ac_ext=c | 1698 ac_ext=c |
1708 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1699 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
1709 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1700 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
1710 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1701 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
1713 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1704 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
1714 cross_compiling=no | 1705 cross_compiling=no |
1715 | 1706 |
1716 cat > conftest.$ac_ext << EOF | 1707 cat > conftest.$ac_ext << EOF |
1717 | 1708 |
1718 #line 1719 "configure" | 1709 #line 1710 "configure" |
1719 #include "confdefs.h" | 1710 #include "confdefs.h" |
1720 | 1711 |
1721 main(){return(0);} | 1712 main(){return(0);} |
1722 EOF | 1713 EOF |
1723 if { (eval echo configure:1724: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1714 if { (eval echo configure:1715: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1724 ac_cv_prog_cc_works=yes | 1715 ac_cv_prog_cc_works=yes |
1725 # If we can't run a trivial program, we are probably using a cross compiler. | 1716 # If we can't run a trivial program, we are probably using a cross compiler. |
1726 if (./conftest; exit) 2>/dev/null; then | 1717 if (./conftest; exit) 2>/dev/null; then |
1727 ac_cv_prog_cc_cross=no | 1718 ac_cv_prog_cc_cross=no |
1728 else | 1719 else |
1746 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1737 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
1747 if test $ac_cv_prog_cc_works = no; then | 1738 if test $ac_cv_prog_cc_works = no; then |
1748 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1739 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
1749 fi | 1740 fi |
1750 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1741 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
1751 echo "configure:1752: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1742 echo "configure:1743: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
1752 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1743 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
1753 cross_compiling=$ac_cv_prog_cc_cross | 1744 cross_compiling=$ac_cv_prog_cc_cross |
1754 | 1745 |
1755 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1746 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
1756 echo "configure:1757: checking whether we are using GNU C" >&5 | 1747 echo "configure:1748: checking whether we are using GNU C" >&5 |
1757 | 1748 |
1758 cat > conftest.c <<EOF | 1749 cat > conftest.c <<EOF |
1759 #ifdef __GNUC__ | 1750 #ifdef __GNUC__ |
1760 yes; | 1751 yes; |
1761 #endif | 1752 #endif |
1762 EOF | 1753 EOF |
1763 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1764: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1754 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1755: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
1764 ac_cv_prog_gcc=yes | 1755 ac_cv_prog_gcc=yes |
1765 else | 1756 else |
1766 ac_cv_prog_gcc=no | 1757 ac_cv_prog_gcc=no |
1767 fi | 1758 fi |
1768 | 1759 |
1776 | 1767 |
1777 ac_test_CFLAGS="${CFLAGS+set}" | 1768 ac_test_CFLAGS="${CFLAGS+set}" |
1778 ac_save_CFLAGS="$CFLAGS" | 1769 ac_save_CFLAGS="$CFLAGS" |
1779 CFLAGS= | 1770 CFLAGS= |
1780 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1771 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
1781 echo "configure:1782: checking whether ${CC-cc} accepts -g" >&5 | 1772 echo "configure:1773: checking whether ${CC-cc} accepts -g" >&5 |
1782 | 1773 |
1783 echo 'void f(){}' > conftest.c | 1774 echo 'void f(){}' > conftest.c |
1784 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1775 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
1785 ac_cv_prog_cc_g=yes | 1776 ac_cv_prog_cc_g=yes |
1786 else | 1777 else |
1809 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then | 1800 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then |
1810 CC=${NON_GNU_CC-cc} | 1801 CC=${NON_GNU_CC-cc} |
1811 # Extract the first word of "gcc", so it can be a program name with args. | 1802 # Extract the first word of "gcc", so it can be a program name with args. |
1812 set dummy gcc; ac_word=$2 | 1803 set dummy gcc; ac_word=$2 |
1813 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1804 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1814 echo "configure:1815: checking for $ac_word" >&5 | 1805 echo "configure:1806: checking for $ac_word" >&5 |
1815 | 1806 |
1816 if test -n "$CC"; then | 1807 if test -n "$CC"; then |
1817 ac_cv_prog_CC="$CC" # Let the user override the test. | 1808 ac_cv_prog_CC="$CC" # Let the user override the test. |
1818 else | 1809 else |
1819 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1810 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1836 | 1827 |
1837 if test -z "$CC"; then | 1828 if test -z "$CC"; then |
1838 # Extract the first word of "cc", so it can be a program name with args. | 1829 # Extract the first word of "cc", so it can be a program name with args. |
1839 set dummy cc; ac_word=$2 | 1830 set dummy cc; ac_word=$2 |
1840 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1831 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1841 echo "configure:1842: checking for $ac_word" >&5 | 1832 echo "configure:1833: checking for $ac_word" >&5 |
1842 | 1833 |
1843 if test -n "$CC"; then | 1834 if test -n "$CC"; then |
1844 ac_cv_prog_CC="$CC" # Let the user override the test. | 1835 ac_cv_prog_CC="$CC" # Let the user override the test. |
1845 else | 1836 else |
1846 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1837 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1884 case "`uname -s`" in | 1875 case "`uname -s`" in |
1885 *win32* | *WIN32*) | 1876 *win32* | *WIN32*) |
1886 # Extract the first word of "cl", so it can be a program name with args. | 1877 # Extract the first word of "cl", so it can be a program name with args. |
1887 set dummy cl; ac_word=$2 | 1878 set dummy cl; ac_word=$2 |
1888 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1879 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1889 echo "configure:1890: checking for $ac_word" >&5 | 1880 echo "configure:1881: checking for $ac_word" >&5 |
1890 | 1881 |
1891 if test -n "$CC"; then | 1882 if test -n "$CC"; then |
1892 ac_cv_prog_CC="$CC" # Let the user override the test. | 1883 ac_cv_prog_CC="$CC" # Let the user override the test. |
1893 else | 1884 else |
1894 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1885 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1913 fi | 1904 fi |
1914 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1905 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
1915 fi | 1906 fi |
1916 | 1907 |
1917 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1908 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
1918 echo "configure:1919: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1909 echo "configure:1910: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
1919 | 1910 |
1920 ac_ext=c | 1911 ac_ext=c |
1921 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1912 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
1922 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1913 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
1923 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1914 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
1926 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1917 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
1927 cross_compiling=no | 1918 cross_compiling=no |
1928 | 1919 |
1929 cat > conftest.$ac_ext << EOF | 1920 cat > conftest.$ac_ext << EOF |
1930 | 1921 |
1931 #line 1932 "configure" | 1922 #line 1923 "configure" |
1932 #include "confdefs.h" | 1923 #include "confdefs.h" |
1933 | 1924 |
1934 main(){return(0);} | 1925 main(){return(0);} |
1935 EOF | 1926 EOF |
1936 if { (eval echo configure:1937: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1927 if { (eval echo configure:1928: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1937 ac_cv_prog_cc_works=yes | 1928 ac_cv_prog_cc_works=yes |
1938 # If we can't run a trivial program, we are probably using a cross compiler. | 1929 # If we can't run a trivial program, we are probably using a cross compiler. |
1939 if (./conftest; exit) 2>/dev/null; then | 1930 if (./conftest; exit) 2>/dev/null; then |
1940 ac_cv_prog_cc_cross=no | 1931 ac_cv_prog_cc_cross=no |
1941 else | 1932 else |
1959 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1950 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
1960 if test $ac_cv_prog_cc_works = no; then | 1951 if test $ac_cv_prog_cc_works = no; then |
1961 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1952 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
1962 fi | 1953 fi |
1963 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1954 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
1964 echo "configure:1965: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1955 echo "configure:1956: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
1965 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1956 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
1966 cross_compiling=$ac_cv_prog_cc_cross | 1957 cross_compiling=$ac_cv_prog_cc_cross |
1967 | 1958 |
1968 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1959 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
1969 echo "configure:1970: checking whether we are using GNU C" >&5 | 1960 echo "configure:1961: checking whether we are using GNU C" >&5 |
1970 | 1961 |
1971 cat > conftest.c <<EOF | 1962 cat > conftest.c <<EOF |
1972 #ifdef __GNUC__ | 1963 #ifdef __GNUC__ |
1973 yes; | 1964 yes; |
1974 #endif | 1965 #endif |
1975 EOF | 1966 EOF |
1976 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1977: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1967 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1968: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
1977 ac_cv_prog_gcc=yes | 1968 ac_cv_prog_gcc=yes |
1978 else | 1969 else |
1979 ac_cv_prog_gcc=no | 1970 ac_cv_prog_gcc=no |
1980 fi | 1971 fi |
1981 | 1972 |
1989 | 1980 |
1990 ac_test_CFLAGS="${CFLAGS+set}" | 1981 ac_test_CFLAGS="${CFLAGS+set}" |
1991 ac_save_CFLAGS="$CFLAGS" | 1982 ac_save_CFLAGS="$CFLAGS" |
1992 CFLAGS= | 1983 CFLAGS= |
1993 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1984 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
1994 echo "configure:1995: checking whether ${CC-cc} accepts -g" >&5 | 1985 echo "configure:1986: checking whether ${CC-cc} accepts -g" >&5 |
1995 | 1986 |
1996 echo 'void f(){}' > conftest.c | 1987 echo 'void f(){}' > conftest.c |
1997 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1988 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
1998 ac_cv_prog_cc_g=yes | 1989 ac_cv_prog_cc_g=yes |
1999 else | 1990 else |
2022 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then | 2013 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then |
2023 CC=gcc | 2014 CC=gcc |
2024 # Extract the first word of "gcc", so it can be a program name with args. | 2015 # Extract the first word of "gcc", so it can be a program name with args. |
2025 set dummy gcc; ac_word=$2 | 2016 set dummy gcc; ac_word=$2 |
2026 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2017 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2027 echo "configure:2028: checking for $ac_word" >&5 | 2018 echo "configure:2019: checking for $ac_word" >&5 |
2028 | 2019 |
2029 if test -n "$CC"; then | 2020 if test -n "$CC"; then |
2030 ac_cv_prog_CC="$CC" # Let the user override the test. | 2021 ac_cv_prog_CC="$CC" # Let the user override the test. |
2031 else | 2022 else |
2032 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 2023 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
2049 | 2040 |
2050 if test -z "$CC"; then | 2041 if test -z "$CC"; then |
2051 # Extract the first word of "cc", so it can be a program name with args. | 2042 # Extract the first word of "cc", so it can be a program name with args. |
2052 set dummy cc; ac_word=$2 | 2043 set dummy cc; ac_word=$2 |
2053 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2044 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2054 echo "configure:2055: checking for $ac_word" >&5 | 2045 echo "configure:2046: checking for $ac_word" >&5 |
2055 | 2046 |
2056 if test -n "$CC"; then | 2047 if test -n "$CC"; then |
2057 ac_cv_prog_CC="$CC" # Let the user override the test. | 2048 ac_cv_prog_CC="$CC" # Let the user override the test. |
2058 else | 2049 else |
2059 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 2050 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
2097 case "`uname -s`" in | 2088 case "`uname -s`" in |
2098 *win32* | *WIN32*) | 2089 *win32* | *WIN32*) |
2099 # Extract the first word of "cl", so it can be a program name with args. | 2090 # Extract the first word of "cl", so it can be a program name with args. |
2100 set dummy cl; ac_word=$2 | 2091 set dummy cl; ac_word=$2 |
2101 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2092 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2102 echo "configure:2103: checking for $ac_word" >&5 | 2093 echo "configure:2094: checking for $ac_word" >&5 |
2103 | 2094 |
2104 if test -n "$CC"; then | 2095 if test -n "$CC"; then |
2105 ac_cv_prog_CC="$CC" # Let the user override the test. | 2096 ac_cv_prog_CC="$CC" # Let the user override the test. |
2106 else | 2097 else |
2107 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 2098 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
2126 fi | 2117 fi |
2127 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 2118 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
2128 fi | 2119 fi |
2129 | 2120 |
2130 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 2121 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
2131 echo "configure:2132: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 2122 echo "configure:2123: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
2132 | 2123 |
2133 ac_ext=c | 2124 ac_ext=c |
2134 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 2125 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
2135 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 2126 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
2136 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 2127 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
2139 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 2130 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
2140 cross_compiling=no | 2131 cross_compiling=no |
2141 | 2132 |
2142 cat > conftest.$ac_ext << EOF | 2133 cat > conftest.$ac_ext << EOF |
2143 | 2134 |
2144 #line 2145 "configure" | 2135 #line 2136 "configure" |
2145 #include "confdefs.h" | 2136 #include "confdefs.h" |
2146 | 2137 |
2147 main(){return(0);} | 2138 main(){return(0);} |
2148 EOF | 2139 EOF |
2149 if { (eval echo configure:2150: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2140 if { (eval echo configure:2141: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2150 ac_cv_prog_cc_works=yes | 2141 ac_cv_prog_cc_works=yes |
2151 # If we can't run a trivial program, we are probably using a cross compiler. | 2142 # If we can't run a trivial program, we are probably using a cross compiler. |
2152 if (./conftest; exit) 2>/dev/null; then | 2143 if (./conftest; exit) 2>/dev/null; then |
2153 ac_cv_prog_cc_cross=no | 2144 ac_cv_prog_cc_cross=no |
2154 else | 2145 else |
2172 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 2163 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
2173 if test $ac_cv_prog_cc_works = no; then | 2164 if test $ac_cv_prog_cc_works = no; then |
2174 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 2165 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
2175 fi | 2166 fi |
2176 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 2167 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
2177 echo "configure:2178: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 2168 echo "configure:2169: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
2178 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 2169 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
2179 cross_compiling=$ac_cv_prog_cc_cross | 2170 cross_compiling=$ac_cv_prog_cc_cross |
2180 | 2171 |
2181 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 2172 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
2182 echo "configure:2183: checking whether we are using GNU C" >&5 | 2173 echo "configure:2174: checking whether we are using GNU C" >&5 |
2183 | 2174 |
2184 cat > conftest.c <<EOF | 2175 cat > conftest.c <<EOF |
2185 #ifdef __GNUC__ | 2176 #ifdef __GNUC__ |
2186 yes; | 2177 yes; |
2187 #endif | 2178 #endif |
2188 EOF | 2179 EOF |
2189 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2190: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 2180 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2181: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
2190 ac_cv_prog_gcc=yes | 2181 ac_cv_prog_gcc=yes |
2191 else | 2182 else |
2192 ac_cv_prog_gcc=no | 2183 ac_cv_prog_gcc=no |
2193 fi | 2184 fi |
2194 | 2185 |
2202 | 2193 |
2203 ac_test_CFLAGS="${CFLAGS+set}" | 2194 ac_test_CFLAGS="${CFLAGS+set}" |
2204 ac_save_CFLAGS="$CFLAGS" | 2195 ac_save_CFLAGS="$CFLAGS" |
2205 CFLAGS= | 2196 CFLAGS= |
2206 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 2197 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
2207 echo "configure:2208: checking whether ${CC-cc} accepts -g" >&5 | 2198 echo "configure:2199: checking whether ${CC-cc} accepts -g" >&5 |
2208 | 2199 |
2209 echo 'void f(){}' > conftest.c | 2200 echo 'void f(){}' > conftest.c |
2210 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 2201 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
2211 ac_cv_prog_cc_g=yes | 2202 ac_cv_prog_cc_g=yes |
2212 else | 2203 else |
2239 test -n "$CPP" -a -d "$CPP" && CPP= | 2230 test -n "$CPP" -a -d "$CPP" && CPP= |
2240 | 2231 |
2241 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" | 2232 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" |
2242 | 2233 |
2243 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 | 2234 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
2244 echo "configure:2245: checking how to run the C preprocessor" >&5 | 2235 echo "configure:2236: checking how to run the C preprocessor" >&5 |
2245 # On Suns, sometimes $CPP names a directory. | 2236 # On Suns, sometimes $CPP names a directory. |
2246 if test -n "$CPP" && test -d "$CPP"; then | 2237 if test -n "$CPP" && test -d "$CPP"; then |
2247 CPP= | 2238 CPP= |
2248 fi | 2239 fi |
2249 if test -z "$CPP"; then | 2240 if test -z "$CPP"; then |
2252 # substituted into the Makefile and "${CC-cc}" will confuse make. | 2243 # substituted into the Makefile and "${CC-cc}" will confuse make. |
2253 CPP="${CC-cc} -E" | 2244 CPP="${CC-cc} -E" |
2254 # On the NeXT, cc -E runs the code through the compiler's parser, | 2245 # On the NeXT, cc -E runs the code through the compiler's parser, |
2255 # not just through cpp. | 2246 # not just through cpp. |
2256 cat > conftest.$ac_ext <<EOF | 2247 cat > conftest.$ac_ext <<EOF |
2257 #line 2258 "configure" | 2248 #line 2249 "configure" |
2258 #include "confdefs.h" | 2249 #include "confdefs.h" |
2259 #include <assert.h> | 2250 #include <assert.h> |
2260 Syntax Error | 2251 Syntax Error |
2261 EOF | 2252 EOF |
2262 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2253 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2263 { (eval echo configure:2264: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2254 { (eval echo configure:2255: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2264 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2255 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2265 if test -z "$ac_err"; then | 2256 if test -z "$ac_err"; then |
2266 : | 2257 : |
2267 else | 2258 else |
2268 echo "$ac_err" >&5 | 2259 echo "$ac_err" >&5 |
2269 echo "configure: failed program was:" >&5 | 2260 echo "configure: failed program was:" >&5 |
2270 cat conftest.$ac_ext >&5 | 2261 cat conftest.$ac_ext >&5 |
2271 rm -rf conftest* | 2262 rm -rf conftest* |
2272 CPP="${CC-cc} -E -traditional-cpp" | 2263 CPP="${CC-cc} -E -traditional-cpp" |
2273 cat > conftest.$ac_ext <<EOF | 2264 cat > conftest.$ac_ext <<EOF |
2274 #line 2275 "configure" | 2265 #line 2266 "configure" |
2275 #include "confdefs.h" | 2266 #include "confdefs.h" |
2276 #include <assert.h> | 2267 #include <assert.h> |
2277 Syntax Error | 2268 Syntax Error |
2278 EOF | 2269 EOF |
2279 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2270 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2280 { (eval echo configure:2281: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2271 { (eval echo configure:2272: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2281 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2272 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2282 if test -z "$ac_err"; then | 2273 if test -z "$ac_err"; then |
2283 : | 2274 : |
2284 else | 2275 else |
2285 echo "$ac_err" >&5 | 2276 echo "$ac_err" >&5 |
2286 echo "configure: failed program was:" >&5 | 2277 echo "configure: failed program was:" >&5 |
2287 cat conftest.$ac_ext >&5 | 2278 cat conftest.$ac_ext >&5 |
2288 rm -rf conftest* | 2279 rm -rf conftest* |
2289 CPP="${CC-cc} -nologo -E" | 2280 CPP="${CC-cc} -nologo -E" |
2290 cat > conftest.$ac_ext <<EOF | 2281 cat > conftest.$ac_ext <<EOF |
2291 #line 2292 "configure" | 2282 #line 2283 "configure" |
2292 #include "confdefs.h" | 2283 #include "confdefs.h" |
2293 #include <assert.h> | 2284 #include <assert.h> |
2294 Syntax Error | 2285 Syntax Error |
2295 EOF | 2286 EOF |
2296 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2287 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2297 { (eval echo configure:2298: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2288 { (eval echo configure:2289: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2298 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2289 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2299 if test -z "$ac_err"; then | 2290 if test -z "$ac_err"; then |
2300 : | 2291 : |
2301 else | 2292 else |
2302 echo "$ac_err" >&5 | 2293 echo "$ac_err" >&5 |
2318 echo "$ac_t""$CPP" 1>&6 | 2309 echo "$ac_t""$CPP" 1>&6 |
2319 | 2310 |
2320 | 2311 |
2321 | 2312 |
2322 echo $ac_n "checking for AIX""... $ac_c" 1>&6 | 2313 echo $ac_n "checking for AIX""... $ac_c" 1>&6 |
2323 echo "configure:2324: checking for AIX" >&5 | 2314 echo "configure:2315: checking for AIX" >&5 |
2324 cat > conftest.$ac_ext <<EOF | 2315 cat > conftest.$ac_ext <<EOF |
2325 #line 2326 "configure" | 2316 #line 2317 "configure" |
2326 #include "confdefs.h" | 2317 #include "confdefs.h" |
2327 #ifdef _AIX | 2318 #ifdef _AIX |
2328 yes | 2319 yes |
2329 #endif | 2320 #endif |
2330 | 2321 |
2349 | 2340 |
2350 cat > $srcdir/conffoo.h <<EOF | 2341 cat > $srcdir/conffoo.h <<EOF |
2351 #define CONFFOO 1 | 2342 #define CONFFOO 1 |
2352 EOF | 2343 EOF |
2353 echo $ac_n "checking for a working inclusion macro""... $ac_c" 1>&6 | 2344 echo $ac_n "checking for a working inclusion macro""... $ac_c" 1>&6 |
2354 echo "configure:2355: checking for a working inclusion macro" >&5 | 2345 echo "configure:2346: checking for a working inclusion macro" >&5 |
2355 cat > conftest.$ac_ext <<EOF | 2346 cat > conftest.$ac_ext <<EOF |
2356 #line 2357 "configure" | 2347 #line 2348 "configure" |
2357 #include "confdefs.h" | 2348 #include "confdefs.h" |
2358 | 2349 |
2359 int main() { | 2350 int main() { |
2360 | 2351 |
2361 #define SMART_INCLUDE(path,file) <path/file> | 2352 #define SMART_INCLUDE(path,file) <path/file> |
2363 #define CONFFOO_INCLUDE(file) SMART_INCLUDE (CONFFOO_H_PATH,file) | 2354 #define CONFFOO_INCLUDE(file) SMART_INCLUDE (CONFFOO_H_PATH,file) |
2364 #include CONFFOO_INCLUDE(conffoo.h) | 2355 #include CONFFOO_INCLUDE(conffoo.h) |
2365 | 2356 |
2366 ; return 0; } | 2357 ; return 0; } |
2367 EOF | 2358 EOF |
2368 if { (eval echo configure:2369: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2359 if { (eval echo configure:2360: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2369 rm -rf conftest* | 2360 rm -rf conftest* |
2370 echo "$ac_t""direct" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 2361 echo "$ac_t""direct" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
2371 Defining SMART_INCLUDE_INDIRECTIONS = 0 | 2362 Defining SMART_INCLUDE_INDIRECTIONS = 0 |
2372 EOF | 2363 EOF |
2373 cat >> confdefs.h <<\EOF | 2364 cat >> confdefs.h <<\EOF |
2378 else | 2369 else |
2379 echo "configure: failed program was:" >&5 | 2370 echo "configure: failed program was:" >&5 |
2380 cat conftest.$ac_ext >&5 | 2371 cat conftest.$ac_ext >&5 |
2381 rm -rf conftest* | 2372 rm -rf conftest* |
2382 cat > conftest.$ac_ext <<EOF | 2373 cat > conftest.$ac_ext <<EOF |
2383 #line 2384 "configure" | 2374 #line 2375 "configure" |
2384 #include "confdefs.h" | 2375 #include "confdefs.h" |
2385 | 2376 |
2386 int main() { | 2377 int main() { |
2387 | 2378 |
2388 #define GLUE_INCLUDE(path,file) <##path##/##file##> | 2379 #define GLUE_INCLUDE(path,file) <##path##/##file##> |
2391 #define CONFFOO_INCLUDE(file) SMART_INCLUDE(CONFFOO_H_PATH,file) | 2382 #define CONFFOO_INCLUDE(file) SMART_INCLUDE(CONFFOO_H_PATH,file) |
2392 #include CONFFOO_INCLUDE(conffoo.h) | 2383 #include CONFFOO_INCLUDE(conffoo.h) |
2393 | 2384 |
2394 ; return 0; } | 2385 ; return 0; } |
2395 EOF | 2386 EOF |
2396 if { (eval echo configure:2397: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2387 if { (eval echo configure:2388: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2397 rm -rf conftest* | 2388 rm -rf conftest* |
2398 echo "$ac_t""simple" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 2389 echo "$ac_t""simple" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
2399 Defining SMART_INCLUDE_INDIRECTIONS = 1 | 2390 Defining SMART_INCLUDE_INDIRECTIONS = 1 |
2400 EOF | 2391 EOF |
2401 cat >> confdefs.h <<\EOF | 2392 cat >> confdefs.h <<\EOF |
2406 else | 2397 else |
2407 echo "configure: failed program was:" >&5 | 2398 echo "configure: failed program was:" >&5 |
2408 cat conftest.$ac_ext >&5 | 2399 cat conftest.$ac_ext >&5 |
2409 rm -rf conftest* | 2400 rm -rf conftest* |
2410 cat > conftest.$ac_ext <<EOF | 2401 cat > conftest.$ac_ext <<EOF |
2411 #line 2412 "configure" | 2402 #line 2403 "configure" |
2412 #include "confdefs.h" | 2403 #include "confdefs.h" |
2413 | 2404 |
2414 int main() { | 2405 int main() { |
2415 | 2406 |
2416 #define GLUE_INCLUDE_2(path,file) <##path##/##file##> | 2407 #define GLUE_INCLUDE_2(path,file) <##path##/##file##> |
2420 #define CONFFOO_INCLUDE(file) SMART_INCLUDE (CONFFOO_H_PATH,file) | 2411 #define CONFFOO_INCLUDE(file) SMART_INCLUDE (CONFFOO_H_PATH,file) |
2421 #include CONFFOO_INCLUDE(conffoo.h) | 2412 #include CONFFOO_INCLUDE(conffoo.h) |
2422 | 2413 |
2423 ; return 0; } | 2414 ; return 0; } |
2424 EOF | 2415 EOF |
2425 if { (eval echo configure:2426: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2416 if { (eval echo configure:2417: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2426 rm -rf conftest* | 2417 rm -rf conftest* |
2427 echo "$ac_t""double" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 2418 echo "$ac_t""double" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
2428 Defining SMART_INCLUDE_INDIRECTIONS = 2 | 2419 Defining SMART_INCLUDE_INDIRECTIONS = 2 |
2429 EOF | 2420 EOF |
2430 cat >> confdefs.h <<\EOF | 2421 cat >> confdefs.h <<\EOF |
2446 rm -f $srcdir/conffoo.h | 2437 rm -f $srcdir/conffoo.h |
2447 | 2438 |
2448 | 2439 |
2449 | 2440 |
2450 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6 | 2441 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6 |
2451 echo "configure:2452: checking for GNU libc" >&5 | 2442 echo "configure:2443: checking for GNU libc" >&5 |
2452 cat > conftest.$ac_ext <<EOF | 2443 cat > conftest.$ac_ext <<EOF |
2453 #line 2454 "configure" | 2444 #line 2445 "configure" |
2454 #include "confdefs.h" | 2445 #include "confdefs.h" |
2455 #include <features.h> | 2446 #include <features.h> |
2456 int main() { | 2447 int main() { |
2457 | 2448 |
2458 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) | 2449 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) |
2460 ******* ======= ******** &&&&&&&& | 2451 ******* ======= ******** &&&&&&&& |
2461 #endif | 2452 #endif |
2462 | 2453 |
2463 ; return 0; } | 2454 ; return 0; } |
2464 EOF | 2455 EOF |
2465 if { (eval echo configure:2466: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2456 if { (eval echo configure:2457: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2466 rm -rf conftest* | 2457 rm -rf conftest* |
2467 have_glibc=yes | 2458 have_glibc=yes |
2468 else | 2459 else |
2469 echo "configure: failed program was:" >&5 | 2460 echo "configure: failed program was:" >&5 |
2470 cat conftest.$ac_ext >&5 | 2461 cat conftest.$ac_ext >&5 |
2537 | 2528 |
2538 ;; | 2529 ;; |
2539 esac | 2530 esac |
2540 | 2531 |
2541 cat > conftest.$ac_ext <<EOF | 2532 cat > conftest.$ac_ext <<EOF |
2542 #line 2543 "configure" | 2533 #line 2534 "configure" |
2543 #include "confdefs.h" | 2534 #include "confdefs.h" |
2544 int main () { | 2535 int main () { |
2545 #if defined __SUNPRO_C | 2536 #if defined __SUNPRO_C |
2546 return 11; | 2537 return 11; |
2547 #elif defined __DECC | 2538 #elif defined __DECC |
2549 #else | 2540 #else |
2550 return 0; | 2541 return 0; |
2551 #endif | 2542 #endif |
2552 } | 2543 } |
2553 EOF | 2544 EOF |
2554 if { (eval echo configure:2555: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 2545 if { (eval echo configure:2546: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
2555 then | 2546 then |
2556 : | 2547 : |
2557 else | 2548 else |
2558 conftest_rc="$?" | 2549 conftest_rc="$?" |
2559 echo "configure: failed program was:" >&5 | 2550 echo "configure: failed program was:" >&5 |
2785 CFLAGS="-O" ; fi | 2776 CFLAGS="-O" ; fi |
2786 fi | 2777 fi |
2787 | 2778 |
2788 if test "$GCC" = "yes"; then | 2779 if test "$GCC" = "yes"; then |
2789 echo $ac_n "checking for buggy gcc versions""... $ac_c" 1>&6 | 2780 echo $ac_n "checking for buggy gcc versions""... $ac_c" 1>&6 |
2790 echo "configure:2791: checking for buggy gcc versions" >&5 | 2781 echo "configure:2782: checking for buggy gcc versions" >&5 |
2791 GCC_VERSION=`$CC --version` | 2782 GCC_VERSION=`$CC --version` |
2792 case `uname -s`:`uname -m`:$GCC_VERSION in | 2783 case `uname -s`:`uname -m`:$GCC_VERSION in |
2793 *:sun4*:2.8.1|*:sun4*:egcs-2.90.*) | 2784 *:sun4*:2.8.1|*:sun4*:egcs-2.90.*) |
2794 case "$CFLAGS" in | 2785 case "$CFLAGS" in |
2795 *-O2*|*-O3*) | 2786 *-O2*|*-O3*) |
2908 test "$pdump" = "yes" && extra_objs="$extra_objs dumper.o" && if test "$extra_verbose" = "yes"; then | 2899 test "$pdump" = "yes" && extra_objs="$extra_objs dumper.o" && if test "$extra_verbose" = "yes"; then |
2909 echo " xemacs will be linked with \"dumper.o\"" | 2900 echo " xemacs will be linked with \"dumper.o\"" |
2910 fi | 2901 fi |
2911 | 2902 |
2912 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 | 2903 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 |
2913 echo "configure:2914: checking for dynodump" >&5 | 2904 echo "configure:2905: checking for dynodump" >&5 |
2914 if test "$unexec" != "unexsol2.o"; then | 2905 if test "$unexec" != "unexsol2.o"; then |
2915 echo "$ac_t""no" 1>&6 | 2906 echo "$ac_t""no" 1>&6 |
2916 else | 2907 else |
2917 echo "$ac_t""yes" 1>&6 | 2908 echo "$ac_t""yes" 1>&6 |
2918 { test "$extra_verbose" = "yes" && cat << \EOF | 2909 { test "$extra_verbose" = "yes" && cat << \EOF |
2946 for f in "/usr/lpp/X11/bin/smt.exp" "/usr/bin/X11/smt.exp"; do | 2937 for f in "/usr/lpp/X11/bin/smt.exp" "/usr/bin/X11/smt.exp"; do |
2947 if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; break; fi | 2938 if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; break; fi |
2948 done | 2939 done |
2949 | 2940 |
2950 echo $ac_n "checking for terminateAndUnload in -lC""... $ac_c" 1>&6 | 2941 echo $ac_n "checking for terminateAndUnload in -lC""... $ac_c" 1>&6 |
2951 echo "configure:2952: checking for terminateAndUnload in -lC" >&5 | 2942 echo "configure:2943: checking for terminateAndUnload in -lC" >&5 |
2952 ac_lib_var=`echo C'_'terminateAndUnload | sed 'y%./+-%__p_%'` | 2943 ac_lib_var=`echo C'_'terminateAndUnload | sed 'y%./+-%__p_%'` |
2953 | 2944 |
2954 xe_check_libs=" -lC " | 2945 xe_check_libs=" -lC " |
2955 cat > conftest.$ac_ext <<EOF | 2946 cat > conftest.$ac_ext <<EOF |
2956 #line 2957 "configure" | 2947 #line 2948 "configure" |
2957 #include "confdefs.h" | 2948 #include "confdefs.h" |
2958 /* Override any gcc2 internal prototype to avoid an error. */ | 2949 /* Override any gcc2 internal prototype to avoid an error. */ |
2959 /* We use char because int might match the return type of a gcc2 | 2950 /* We use char because int might match the return type of a gcc2 |
2960 builtin and then its argument prototype would still apply. */ | 2951 builtin and then its argument prototype would still apply. */ |
2961 char terminateAndUnload(); | 2952 char terminateAndUnload(); |
2962 | 2953 |
2963 int main() { | 2954 int main() { |
2964 terminateAndUnload() | 2955 terminateAndUnload() |
2965 ; return 0; } | 2956 ; return 0; } |
2966 EOF | 2957 EOF |
2967 if { (eval echo configure:2968: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2958 if { (eval echo configure:2959: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2968 rm -rf conftest* | 2959 rm -rf conftest* |
2969 eval "ac_cv_lib_$ac_lib_var=yes" | 2960 eval "ac_cv_lib_$ac_lib_var=yes" |
2970 else | 2961 else |
2971 echo "configure: failed program was:" >&5 | 2962 echo "configure: failed program was:" >&5 |
2972 cat conftest.$ac_ext >&5 | 2963 cat conftest.$ac_ext >&5 |
3070 esac | 3061 esac |
3071 fi | 3062 fi |
3072 | 3063 |
3073 if test "$add_runtime_path" = "yes"; then | 3064 if test "$add_runtime_path" = "yes"; then |
3074 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 | 3065 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 |
3075 echo "configure:3076: checking "for runtime libraries flag"" >&5 | 3066 echo "configure:3067: checking "for runtime libraries flag"" >&5 |
3076 case "$opsys" in | 3067 case "$opsys" in |
3077 sol2 ) dash_r="-R" ;; | 3068 sol2 ) dash_r="-R" ;; |
3078 decosf* | linux* | irix*) dash_r="-rpath " ;; | 3069 decosf* | linux* | irix*) dash_r="-rpath " ;; |
3079 *) | 3070 *) |
3080 dash_r="" | 3071 dash_r="" |
3092 esac | 3083 esac |
3093 shift | 3084 shift |
3094 done | 3085 done |
3095 fi | 3086 fi |
3096 cat > conftest.$ac_ext <<EOF | 3087 cat > conftest.$ac_ext <<EOF |
3097 #line 3098 "configure" | 3088 #line 3089 "configure" |
3098 #include "confdefs.h" | 3089 #include "confdefs.h" |
3099 | 3090 |
3100 int main() { | 3091 int main() { |
3101 | 3092 |
3102 ; return 0; } | 3093 ; return 0; } |
3103 EOF | 3094 EOF |
3104 if { (eval echo configure:3105: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3095 if { (eval echo configure:3096: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3105 rm -rf conftest* | 3096 rm -rf conftest* |
3106 dash_r="$try_dash_r" | 3097 dash_r="$try_dash_r" |
3107 else | 3098 else |
3108 echo "configure: failed program was:" >&5 | 3099 echo "configure: failed program was:" >&5 |
3109 cat conftest.$ac_ext >&5 | 3100 cat conftest.$ac_ext >&5 |
3200 doug_lea_malloc=yes | 3191 doug_lea_malloc=yes |
3201 else | 3192 else |
3202 doug_lea_malloc=no | 3193 doug_lea_malloc=no |
3203 fi | 3194 fi |
3204 after_morecore_hook_exists=yes | 3195 after_morecore_hook_exists=yes |
3205 echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6 | |
3206 echo "configure:3207: checking for malloc_get_state" >&5 | |
3207 | |
3208 cat > conftest.$ac_ext <<EOF | |
3209 #line 3210 "configure" | |
3210 #include "confdefs.h" | |
3211 /* System header to define __stub macros and hopefully few prototypes, | |
3212 which can conflict with char malloc_get_state(); below. */ | |
3213 #include <assert.h> | |
3214 /* Override any gcc2 internal prototype to avoid an error. */ | |
3215 /* We use char because int might match the return type of a gcc2 | |
3216 builtin and then its argument prototype would still apply. */ | |
3217 char malloc_get_state(); | |
3218 | |
3219 int main() { | |
3220 | |
3221 /* The GNU C library defines this for functions which it implements | |
3222 to always fail with ENOSYS. Some functions are actually named | |
3223 something starting with __ and the normal name is an alias. */ | |
3224 #if defined (__stub_malloc_get_state) || defined (__stub___malloc_get_state) | |
3225 choke me | |
3226 #else | |
3227 malloc_get_state(); | |
3228 #endif | |
3229 | |
3230 ; return 0; } | |
3231 EOF | |
3232 if { (eval echo configure:3233: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
3233 rm -rf conftest* | |
3234 eval "ac_cv_func_malloc_get_state=yes" | |
3235 else | |
3236 echo "configure: failed program was:" >&5 | |
3237 cat conftest.$ac_ext >&5 | |
3238 rm -rf conftest* | |
3239 eval "ac_cv_func_malloc_get_state=no" | |
3240 fi | |
3241 rm -f conftest* | |
3242 | |
3243 if eval "test \"`echo '$ac_cv_func_'malloc_get_state`\" = yes"; then | |
3244 echo "$ac_t""yes" 1>&6 | |
3245 : | |
3246 else | |
3247 echo "$ac_t""no" 1>&6 | |
3248 doug_lea_malloc=no | |
3249 fi | |
3250 | |
3251 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 | 3196 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 |
3252 echo "configure:3253: checking for malloc_set_state" >&5 | 3197 echo "configure:3198: checking for malloc_set_state" >&5 |
3253 | 3198 |
3254 cat > conftest.$ac_ext <<EOF | 3199 cat > conftest.$ac_ext <<EOF |
3255 #line 3256 "configure" | 3200 #line 3201 "configure" |
3256 #include "confdefs.h" | 3201 #include "confdefs.h" |
3257 /* System header to define __stub macros and hopefully few prototypes, | 3202 /* System header to define __stub macros and hopefully few prototypes, |
3258 which can conflict with char malloc_set_state(); below. */ | 3203 which can conflict with char malloc_set_state(); below. */ |
3259 #include <assert.h> | 3204 #include <assert.h> |
3260 /* Override any gcc2 internal prototype to avoid an error. */ | 3205 /* Override any gcc2 internal prototype to avoid an error. */ |
3273 malloc_set_state(); | 3218 malloc_set_state(); |
3274 #endif | 3219 #endif |
3275 | 3220 |
3276 ; return 0; } | 3221 ; return 0; } |
3277 EOF | 3222 EOF |
3278 if { (eval echo configure:3279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3223 if { (eval echo configure:3224: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3279 rm -rf conftest* | 3224 rm -rf conftest* |
3280 eval "ac_cv_func_malloc_set_state=yes" | 3225 eval "ac_cv_func_malloc_set_state=yes" |
3281 else | 3226 else |
3282 echo "configure: failed program was:" >&5 | 3227 echo "configure: failed program was:" >&5 |
3283 cat conftest.$ac_ext >&5 | 3228 cat conftest.$ac_ext >&5 |
3293 echo "$ac_t""no" 1>&6 | 3238 echo "$ac_t""no" 1>&6 |
3294 doug_lea_malloc=no | 3239 doug_lea_malloc=no |
3295 fi | 3240 fi |
3296 | 3241 |
3297 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 | 3242 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 |
3298 echo "configure:3299: checking whether __after_morecore_hook exists" >&5 | 3243 echo "configure:3244: checking whether __after_morecore_hook exists" >&5 |
3299 cat > conftest.$ac_ext <<EOF | 3244 cat > conftest.$ac_ext <<EOF |
3300 #line 3301 "configure" | 3245 #line 3246 "configure" |
3301 #include "confdefs.h" | 3246 #include "confdefs.h" |
3302 extern void (* __after_morecore_hook)(); | 3247 extern void (* __after_morecore_hook)(); |
3303 int main() { | 3248 int main() { |
3304 __after_morecore_hook = 0 | 3249 __after_morecore_hook = 0 |
3305 ; return 0; } | 3250 ; return 0; } |
3306 EOF | 3251 EOF |
3307 if { (eval echo configure:3308: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3252 if { (eval echo configure:3253: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3308 rm -rf conftest* | 3253 rm -rf conftest* |
3309 echo "$ac_t""yes" 1>&6 | 3254 echo "$ac_t""yes" 1>&6 |
3310 else | 3255 else |
3311 echo "configure: failed program was:" >&5 | 3256 echo "configure: failed program was:" >&5 |
3312 cat conftest.$ac_ext >&5 | 3257 cat conftest.$ac_ext >&5 |
3327 GNU_MALLOC=no | 3272 GNU_MALLOC=no |
3328 GNU_MALLOC_reason=" | 3273 GNU_MALLOC_reason=" |
3329 - User chose to use Debugging Malloc." | 3274 - User chose to use Debugging Malloc." |
3330 fi | 3275 fi |
3331 | 3276 |
3332 if test "$doug_lea_malloc" = "yes" ; then | 3277 if test "$doug_lea_malloc" = "yes" -a "$GNU_MALLOC" = "yes" ; then |
3333 if test "$GNU_MALLOC" = yes ; then | 3278 GNU_MALLOC_reason=" |
3334 GNU_MALLOC_reason=" | |
3335 - Using Doug Lea's new malloc from the GNU C Library." | 3279 - Using Doug Lea's new malloc from the GNU C Library." |
3336 fi | |
3337 { test "$extra_verbose" = "yes" && cat << \EOF | 3280 { test "$extra_verbose" = "yes" && cat << \EOF |
3338 Defining DOUG_LEA_MALLOC | 3281 Defining DOUG_LEA_MALLOC |
3339 EOF | 3282 EOF |
3340 cat >> confdefs.h <<\EOF | 3283 cat >> confdefs.h <<\EOF |
3341 #define DOUG_LEA_MALLOC 1 | 3284 #define DOUG_LEA_MALLOC 1 |
3352 #define _NO_MALLOC_WARNING_ 1 | 3295 #define _NO_MALLOC_WARNING_ 1 |
3353 EOF | 3296 EOF |
3354 } | 3297 } |
3355 | 3298 |
3356 fi | 3299 fi |
3357 use_minimal_tagbits=yes | |
3358 fi | 3300 fi |
3359 | 3301 |
3360 | 3302 |
3361 | 3303 |
3362 | 3304 |
3363 # Extract the first word of "ranlib", so it can be a program name with args. | 3305 # Extract the first word of "ranlib", so it can be a program name with args. |
3364 set dummy ranlib; ac_word=$2 | 3306 set dummy ranlib; ac_word=$2 |
3365 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 3307 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3366 echo "configure:3367: checking for $ac_word" >&5 | 3308 echo "configure:3309: checking for $ac_word" >&5 |
3367 | 3309 |
3368 if test -n "$RANLIB"; then | 3310 if test -n "$RANLIB"; then |
3369 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 3311 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
3370 else | 3312 else |
3371 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 3313 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
3416 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | 3358 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
3417 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 3359 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
3418 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 3360 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
3419 # ./install, which can be erroneously created by make from ./install.sh. | 3361 # ./install, which can be erroneously created by make from ./install.sh. |
3420 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | 3362 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
3421 echo "configure:3422: checking for a BSD compatible install" >&5 | 3363 echo "configure:3364: checking for a BSD compatible install" >&5 |
3422 if test -z "$INSTALL"; then | 3364 if test -z "$INSTALL"; then |
3423 | 3365 |
3424 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" | 3366 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" |
3425 for ac_dir in $PATH; do | 3367 for ac_dir in $PATH; do |
3426 # Account for people who put trailing slashes in PATH elements. | 3368 # Account for people who put trailing slashes in PATH elements. |
3470 for ac_prog in 'bison -y' byacc | 3412 for ac_prog in 'bison -y' byacc |
3471 do | 3413 do |
3472 # Extract the first word of "$ac_prog", so it can be a program name with args. | 3414 # Extract the first word of "$ac_prog", so it can be a program name with args. |
3473 set dummy $ac_prog; ac_word=$2 | 3415 set dummy $ac_prog; ac_word=$2 |
3474 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 3416 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3475 echo "configure:3476: checking for $ac_word" >&5 | 3417 echo "configure:3418: checking for $ac_word" >&5 |
3476 | 3418 |
3477 if test -n "$YACC"; then | 3419 if test -n "$YACC"; then |
3478 ac_cv_prog_YACC="$YACC" # Let the user override the test. | 3420 ac_cv_prog_YACC="$YACC" # Let the user override the test. |
3479 else | 3421 else |
3480 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 3422 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
3502 | 3444 |
3503 for ac_hdr in a.out.h cygwin/version.h fcntl.h inttypes.h libgen.h locale.h mach/mach.h sys/param.h sys/pstat.h sys/stropts.h sys/time.h sys/timeb.h sys/un.h kstat.h ulimit.h unistd.h utime.h | 3445 for ac_hdr in a.out.h cygwin/version.h fcntl.h inttypes.h libgen.h locale.h mach/mach.h sys/param.h sys/pstat.h sys/stropts.h sys/time.h sys/timeb.h sys/un.h kstat.h ulimit.h unistd.h utime.h |
3504 do | 3446 do |
3505 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 3447 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
3506 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 3448 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
3507 echo "configure:3508: checking for $ac_hdr" >&5 | 3449 echo "configure:3450: checking for $ac_hdr" >&5 |
3508 | 3450 |
3509 cat > conftest.$ac_ext <<EOF | 3451 cat > conftest.$ac_ext <<EOF |
3510 #line 3511 "configure" | 3452 #line 3453 "configure" |
3511 #include "confdefs.h" | 3453 #include "confdefs.h" |
3512 #include <$ac_hdr> | 3454 #include <$ac_hdr> |
3513 EOF | 3455 EOF |
3514 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3456 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3515 { (eval echo configure:3516: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3457 { (eval echo configure:3458: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3516 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 3458 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3517 if test -z "$ac_err"; then | 3459 if test -z "$ac_err"; then |
3518 rm -rf conftest* | 3460 rm -rf conftest* |
3519 eval "ac_cv_header_$ac_safe=yes" | 3461 eval "ac_cv_header_$ac_safe=yes" |
3520 else | 3462 else |
3540 echo "$ac_t""no" 1>&6 | 3482 echo "$ac_t""no" 1>&6 |
3541 fi | 3483 fi |
3542 done | 3484 done |
3543 | 3485 |
3544 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 | 3486 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 |
3545 echo "configure:3546: checking for sys/wait.h that is POSIX.1 compatible" >&5 | 3487 echo "configure:3488: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
3546 | 3488 |
3547 cat > conftest.$ac_ext <<EOF | 3489 cat > conftest.$ac_ext <<EOF |
3548 #line 3549 "configure" | 3490 #line 3491 "configure" |
3549 #include "confdefs.h" | 3491 #include "confdefs.h" |
3550 #include <sys/types.h> | 3492 #include <sys/types.h> |
3551 #include <sys/wait.h> | 3493 #include <sys/wait.h> |
3552 #ifndef WEXITSTATUS | 3494 #ifndef WEXITSTATUS |
3553 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) | 3495 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) |
3559 int s; | 3501 int s; |
3560 wait (&s); | 3502 wait (&s); |
3561 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; | 3503 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; |
3562 ; return 0; } | 3504 ; return 0; } |
3563 EOF | 3505 EOF |
3564 if { (eval echo configure:3565: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3506 if { (eval echo configure:3507: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3565 rm -rf conftest* | 3507 rm -rf conftest* |
3566 ac_cv_header_sys_wait_h=yes | 3508 ac_cv_header_sys_wait_h=yes |
3567 else | 3509 else |
3568 echo "configure: failed program was:" >&5 | 3510 echo "configure: failed program was:" >&5 |
3569 cat conftest.$ac_ext >&5 | 3511 cat conftest.$ac_ext >&5 |
3583 } | 3525 } |
3584 | 3526 |
3585 fi | 3527 fi |
3586 | 3528 |
3587 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | 3529 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
3588 echo "configure:3589: checking for ANSI C header files" >&5 | 3530 echo "configure:3531: checking for ANSI C header files" >&5 |
3589 | 3531 |
3590 cat > conftest.$ac_ext <<EOF | 3532 cat > conftest.$ac_ext <<EOF |
3591 #line 3592 "configure" | 3533 #line 3534 "configure" |
3592 #include "confdefs.h" | 3534 #include "confdefs.h" |
3593 #include <stdlib.h> | 3535 #include <stdlib.h> |
3594 #include <stdarg.h> | 3536 #include <stdarg.h> |
3595 #include <string.h> | 3537 #include <string.h> |
3596 #include <float.h> | 3538 #include <float.h> |
3597 EOF | 3539 EOF |
3598 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3540 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3599 { (eval echo configure:3600: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3541 { (eval echo configure:3542: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3600 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 3542 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3601 if test -z "$ac_err"; then | 3543 if test -z "$ac_err"; then |
3602 rm -rf conftest* | 3544 rm -rf conftest* |
3603 ac_cv_header_stdc=yes | 3545 ac_cv_header_stdc=yes |
3604 else | 3546 else |
3611 rm -f conftest* | 3553 rm -f conftest* |
3612 | 3554 |
3613 if test $ac_cv_header_stdc = yes; then | 3555 if test $ac_cv_header_stdc = yes; then |
3614 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 3556 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
3615 cat > conftest.$ac_ext <<EOF | 3557 cat > conftest.$ac_ext <<EOF |
3616 #line 3617 "configure" | 3558 #line 3559 "configure" |
3617 #include "confdefs.h" | 3559 #include "confdefs.h" |
3618 #include <string.h> | 3560 #include <string.h> |
3619 EOF | 3561 EOF |
3620 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3562 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3621 egrep "memchr" >/dev/null 2>&1; then | 3563 egrep "memchr" >/dev/null 2>&1; then |
3629 fi | 3571 fi |
3630 | 3572 |
3631 if test $ac_cv_header_stdc = yes; then | 3573 if test $ac_cv_header_stdc = yes; then |
3632 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 3574 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
3633 cat > conftest.$ac_ext <<EOF | 3575 cat > conftest.$ac_ext <<EOF |
3634 #line 3635 "configure" | 3576 #line 3577 "configure" |
3635 #include "confdefs.h" | 3577 #include "confdefs.h" |
3636 #include <stdlib.h> | 3578 #include <stdlib.h> |
3637 EOF | 3579 EOF |
3638 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3580 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3639 egrep "free" >/dev/null 2>&1; then | 3581 egrep "free" >/dev/null 2>&1; then |
3647 fi | 3589 fi |
3648 | 3590 |
3649 if test $ac_cv_header_stdc = yes; then | 3591 if test $ac_cv_header_stdc = yes; then |
3650 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 3592 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
3651 cat > conftest.$ac_ext <<EOF | 3593 cat > conftest.$ac_ext <<EOF |
3652 #line 3653 "configure" | 3594 #line 3595 "configure" |
3653 #include "confdefs.h" | 3595 #include "confdefs.h" |
3654 #include <ctype.h> | 3596 #include <ctype.h> |
3655 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 3597 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
3656 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 3598 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
3657 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 3599 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
3658 int main () { int i; for (i = 0; i < 256; i++) | 3600 int main () { int i; for (i = 0; i < 256; i++) |
3659 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); | 3601 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); |
3660 exit (0); } | 3602 exit (0); } |
3661 | 3603 |
3662 EOF | 3604 EOF |
3663 if { (eval echo configure:3664: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 3605 if { (eval echo configure:3606: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
3664 then | 3606 then |
3665 : | 3607 : |
3666 else | 3608 else |
3667 conftest_rc="$?" | 3609 conftest_rc="$?" |
3668 echo "configure: failed program was:" >&5 | 3610 echo "configure: failed program was:" >&5 |
3684 } | 3626 } |
3685 | 3627 |
3686 fi | 3628 fi |
3687 | 3629 |
3688 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 | 3630 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 |
3689 echo "configure:3690: checking whether time.h and sys/time.h may both be included" >&5 | 3631 echo "configure:3632: checking whether time.h and sys/time.h may both be included" >&5 |
3690 | 3632 |
3691 cat > conftest.$ac_ext <<EOF | 3633 cat > conftest.$ac_ext <<EOF |
3692 #line 3693 "configure" | 3634 #line 3635 "configure" |
3693 #include "confdefs.h" | 3635 #include "confdefs.h" |
3694 #include <sys/types.h> | 3636 #include <sys/types.h> |
3695 #include <sys/time.h> | 3637 #include <sys/time.h> |
3696 #include <time.h> | 3638 #include <time.h> |
3697 int main() { | 3639 int main() { |
3698 struct tm *tp; | 3640 struct tm *tp; |
3699 ; return 0; } | 3641 ; return 0; } |
3700 EOF | 3642 EOF |
3701 if { (eval echo configure:3702: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3643 if { (eval echo configure:3644: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3702 rm -rf conftest* | 3644 rm -rf conftest* |
3703 ac_cv_header_time=yes | 3645 ac_cv_header_time=yes |
3704 else | 3646 else |
3705 echo "configure: failed program was:" >&5 | 3647 echo "configure: failed program was:" >&5 |
3706 cat conftest.$ac_ext >&5 | 3648 cat conftest.$ac_ext >&5 |
3720 } | 3662 } |
3721 | 3663 |
3722 fi | 3664 fi |
3723 | 3665 |
3724 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 | 3666 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 |
3725 echo "configure:3726: checking for sys_siglist declaration in signal.h or unistd.h" >&5 | 3667 echo "configure:3668: checking for sys_siglist declaration in signal.h or unistd.h" >&5 |
3726 | 3668 |
3727 cat > conftest.$ac_ext <<EOF | 3669 cat > conftest.$ac_ext <<EOF |
3728 #line 3729 "configure" | 3670 #line 3671 "configure" |
3729 #include "confdefs.h" | 3671 #include "confdefs.h" |
3730 #include <sys/types.h> | 3672 #include <sys/types.h> |
3731 #include <signal.h> | 3673 #include <signal.h> |
3732 /* NetBSD declares sys_siglist in unistd.h. */ | 3674 /* NetBSD declares sys_siglist in unistd.h. */ |
3733 #ifdef HAVE_UNISTD_H | 3675 #ifdef HAVE_UNISTD_H |
3735 #endif | 3677 #endif |
3736 int main() { | 3678 int main() { |
3737 char *msg = *(sys_siglist + 1); | 3679 char *msg = *(sys_siglist + 1); |
3738 ; return 0; } | 3680 ; return 0; } |
3739 EOF | 3681 EOF |
3740 if { (eval echo configure:3741: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3682 if { (eval echo configure:3683: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3741 rm -rf conftest* | 3683 rm -rf conftest* |
3742 ac_cv_decl_sys_siglist=yes | 3684 ac_cv_decl_sys_siglist=yes |
3743 else | 3685 else |
3744 echo "configure: failed program was:" >&5 | 3686 echo "configure: failed program was:" >&5 |
3745 cat conftest.$ac_ext >&5 | 3687 cat conftest.$ac_ext >&5 |
3760 | 3702 |
3761 fi | 3703 fi |
3762 | 3704 |
3763 | 3705 |
3764 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 | 3706 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 |
3765 echo "configure:3766: checking for struct utimbuf" >&5 | 3707 echo "configure:3708: checking for struct utimbuf" >&5 |
3766 cat > conftest.$ac_ext <<EOF | 3708 cat > conftest.$ac_ext <<EOF |
3767 #line 3768 "configure" | 3709 #line 3710 "configure" |
3768 #include "confdefs.h" | 3710 #include "confdefs.h" |
3769 #ifdef TIME_WITH_SYS_TIME | 3711 #ifdef TIME_WITH_SYS_TIME |
3770 #include <sys/time.h> | 3712 #include <sys/time.h> |
3771 #include <time.h> | 3713 #include <time.h> |
3772 #else | 3714 #else |
3781 #endif | 3723 #endif |
3782 int main() { | 3724 int main() { |
3783 static struct utimbuf x; x.actime = x.modtime; | 3725 static struct utimbuf x; x.actime = x.modtime; |
3784 ; return 0; } | 3726 ; return 0; } |
3785 EOF | 3727 EOF |
3786 if { (eval echo configure:3787: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3728 if { (eval echo configure:3729: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3787 rm -rf conftest* | 3729 rm -rf conftest* |
3788 echo "$ac_t""yes" 1>&6 | 3730 echo "$ac_t""yes" 1>&6 |
3789 { test "$extra_verbose" = "yes" && cat << \EOF | 3731 { test "$extra_verbose" = "yes" && cat << \EOF |
3790 Defining HAVE_STRUCT_UTIMBUF | 3732 Defining HAVE_STRUCT_UTIMBUF |
3791 EOF | 3733 EOF |
3801 echo "$ac_t""no" 1>&6 | 3743 echo "$ac_t""no" 1>&6 |
3802 fi | 3744 fi |
3803 rm -f conftest* | 3745 rm -f conftest* |
3804 | 3746 |
3805 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 | 3747 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
3806 echo "configure:3807: checking return type of signal handlers" >&5 | 3748 echo "configure:3749: checking return type of signal handlers" >&5 |
3807 | 3749 |
3808 cat > conftest.$ac_ext <<EOF | 3750 cat > conftest.$ac_ext <<EOF |
3809 #line 3810 "configure" | 3751 #line 3752 "configure" |
3810 #include "confdefs.h" | 3752 #include "confdefs.h" |
3811 #include <sys/types.h> | 3753 #include <sys/types.h> |
3812 #include <signal.h> | 3754 #include <signal.h> |
3813 #ifdef signal | 3755 #ifdef signal |
3814 #undef signal | 3756 #undef signal |
3821 | 3763 |
3822 int main() { | 3764 int main() { |
3823 int i; | 3765 int i; |
3824 ; return 0; } | 3766 ; return 0; } |
3825 EOF | 3767 EOF |
3826 if { (eval echo configure:3827: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3768 if { (eval echo configure:3769: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3827 rm -rf conftest* | 3769 rm -rf conftest* |
3828 ac_cv_type_signal=void | 3770 ac_cv_type_signal=void |
3829 else | 3771 else |
3830 echo "configure: failed program was:" >&5 | 3772 echo "configure: failed program was:" >&5 |
3831 cat conftest.$ac_ext >&5 | 3773 cat conftest.$ac_ext >&5 |
3843 EOF | 3785 EOF |
3844 } | 3786 } |
3845 | 3787 |
3846 | 3788 |
3847 echo $ac_n "checking for size_t""... $ac_c" 1>&6 | 3789 echo $ac_n "checking for size_t""... $ac_c" 1>&6 |
3848 echo "configure:3849: checking for size_t" >&5 | 3790 echo "configure:3791: checking for size_t" >&5 |
3849 | 3791 |
3850 cat > conftest.$ac_ext <<EOF | 3792 cat > conftest.$ac_ext <<EOF |
3851 #line 3852 "configure" | 3793 #line 3794 "configure" |
3852 #include "confdefs.h" | 3794 #include "confdefs.h" |
3853 #include <sys/types.h> | 3795 #include <sys/types.h> |
3854 #if STDC_HEADERS | 3796 #if STDC_HEADERS |
3855 #include <stdlib.h> | 3797 #include <stdlib.h> |
3856 #include <stddef.h> | 3798 #include <stddef.h> |
3877 } | 3819 } |
3878 | 3820 |
3879 fi | 3821 fi |
3880 | 3822 |
3881 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 | 3823 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 |
3882 echo "configure:3883: checking for pid_t" >&5 | 3824 echo "configure:3825: checking for pid_t" >&5 |
3883 | 3825 |
3884 cat > conftest.$ac_ext <<EOF | 3826 cat > conftest.$ac_ext <<EOF |
3885 #line 3886 "configure" | 3827 #line 3828 "configure" |
3886 #include "confdefs.h" | 3828 #include "confdefs.h" |
3887 #include <sys/types.h> | 3829 #include <sys/types.h> |
3888 #if STDC_HEADERS | 3830 #if STDC_HEADERS |
3889 #include <stdlib.h> | 3831 #include <stdlib.h> |
3890 #include <stddef.h> | 3832 #include <stddef.h> |
3911 } | 3853 } |
3912 | 3854 |
3913 fi | 3855 fi |
3914 | 3856 |
3915 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 | 3857 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 |
3916 echo "configure:3917: checking for uid_t in sys/types.h" >&5 | 3858 echo "configure:3859: checking for uid_t in sys/types.h" >&5 |
3917 | 3859 |
3918 cat > conftest.$ac_ext <<EOF | 3860 cat > conftest.$ac_ext <<EOF |
3919 #line 3920 "configure" | 3861 #line 3862 "configure" |
3920 #include "confdefs.h" | 3862 #include "confdefs.h" |
3921 #include <sys/types.h> | 3863 #include <sys/types.h> |
3922 EOF | 3864 EOF |
3923 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3865 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3924 egrep "uid_t" >/dev/null 2>&1; then | 3866 egrep "uid_t" >/dev/null 2>&1; then |
3950 } | 3892 } |
3951 | 3893 |
3952 fi | 3894 fi |
3953 | 3895 |
3954 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 | 3896 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 |
3955 echo "configure:3956: checking for mode_t" >&5 | 3897 echo "configure:3898: checking for mode_t" >&5 |
3956 | 3898 |
3957 cat > conftest.$ac_ext <<EOF | 3899 cat > conftest.$ac_ext <<EOF |
3958 #line 3959 "configure" | 3900 #line 3901 "configure" |
3959 #include "confdefs.h" | 3901 #include "confdefs.h" |
3960 #include <sys/types.h> | 3902 #include <sys/types.h> |
3961 #if STDC_HEADERS | 3903 #if STDC_HEADERS |
3962 #include <stdlib.h> | 3904 #include <stdlib.h> |
3963 #include <stddef.h> | 3905 #include <stddef.h> |
3984 } | 3926 } |
3985 | 3927 |
3986 fi | 3928 fi |
3987 | 3929 |
3988 echo $ac_n "checking for off_t""... $ac_c" 1>&6 | 3930 echo $ac_n "checking for off_t""... $ac_c" 1>&6 |
3989 echo "configure:3990: checking for off_t" >&5 | 3931 echo "configure:3932: checking for off_t" >&5 |
3990 | 3932 |
3991 cat > conftest.$ac_ext <<EOF | 3933 cat > conftest.$ac_ext <<EOF |
3992 #line 3993 "configure" | 3934 #line 3935 "configure" |
3993 #include "confdefs.h" | 3935 #include "confdefs.h" |
3994 #include <sys/types.h> | 3936 #include <sys/types.h> |
3995 #if STDC_HEADERS | 3937 #if STDC_HEADERS |
3996 #include <stdlib.h> | 3938 #include <stdlib.h> |
3997 #include <stddef.h> | 3939 #include <stddef.h> |
4018 } | 3960 } |
4019 | 3961 |
4020 fi | 3962 fi |
4021 | 3963 |
4022 echo $ac_n "checking for ssize_t""... $ac_c" 1>&6 | 3964 echo $ac_n "checking for ssize_t""... $ac_c" 1>&6 |
4023 echo "configure:4024: checking for ssize_t" >&5 | 3965 echo "configure:3966: checking for ssize_t" >&5 |
4024 | 3966 |
4025 cat > conftest.$ac_ext <<EOF | 3967 cat > conftest.$ac_ext <<EOF |
4026 #line 4027 "configure" | 3968 #line 3969 "configure" |
4027 #include "confdefs.h" | 3969 #include "confdefs.h" |
4028 #include <sys/types.h> | 3970 #include <sys/types.h> |
4029 #if STDC_HEADERS | 3971 #if STDC_HEADERS |
4030 #include <stdlib.h> | 3972 #include <stdlib.h> |
4031 #include <stddef.h> | 3973 #include <stddef.h> |
4053 | 3995 |
4054 fi | 3996 fi |
4055 | 3997 |
4056 | 3998 |
4057 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 | 3999 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 |
4058 echo "configure:4059: checking for struct timeval" >&5 | 4000 echo "configure:4001: checking for struct timeval" >&5 |
4059 cat > conftest.$ac_ext <<EOF | 4001 cat > conftest.$ac_ext <<EOF |
4060 #line 4061 "configure" | 4002 #line 4003 "configure" |
4061 #include "confdefs.h" | 4003 #include "confdefs.h" |
4062 #ifdef TIME_WITH_SYS_TIME | 4004 #ifdef TIME_WITH_SYS_TIME |
4063 #include <sys/time.h> | 4005 #include <sys/time.h> |
4064 #include <time.h> | 4006 #include <time.h> |
4065 #else | 4007 #else |
4071 #endif | 4013 #endif |
4072 int main() { | 4014 int main() { |
4073 static struct timeval x; x.tv_sec = x.tv_usec; | 4015 static struct timeval x; x.tv_sec = x.tv_usec; |
4074 ; return 0; } | 4016 ; return 0; } |
4075 EOF | 4017 EOF |
4076 if { (eval echo configure:4077: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4018 if { (eval echo configure:4019: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4077 rm -rf conftest* | 4019 rm -rf conftest* |
4078 echo "$ac_t""yes" 1>&6 | 4020 echo "$ac_t""yes" 1>&6 |
4079 HAVE_TIMEVAL=yes | 4021 HAVE_TIMEVAL=yes |
4080 { test "$extra_verbose" = "yes" && cat << \EOF | 4022 { test "$extra_verbose" = "yes" && cat << \EOF |
4081 Defining HAVE_TIMEVAL | 4023 Defining HAVE_TIMEVAL |
4093 HAVE_TIMEVAL=no | 4035 HAVE_TIMEVAL=no |
4094 fi | 4036 fi |
4095 rm -f conftest* | 4037 rm -f conftest* |
4096 | 4038 |
4097 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 | 4039 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 |
4098 echo "configure:4099: checking whether struct tm is in sys/time.h or time.h" >&5 | 4040 echo "configure:4041: checking whether struct tm is in sys/time.h or time.h" >&5 |
4099 | 4041 |
4100 cat > conftest.$ac_ext <<EOF | 4042 cat > conftest.$ac_ext <<EOF |
4101 #line 4102 "configure" | 4043 #line 4044 "configure" |
4102 #include "confdefs.h" | 4044 #include "confdefs.h" |
4103 #include <sys/types.h> | 4045 #include <sys/types.h> |
4104 #include <time.h> | 4046 #include <time.h> |
4105 int main() { | 4047 int main() { |
4106 struct tm *tp; tp->tm_sec; | 4048 struct tm *tp; tp->tm_sec; |
4107 ; return 0; } | 4049 ; return 0; } |
4108 EOF | 4050 EOF |
4109 if { (eval echo configure:4110: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4051 if { (eval echo configure:4052: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4110 rm -rf conftest* | 4052 rm -rf conftest* |
4111 ac_cv_struct_tm=time.h | 4053 ac_cv_struct_tm=time.h |
4112 else | 4054 else |
4113 echo "configure: failed program was:" >&5 | 4055 echo "configure: failed program was:" >&5 |
4114 cat conftest.$ac_ext >&5 | 4056 cat conftest.$ac_ext >&5 |
4128 } | 4070 } |
4129 | 4071 |
4130 fi | 4072 fi |
4131 | 4073 |
4132 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 | 4074 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 |
4133 echo "configure:4134: checking for tm_zone in struct tm" >&5 | 4075 echo "configure:4076: checking for tm_zone in struct tm" >&5 |
4134 | 4076 |
4135 cat > conftest.$ac_ext <<EOF | 4077 cat > conftest.$ac_ext <<EOF |
4136 #line 4137 "configure" | 4078 #line 4079 "configure" |
4137 #include "confdefs.h" | 4079 #include "confdefs.h" |
4138 #include <sys/types.h> | 4080 #include <sys/types.h> |
4139 #include <$ac_cv_struct_tm> | 4081 #include <$ac_cv_struct_tm> |
4140 int main() { | 4082 int main() { |
4141 struct tm tm; tm.tm_zone; | 4083 struct tm tm; tm.tm_zone; |
4142 ; return 0; } | 4084 ; return 0; } |
4143 EOF | 4085 EOF |
4144 if { (eval echo configure:4145: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4086 if { (eval echo configure:4087: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4145 rm -rf conftest* | 4087 rm -rf conftest* |
4146 ac_cv_struct_tm_zone=yes | 4088 ac_cv_struct_tm_zone=yes |
4147 else | 4089 else |
4148 echo "configure: failed program was:" >&5 | 4090 echo "configure: failed program was:" >&5 |
4149 cat conftest.$ac_ext >&5 | 4091 cat conftest.$ac_ext >&5 |
4162 EOF | 4104 EOF |
4163 } | 4105 } |
4164 | 4106 |
4165 else | 4107 else |
4166 echo $ac_n "checking for tzname""... $ac_c" 1>&6 | 4108 echo $ac_n "checking for tzname""... $ac_c" 1>&6 |
4167 echo "configure:4168: checking for tzname" >&5 | 4109 echo "configure:4110: checking for tzname" >&5 |
4168 | 4110 |
4169 cat > conftest.$ac_ext <<EOF | 4111 cat > conftest.$ac_ext <<EOF |
4170 #line 4171 "configure" | 4112 #line 4113 "configure" |
4171 #include "confdefs.h" | 4113 #include "confdefs.h" |
4172 #include <time.h> | 4114 #include <time.h> |
4173 #ifndef tzname /* For SGI. */ | 4115 #ifndef tzname /* For SGI. */ |
4174 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ | 4116 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ |
4175 #endif | 4117 #endif |
4176 int main() { | 4118 int main() { |
4177 atoi(*tzname); | 4119 atoi(*tzname); |
4178 ; return 0; } | 4120 ; return 0; } |
4179 EOF | 4121 EOF |
4180 if { (eval echo configure:4181: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4122 if { (eval echo configure:4123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4181 rm -rf conftest* | 4123 rm -rf conftest* |
4182 ac_cv_var_tzname=yes | 4124 ac_cv_var_tzname=yes |
4183 else | 4125 else |
4184 echo "configure: failed program was:" >&5 | 4126 echo "configure: failed program was:" >&5 |
4185 cat conftest.$ac_ext >&5 | 4127 cat conftest.$ac_ext >&5 |
4201 fi | 4143 fi |
4202 fi | 4144 fi |
4203 | 4145 |
4204 | 4146 |
4205 echo $ac_n "checking for working const""... $ac_c" 1>&6 | 4147 echo $ac_n "checking for working const""... $ac_c" 1>&6 |
4206 echo "configure:4207: checking for working const" >&5 | 4148 echo "configure:4149: checking for working const" >&5 |
4207 | 4149 |
4208 cat > conftest.$ac_ext <<EOF | 4150 cat > conftest.$ac_ext <<EOF |
4209 #line 4210 "configure" | 4151 #line 4152 "configure" |
4210 #include "confdefs.h" | 4152 #include "confdefs.h" |
4211 | 4153 |
4212 int main() { | 4154 int main() { |
4213 | 4155 |
4214 /* Ultrix mips cc rejects this. */ | 4156 /* Ultrix mips cc rejects this. */ |
4253 const int foo = 10; | 4195 const int foo = 10; |
4254 } | 4196 } |
4255 | 4197 |
4256 ; return 0; } | 4198 ; return 0; } |
4257 EOF | 4199 EOF |
4258 if { (eval echo configure:4259: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4200 if { (eval echo configure:4201: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4259 rm -rf conftest* | 4201 rm -rf conftest* |
4260 ac_cv_c_const=yes | 4202 ac_cv_c_const=yes |
4261 else | 4203 else |
4262 echo "configure: failed program was:" >&5 | 4204 echo "configure: failed program was:" >&5 |
4263 cat conftest.$ac_ext >&5 | 4205 cat conftest.$ac_ext >&5 |
4278 | 4220 |
4279 fi | 4221 fi |
4280 | 4222 |
4281 | 4223 |
4282 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | 4224 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
4283 echo "configure:4284: checking whether ${MAKE-make} sets \${MAKE}" >&5 | 4225 echo "configure:4226: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
4284 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | 4226 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
4285 | 4227 |
4286 cat > conftestmake <<\EOF | 4228 cat > conftestmake <<\EOF |
4287 all: | 4229 all: |
4288 @echo 'ac_maketemp="${MAKE}"' | 4230 @echo 'ac_maketemp="${MAKE}"' |
4303 SET_MAKE="MAKE=${MAKE-make}" | 4245 SET_MAKE="MAKE=${MAKE-make}" |
4304 fi | 4246 fi |
4305 | 4247 |
4306 | 4248 |
4307 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 | 4249 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 |
4308 echo "configure:4309: checking whether byte ordering is bigendian" >&5 | 4250 echo "configure:4251: checking whether byte ordering is bigendian" >&5 |
4309 | 4251 |
4310 ac_cv_c_bigendian=unknown | 4252 ac_cv_c_bigendian=unknown |
4311 # See if sys/param.h defines the BYTE_ORDER macro. | 4253 # See if sys/param.h defines the BYTE_ORDER macro. |
4312 cat > conftest.$ac_ext <<EOF | 4254 cat > conftest.$ac_ext <<EOF |
4313 #line 4314 "configure" | 4255 #line 4256 "configure" |
4314 #include "confdefs.h" | 4256 #include "confdefs.h" |
4315 #include <sys/types.h> | 4257 #include <sys/types.h> |
4316 #include <sys/param.h> | 4258 #include <sys/param.h> |
4317 int main() { | 4259 int main() { |
4318 | 4260 |
4319 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN | 4261 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN |
4320 bogus endian macros | 4262 bogus endian macros |
4321 #endif | 4263 #endif |
4322 ; return 0; } | 4264 ; return 0; } |
4323 EOF | 4265 EOF |
4324 if { (eval echo configure:4325: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4266 if { (eval echo configure:4267: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4325 rm -rf conftest* | 4267 rm -rf conftest* |
4326 # It does; now see whether it defined to BIG_ENDIAN or not. | 4268 # It does; now see whether it defined to BIG_ENDIAN or not. |
4327 cat > conftest.$ac_ext <<EOF | 4269 cat > conftest.$ac_ext <<EOF |
4328 #line 4329 "configure" | 4270 #line 4271 "configure" |
4329 #include "confdefs.h" | 4271 #include "confdefs.h" |
4330 #include <sys/types.h> | 4272 #include <sys/types.h> |
4331 #include <sys/param.h> | 4273 #include <sys/param.h> |
4332 int main() { | 4274 int main() { |
4333 | 4275 |
4334 #if BYTE_ORDER != BIG_ENDIAN | 4276 #if BYTE_ORDER != BIG_ENDIAN |
4335 not big endian | 4277 not big endian |
4336 #endif | 4278 #endif |
4337 ; return 0; } | 4279 ; return 0; } |
4338 EOF | 4280 EOF |
4339 if { (eval echo configure:4340: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4281 if { (eval echo configure:4282: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4340 rm -rf conftest* | 4282 rm -rf conftest* |
4341 ac_cv_c_bigendian=yes | 4283 ac_cv_c_bigendian=yes |
4342 else | 4284 else |
4343 echo "configure: failed program was:" >&5 | 4285 echo "configure: failed program was:" >&5 |
4344 cat conftest.$ac_ext >&5 | 4286 cat conftest.$ac_ext >&5 |
4351 cat conftest.$ac_ext >&5 | 4293 cat conftest.$ac_ext >&5 |
4352 fi | 4294 fi |
4353 rm -f conftest* | 4295 rm -f conftest* |
4354 if test $ac_cv_c_bigendian = unknown; then | 4296 if test $ac_cv_c_bigendian = unknown; then |
4355 cat > conftest.$ac_ext <<EOF | 4297 cat > conftest.$ac_ext <<EOF |
4356 #line 4357 "configure" | 4298 #line 4299 "configure" |
4357 #include "confdefs.h" | 4299 #include "confdefs.h" |
4358 main () { | 4300 main () { |
4359 /* Are we little or big endian? From Harbison&Steele. */ | 4301 /* Are we little or big endian? From Harbison&Steele. */ |
4360 union | 4302 union |
4361 { | 4303 { |
4364 } u; | 4306 } u; |
4365 u.l = 1; | 4307 u.l = 1; |
4366 exit (u.c[sizeof (long) - 1] == 1); | 4308 exit (u.c[sizeof (long) - 1] == 1); |
4367 } | 4309 } |
4368 EOF | 4310 EOF |
4369 if { (eval echo configure:4370: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4311 if { (eval echo configure:4312: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4370 then | 4312 then |
4371 ac_cv_c_bigendian=no | 4313 ac_cv_c_bigendian=no |
4372 else | 4314 else |
4373 conftest_rc="$?" | 4315 conftest_rc="$?" |
4374 echo "configure: failed program was:" >&5 | 4316 echo "configure: failed program was:" >&5 |
4391 | 4333 |
4392 fi | 4334 fi |
4393 | 4335 |
4394 | 4336 |
4395 echo $ac_n "checking size of short""... $ac_c" 1>&6 | 4337 echo $ac_n "checking size of short""... $ac_c" 1>&6 |
4396 echo "configure:4397: checking size of short" >&5 | 4338 echo "configure:4339: checking size of short" >&5 |
4397 | 4339 |
4398 cat > conftest.$ac_ext <<EOF | 4340 cat > conftest.$ac_ext <<EOF |
4399 #line 4400 "configure" | 4341 #line 4342 "configure" |
4400 #include "confdefs.h" | 4342 #include "confdefs.h" |
4401 #include <stdio.h> | 4343 #include <stdio.h> |
4402 main() | 4344 main() |
4403 { | 4345 { |
4404 FILE *f=fopen("conftestval", "w"); | 4346 FILE *f=fopen("conftestval", "w"); |
4405 if (!f) exit(1); | 4347 if (!f) exit(1); |
4406 fprintf(f, "%d\n", sizeof(short)); | 4348 fprintf(f, "%d\n", sizeof(short)); |
4407 exit(0); | 4349 exit(0); |
4408 } | 4350 } |
4409 EOF | 4351 EOF |
4410 if { (eval echo configure:4411: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4352 if { (eval echo configure:4353: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4411 then | 4353 then |
4412 ac_cv_sizeof_short=`cat conftestval` | 4354 ac_cv_sizeof_short=`cat conftestval` |
4413 else | 4355 else |
4414 conftest_rc="$?" | 4356 conftest_rc="$?" |
4415 echo "configure: failed program was:" >&5 | 4357 echo "configure: failed program was:" >&5 |
4433 echo "*** PANIC *** Configure tests are not working - compiler is broken." | 4375 echo "*** PANIC *** Configure tests are not working - compiler is broken." |
4434 echo "*** PANIC *** Please examine config.log for compilation errors." | 4376 echo "*** PANIC *** Please examine config.log for compilation errors." |
4435 exit 1 | 4377 exit 1 |
4436 fi | 4378 fi |
4437 echo $ac_n "checking size of int""... $ac_c" 1>&6 | 4379 echo $ac_n "checking size of int""... $ac_c" 1>&6 |
4438 echo "configure:4439: checking size of int" >&5 | 4380 echo "configure:4381: checking size of int" >&5 |
4439 | 4381 |
4440 cat > conftest.$ac_ext <<EOF | 4382 cat > conftest.$ac_ext <<EOF |
4441 #line 4442 "configure" | 4383 #line 4384 "configure" |
4442 #include "confdefs.h" | 4384 #include "confdefs.h" |
4443 #include <stdio.h> | 4385 #include <stdio.h> |
4444 main() | 4386 main() |
4445 { | 4387 { |
4446 FILE *f=fopen("conftestval", "w"); | 4388 FILE *f=fopen("conftestval", "w"); |
4447 if (!f) exit(1); | 4389 if (!f) exit(1); |
4448 fprintf(f, "%d\n", sizeof(int)); | 4390 fprintf(f, "%d\n", sizeof(int)); |
4449 exit(0); | 4391 exit(0); |
4450 } | 4392 } |
4451 EOF | 4393 EOF |
4452 if { (eval echo configure:4453: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4394 if { (eval echo configure:4395: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4453 then | 4395 then |
4454 ac_cv_sizeof_int=`cat conftestval` | 4396 ac_cv_sizeof_int=`cat conftestval` |
4455 else | 4397 else |
4456 conftest_rc="$?" | 4398 conftest_rc="$?" |
4457 echo "configure: failed program was:" >&5 | 4399 echo "configure: failed program was:" >&5 |
4469 EOF | 4411 EOF |
4470 } | 4412 } |
4471 | 4413 |
4472 | 4414 |
4473 echo $ac_n "checking size of long""... $ac_c" 1>&6 | 4415 echo $ac_n "checking size of long""... $ac_c" 1>&6 |
4474 echo "configure:4475: checking size of long" >&5 | 4416 echo "configure:4417: checking size of long" >&5 |
4475 | 4417 |
4476 cat > conftest.$ac_ext <<EOF | 4418 cat > conftest.$ac_ext <<EOF |
4477 #line 4478 "configure" | 4419 #line 4420 "configure" |
4478 #include "confdefs.h" | 4420 #include "confdefs.h" |
4479 #include <stdio.h> | 4421 #include <stdio.h> |
4480 main() | 4422 main() |
4481 { | 4423 { |
4482 FILE *f=fopen("conftestval", "w"); | 4424 FILE *f=fopen("conftestval", "w"); |
4483 if (!f) exit(1); | 4425 if (!f) exit(1); |
4484 fprintf(f, "%d\n", sizeof(long)); | 4426 fprintf(f, "%d\n", sizeof(long)); |
4485 exit(0); | 4427 exit(0); |
4486 } | 4428 } |
4487 EOF | 4429 EOF |
4488 if { (eval echo configure:4489: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4430 if { (eval echo configure:4431: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4489 then | 4431 then |
4490 ac_cv_sizeof_long=`cat conftestval` | 4432 ac_cv_sizeof_long=`cat conftestval` |
4491 else | 4433 else |
4492 conftest_rc="$?" | 4434 conftest_rc="$?" |
4493 echo "configure: failed program was:" >&5 | 4435 echo "configure: failed program was:" >&5 |
4505 EOF | 4447 EOF |
4506 } | 4448 } |
4507 | 4449 |
4508 | 4450 |
4509 echo $ac_n "checking size of long long""... $ac_c" 1>&6 | 4451 echo $ac_n "checking size of long long""... $ac_c" 1>&6 |
4510 echo "configure:4511: checking size of long long" >&5 | 4452 echo "configure:4453: checking size of long long" >&5 |
4511 | 4453 |
4512 cat > conftest.$ac_ext <<EOF | 4454 cat > conftest.$ac_ext <<EOF |
4513 #line 4514 "configure" | 4455 #line 4456 "configure" |
4514 #include "confdefs.h" | 4456 #include "confdefs.h" |
4515 #include <stdio.h> | 4457 #include <stdio.h> |
4516 main() | 4458 main() |
4517 { | 4459 { |
4518 FILE *f=fopen("conftestval", "w"); | 4460 FILE *f=fopen("conftestval", "w"); |
4519 if (!f) exit(1); | 4461 if (!f) exit(1); |
4520 fprintf(f, "%d\n", sizeof(long long)); | 4462 fprintf(f, "%d\n", sizeof(long long)); |
4521 exit(0); | 4463 exit(0); |
4522 } | 4464 } |
4523 EOF | 4465 EOF |
4524 if { (eval echo configure:4525: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4466 if { (eval echo configure:4467: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4525 then | 4467 then |
4526 ac_cv_sizeof_long_long=`cat conftestval` | 4468 ac_cv_sizeof_long_long=`cat conftestval` |
4527 else | 4469 else |
4528 conftest_rc="$?" | 4470 conftest_rc="$?" |
4529 echo "configure: failed program was:" >&5 | 4471 echo "configure: failed program was:" >&5 |
4541 EOF | 4483 EOF |
4542 } | 4484 } |
4543 | 4485 |
4544 | 4486 |
4545 echo $ac_n "checking size of void *""... $ac_c" 1>&6 | 4487 echo $ac_n "checking size of void *""... $ac_c" 1>&6 |
4546 echo "configure:4547: checking size of void *" >&5 | 4488 echo "configure:4489: checking size of void *" >&5 |
4547 | 4489 |
4548 cat > conftest.$ac_ext <<EOF | 4490 cat > conftest.$ac_ext <<EOF |
4549 #line 4550 "configure" | 4491 #line 4492 "configure" |
4550 #include "confdefs.h" | 4492 #include "confdefs.h" |
4551 #include <stdio.h> | 4493 #include <stdio.h> |
4552 main() | 4494 main() |
4553 { | 4495 { |
4554 FILE *f=fopen("conftestval", "w"); | 4496 FILE *f=fopen("conftestval", "w"); |
4555 if (!f) exit(1); | 4497 if (!f) exit(1); |
4556 fprintf(f, "%d\n", sizeof(void *)); | 4498 fprintf(f, "%d\n", sizeof(void *)); |
4557 exit(0); | 4499 exit(0); |
4558 } | 4500 } |
4559 EOF | 4501 EOF |
4560 if { (eval echo configure:4561: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4502 if { (eval echo configure:4503: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4561 then | 4503 then |
4562 ac_cv_sizeof_void_p=`cat conftestval` | 4504 ac_cv_sizeof_void_p=`cat conftestval` |
4563 else | 4505 else |
4564 conftest_rc="$?" | 4506 conftest_rc="$?" |
4565 echo "configure: failed program was:" >&5 | 4507 echo "configure: failed program was:" >&5 |
4578 } | 4520 } |
4579 | 4521 |
4580 | 4522 |
4581 | 4523 |
4582 echo $ac_n "checking for long file names""... $ac_c" 1>&6 | 4524 echo $ac_n "checking for long file names""... $ac_c" 1>&6 |
4583 echo "configure:4584: checking for long file names" >&5 | 4525 echo "configure:4526: checking for long file names" >&5 |
4584 | 4526 |
4585 ac_cv_sys_long_file_names=yes | 4527 ac_cv_sys_long_file_names=yes |
4586 # Test for long file names in all the places we know might matter: | 4528 # Test for long file names in all the places we know might matter: |
4587 # . the current directory, where building will happen | 4529 # . the current directory, where building will happen |
4588 # $prefix/lib where we will be installing things | 4530 # $prefix/lib where we will be installing things |
4624 | 4566 |
4625 fi | 4567 fi |
4626 | 4568 |
4627 | 4569 |
4628 echo $ac_n "checking for sin""... $ac_c" 1>&6 | 4570 echo $ac_n "checking for sin""... $ac_c" 1>&6 |
4629 echo "configure:4630: checking for sin" >&5 | 4571 echo "configure:4572: checking for sin" >&5 |
4630 | 4572 |
4631 cat > conftest.$ac_ext <<EOF | 4573 cat > conftest.$ac_ext <<EOF |
4632 #line 4633 "configure" | 4574 #line 4575 "configure" |
4633 #include "confdefs.h" | 4575 #include "confdefs.h" |
4634 /* System header to define __stub macros and hopefully few prototypes, | 4576 /* System header to define __stub macros and hopefully few prototypes, |
4635 which can conflict with char sin(); below. */ | 4577 which can conflict with char sin(); below. */ |
4636 #include <assert.h> | 4578 #include <assert.h> |
4637 /* Override any gcc2 internal prototype to avoid an error. */ | 4579 /* Override any gcc2 internal prototype to avoid an error. */ |
4650 sin(); | 4592 sin(); |
4651 #endif | 4593 #endif |
4652 | 4594 |
4653 ; return 0; } | 4595 ; return 0; } |
4654 EOF | 4596 EOF |
4655 if { (eval echo configure:4656: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4597 if { (eval echo configure:4598: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4656 rm -rf conftest* | 4598 rm -rf conftest* |
4657 eval "ac_cv_func_sin=yes" | 4599 eval "ac_cv_func_sin=yes" |
4658 else | 4600 else |
4659 echo "configure: failed program was:" >&5 | 4601 echo "configure: failed program was:" >&5 |
4660 cat conftest.$ac_ext >&5 | 4602 cat conftest.$ac_ext >&5 |
4668 : | 4610 : |
4669 else | 4611 else |
4670 echo "$ac_t""no" 1>&6 | 4612 echo "$ac_t""no" 1>&6 |
4671 | 4613 |
4672 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 | 4614 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
4673 echo "configure:4674: checking for sin in -lm" >&5 | 4615 echo "configure:4616: checking for sin in -lm" >&5 |
4674 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` | 4616 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` |
4675 | 4617 |
4676 xe_check_libs=" -lm " | 4618 xe_check_libs=" -lm " |
4677 cat > conftest.$ac_ext <<EOF | 4619 cat > conftest.$ac_ext <<EOF |
4678 #line 4679 "configure" | 4620 #line 4621 "configure" |
4679 #include "confdefs.h" | 4621 #include "confdefs.h" |
4680 /* Override any gcc2 internal prototype to avoid an error. */ | 4622 /* Override any gcc2 internal prototype to avoid an error. */ |
4681 /* We use char because int might match the return type of a gcc2 | 4623 /* We use char because int might match the return type of a gcc2 |
4682 builtin and then its argument prototype would still apply. */ | 4624 builtin and then its argument prototype would still apply. */ |
4683 char sin(); | 4625 char sin(); |
4684 | 4626 |
4685 int main() { | 4627 int main() { |
4686 sin() | 4628 sin() |
4687 ; return 0; } | 4629 ; return 0; } |
4688 EOF | 4630 EOF |
4689 if { (eval echo configure:4690: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4631 if { (eval echo configure:4632: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4690 rm -rf conftest* | 4632 rm -rf conftest* |
4691 eval "ac_cv_lib_$ac_lib_var=yes" | 4633 eval "ac_cv_lib_$ac_lib_var=yes" |
4692 else | 4634 else |
4693 echo "configure: failed program was:" >&5 | 4635 echo "configure: failed program was:" >&5 |
4694 cat conftest.$ac_ext >&5 | 4636 cat conftest.$ac_ext >&5 |
4728 EOF | 4670 EOF |
4729 } | 4671 } |
4730 | 4672 |
4731 | 4673 |
4732 cat > conftest.$ac_ext <<EOF | 4674 cat > conftest.$ac_ext <<EOF |
4733 #line 4734 "configure" | 4675 #line 4676 "configure" |
4734 #include "confdefs.h" | 4676 #include "confdefs.h" |
4735 #include <math.h> | 4677 #include <math.h> |
4736 int main() { | 4678 int main() { |
4737 return atanh(1.0) + asinh(1.0) + acosh(1.0); | 4679 return atanh(1.0) + asinh(1.0) + acosh(1.0); |
4738 ; return 0; } | 4680 ; return 0; } |
4739 EOF | 4681 EOF |
4740 if { (eval echo configure:4741: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4682 if { (eval echo configure:4683: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4741 rm -rf conftest* | 4683 rm -rf conftest* |
4742 { test "$extra_verbose" = "yes" && cat << \EOF | 4684 { test "$extra_verbose" = "yes" && cat << \EOF |
4743 Defining HAVE_INVERSE_HYPERBOLIC | 4685 Defining HAVE_INVERSE_HYPERBOLIC |
4744 EOF | 4686 EOF |
4745 cat >> confdefs.h <<\EOF | 4687 cat >> confdefs.h <<\EOF |
4752 cat conftest.$ac_ext >&5 | 4694 cat conftest.$ac_ext >&5 |
4753 fi | 4695 fi |
4754 rm -f conftest* | 4696 rm -f conftest* |
4755 | 4697 |
4756 echo "checking type of mail spool file locking" 1>&6 | 4698 echo "checking type of mail spool file locking" 1>&6 |
4757 echo "configure:4758: checking type of mail spool file locking" >&5 | 4699 echo "configure:4700: checking type of mail spool file locking" >&5 |
4758 for ac_func in lockf flock | 4700 for ac_func in lockf flock |
4759 do | 4701 do |
4760 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 4702 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
4761 echo "configure:4762: checking for $ac_func" >&5 | 4703 echo "configure:4704: checking for $ac_func" >&5 |
4762 | 4704 |
4763 cat > conftest.$ac_ext <<EOF | 4705 cat > conftest.$ac_ext <<EOF |
4764 #line 4765 "configure" | 4706 #line 4707 "configure" |
4765 #include "confdefs.h" | 4707 #include "confdefs.h" |
4766 /* System header to define __stub macros and hopefully few prototypes, | 4708 /* System header to define __stub macros and hopefully few prototypes, |
4767 which can conflict with char $ac_func(); below. */ | 4709 which can conflict with char $ac_func(); below. */ |
4768 #include <assert.h> | 4710 #include <assert.h> |
4769 /* Override any gcc2 internal prototype to avoid an error. */ | 4711 /* Override any gcc2 internal prototype to avoid an error. */ |
4782 $ac_func(); | 4724 $ac_func(); |
4783 #endif | 4725 #endif |
4784 | 4726 |
4785 ; return 0; } | 4727 ; return 0; } |
4786 EOF | 4728 EOF |
4787 if { (eval echo configure:4788: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4729 if { (eval echo configure:4730: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4788 rm -rf conftest* | 4730 rm -rf conftest* |
4789 eval "ac_cv_func_$ac_func=yes" | 4731 eval "ac_cv_func_$ac_func=yes" |
4790 else | 4732 else |
4791 echo "configure: failed program was:" >&5 | 4733 echo "configure: failed program was:" >&5 |
4792 cat conftest.$ac_ext >&5 | 4734 cat conftest.$ac_ext >&5 |
4855 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; } | 4797 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; } |
4856 | 4798 |
4857 case "$opsys" in decosf*) | 4799 case "$opsys" in decosf*) |
4858 | 4800 |
4859 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 | 4801 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 |
4860 echo "configure:4861: checking for cma_open in -lpthreads" >&5 | 4802 echo "configure:4803: checking for cma_open in -lpthreads" >&5 |
4861 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` | 4803 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` |
4862 | 4804 |
4863 xe_check_libs=" -lpthreads " | 4805 xe_check_libs=" -lpthreads " |
4864 cat > conftest.$ac_ext <<EOF | 4806 cat > conftest.$ac_ext <<EOF |
4865 #line 4866 "configure" | 4807 #line 4808 "configure" |
4866 #include "confdefs.h" | 4808 #include "confdefs.h" |
4867 /* Override any gcc2 internal prototype to avoid an error. */ | 4809 /* Override any gcc2 internal prototype to avoid an error. */ |
4868 /* We use char because int might match the return type of a gcc2 | 4810 /* We use char because int might match the return type of a gcc2 |
4869 builtin and then its argument prototype would still apply. */ | 4811 builtin and then its argument prototype would still apply. */ |
4870 char cma_open(); | 4812 char cma_open(); |
4871 | 4813 |
4872 int main() { | 4814 int main() { |
4873 cma_open() | 4815 cma_open() |
4874 ; return 0; } | 4816 ; return 0; } |
4875 EOF | 4817 EOF |
4876 if { (eval echo configure:4877: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4818 if { (eval echo configure:4819: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4877 rm -rf conftest* | 4819 rm -rf conftest* |
4878 eval "ac_cv_lib_$ac_lib_var=yes" | 4820 eval "ac_cv_lib_$ac_lib_var=yes" |
4879 else | 4821 else |
4880 echo "configure: failed program was:" >&5 | 4822 echo "configure: failed program was:" >&5 |
4881 cat conftest.$ac_ext >&5 | 4823 cat conftest.$ac_ext >&5 |
4907 test "$ac_cv_lib_pthreads_cma_open" = "yes" && \ | 4849 test "$ac_cv_lib_pthreads_cma_open" = "yes" && \ |
4908 c_switch_site="$c_switch_site -threads" ;; | 4850 c_switch_site="$c_switch_site -threads" ;; |
4909 esac | 4851 esac |
4910 | 4852 |
4911 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 | 4853 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 |
4912 echo "configure:4913: checking whether the -xildoff compiler flag is required" >&5 | 4854 echo "configure:4855: checking whether the -xildoff compiler flag is required" >&5 |
4913 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then | 4855 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then |
4914 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; | 4856 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; |
4915 then echo "$ac_t""no" 1>&6; | 4857 then echo "$ac_t""no" 1>&6; |
4916 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 | 4858 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 |
4917 fi | 4859 fi |
4919 fi | 4861 fi |
4920 | 4862 |
4921 if test "$opsys" = "sol2"; then | 4863 if test "$opsys" = "sol2"; then |
4922 if test "$os_release" -ge 56; then | 4864 if test "$os_release" -ge 56; then |
4923 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 | 4865 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 |
4924 echo "configure:4925: checking for \"-z ignore\" linker flag" >&5 | 4866 echo "configure:4867: checking for \"-z ignore\" linker flag" >&5 |
4925 case "`ld -h 2>&1`" in | 4867 case "`ld -h 2>&1`" in |
4926 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 | 4868 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 |
4927 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; | 4869 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; |
4928 *) echo "$ac_t""no" 1>&6 ;; | 4870 *) echo "$ac_t""no" 1>&6 ;; |
4929 esac | 4871 esac |
4930 fi | 4872 fi |
4931 fi | 4873 fi |
4932 | 4874 |
4933 | 4875 |
4934 echo "checking "for specified window system"" 1>&6 | 4876 echo "checking "for specified window system"" 1>&6 |
4935 echo "configure:4936: checking "for specified window system"" >&5 | 4877 echo "configure:4878: checking "for specified window system"" >&5 |
4936 | 4878 |
4937 if test "$with_x11" != "no"; then | 4879 if test "$with_x11" != "no"; then |
4938 test "$x_includes $x_libraries" != "NONE NONE" && \ | 4880 test "$x_includes $x_libraries" != "NONE NONE" && \ |
4939 window_system=x11 with_x11=yes | 4881 window_system=x11 with_x11=yes |
4940 | 4882 |
4963 # If we find X, set shell vars x_includes and x_libraries to the | 4905 # If we find X, set shell vars x_includes and x_libraries to the |
4964 # paths, otherwise set no_x=yes. | 4906 # paths, otherwise set no_x=yes. |
4965 # Uses ac_ vars as temps to allow command line to override cache and checks. | 4907 # Uses ac_ vars as temps to allow command line to override cache and checks. |
4966 # --without-x overrides everything else, but does not touch the cache. | 4908 # --without-x overrides everything else, but does not touch the cache. |
4967 echo $ac_n "checking for X""... $ac_c" 1>&6 | 4909 echo $ac_n "checking for X""... $ac_c" 1>&6 |
4968 echo "configure:4969: checking for X" >&5 | 4910 echo "configure:4911: checking for X" >&5 |
4969 | 4911 |
4970 # Check whether --with-x or --without-x was given. | 4912 # Check whether --with-x or --without-x was given. |
4971 if test "${with_x+set}" = set; then | 4913 if test "${with_x+set}" = set; then |
4972 withval="$with_x" | 4914 withval="$with_x" |
4973 : | 4915 : |
5023 # Guess where to find include files, by looking for this one X11 .h file. | 4965 # Guess where to find include files, by looking for this one X11 .h file. |
5024 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h | 4966 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h |
5025 | 4967 |
5026 # First, try using that file with no special directory specified. | 4968 # First, try using that file with no special directory specified. |
5027 cat > conftest.$ac_ext <<EOF | 4969 cat > conftest.$ac_ext <<EOF |
5028 #line 5029 "configure" | 4970 #line 4971 "configure" |
5029 #include "confdefs.h" | 4971 #include "confdefs.h" |
5030 #include <$x_direct_test_include> | 4972 #include <$x_direct_test_include> |
5031 EOF | 4973 EOF |
5032 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4974 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5033 { (eval echo configure:5034: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4975 { (eval echo configure:4976: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5034 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 4976 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5035 if test -z "$ac_err"; then | 4977 if test -z "$ac_err"; then |
5036 rm -rf conftest* | 4978 rm -rf conftest* |
5037 # We can compile using X headers with no special include directory. | 4979 # We can compile using X headers with no special include directory. |
5038 ac_x_includes= | 4980 ac_x_includes= |
5097 # See if we find them without any special options. | 5039 # See if we find them without any special options. |
5098 # Don't add to $LIBS permanently. | 5040 # Don't add to $LIBS permanently. |
5099 ac_save_LIBS="$LIBS" | 5041 ac_save_LIBS="$LIBS" |
5100 LIBS="-l$x_direct_test_library $LIBS" | 5042 LIBS="-l$x_direct_test_library $LIBS" |
5101 cat > conftest.$ac_ext <<EOF | 5043 cat > conftest.$ac_ext <<EOF |
5102 #line 5103 "configure" | 5044 #line 5045 "configure" |
5103 #include "confdefs.h" | 5045 #include "confdefs.h" |
5104 | 5046 |
5105 int main() { | 5047 int main() { |
5106 ${x_direct_test_function}() | 5048 ${x_direct_test_function}() |
5107 ; return 0; } | 5049 ; return 0; } |
5108 EOF | 5050 EOF |
5109 if { (eval echo configure:5110: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5051 if { (eval echo configure:5052: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5110 rm -rf conftest* | 5052 rm -rf conftest* |
5111 LIBS="$ac_save_LIBS" | 5053 LIBS="$ac_save_LIBS" |
5112 # We can link X programs with no special library path. | 5054 # We can link X programs with no special library path. |
5113 ac_x_libraries= | 5055 ac_x_libraries= |
5114 else | 5056 else |
5213 # For Solaris; some versions of Sun CC require a space after -R and | 5155 # For Solaris; some versions of Sun CC require a space after -R and |
5214 # others require no space. Words are not sufficient . . . . | 5156 # others require no space. Words are not sufficient . . . . |
5215 case "`(uname -sr) 2>/dev/null`" in | 5157 case "`(uname -sr) 2>/dev/null`" in |
5216 "SunOS 5"*) | 5158 "SunOS 5"*) |
5217 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 | 5159 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 |
5218 echo "configure:5219: checking whether -R must be followed by a space" >&5 | 5160 echo "configure:5161: checking whether -R must be followed by a space" >&5 |
5219 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" | 5161 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
5220 cat > conftest.$ac_ext <<EOF | 5162 cat > conftest.$ac_ext <<EOF |
5221 #line 5222 "configure" | 5163 #line 5164 "configure" |
5222 #include "confdefs.h" | 5164 #include "confdefs.h" |
5223 | 5165 |
5224 int main() { | 5166 int main() { |
5225 | 5167 |
5226 ; return 0; } | 5168 ; return 0; } |
5227 EOF | 5169 EOF |
5228 if { (eval echo configure:5229: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5170 if { (eval echo configure:5171: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5229 rm -rf conftest* | 5171 rm -rf conftest* |
5230 ac_R_nospace=yes | 5172 ac_R_nospace=yes |
5231 else | 5173 else |
5232 echo "configure: failed program was:" >&5 | 5174 echo "configure: failed program was:" >&5 |
5233 cat conftest.$ac_ext >&5 | 5175 cat conftest.$ac_ext >&5 |
5239 echo "$ac_t""no" 1>&6 | 5181 echo "$ac_t""no" 1>&6 |
5240 X_LIBS="$X_LIBS -R$x_libraries" | 5182 X_LIBS="$X_LIBS -R$x_libraries" |
5241 else | 5183 else |
5242 LIBS="$ac_xsave_LIBS -R $x_libraries" | 5184 LIBS="$ac_xsave_LIBS -R $x_libraries" |
5243 cat > conftest.$ac_ext <<EOF | 5185 cat > conftest.$ac_ext <<EOF |
5244 #line 5245 "configure" | 5186 #line 5187 "configure" |
5245 #include "confdefs.h" | 5187 #include "confdefs.h" |
5246 | 5188 |
5247 int main() { | 5189 int main() { |
5248 | 5190 |
5249 ; return 0; } | 5191 ; return 0; } |
5250 EOF | 5192 EOF |
5251 if { (eval echo configure:5252: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5193 if { (eval echo configure:5194: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5252 rm -rf conftest* | 5194 rm -rf conftest* |
5253 ac_R_space=yes | 5195 ac_R_space=yes |
5254 else | 5196 else |
5255 echo "configure: failed program was:" >&5 | 5197 echo "configure: failed program was:" >&5 |
5256 cat conftest.$ac_ext >&5 | 5198 cat conftest.$ac_ext >&5 |
5282 if test "$with_dnet" = "no" ; then | 5224 if test "$with_dnet" = "no" ; then |
5283 ac_cv_lib_dnet_dnet_ntoa=no | 5225 ac_cv_lib_dnet_dnet_ntoa=no |
5284 else | 5226 else |
5285 | 5227 |
5286 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 | 5228 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
5287 echo "configure:5288: checking for dnet_ntoa in -ldnet" >&5 | 5229 echo "configure:5230: checking for dnet_ntoa in -ldnet" >&5 |
5288 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 5230 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
5289 | 5231 |
5290 xe_check_libs=" -ldnet " | 5232 xe_check_libs=" -ldnet " |
5291 cat > conftest.$ac_ext <<EOF | 5233 cat > conftest.$ac_ext <<EOF |
5292 #line 5293 "configure" | 5234 #line 5235 "configure" |
5293 #include "confdefs.h" | 5235 #include "confdefs.h" |
5294 /* Override any gcc2 internal prototype to avoid an error. */ | 5236 /* Override any gcc2 internal prototype to avoid an error. */ |
5295 /* We use char because int might match the return type of a gcc2 | 5237 /* We use char because int might match the return type of a gcc2 |
5296 builtin and then its argument prototype would still apply. */ | 5238 builtin and then its argument prototype would still apply. */ |
5297 char dnet_ntoa(); | 5239 char dnet_ntoa(); |
5298 | 5240 |
5299 int main() { | 5241 int main() { |
5300 dnet_ntoa() | 5242 dnet_ntoa() |
5301 ; return 0; } | 5243 ; return 0; } |
5302 EOF | 5244 EOF |
5303 if { (eval echo configure:5304: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5245 if { (eval echo configure:5246: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5304 rm -rf conftest* | 5246 rm -rf conftest* |
5305 eval "ac_cv_lib_$ac_lib_var=yes" | 5247 eval "ac_cv_lib_$ac_lib_var=yes" |
5306 else | 5248 else |
5307 echo "configure: failed program was:" >&5 | 5249 echo "configure: failed program was:" >&5 |
5308 cat conftest.$ac_ext >&5 | 5250 cat conftest.$ac_ext >&5 |
5322 fi | 5264 fi |
5323 | 5265 |
5324 if test $ac_cv_lib_dnet_dnet_ntoa = no; then | 5266 if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
5325 | 5267 |
5326 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 | 5268 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 |
5327 echo "configure:5328: checking for dnet_ntoa in -ldnet_stub" >&5 | 5269 echo "configure:5270: checking for dnet_ntoa in -ldnet_stub" >&5 |
5328 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 5270 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
5329 | 5271 |
5330 xe_check_libs=" -ldnet_stub " | 5272 xe_check_libs=" -ldnet_stub " |
5331 cat > conftest.$ac_ext <<EOF | 5273 cat > conftest.$ac_ext <<EOF |
5332 #line 5333 "configure" | 5274 #line 5275 "configure" |
5333 #include "confdefs.h" | 5275 #include "confdefs.h" |
5334 /* Override any gcc2 internal prototype to avoid an error. */ | 5276 /* Override any gcc2 internal prototype to avoid an error. */ |
5335 /* We use char because int might match the return type of a gcc2 | 5277 /* We use char because int might match the return type of a gcc2 |
5336 builtin and then its argument prototype would still apply. */ | 5278 builtin and then its argument prototype would still apply. */ |
5337 char dnet_ntoa(); | 5279 char dnet_ntoa(); |
5338 | 5280 |
5339 int main() { | 5281 int main() { |
5340 dnet_ntoa() | 5282 dnet_ntoa() |
5341 ; return 0; } | 5283 ; return 0; } |
5342 EOF | 5284 EOF |
5343 if { (eval echo configure:5344: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5285 if { (eval echo configure:5286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5344 rm -rf conftest* | 5286 rm -rf conftest* |
5345 eval "ac_cv_lib_$ac_lib_var=yes" | 5287 eval "ac_cv_lib_$ac_lib_var=yes" |
5346 else | 5288 else |
5347 echo "configure: failed program was:" >&5 | 5289 echo "configure: failed program was:" >&5 |
5348 cat conftest.$ac_ext >&5 | 5290 cat conftest.$ac_ext >&5 |
5367 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) | 5309 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) |
5368 # needs -lnsl. | 5310 # needs -lnsl. |
5369 # The nsl library prevents programs from opening the X display | 5311 # The nsl library prevents programs from opening the X display |
5370 # on Irix 5.2, according to dickey@clark.net. | 5312 # on Irix 5.2, according to dickey@clark.net. |
5371 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 | 5313 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
5372 echo "configure:5373: checking for gethostbyname" >&5 | 5314 echo "configure:5315: checking for gethostbyname" >&5 |
5373 | 5315 |
5374 cat > conftest.$ac_ext <<EOF | 5316 cat > conftest.$ac_ext <<EOF |
5375 #line 5376 "configure" | 5317 #line 5318 "configure" |
5376 #include "confdefs.h" | 5318 #include "confdefs.h" |
5377 /* System header to define __stub macros and hopefully few prototypes, | 5319 /* System header to define __stub macros and hopefully few prototypes, |
5378 which can conflict with char gethostbyname(); below. */ | 5320 which can conflict with char gethostbyname(); below. */ |
5379 #include <assert.h> | 5321 #include <assert.h> |
5380 /* Override any gcc2 internal prototype to avoid an error. */ | 5322 /* Override any gcc2 internal prototype to avoid an error. */ |
5393 gethostbyname(); | 5335 gethostbyname(); |
5394 #endif | 5336 #endif |
5395 | 5337 |
5396 ; return 0; } | 5338 ; return 0; } |
5397 EOF | 5339 EOF |
5398 if { (eval echo configure:5399: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5340 if { (eval echo configure:5341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5399 rm -rf conftest* | 5341 rm -rf conftest* |
5400 eval "ac_cv_func_gethostbyname=yes" | 5342 eval "ac_cv_func_gethostbyname=yes" |
5401 else | 5343 else |
5402 echo "configure: failed program was:" >&5 | 5344 echo "configure: failed program was:" >&5 |
5403 cat conftest.$ac_ext >&5 | 5345 cat conftest.$ac_ext >&5 |
5414 fi | 5356 fi |
5415 | 5357 |
5416 if test $ac_cv_func_gethostbyname = no; then | 5358 if test $ac_cv_func_gethostbyname = no; then |
5417 | 5359 |
5418 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 | 5360 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
5419 echo "configure:5420: checking for gethostbyname in -lnsl" >&5 | 5361 echo "configure:5362: checking for gethostbyname in -lnsl" >&5 |
5420 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` | 5362 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
5421 | 5363 |
5422 xe_check_libs=" -lnsl " | 5364 xe_check_libs=" -lnsl " |
5423 cat > conftest.$ac_ext <<EOF | 5365 cat > conftest.$ac_ext <<EOF |
5424 #line 5425 "configure" | 5366 #line 5367 "configure" |
5425 #include "confdefs.h" | 5367 #include "confdefs.h" |
5426 /* Override any gcc2 internal prototype to avoid an error. */ | 5368 /* Override any gcc2 internal prototype to avoid an error. */ |
5427 /* We use char because int might match the return type of a gcc2 | 5369 /* We use char because int might match the return type of a gcc2 |
5428 builtin and then its argument prototype would still apply. */ | 5370 builtin and then its argument prototype would still apply. */ |
5429 char gethostbyname(); | 5371 char gethostbyname(); |
5430 | 5372 |
5431 int main() { | 5373 int main() { |
5432 gethostbyname() | 5374 gethostbyname() |
5433 ; return 0; } | 5375 ; return 0; } |
5434 EOF | 5376 EOF |
5435 if { (eval echo configure:5436: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5377 if { (eval echo configure:5378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5436 rm -rf conftest* | 5378 rm -rf conftest* |
5437 eval "ac_cv_lib_$ac_lib_var=yes" | 5379 eval "ac_cv_lib_$ac_lib_var=yes" |
5438 else | 5380 else |
5439 echo "configure: failed program was:" >&5 | 5381 echo "configure: failed program was:" >&5 |
5440 cat conftest.$ac_ext >&5 | 5382 cat conftest.$ac_ext >&5 |
5460 # on later versions), says simon@lia.di.epfl.ch: it contains | 5402 # on later versions), says simon@lia.di.epfl.ch: it contains |
5461 # gethostby* variants that don't use the nameserver (or something). | 5403 # gethostby* variants that don't use the nameserver (or something). |
5462 # -lsocket must be given before -lnsl if both are needed. | 5404 # -lsocket must be given before -lnsl if both are needed. |
5463 # We assume that if connect needs -lnsl, so does gethostbyname. | 5405 # We assume that if connect needs -lnsl, so does gethostbyname. |
5464 echo $ac_n "checking for connect""... $ac_c" 1>&6 | 5406 echo $ac_n "checking for connect""... $ac_c" 1>&6 |
5465 echo "configure:5466: checking for connect" >&5 | 5407 echo "configure:5408: checking for connect" >&5 |
5466 | 5408 |
5467 cat > conftest.$ac_ext <<EOF | 5409 cat > conftest.$ac_ext <<EOF |
5468 #line 5469 "configure" | 5410 #line 5411 "configure" |
5469 #include "confdefs.h" | 5411 #include "confdefs.h" |
5470 /* System header to define __stub macros and hopefully few prototypes, | 5412 /* System header to define __stub macros and hopefully few prototypes, |
5471 which can conflict with char connect(); below. */ | 5413 which can conflict with char connect(); below. */ |
5472 #include <assert.h> | 5414 #include <assert.h> |
5473 /* Override any gcc2 internal prototype to avoid an error. */ | 5415 /* Override any gcc2 internal prototype to avoid an error. */ |
5486 connect(); | 5428 connect(); |
5487 #endif | 5429 #endif |
5488 | 5430 |
5489 ; return 0; } | 5431 ; return 0; } |
5490 EOF | 5432 EOF |
5491 if { (eval echo configure:5492: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5433 if { (eval echo configure:5434: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5492 rm -rf conftest* | 5434 rm -rf conftest* |
5493 eval "ac_cv_func_connect=yes" | 5435 eval "ac_cv_func_connect=yes" |
5494 else | 5436 else |
5495 echo "configure: failed program was:" >&5 | 5437 echo "configure: failed program was:" >&5 |
5496 cat conftest.$ac_ext >&5 | 5438 cat conftest.$ac_ext >&5 |
5509 if test $ac_cv_func_connect = no; then | 5451 if test $ac_cv_func_connect = no; then |
5510 | 5452 |
5511 xe_msg_checking="for connect in -lsocket" | 5453 xe_msg_checking="for connect in -lsocket" |
5512 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 5454 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
5513 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 5455 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
5514 echo "configure:5515: checking "$xe_msg_checking"" >&5 | 5456 echo "configure:5457: checking "$xe_msg_checking"" >&5 |
5515 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` | 5457 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
5516 | 5458 |
5517 xe_check_libs=" -lsocket $X_EXTRA_LIBS" | 5459 xe_check_libs=" -lsocket $X_EXTRA_LIBS" |
5518 cat > conftest.$ac_ext <<EOF | 5460 cat > conftest.$ac_ext <<EOF |
5519 #line 5520 "configure" | 5461 #line 5462 "configure" |
5520 #include "confdefs.h" | 5462 #include "confdefs.h" |
5521 /* Override any gcc2 internal prototype to avoid an error. */ | 5463 /* Override any gcc2 internal prototype to avoid an error. */ |
5522 /* We use char because int might match the return type of a gcc2 | 5464 /* We use char because int might match the return type of a gcc2 |
5523 builtin and then its argument prototype would still apply. */ | 5465 builtin and then its argument prototype would still apply. */ |
5524 char connect(); | 5466 char connect(); |
5525 | 5467 |
5526 int main() { | 5468 int main() { |
5527 connect() | 5469 connect() |
5528 ; return 0; } | 5470 ; return 0; } |
5529 EOF | 5471 EOF |
5530 if { (eval echo configure:5531: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5472 if { (eval echo configure:5473: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5531 rm -rf conftest* | 5473 rm -rf conftest* |
5532 eval "ac_cv_lib_$ac_lib_var=yes" | 5474 eval "ac_cv_lib_$ac_lib_var=yes" |
5533 else | 5475 else |
5534 echo "configure: failed program was:" >&5 | 5476 echo "configure: failed program was:" >&5 |
5535 cat conftest.$ac_ext >&5 | 5477 cat conftest.$ac_ext >&5 |
5549 | 5491 |
5550 fi | 5492 fi |
5551 | 5493 |
5552 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. | 5494 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
5553 echo $ac_n "checking for remove""... $ac_c" 1>&6 | 5495 echo $ac_n "checking for remove""... $ac_c" 1>&6 |
5554 echo "configure:5555: checking for remove" >&5 | 5496 echo "configure:5497: checking for remove" >&5 |
5555 | 5497 |
5556 cat > conftest.$ac_ext <<EOF | 5498 cat > conftest.$ac_ext <<EOF |
5557 #line 5558 "configure" | 5499 #line 5500 "configure" |
5558 #include "confdefs.h" | 5500 #include "confdefs.h" |
5559 /* System header to define __stub macros and hopefully few prototypes, | 5501 /* System header to define __stub macros and hopefully few prototypes, |
5560 which can conflict with char remove(); below. */ | 5502 which can conflict with char remove(); below. */ |
5561 #include <assert.h> | 5503 #include <assert.h> |
5562 /* Override any gcc2 internal prototype to avoid an error. */ | 5504 /* Override any gcc2 internal prototype to avoid an error. */ |
5575 remove(); | 5517 remove(); |
5576 #endif | 5518 #endif |
5577 | 5519 |
5578 ; return 0; } | 5520 ; return 0; } |
5579 EOF | 5521 EOF |
5580 if { (eval echo configure:5581: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5522 if { (eval echo configure:5523: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5581 rm -rf conftest* | 5523 rm -rf conftest* |
5582 eval "ac_cv_func_remove=yes" | 5524 eval "ac_cv_func_remove=yes" |
5583 else | 5525 else |
5584 echo "configure: failed program was:" >&5 | 5526 echo "configure: failed program was:" >&5 |
5585 cat conftest.$ac_ext >&5 | 5527 cat conftest.$ac_ext >&5 |
5596 fi | 5538 fi |
5597 | 5539 |
5598 if test $ac_cv_func_remove = no; then | 5540 if test $ac_cv_func_remove = no; then |
5599 | 5541 |
5600 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 | 5542 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
5601 echo "configure:5602: checking for remove in -lposix" >&5 | 5543 echo "configure:5544: checking for remove in -lposix" >&5 |
5602 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` | 5544 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
5603 | 5545 |
5604 xe_check_libs=" -lposix " | 5546 xe_check_libs=" -lposix " |
5605 cat > conftest.$ac_ext <<EOF | 5547 cat > conftest.$ac_ext <<EOF |
5606 #line 5607 "configure" | 5548 #line 5549 "configure" |
5607 #include "confdefs.h" | 5549 #include "confdefs.h" |
5608 /* Override any gcc2 internal prototype to avoid an error. */ | 5550 /* Override any gcc2 internal prototype to avoid an error. */ |
5609 /* We use char because int might match the return type of a gcc2 | 5551 /* We use char because int might match the return type of a gcc2 |
5610 builtin and then its argument prototype would still apply. */ | 5552 builtin and then its argument prototype would still apply. */ |
5611 char remove(); | 5553 char remove(); |
5612 | 5554 |
5613 int main() { | 5555 int main() { |
5614 remove() | 5556 remove() |
5615 ; return 0; } | 5557 ; return 0; } |
5616 EOF | 5558 EOF |
5617 if { (eval echo configure:5618: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5559 if { (eval echo configure:5560: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5618 rm -rf conftest* | 5560 rm -rf conftest* |
5619 eval "ac_cv_lib_$ac_lib_var=yes" | 5561 eval "ac_cv_lib_$ac_lib_var=yes" |
5620 else | 5562 else |
5621 echo "configure: failed program was:" >&5 | 5563 echo "configure: failed program was:" >&5 |
5622 cat conftest.$ac_ext >&5 | 5564 cat conftest.$ac_ext >&5 |
5636 | 5578 |
5637 fi | 5579 fi |
5638 | 5580 |
5639 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. | 5581 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
5640 echo $ac_n "checking for shmat""... $ac_c" 1>&6 | 5582 echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
5641 echo "configure:5642: checking for shmat" >&5 | 5583 echo "configure:5584: checking for shmat" >&5 |
5642 | 5584 |
5643 cat > conftest.$ac_ext <<EOF | 5585 cat > conftest.$ac_ext <<EOF |
5644 #line 5645 "configure" | 5586 #line 5587 "configure" |
5645 #include "confdefs.h" | 5587 #include "confdefs.h" |
5646 /* System header to define __stub macros and hopefully few prototypes, | 5588 /* System header to define __stub macros and hopefully few prototypes, |
5647 which can conflict with char shmat(); below. */ | 5589 which can conflict with char shmat(); below. */ |
5648 #include <assert.h> | 5590 #include <assert.h> |
5649 /* Override any gcc2 internal prototype to avoid an error. */ | 5591 /* Override any gcc2 internal prototype to avoid an error. */ |
5662 shmat(); | 5604 shmat(); |
5663 #endif | 5605 #endif |
5664 | 5606 |
5665 ; return 0; } | 5607 ; return 0; } |
5666 EOF | 5608 EOF |
5667 if { (eval echo configure:5668: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5609 if { (eval echo configure:5610: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5668 rm -rf conftest* | 5610 rm -rf conftest* |
5669 eval "ac_cv_func_shmat=yes" | 5611 eval "ac_cv_func_shmat=yes" |
5670 else | 5612 else |
5671 echo "configure: failed program was:" >&5 | 5613 echo "configure: failed program was:" >&5 |
5672 cat conftest.$ac_ext >&5 | 5614 cat conftest.$ac_ext >&5 |
5683 fi | 5625 fi |
5684 | 5626 |
5685 if test $ac_cv_func_shmat = no; then | 5627 if test $ac_cv_func_shmat = no; then |
5686 | 5628 |
5687 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 | 5629 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
5688 echo "configure:5689: checking for shmat in -lipc" >&5 | 5630 echo "configure:5631: checking for shmat in -lipc" >&5 |
5689 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` | 5631 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
5690 | 5632 |
5691 xe_check_libs=" -lipc " | 5633 xe_check_libs=" -lipc " |
5692 cat > conftest.$ac_ext <<EOF | 5634 cat > conftest.$ac_ext <<EOF |
5693 #line 5694 "configure" | 5635 #line 5636 "configure" |
5694 #include "confdefs.h" | 5636 #include "confdefs.h" |
5695 /* Override any gcc2 internal prototype to avoid an error. */ | 5637 /* Override any gcc2 internal prototype to avoid an error. */ |
5696 /* We use char because int might match the return type of a gcc2 | 5638 /* We use char because int might match the return type of a gcc2 |
5697 builtin and then its argument prototype would still apply. */ | 5639 builtin and then its argument prototype would still apply. */ |
5698 char shmat(); | 5640 char shmat(); |
5699 | 5641 |
5700 int main() { | 5642 int main() { |
5701 shmat() | 5643 shmat() |
5702 ; return 0; } | 5644 ; return 0; } |
5703 EOF | 5645 EOF |
5704 if { (eval echo configure:5705: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5646 if { (eval echo configure:5647: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5705 rm -rf conftest* | 5647 rm -rf conftest* |
5706 eval "ac_cv_lib_$ac_lib_var=yes" | 5648 eval "ac_cv_lib_$ac_lib_var=yes" |
5707 else | 5649 else |
5708 echo "configure: failed program was:" >&5 | 5650 echo "configure: failed program was:" >&5 |
5709 cat conftest.$ac_ext >&5 | 5651 cat conftest.$ac_ext >&5 |
5735 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. | 5677 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
5736 | 5678 |
5737 xe_msg_checking="for IceConnectionNumber in -lICE" | 5679 xe_msg_checking="for IceConnectionNumber in -lICE" |
5738 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 5680 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
5739 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 5681 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
5740 echo "configure:5741: checking "$xe_msg_checking"" >&5 | 5682 echo "configure:5683: checking "$xe_msg_checking"" >&5 |
5741 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` | 5683 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
5742 | 5684 |
5743 xe_check_libs=" -lICE $X_EXTRA_LIBS" | 5685 xe_check_libs=" -lICE $X_EXTRA_LIBS" |
5744 cat > conftest.$ac_ext <<EOF | 5686 cat > conftest.$ac_ext <<EOF |
5745 #line 5746 "configure" | 5687 #line 5688 "configure" |
5746 #include "confdefs.h" | 5688 #include "confdefs.h" |
5747 /* Override any gcc2 internal prototype to avoid an error. */ | 5689 /* Override any gcc2 internal prototype to avoid an error. */ |
5748 /* We use char because int might match the return type of a gcc2 | 5690 /* We use char because int might match the return type of a gcc2 |
5749 builtin and then its argument prototype would still apply. */ | 5691 builtin and then its argument prototype would still apply. */ |
5750 char IceConnectionNumber(); | 5692 char IceConnectionNumber(); |
5751 | 5693 |
5752 int main() { | 5694 int main() { |
5753 IceConnectionNumber() | 5695 IceConnectionNumber() |
5754 ; return 0; } | 5696 ; return 0; } |
5755 EOF | 5697 EOF |
5756 if { (eval echo configure:5757: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5698 if { (eval echo configure:5699: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5757 rm -rf conftest* | 5699 rm -rf conftest* |
5758 eval "ac_cv_lib_$ac_lib_var=yes" | 5700 eval "ac_cv_lib_$ac_lib_var=yes" |
5759 else | 5701 else |
5760 echo "configure: failed program was:" >&5 | 5702 echo "configure: failed program was:" >&5 |
5761 cat conftest.$ac_ext >&5 | 5703 cat conftest.$ac_ext >&5 |
5920 EOF | 5862 EOF |
5921 } | 5863 } |
5922 | 5864 |
5923 | 5865 |
5924 echo "checking for X defines extracted by xmkmf" 1>&6 | 5866 echo "checking for X defines extracted by xmkmf" 1>&6 |
5925 echo "configure:5926: checking for X defines extracted by xmkmf" >&5 | 5867 echo "configure:5868: checking for X defines extracted by xmkmf" >&5 |
5926 rm -fr conftestdir | 5868 rm -fr conftestdir |
5927 if mkdir conftestdir; then | 5869 if mkdir conftestdir; then |
5928 cd conftestdir | 5870 cd conftestdir |
5929 cat > Imakefile <<'EOF' | 5871 cat > Imakefile <<'EOF' |
5930 xetest: | 5872 xetest: |
5952 done | 5894 done |
5953 fi | 5895 fi |
5954 | 5896 |
5955 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` | 5897 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` |
5956 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 | 5898 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 |
5957 echo "configure:5958: checking for X11/Intrinsic.h" >&5 | 5899 echo "configure:5900: checking for X11/Intrinsic.h" >&5 |
5958 | 5900 |
5959 cat > conftest.$ac_ext <<EOF | 5901 cat > conftest.$ac_ext <<EOF |
5960 #line 5961 "configure" | 5902 #line 5903 "configure" |
5961 #include "confdefs.h" | 5903 #include "confdefs.h" |
5962 #include <X11/Intrinsic.h> | 5904 #include <X11/Intrinsic.h> |
5963 EOF | 5905 EOF |
5964 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5906 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5965 { (eval echo configure:5966: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5907 { (eval echo configure:5908: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5966 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5908 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5967 if test -z "$ac_err"; then | 5909 if test -z "$ac_err"; then |
5968 rm -rf conftest* | 5910 rm -rf conftest* |
5969 eval "ac_cv_header_$ac_safe=yes" | 5911 eval "ac_cv_header_$ac_safe=yes" |
5970 else | 5912 else |
5984 fi | 5926 fi |
5985 | 5927 |
5986 | 5928 |
5987 | 5929 |
5988 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 | 5930 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 |
5989 echo "configure:5990: checking for XOpenDisplay in -lX11" >&5 | 5931 echo "configure:5932: checking for XOpenDisplay in -lX11" >&5 |
5990 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` | 5932 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` |
5991 | 5933 |
5992 xe_check_libs=" -lX11 " | 5934 xe_check_libs=" -lX11 " |
5993 cat > conftest.$ac_ext <<EOF | 5935 cat > conftest.$ac_ext <<EOF |
5994 #line 5995 "configure" | 5936 #line 5937 "configure" |
5995 #include "confdefs.h" | 5937 #include "confdefs.h" |
5996 /* Override any gcc2 internal prototype to avoid an error. */ | 5938 /* Override any gcc2 internal prototype to avoid an error. */ |
5997 /* We use char because int might match the return type of a gcc2 | 5939 /* We use char because int might match the return type of a gcc2 |
5998 builtin and then its argument prototype would still apply. */ | 5940 builtin and then its argument prototype would still apply. */ |
5999 char XOpenDisplay(); | 5941 char XOpenDisplay(); |
6000 | 5942 |
6001 int main() { | 5943 int main() { |
6002 XOpenDisplay() | 5944 XOpenDisplay() |
6003 ; return 0; } | 5945 ; return 0; } |
6004 EOF | 5946 EOF |
6005 if { (eval echo configure:6006: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5947 if { (eval echo configure:5948: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6006 rm -rf conftest* | 5948 rm -rf conftest* |
6007 eval "ac_cv_lib_$ac_lib_var=yes" | 5949 eval "ac_cv_lib_$ac_lib_var=yes" |
6008 else | 5950 else |
6009 echo "configure: failed program was:" >&5 | 5951 echo "configure: failed program was:" >&5 |
6010 cat conftest.$ac_ext >&5 | 5952 cat conftest.$ac_ext >&5 |
6025 if test "$have_lib_x11" != "yes"; then | 5967 if test "$have_lib_x11" != "yes"; then |
6026 | 5968 |
6027 xe_msg_checking="for XGetFontProperty in -lX11" | 5969 xe_msg_checking="for XGetFontProperty in -lX11" |
6028 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" | 5970 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" |
6029 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 5971 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6030 echo "configure:6031: checking "$xe_msg_checking"" >&5 | 5972 echo "configure:5973: checking "$xe_msg_checking"" >&5 |
6031 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` | 5973 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` |
6032 | 5974 |
6033 xe_check_libs=" -lX11 -b i486-linuxaout" | 5975 xe_check_libs=" -lX11 -b i486-linuxaout" |
6034 cat > conftest.$ac_ext <<EOF | 5976 cat > conftest.$ac_ext <<EOF |
6035 #line 6036 "configure" | 5977 #line 5978 "configure" |
6036 #include "confdefs.h" | 5978 #include "confdefs.h" |
6037 /* Override any gcc2 internal prototype to avoid an error. */ | 5979 /* Override any gcc2 internal prototype to avoid an error. */ |
6038 /* We use char because int might match the return type of a gcc2 | 5980 /* We use char because int might match the return type of a gcc2 |
6039 builtin and then its argument prototype would still apply. */ | 5981 builtin and then its argument prototype would still apply. */ |
6040 char XGetFontProperty(); | 5982 char XGetFontProperty(); |
6041 | 5983 |
6042 int main() { | 5984 int main() { |
6043 XGetFontProperty() | 5985 XGetFontProperty() |
6044 ; return 0; } | 5986 ; return 0; } |
6045 EOF | 5987 EOF |
6046 if { (eval echo configure:6047: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5988 if { (eval echo configure:5989: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6047 rm -rf conftest* | 5989 rm -rf conftest* |
6048 eval "ac_cv_lib_$ac_lib_var=yes" | 5990 eval "ac_cv_lib_$ac_lib_var=yes" |
6049 else | 5991 else |
6050 echo "configure: failed program was:" >&5 | 5992 echo "configure: failed program was:" >&5 |
6051 cat conftest.$ac_ext >&5 | 5993 cat conftest.$ac_ext >&5 |
6068 libs_x="-lX11" | 6010 libs_x="-lX11" |
6069 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" | 6011 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" |
6070 | 6012 |
6071 | 6013 |
6072 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 | 6014 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 |
6073 echo "configure:6074: checking for XShapeSelectInput in -lXext" >&5 | 6015 echo "configure:6016: checking for XShapeSelectInput in -lXext" >&5 |
6074 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` | 6016 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` |
6075 | 6017 |
6076 xe_check_libs=" -lXext " | 6018 xe_check_libs=" -lXext " |
6077 cat > conftest.$ac_ext <<EOF | 6019 cat > conftest.$ac_ext <<EOF |
6078 #line 6079 "configure" | 6020 #line 6021 "configure" |
6079 #include "confdefs.h" | 6021 #include "confdefs.h" |
6080 /* Override any gcc2 internal prototype to avoid an error. */ | 6022 /* Override any gcc2 internal prototype to avoid an error. */ |
6081 /* We use char because int might match the return type of a gcc2 | 6023 /* We use char because int might match the return type of a gcc2 |
6082 builtin and then its argument prototype would still apply. */ | 6024 builtin and then its argument prototype would still apply. */ |
6083 char XShapeSelectInput(); | 6025 char XShapeSelectInput(); |
6084 | 6026 |
6085 int main() { | 6027 int main() { |
6086 XShapeSelectInput() | 6028 XShapeSelectInput() |
6087 ; return 0; } | 6029 ; return 0; } |
6088 EOF | 6030 EOF |
6089 if { (eval echo configure:6090: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6031 if { (eval echo configure:6032: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6090 rm -rf conftest* | 6032 rm -rf conftest* |
6091 eval "ac_cv_lib_$ac_lib_var=yes" | 6033 eval "ac_cv_lib_$ac_lib_var=yes" |
6092 else | 6034 else |
6093 echo "configure: failed program was:" >&5 | 6035 echo "configure: failed program was:" >&5 |
6094 cat conftest.$ac_ext >&5 | 6036 cat conftest.$ac_ext >&5 |
6107 | 6049 |
6108 | 6050 |
6109 | 6051 |
6110 | 6052 |
6111 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 | 6053 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 |
6112 echo "configure:6113: checking for XtOpenDisplay in -lXt" >&5 | 6054 echo "configure:6055: checking for XtOpenDisplay in -lXt" >&5 |
6113 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` | 6055 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` |
6114 | 6056 |
6115 xe_check_libs=" -lXt " | 6057 xe_check_libs=" -lXt " |
6116 cat > conftest.$ac_ext <<EOF | 6058 cat > conftest.$ac_ext <<EOF |
6117 #line 6118 "configure" | 6059 #line 6060 "configure" |
6118 #include "confdefs.h" | 6060 #include "confdefs.h" |
6119 /* Override any gcc2 internal prototype to avoid an error. */ | 6061 /* Override any gcc2 internal prototype to avoid an error. */ |
6120 /* We use char because int might match the return type of a gcc2 | 6062 /* We use char because int might match the return type of a gcc2 |
6121 builtin and then its argument prototype would still apply. */ | 6063 builtin and then its argument prototype would still apply. */ |
6122 char XtOpenDisplay(); | 6064 char XtOpenDisplay(); |
6123 | 6065 |
6124 int main() { | 6066 int main() { |
6125 XtOpenDisplay() | 6067 XtOpenDisplay() |
6126 ; return 0; } | 6068 ; return 0; } |
6127 EOF | 6069 EOF |
6128 if { (eval echo configure:6129: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6070 if { (eval echo configure:6071: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6129 rm -rf conftest* | 6071 rm -rf conftest* |
6130 eval "ac_cv_lib_$ac_lib_var=yes" | 6072 eval "ac_cv_lib_$ac_lib_var=yes" |
6131 else | 6073 else |
6132 echo "configure: failed program was:" >&5 | 6074 echo "configure: failed program was:" >&5 |
6133 cat conftest.$ac_ext >&5 | 6075 cat conftest.$ac_ext >&5 |
6146 fi | 6088 fi |
6147 | 6089 |
6148 | 6090 |
6149 | 6091 |
6150 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 | 6092 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 |
6151 echo "configure:6152: checking the version of X11 being used" >&5 | 6093 echo "configure:6094: checking the version of X11 being used" >&5 |
6152 cat > conftest.$ac_ext <<EOF | 6094 cat > conftest.$ac_ext <<EOF |
6153 #line 6154 "configure" | 6095 #line 6096 "configure" |
6154 #include "confdefs.h" | 6096 #include "confdefs.h" |
6155 #include <X11/Intrinsic.h> | 6097 #include <X11/Intrinsic.h> |
6156 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } | 6098 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } |
6157 EOF | 6099 EOF |
6158 if { (eval echo configure:6159: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 6100 if { (eval echo configure:6101: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
6159 then | 6101 then |
6160 ./conftest foobar; x11_release=$? | 6102 ./conftest foobar; x11_release=$? |
6161 else | 6103 else |
6162 conftest_rc="$?" | 6104 conftest_rc="$?" |
6163 echo "configure: failed program was:" >&5 | 6105 echo "configure: failed program was:" >&5 |
6177 | 6119 |
6178 | 6120 |
6179 for ac_func in XConvertCase | 6121 for ac_func in XConvertCase |
6180 do | 6122 do |
6181 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 6123 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
6182 echo "configure:6183: checking for $ac_func" >&5 | 6124 echo "configure:6125: checking for $ac_func" >&5 |
6183 | 6125 |
6184 cat > conftest.$ac_ext <<EOF | 6126 cat > conftest.$ac_ext <<EOF |
6185 #line 6186 "configure" | 6127 #line 6128 "configure" |
6186 #include "confdefs.h" | 6128 #include "confdefs.h" |
6187 /* System header to define __stub macros and hopefully few prototypes, | 6129 /* System header to define __stub macros and hopefully few prototypes, |
6188 which can conflict with char $ac_func(); below. */ | 6130 which can conflict with char $ac_func(); below. */ |
6189 #include <assert.h> | 6131 #include <assert.h> |
6190 /* Override any gcc2 internal prototype to avoid an error. */ | 6132 /* Override any gcc2 internal prototype to avoid an error. */ |
6203 $ac_func(); | 6145 $ac_func(); |
6204 #endif | 6146 #endif |
6205 | 6147 |
6206 ; return 0; } | 6148 ; return 0; } |
6207 EOF | 6149 EOF |
6208 if { (eval echo configure:6209: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6150 if { (eval echo configure:6151: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6209 rm -rf conftest* | 6151 rm -rf conftest* |
6210 eval "ac_cv_func_$ac_func=yes" | 6152 eval "ac_cv_func_$ac_func=yes" |
6211 else | 6153 else |
6212 echo "configure: failed program was:" >&5 | 6154 echo "configure: failed program was:" >&5 |
6213 cat conftest.$ac_ext >&5 | 6155 cat conftest.$ac_ext >&5 |
6235 | 6177 |
6236 for ac_hdr in X11/Xlocale.h | 6178 for ac_hdr in X11/Xlocale.h |
6237 do | 6179 do |
6238 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 6180 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
6239 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 6181 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
6240 echo "configure:6241: checking for $ac_hdr" >&5 | 6182 echo "configure:6183: checking for $ac_hdr" >&5 |
6241 | 6183 |
6242 cat > conftest.$ac_ext <<EOF | 6184 cat > conftest.$ac_ext <<EOF |
6243 #line 6244 "configure" | 6185 #line 6186 "configure" |
6244 #include "confdefs.h" | 6186 #include "confdefs.h" |
6245 #include <$ac_hdr> | 6187 #include <$ac_hdr> |
6246 EOF | 6188 EOF |
6247 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6189 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6248 { (eval echo configure:6249: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6190 { (eval echo configure:6191: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6249 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6191 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6250 if test -z "$ac_err"; then | 6192 if test -z "$ac_err"; then |
6251 rm -rf conftest* | 6193 rm -rf conftest* |
6252 eval "ac_cv_header_$ac_safe=yes" | 6194 eval "ac_cv_header_$ac_safe=yes" |
6253 else | 6195 else |
6274 fi | 6216 fi |
6275 done | 6217 done |
6276 | 6218 |
6277 | 6219 |
6278 echo $ac_n "checking for XFree86""... $ac_c" 1>&6 | 6220 echo $ac_n "checking for XFree86""... $ac_c" 1>&6 |
6279 echo "configure:6280: checking for XFree86" >&5 | 6221 echo "configure:6222: checking for XFree86" >&5 |
6280 if test -d "/usr/X386/include" -o \ | 6222 if test -d "/usr/X386/include" -o \ |
6281 -f "/etc/XF86Config" -o \ | 6223 -f "/etc/XF86Config" -o \ |
6282 -f "/etc/X11/XF86Config" -o \ | 6224 -f "/etc/X11/XF86Config" -o \ |
6283 -f "/usr/X11R6/lib/X11/XF86Config"; then | 6225 -f "/usr/X11R6/lib/X11/XF86Config"; then |
6284 echo "$ac_t""yes" 1>&6 | 6226 echo "$ac_t""yes" 1>&6 |
6294 echo "$ac_t""no" 1>&6 | 6236 echo "$ac_t""no" 1>&6 |
6295 fi | 6237 fi |
6296 | 6238 |
6297 test -z "$with_xmu" && { | 6239 test -z "$with_xmu" && { |
6298 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 | 6240 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 |
6299 echo "configure:6300: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 | 6241 echo "configure:6242: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 |
6300 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` | 6242 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` |
6301 | 6243 |
6302 xe_check_libs=" -lXmu " | 6244 xe_check_libs=" -lXmu " |
6303 cat > conftest.$ac_ext <<EOF | 6245 cat > conftest.$ac_ext <<EOF |
6304 #line 6305 "configure" | 6246 #line 6247 "configure" |
6305 #include "confdefs.h" | 6247 #include "confdefs.h" |
6306 /* Override any gcc2 internal prototype to avoid an error. */ | 6248 /* Override any gcc2 internal prototype to avoid an error. */ |
6307 /* We use char because int might match the return type of a gcc2 | 6249 /* We use char because int might match the return type of a gcc2 |
6308 builtin and then its argument prototype would still apply. */ | 6250 builtin and then its argument prototype would still apply. */ |
6309 char XmuReadBitmapDataFromFile(); | 6251 char XmuReadBitmapDataFromFile(); |
6310 | 6252 |
6311 int main() { | 6253 int main() { |
6312 XmuReadBitmapDataFromFile() | 6254 XmuReadBitmapDataFromFile() |
6313 ; return 0; } | 6255 ; return 0; } |
6314 EOF | 6256 EOF |
6315 if { (eval echo configure:6316: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6257 if { (eval echo configure:6258: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6316 rm -rf conftest* | 6258 rm -rf conftest* |
6317 eval "ac_cv_lib_$ac_lib_var=yes" | 6259 eval "ac_cv_lib_$ac_lib_var=yes" |
6318 else | 6260 else |
6319 echo "configure: failed program was:" >&5 | 6261 echo "configure: failed program was:" >&5 |
6320 cat conftest.$ac_ext >&5 | 6262 cat conftest.$ac_ext >&5 |
6349 | 6291 |
6350 fi | 6292 fi |
6351 | 6293 |
6352 | 6294 |
6353 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 | 6295 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 |
6354 echo "configure:6355: checking for main in -lXbsd" >&5 | 6296 echo "configure:6297: checking for main in -lXbsd" >&5 |
6355 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` | 6297 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` |
6356 | 6298 |
6357 xe_check_libs=" -lXbsd " | 6299 xe_check_libs=" -lXbsd " |
6358 cat > conftest.$ac_ext <<EOF | 6300 cat > conftest.$ac_ext <<EOF |
6359 #line 6360 "configure" | 6301 #line 6302 "configure" |
6360 #include "confdefs.h" | 6302 #include "confdefs.h" |
6361 | 6303 |
6362 int main() { | 6304 int main() { |
6363 main() | 6305 main() |
6364 ; return 0; } | 6306 ; return 0; } |
6365 EOF | 6307 EOF |
6366 if { (eval echo configure:6367: \"$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 |
6367 rm -rf conftest* | 6309 rm -rf conftest* |
6368 eval "ac_cv_lib_$ac_lib_var=yes" | 6310 eval "ac_cv_lib_$ac_lib_var=yes" |
6369 else | 6311 else |
6370 echo "configure: failed program was:" >&5 | 6312 echo "configure: failed program was:" >&5 |
6371 cat conftest.$ac_ext >&5 | 6313 cat conftest.$ac_ext >&5 |
6398 fi | 6340 fi |
6399 | 6341 |
6400 fi | 6342 fi |
6401 if test "$with_msw" != "no"; then | 6343 if test "$with_msw" != "no"; then |
6402 echo "checking for MS-Windows" 1>&6 | 6344 echo "checking for MS-Windows" 1>&6 |
6403 echo "configure:6404: checking for MS-Windows" >&5 | 6345 echo "configure:6346: checking for MS-Windows" >&5 |
6404 | 6346 |
6405 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 | 6347 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 |
6406 echo "configure:6407: checking for main in -lgdi32" >&5 | 6348 echo "configure:6349: checking for main in -lgdi32" >&5 |
6407 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` | 6349 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` |
6408 | 6350 |
6409 xe_check_libs=" -lgdi32 " | 6351 xe_check_libs=" -lgdi32 " |
6410 cat > conftest.$ac_ext <<EOF | 6352 cat > conftest.$ac_ext <<EOF |
6411 #line 6412 "configure" | 6353 #line 6354 "configure" |
6412 #include "confdefs.h" | 6354 #include "confdefs.h" |
6413 | 6355 |
6414 int main() { | 6356 int main() { |
6415 main() | 6357 main() |
6416 ; return 0; } | 6358 ; return 0; } |
6417 EOF | 6359 EOF |
6418 if { (eval echo configure:6419: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6360 if { (eval echo configure:6361: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6419 rm -rf conftest* | 6361 rm -rf conftest* |
6420 eval "ac_cv_lib_$ac_lib_var=yes" | 6362 eval "ac_cv_lib_$ac_lib_var=yes" |
6421 else | 6363 else |
6422 echo "configure: failed program was:" >&5 | 6364 echo "configure: failed program was:" >&5 |
6423 cat conftest.$ac_ext >&5 | 6365 cat conftest.$ac_ext >&5 |
6479 test "$with_dialogs" != "no" && extra_objs="$extra_objs dialog-msw.o" && if test "$extra_verbose" = "yes"; then | 6421 test "$with_dialogs" != "no" && extra_objs="$extra_objs dialog-msw.o" && if test "$extra_verbose" = "yes"; then |
6480 echo " xemacs will be linked with \"dialog-msw.o\"" | 6422 echo " xemacs will be linked with \"dialog-msw.o\"" |
6481 fi | 6423 fi |
6482 fi | 6424 fi |
6483 cat > conftest.$ac_ext <<EOF | 6425 cat > conftest.$ac_ext <<EOF |
6484 #line 6485 "configure" | 6426 #line 6427 "configure" |
6485 #include "confdefs.h" | 6427 #include "confdefs.h" |
6486 #include <fcntl.h> | 6428 #include <fcntl.h> |
6487 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } | 6429 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } |
6488 EOF | 6430 EOF |
6489 if { (eval echo configure:6490: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 6431 if { (eval echo configure:6432: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
6490 then | 6432 then |
6491 { test "$extra_verbose" = "yes" && cat << \EOF | 6433 { test "$extra_verbose" = "yes" && cat << \EOF |
6492 Defining HAVE_MSG_SELECT | 6434 Defining HAVE_MSG_SELECT |
6493 EOF | 6435 EOF |
6494 cat >> confdefs.h <<\EOF | 6436 cat >> confdefs.h <<\EOF |
6559 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" | 6501 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" |
6560 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" | 6502 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" |
6561 esac | 6503 esac |
6562 | 6504 |
6563 echo "checking for WM_COMMAND option" 1>&6 | 6505 echo "checking for WM_COMMAND option" 1>&6 |
6564 echo "configure:6565: checking for WM_COMMAND option" >&5; | 6506 echo "configure:6507: checking for WM_COMMAND option" >&5; |
6565 if test "$with_wmcommand" != "no"; then | 6507 if test "$with_wmcommand" != "no"; then |
6566 { test "$extra_verbose" = "yes" && cat << \EOF | 6508 { test "$extra_verbose" = "yes" && cat << \EOF |
6567 Defining HAVE_WMCOMMAND | 6509 Defining HAVE_WMCOMMAND |
6568 EOF | 6510 EOF |
6569 cat >> confdefs.h <<\EOF | 6511 cat >> confdefs.h <<\EOF |
6574 fi | 6516 fi |
6575 | 6517 |
6576 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no | 6518 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no |
6577 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` | 6519 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` |
6578 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 | 6520 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 |
6579 echo "configure:6580: checking for X11/Xauth.h" >&5 | 6521 echo "configure:6522: checking for X11/Xauth.h" >&5 |
6580 | 6522 |
6581 cat > conftest.$ac_ext <<EOF | 6523 cat > conftest.$ac_ext <<EOF |
6582 #line 6583 "configure" | 6524 #line 6525 "configure" |
6583 #include "confdefs.h" | 6525 #include "confdefs.h" |
6584 #include <X11/Xauth.h> | 6526 #include <X11/Xauth.h> |
6585 EOF | 6527 EOF |
6586 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6528 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6587 { (eval echo configure:6588: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6529 { (eval echo configure:6530: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6588 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6530 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6589 if test -z "$ac_err"; then | 6531 if test -z "$ac_err"; then |
6590 rm -rf conftest* | 6532 rm -rf conftest* |
6591 eval "ac_cv_header_$ac_safe=yes" | 6533 eval "ac_cv_header_$ac_safe=yes" |
6592 else | 6534 else |
6605 with_xauth=no | 6547 with_xauth=no |
6606 fi | 6548 fi |
6607 } | 6549 } |
6608 test -z "$with_xauth" && { | 6550 test -z "$with_xauth" && { |
6609 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 | 6551 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 |
6610 echo "configure:6611: checking for XauGetAuthByAddr in -lXau" >&5 | 6552 echo "configure:6553: checking for XauGetAuthByAddr in -lXau" >&5 |
6611 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` | 6553 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` |
6612 | 6554 |
6613 xe_check_libs=" -lXau " | 6555 xe_check_libs=" -lXau " |
6614 cat > conftest.$ac_ext <<EOF | 6556 cat > conftest.$ac_ext <<EOF |
6615 #line 6616 "configure" | 6557 #line 6558 "configure" |
6616 #include "confdefs.h" | 6558 #include "confdefs.h" |
6617 /* Override any gcc2 internal prototype to avoid an error. */ | 6559 /* Override any gcc2 internal prototype to avoid an error. */ |
6618 /* We use char because int might match the return type of a gcc2 | 6560 /* We use char because int might match the return type of a gcc2 |
6619 builtin and then its argument prototype would still apply. */ | 6561 builtin and then its argument prototype would still apply. */ |
6620 char XauGetAuthByAddr(); | 6562 char XauGetAuthByAddr(); |
6621 | 6563 |
6622 int main() { | 6564 int main() { |
6623 XauGetAuthByAddr() | 6565 XauGetAuthByAddr() |
6624 ; return 0; } | 6566 ; return 0; } |
6625 EOF | 6567 EOF |
6626 if { (eval echo configure:6627: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6568 if { (eval echo configure:6569: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6627 rm -rf conftest* | 6569 rm -rf conftest* |
6628 eval "ac_cv_lib_$ac_lib_var=yes" | 6570 eval "ac_cv_lib_$ac_lib_var=yes" |
6629 else | 6571 else |
6630 echo "configure: failed program was:" >&5 | 6572 echo "configure: failed program was:" >&5 |
6631 cat conftest.$ac_ext >&5 | 6573 cat conftest.$ac_ext >&5 |
6666 | 6608 |
6667 if test "$with_tooltalk" != "no" ; then | 6609 if test "$with_tooltalk" != "no" ; then |
6668 for dir in "" "Tt/" "desktop/" ; do | 6610 for dir in "" "Tt/" "desktop/" ; do |
6669 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` | 6611 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` |
6670 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 | 6612 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 |
6671 echo "configure:6672: checking for ${dir}tt_c.h" >&5 | 6613 echo "configure:6614: checking for ${dir}tt_c.h" >&5 |
6672 | 6614 |
6673 cat > conftest.$ac_ext <<EOF | 6615 cat > conftest.$ac_ext <<EOF |
6674 #line 6675 "configure" | 6616 #line 6617 "configure" |
6675 #include "confdefs.h" | 6617 #include "confdefs.h" |
6676 #include <${dir}tt_c.h> | 6618 #include <${dir}tt_c.h> |
6677 EOF | 6619 EOF |
6678 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6620 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6679 { (eval echo configure:6680: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6621 { (eval echo configure:6622: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6680 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6622 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6681 if test -z "$ac_err"; then | 6623 if test -z "$ac_err"; then |
6682 rm -rf conftest* | 6624 rm -rf conftest* |
6683 eval "ac_cv_header_$ac_safe=yes" | 6625 eval "ac_cv_header_$ac_safe=yes" |
6684 else | 6626 else |
6710 for extra_libs in "" "-lI18N -lce" "-lcxx"; do | 6652 for extra_libs in "" "-lI18N -lce" "-lcxx"; do |
6711 | 6653 |
6712 xe_msg_checking="for tt_message_create in -ltt" | 6654 xe_msg_checking="for tt_message_create in -ltt" |
6713 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 6655 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
6714 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6656 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6715 echo "configure:6716: checking "$xe_msg_checking"" >&5 | 6657 echo "configure:6658: checking "$xe_msg_checking"" >&5 |
6716 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` | 6658 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` |
6717 | 6659 |
6718 xe_check_libs=" -ltt $extra_libs" | 6660 xe_check_libs=" -ltt $extra_libs" |
6719 cat > conftest.$ac_ext <<EOF | 6661 cat > conftest.$ac_ext <<EOF |
6720 #line 6721 "configure" | 6662 #line 6663 "configure" |
6721 #include "confdefs.h" | 6663 #include "confdefs.h" |
6722 /* Override any gcc2 internal prototype to avoid an error. */ | 6664 /* Override any gcc2 internal prototype to avoid an error. */ |
6723 /* We use char because int might match the return type of a gcc2 | 6665 /* We use char because int might match the return type of a gcc2 |
6724 builtin and then its argument prototype would still apply. */ | 6666 builtin and then its argument prototype would still apply. */ |
6725 char tt_message_create(); | 6667 char tt_message_create(); |
6726 | 6668 |
6727 int main() { | 6669 int main() { |
6728 tt_message_create() | 6670 tt_message_create() |
6729 ; return 0; } | 6671 ; return 0; } |
6730 EOF | 6672 EOF |
6731 if { (eval echo configure:6732: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6673 if { (eval echo configure:6674: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6732 rm -rf conftest* | 6674 rm -rf conftest* |
6733 eval "ac_cv_lib_$ac_lib_var=yes" | 6675 eval "ac_cv_lib_$ac_lib_var=yes" |
6734 else | 6676 else |
6735 echo "configure: failed program was:" >&5 | 6677 echo "configure: failed program was:" >&5 |
6736 cat conftest.$ac_ext >&5 | 6678 cat conftest.$ac_ext >&5 |
6783 fi | 6725 fi |
6784 fi | 6726 fi |
6785 | 6727 |
6786 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` | 6728 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` |
6787 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 | 6729 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 |
6788 echo "configure:6789: checking for Dt/Dt.h" >&5 | 6730 echo "configure:6731: checking for Dt/Dt.h" >&5 |
6789 | 6731 |
6790 cat > conftest.$ac_ext <<EOF | 6732 cat > conftest.$ac_ext <<EOF |
6791 #line 6792 "configure" | 6733 #line 6734 "configure" |
6792 #include "confdefs.h" | 6734 #include "confdefs.h" |
6793 #include <Dt/Dt.h> | 6735 #include <Dt/Dt.h> |
6794 EOF | 6736 EOF |
6795 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6737 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6796 { (eval echo configure:6797: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6738 { (eval echo configure:6739: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6797 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6739 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6798 if test -z "$ac_err"; then | 6740 if test -z "$ac_err"; then |
6799 rm -rf conftest* | 6741 rm -rf conftest* |
6800 eval "ac_cv_header_$ac_safe=yes" | 6742 eval "ac_cv_header_$ac_safe=yes" |
6801 else | 6743 else |
6814 with_cde=no | 6756 with_cde=no |
6815 fi | 6757 fi |
6816 } | 6758 } |
6817 test -z "$with_cde" && { | 6759 test -z "$with_cde" && { |
6818 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 | 6760 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 |
6819 echo "configure:6820: checking for DtDndDragStart in -lDtSvc" >&5 | 6761 echo "configure:6762: checking for DtDndDragStart in -lDtSvc" >&5 |
6820 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` | 6762 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` |
6821 | 6763 |
6822 xe_check_libs=" -lDtSvc " | 6764 xe_check_libs=" -lDtSvc " |
6823 cat > conftest.$ac_ext <<EOF | 6765 cat > conftest.$ac_ext <<EOF |
6824 #line 6825 "configure" | 6766 #line 6767 "configure" |
6825 #include "confdefs.h" | 6767 #include "confdefs.h" |
6826 /* Override any gcc2 internal prototype to avoid an error. */ | 6768 /* Override any gcc2 internal prototype to avoid an error. */ |
6827 /* We use char because int might match the return type of a gcc2 | 6769 /* We use char because int might match the return type of a gcc2 |
6828 builtin and then its argument prototype would still apply. */ | 6770 builtin and then its argument prototype would still apply. */ |
6829 char DtDndDragStart(); | 6771 char DtDndDragStart(); |
6830 | 6772 |
6831 int main() { | 6773 int main() { |
6832 DtDndDragStart() | 6774 DtDndDragStart() |
6833 ; return 0; } | 6775 ; return 0; } |
6834 EOF | 6776 EOF |
6835 if { (eval echo configure:6836: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6777 if { (eval echo configure:6778: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6836 rm -rf conftest* | 6778 rm -rf conftest* |
6837 eval "ac_cv_lib_$ac_lib_var=yes" | 6779 eval "ac_cv_lib_$ac_lib_var=yes" |
6838 else | 6780 else |
6839 echo "configure: failed program was:" >&5 | 6781 echo "configure: failed program was:" >&5 |
6840 cat conftest.$ac_ext >&5 | 6782 cat conftest.$ac_ext >&5 |
6899 dnd_objs="$dnd_objs offix.o" && if test "$extra_verbose" = "yes"; then echo " Appending \"offix.o\" to \$dnd_objs"; fi | 6841 dnd_objs="$dnd_objs offix.o" && if test "$extra_verbose" = "yes"; then echo " Appending \"offix.o\" to \$dnd_objs"; fi |
6900 dragndrop_proto="$dragndrop_proto OffiX" && if test "$extra_verbose" = "yes"; then echo " Appending \"OffiX\" to \$dragndrop_proto"; fi | 6842 dragndrop_proto="$dragndrop_proto OffiX" && if test "$extra_verbose" = "yes"; then echo " Appending \"OffiX\" to \$dragndrop_proto"; fi |
6901 fi | 6843 fi |
6902 | 6844 |
6903 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 | 6845 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 |
6904 echo "configure:6905: checking if drag and drop API is needed" >&5 | 6846 echo "configure:6847: checking if drag and drop API is needed" >&5 |
6905 if test "$with_dragndrop" != "no" ; then | 6847 if test "$with_dragndrop" != "no" ; then |
6906 if test -n "$dragndrop_proto" ; then | 6848 if test -n "$dragndrop_proto" ; then |
6907 with_dragndrop=yes | 6849 with_dragndrop=yes |
6908 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 | 6850 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 |
6909 { test "$extra_verbose" = "yes" && cat << \EOF | 6851 { test "$extra_verbose" = "yes" && cat << \EOF |
6920 echo "$ac_t""no" 1>&6 | 6862 echo "$ac_t""no" 1>&6 |
6921 fi | 6863 fi |
6922 fi | 6864 fi |
6923 | 6865 |
6924 echo "checking for LDAP" 1>&6 | 6866 echo "checking for LDAP" 1>&6 |
6925 echo "configure:6926: checking for LDAP" >&5 | 6867 echo "configure:6868: checking for LDAP" >&5 |
6926 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` | 6868 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` |
6927 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 | 6869 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 |
6928 echo "configure:6929: checking for ldap.h" >&5 | 6870 echo "configure:6871: checking for ldap.h" >&5 |
6929 | 6871 |
6930 cat > conftest.$ac_ext <<EOF | 6872 cat > conftest.$ac_ext <<EOF |
6931 #line 6932 "configure" | 6873 #line 6874 "configure" |
6932 #include "confdefs.h" | 6874 #include "confdefs.h" |
6933 #include <ldap.h> | 6875 #include <ldap.h> |
6934 EOF | 6876 EOF |
6935 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6877 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6936 { (eval echo configure:6937: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6878 { (eval echo configure:6879: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6937 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6879 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6938 if test -z "$ac_err"; then | 6880 if test -z "$ac_err"; then |
6939 rm -rf conftest* | 6881 rm -rf conftest* |
6940 eval "ac_cv_header_$ac_safe=yes" | 6882 eval "ac_cv_header_$ac_safe=yes" |
6941 else | 6883 else |
6954 with_ldap=no | 6896 with_ldap=no |
6955 fi | 6897 fi |
6956 } | 6898 } |
6957 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` | 6899 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` |
6958 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 | 6900 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 |
6959 echo "configure:6960: checking for lber.h" >&5 | 6901 echo "configure:6902: checking for lber.h" >&5 |
6960 | 6902 |
6961 cat > conftest.$ac_ext <<EOF | 6903 cat > conftest.$ac_ext <<EOF |
6962 #line 6963 "configure" | 6904 #line 6905 "configure" |
6963 #include "confdefs.h" | 6905 #include "confdefs.h" |
6964 #include <lber.h> | 6906 #include <lber.h> |
6965 EOF | 6907 EOF |
6966 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6908 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6967 { (eval echo configure:6968: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6909 { (eval echo configure:6910: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6968 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6910 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6969 if test -z "$ac_err"; then | 6911 if test -z "$ac_err"; then |
6970 rm -rf conftest* | 6912 rm -rf conftest* |
6971 eval "ac_cv_header_$ac_safe=yes" | 6913 eval "ac_cv_header_$ac_safe=yes" |
6972 else | 6914 else |
6986 fi | 6928 fi |
6987 } | 6929 } |
6988 if test "$with_ldap" != "no"; then | 6930 if test "$with_ldap" != "no"; then |
6989 | 6931 |
6990 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 | 6932 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 |
6991 echo "configure:6992: checking for ldap_search in -lldap" >&5 | 6933 echo "configure:6934: checking for ldap_search in -lldap" >&5 |
6992 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` | 6934 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` |
6993 | 6935 |
6994 xe_check_libs=" -lldap " | 6936 xe_check_libs=" -lldap " |
6995 cat > conftest.$ac_ext <<EOF | 6937 cat > conftest.$ac_ext <<EOF |
6996 #line 6997 "configure" | 6938 #line 6939 "configure" |
6997 #include "confdefs.h" | 6939 #include "confdefs.h" |
6998 /* Override any gcc2 internal prototype to avoid an error. */ | 6940 /* Override any gcc2 internal prototype to avoid an error. */ |
6999 /* We use char because int might match the return type of a gcc2 | 6941 /* We use char because int might match the return type of a gcc2 |
7000 builtin and then its argument prototype would still apply. */ | 6942 builtin and then its argument prototype would still apply. */ |
7001 char ldap_search(); | 6943 char ldap_search(); |
7002 | 6944 |
7003 int main() { | 6945 int main() { |
7004 ldap_search() | 6946 ldap_search() |
7005 ; return 0; } | 6947 ; return 0; } |
7006 EOF | 6948 EOF |
7007 if { (eval echo configure:7008: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6949 if { (eval echo configure:6950: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7008 rm -rf conftest* | 6950 rm -rf conftest* |
7009 eval "ac_cv_lib_$ac_lib_var=yes" | 6951 eval "ac_cv_lib_$ac_lib_var=yes" |
7010 else | 6952 else |
7011 echo "configure: failed program was:" >&5 | 6953 echo "configure: failed program was:" >&5 |
7012 cat conftest.$ac_ext >&5 | 6954 cat conftest.$ac_ext >&5 |
7027 | 6969 |
7028 test "$with_ldap_nolber" = "no" && { | 6970 test "$with_ldap_nolber" = "no" && { |
7029 xe_msg_checking="for ldap_open in -lldap" | 6971 xe_msg_checking="for ldap_open in -lldap" |
7030 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" | 6972 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" |
7031 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6973 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
7032 echo "configure:7033: checking "$xe_msg_checking"" >&5 | 6974 echo "configure:6975: checking "$xe_msg_checking"" >&5 |
7033 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 6975 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
7034 | 6976 |
7035 xe_check_libs=" -lldap -llber" | 6977 xe_check_libs=" -lldap -llber" |
7036 cat > conftest.$ac_ext <<EOF | 6978 cat > conftest.$ac_ext <<EOF |
7037 #line 7038 "configure" | 6979 #line 6980 "configure" |
7038 #include "confdefs.h" | 6980 #include "confdefs.h" |
7039 /* Override any gcc2 internal prototype to avoid an error. */ | 6981 /* Override any gcc2 internal prototype to avoid an error. */ |
7040 /* We use char because int might match the return type of a gcc2 | 6982 /* We use char because int might match the return type of a gcc2 |
7041 builtin and then its argument prototype would still apply. */ | 6983 builtin and then its argument prototype would still apply. */ |
7042 char ldap_open(); | 6984 char ldap_open(); |
7043 | 6985 |
7044 int main() { | 6986 int main() { |
7045 ldap_open() | 6987 ldap_open() |
7046 ; return 0; } | 6988 ; return 0; } |
7047 EOF | 6989 EOF |
7048 if { (eval echo configure:7049: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6990 if { (eval echo configure:6991: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7049 rm -rf conftest* | 6991 rm -rf conftest* |
7050 eval "ac_cv_lib_$ac_lib_var=yes" | 6992 eval "ac_cv_lib_$ac_lib_var=yes" |
7051 else | 6993 else |
7052 echo "configure: failed program was:" >&5 | 6994 echo "configure: failed program was:" >&5 |
7053 cat conftest.$ac_ext >&5 | 6995 cat conftest.$ac_ext >&5 |
7068 } | 7010 } |
7069 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { | 7011 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { |
7070 xe_msg_checking="for ldap_open in -lldap" | 7012 xe_msg_checking="for ldap_open in -lldap" |
7071 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" | 7013 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" |
7072 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 7014 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
7073 echo "configure:7074: checking "$xe_msg_checking"" >&5 | 7015 echo "configure:7016: checking "$xe_msg_checking"" >&5 |
7074 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 7016 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
7075 | 7017 |
7076 xe_check_libs=" -lldap -llber -lkrb" | 7018 xe_check_libs=" -lldap -llber -lkrb" |
7077 cat > conftest.$ac_ext <<EOF | 7019 cat > conftest.$ac_ext <<EOF |
7078 #line 7079 "configure" | 7020 #line 7021 "configure" |
7079 #include "confdefs.h" | 7021 #include "confdefs.h" |
7080 /* Override any gcc2 internal prototype to avoid an error. */ | 7022 /* Override any gcc2 internal prototype to avoid an error. */ |
7081 /* We use char because int might match the return type of a gcc2 | 7023 /* We use char because int might match the return type of a gcc2 |
7082 builtin and then its argument prototype would still apply. */ | 7024 builtin and then its argument prototype would still apply. */ |
7083 char ldap_open(); | 7025 char ldap_open(); |
7084 | 7026 |
7085 int main() { | 7027 int main() { |
7086 ldap_open() | 7028 ldap_open() |
7087 ; return 0; } | 7029 ; return 0; } |
7088 EOF | 7030 EOF |
7089 if { (eval echo configure:7090: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7031 if { (eval echo configure:7032: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7090 rm -rf conftest* | 7032 rm -rf conftest* |
7091 eval "ac_cv_lib_$ac_lib_var=yes" | 7033 eval "ac_cv_lib_$ac_lib_var=yes" |
7092 else | 7034 else |
7093 echo "configure: failed program was:" >&5 | 7035 echo "configure: failed program was:" >&5 |
7094 cat conftest.$ac_ext >&5 | 7036 cat conftest.$ac_ext >&5 |
7109 } | 7051 } |
7110 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { | 7052 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { |
7111 xe_msg_checking="for ldap_open in -lldap" | 7053 xe_msg_checking="for ldap_open in -lldap" |
7112 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" | 7054 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" |
7113 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 7055 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
7114 echo "configure:7115: checking "$xe_msg_checking"" >&5 | 7056 echo "configure:7057: checking "$xe_msg_checking"" >&5 |
7115 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 7057 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
7116 | 7058 |
7117 xe_check_libs=" -lldap -llber -lkrb -ldes" | 7059 xe_check_libs=" -lldap -llber -lkrb -ldes" |
7118 cat > conftest.$ac_ext <<EOF | 7060 cat > conftest.$ac_ext <<EOF |
7119 #line 7120 "configure" | 7061 #line 7062 "configure" |
7120 #include "confdefs.h" | 7062 #include "confdefs.h" |
7121 /* Override any gcc2 internal prototype to avoid an error. */ | 7063 /* Override any gcc2 internal prototype to avoid an error. */ |
7122 /* We use char because int might match the return type of a gcc2 | 7064 /* We use char because int might match the return type of a gcc2 |
7123 builtin and then its argument prototype would still apply. */ | 7065 builtin and then its argument prototype would still apply. */ |
7124 char ldap_open(); | 7066 char ldap_open(); |
7125 | 7067 |
7126 int main() { | 7068 int main() { |
7127 ldap_open() | 7069 ldap_open() |
7128 ; return 0; } | 7070 ; return 0; } |
7129 EOF | 7071 EOF |
7130 if { (eval echo configure:7131: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7072 if { (eval echo configure:7073: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7131 rm -rf conftest* | 7073 rm -rf conftest* |
7132 eval "ac_cv_lib_$ac_lib_var=yes" | 7074 eval "ac_cv_lib_$ac_lib_var=yes" |
7133 else | 7075 else |
7134 echo "configure: failed program was:" >&5 | 7076 echo "configure: failed program was:" >&5 |
7135 cat conftest.$ac_ext >&5 | 7077 cat conftest.$ac_ext >&5 |
7176 LIBS="-lldap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap\" to \$LIBS"; fi | 7118 LIBS="-lldap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap\" to \$LIBS"; fi |
7177 fi | 7119 fi |
7178 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result | 7120 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result |
7179 do | 7121 do |
7180 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7122 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
7181 echo "configure:7182: checking for $ac_func" >&5 | 7123 echo "configure:7124: checking for $ac_func" >&5 |
7182 | 7124 |
7183 cat > conftest.$ac_ext <<EOF | 7125 cat > conftest.$ac_ext <<EOF |
7184 #line 7185 "configure" | 7126 #line 7127 "configure" |
7185 #include "confdefs.h" | 7127 #include "confdefs.h" |
7186 /* System header to define __stub macros and hopefully few prototypes, | 7128 /* System header to define __stub macros and hopefully few prototypes, |
7187 which can conflict with char $ac_func(); below. */ | 7129 which can conflict with char $ac_func(); below. */ |
7188 #include <assert.h> | 7130 #include <assert.h> |
7189 /* Override any gcc2 internal prototype to avoid an error. */ | 7131 /* Override any gcc2 internal prototype to avoid an error. */ |
7202 $ac_func(); | 7144 $ac_func(); |
7203 #endif | 7145 #endif |
7204 | 7146 |
7205 ; return 0; } | 7147 ; return 0; } |
7206 EOF | 7148 EOF |
7207 if { (eval echo configure:7208: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7149 if { (eval echo configure:7150: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7208 rm -rf conftest* | 7150 rm -rf conftest* |
7209 eval "ac_cv_func_$ac_func=yes" | 7151 eval "ac_cv_func_$ac_func=yes" |
7210 else | 7152 else |
7211 echo "configure: failed program was:" >&5 | 7153 echo "configure: failed program was:" >&5 |
7212 cat conftest.$ac_ext >&5 | 7154 cat conftest.$ac_ext >&5 |
7232 done | 7174 done |
7233 | 7175 |
7234 fi | 7176 fi |
7235 | 7177 |
7236 echo "checking for PostgreSQL" 1>&6 | 7178 echo "checking for PostgreSQL" 1>&6 |
7237 echo "configure:7238: checking for PostgreSQL" >&5 | 7179 echo "configure:7180: checking for PostgreSQL" >&5 |
7238 postgres_h_path="" | 7180 postgres_h_path="" |
7239 postgres_includes_found=no | 7181 postgres_includes_found=no |
7240 save_c_switch_site="$c_switch_site" | 7182 save_c_switch_site="$c_switch_site" |
7241 | 7183 |
7242 if test "$with_postgresql" != "no"; then | 7184 if test "$with_postgresql" != "no"; then |
7243 ac_safe=`echo "libpq-fe.h" | sed 'y%./+-%__p_%'` | 7185 ac_safe=`echo "libpq-fe.h" | sed 'y%./+-%__p_%'` |
7244 echo $ac_n "checking for libpq-fe.h""... $ac_c" 1>&6 | 7186 echo $ac_n "checking for libpq-fe.h""... $ac_c" 1>&6 |
7245 echo "configure:7246: checking for libpq-fe.h" >&5 | 7187 echo "configure:7188: checking for libpq-fe.h" >&5 |
7246 | 7188 |
7247 cat > conftest.$ac_ext <<EOF | 7189 cat > conftest.$ac_ext <<EOF |
7248 #line 7249 "configure" | 7190 #line 7191 "configure" |
7249 #include "confdefs.h" | 7191 #include "confdefs.h" |
7250 #include <libpq-fe.h> | 7192 #include <libpq-fe.h> |
7251 EOF | 7193 EOF |
7252 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7194 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7253 { (eval echo configure:7254: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7195 { (eval echo configure:7196: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7254 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7196 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7255 if test -z "$ac_err"; then | 7197 if test -z "$ac_err"; then |
7256 rm -rf conftest* | 7198 rm -rf conftest* |
7257 eval "ac_cv_header_$ac_safe=yes" | 7199 eval "ac_cv_header_$ac_safe=yes" |
7258 else | 7200 else |
7275 if test "$postgres_includes_found" = "no" -a "$with_postgresql" != "no" -a \ | 7217 if test "$postgres_includes_found" = "no" -a "$with_postgresql" != "no" -a \ |
7276 -d "/usr/local/pgsql/include"; then | 7218 -d "/usr/local/pgsql/include"; then |
7277 c_switch_site="$c_switch_site -I/usr/local/pgsql/include" | 7219 c_switch_site="$c_switch_site -I/usr/local/pgsql/include" |
7278 ac_safe=`echo "libpq-fe.h" | sed 'y%./+-%__p_%'` | 7220 ac_safe=`echo "libpq-fe.h" | sed 'y%./+-%__p_%'` |
7279 echo $ac_n "checking for libpq-fe.h""... $ac_c" 1>&6 | 7221 echo $ac_n "checking for libpq-fe.h""... $ac_c" 1>&6 |
7280 echo "configure:7281: checking for libpq-fe.h" >&5 | 7222 echo "configure:7223: checking for libpq-fe.h" >&5 |
7281 | 7223 |
7282 cat > conftest.$ac_ext <<EOF | 7224 cat > conftest.$ac_ext <<EOF |
7283 #line 7284 "configure" | 7225 #line 7226 "configure" |
7284 #include "confdefs.h" | 7226 #include "confdefs.h" |
7285 #include <libpq-fe.h> | 7227 #include <libpq-fe.h> |
7286 EOF | 7228 EOF |
7287 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7229 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7288 { (eval echo configure:7289: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7230 { (eval echo configure:7231: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7289 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7231 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7290 if test -z "$ac_err"; then | 7232 if test -z "$ac_err"; then |
7291 rm -rf conftest* | 7233 rm -rf conftest* |
7292 eval "ac_cv_header_$ac_safe=yes" | 7234 eval "ac_cv_header_$ac_safe=yes" |
7293 else | 7235 else |
7313 if test "$postgres_includes_found" = "no" -a "$with_postgresql" != "no" -a \ | 7255 if test "$postgres_includes_found" = "no" -a "$with_postgresql" != "no" -a \ |
7314 -d "/usr/include/pgsql"; then | 7256 -d "/usr/include/pgsql"; then |
7315 c_switch_site="$c_switch_site -I/usr/include/pgsql" | 7257 c_switch_site="$c_switch_site -I/usr/include/pgsql" |
7316 ac_safe=`echo "libpq-fe.h" | sed 'y%./+-%__p_%'` | 7258 ac_safe=`echo "libpq-fe.h" | sed 'y%./+-%__p_%'` |
7317 echo $ac_n "checking for libpq-fe.h""... $ac_c" 1>&6 | 7259 echo $ac_n "checking for libpq-fe.h""... $ac_c" 1>&6 |
7318 echo "configure:7319: checking for libpq-fe.h" >&5 | 7260 echo "configure:7261: checking for libpq-fe.h" >&5 |
7319 | 7261 |
7320 cat > conftest.$ac_ext <<EOF | 7262 cat > conftest.$ac_ext <<EOF |
7321 #line 7322 "configure" | 7263 #line 7264 "configure" |
7322 #include "confdefs.h" | 7264 #include "confdefs.h" |
7323 #include <libpq-fe.h> | 7265 #include <libpq-fe.h> |
7324 EOF | 7266 EOF |
7325 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7267 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7326 { (eval echo configure:7327: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7268 { (eval echo configure:7269: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7327 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7269 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7328 if test -z "$ac_err"; then | 7270 if test -z "$ac_err"; then |
7329 rm -rf conftest* | 7271 rm -rf conftest* |
7330 eval "ac_cv_header_$ac_safe=yes" | 7272 eval "ac_cv_header_$ac_safe=yes" |
7331 else | 7273 else |
7351 if test "$postgres_includes_found" = "no" -a "$with_postgresql" != "no" -a \ | 7293 if test "$postgres_includes_found" = "no" -a "$with_postgresql" != "no" -a \ |
7352 -d "/usr/include/postgresql"; then | 7294 -d "/usr/include/postgresql"; then |
7353 c_switch_site="$c_switch_site -I/usr/include/postgresql" | 7295 c_switch_site="$c_switch_site -I/usr/include/postgresql" |
7354 ac_safe=`echo "libpq-fe.h" | sed 'y%./+-%__p_%'` | 7296 ac_safe=`echo "libpq-fe.h" | sed 'y%./+-%__p_%'` |
7355 echo $ac_n "checking for libpq-fe.h""... $ac_c" 1>&6 | 7297 echo $ac_n "checking for libpq-fe.h""... $ac_c" 1>&6 |
7356 echo "configure:7357: checking for libpq-fe.h" >&5 | 7298 echo "configure:7299: checking for libpq-fe.h" >&5 |
7357 | 7299 |
7358 cat > conftest.$ac_ext <<EOF | 7300 cat > conftest.$ac_ext <<EOF |
7359 #line 7360 "configure" | 7301 #line 7302 "configure" |
7360 #include "confdefs.h" | 7302 #include "confdefs.h" |
7361 #include <libpq-fe.h> | 7303 #include <libpq-fe.h> |
7362 EOF | 7304 EOF |
7363 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7305 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7364 { (eval echo configure:7365: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7306 { (eval echo configure:7307: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7365 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7307 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7366 if test -z "$ac_err"; then | 7308 if test -z "$ac_err"; then |
7367 rm -rf conftest* | 7309 rm -rf conftest* |
7368 eval "ac_cv_header_$ac_safe=yes" | 7310 eval "ac_cv_header_$ac_safe=yes" |
7369 else | 7311 else |
7388 fi | 7330 fi |
7389 | 7331 |
7390 if test "$postgres_includes_found" = "yes"; then | 7332 if test "$postgres_includes_found" = "yes"; then |
7391 | 7333 |
7392 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 | 7334 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 |
7393 echo "configure:7394: checking for PQconnectdb in -lpq" >&5 | 7335 echo "configure:7336: checking for PQconnectdb in -lpq" >&5 |
7394 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` | 7336 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` |
7395 | 7337 |
7396 xe_check_libs=" -lpq " | 7338 xe_check_libs=" -lpq " |
7397 cat > conftest.$ac_ext <<EOF | 7339 cat > conftest.$ac_ext <<EOF |
7398 #line 7399 "configure" | 7340 #line 7341 "configure" |
7399 #include "confdefs.h" | 7341 #include "confdefs.h" |
7400 /* Override any gcc2 internal prototype to avoid an error. */ | 7342 /* Override any gcc2 internal prototype to avoid an error. */ |
7401 /* We use char because int might match the return type of a gcc2 | 7343 /* We use char because int might match the return type of a gcc2 |
7402 builtin and then its argument prototype would still apply. */ | 7344 builtin and then its argument prototype would still apply. */ |
7403 char PQconnectdb(); | 7345 char PQconnectdb(); |
7404 | 7346 |
7405 int main() { | 7347 int main() { |
7406 PQconnectdb() | 7348 PQconnectdb() |
7407 ; return 0; } | 7349 ; return 0; } |
7408 EOF | 7350 EOF |
7409 if { (eval echo configure:7410: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7351 if { (eval echo configure:7352: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7410 rm -rf conftest* | 7352 rm -rf conftest* |
7411 eval "ac_cv_lib_$ac_lib_var=yes" | 7353 eval "ac_cv_lib_$ac_lib_var=yes" |
7412 else | 7354 else |
7413 echo "configure: failed program was:" >&5 | 7355 echo "configure: failed program was:" >&5 |
7414 cat conftest.$ac_ext >&5 | 7356 cat conftest.$ac_ext >&5 |
7429 | 7371 |
7430 fi | 7372 fi |
7431 if test "$with_postgresql" = "yes"; then | 7373 if test "$with_postgresql" = "yes"; then |
7432 | 7374 |
7433 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 | 7375 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 |
7434 echo "configure:7435: checking for PQconnectStart in -lpq" >&5 | 7376 echo "configure:7377: checking for PQconnectStart in -lpq" >&5 |
7435 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` | 7377 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` |
7436 | 7378 |
7437 xe_check_libs=" -lpq " | 7379 xe_check_libs=" -lpq " |
7438 cat > conftest.$ac_ext <<EOF | 7380 cat > conftest.$ac_ext <<EOF |
7439 #line 7440 "configure" | 7381 #line 7382 "configure" |
7440 #include "confdefs.h" | 7382 #include "confdefs.h" |
7441 /* Override any gcc2 internal prototype to avoid an error. */ | 7383 /* Override any gcc2 internal prototype to avoid an error. */ |
7442 /* We use char because int might match the return type of a gcc2 | 7384 /* We use char because int might match the return type of a gcc2 |
7443 builtin and then its argument prototype would still apply. */ | 7385 builtin and then its argument prototype would still apply. */ |
7444 char PQconnectStart(); | 7386 char PQconnectStart(); |
7445 | 7387 |
7446 int main() { | 7388 int main() { |
7447 PQconnectStart() | 7389 PQconnectStart() |
7448 ; return 0; } | 7390 ; return 0; } |
7449 EOF | 7391 EOF |
7450 if { (eval echo configure:7451: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7392 if { (eval echo configure:7393: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7451 rm -rf conftest* | 7393 rm -rf conftest* |
7452 eval "ac_cv_lib_$ac_lib_var=yes" | 7394 eval "ac_cv_lib_$ac_lib_var=yes" |
7453 else | 7395 else |
7454 echo "configure: failed program was:" >&5 | 7396 echo "configure: failed program was:" >&5 |
7455 cat conftest.$ac_ext >&5 | 7397 cat conftest.$ac_ext >&5 |
7505 fi | 7447 fi |
7506 | 7448 |
7507 | 7449 |
7508 if test "$window_system" != "none"; then | 7450 if test "$window_system" != "none"; then |
7509 echo "checking for graphics libraries" 1>&6 | 7451 echo "checking for graphics libraries" 1>&6 |
7510 echo "configure:7511: checking for graphics libraries" >&5 | 7452 echo "configure:7453: checking for graphics libraries" >&5 |
7511 | 7453 |
7512 xpm_problem="" | 7454 xpm_problem="" |
7513 if test -z "$with_xpm"; then | 7455 if test -z "$with_xpm"; then |
7514 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 | 7456 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 |
7515 echo "configure:7516: checking for Xpm - no older than 3.4f" >&5 | 7457 echo "configure:7458: checking for Xpm - no older than 3.4f" >&5 |
7516 xe_check_libs=-lXpm | 7458 xe_check_libs=-lXpm |
7517 cat > conftest.$ac_ext <<EOF | 7459 cat > conftest.$ac_ext <<EOF |
7518 #line 7519 "configure" | 7460 #line 7461 "configure" |
7519 #include "confdefs.h" | 7461 #include "confdefs.h" |
7520 #define XPM_NUMBERS | 7462 #define XPM_NUMBERS |
7521 #include <X11/xpm.h> | 7463 #include <X11/xpm.h> |
7522 int main(int c, char **v) { | 7464 int main(int c, char **v) { |
7523 return c == 1 ? 0 : | 7465 return c == 1 ? 0 : |
7524 XpmIncludeVersion != XpmLibraryVersion() ? 1 : | 7466 XpmIncludeVersion != XpmLibraryVersion() ? 1 : |
7525 XpmIncludeVersion < 30406 ? 2 : 0 ;} | 7467 XpmIncludeVersion < 30406 ? 2 : 0 ;} |
7526 EOF | 7468 EOF |
7527 if { (eval echo configure:7528: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 7469 if { (eval echo configure:7470: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
7528 then | 7470 then |
7529 ./conftest dummy_arg; xpm_status=$?; | 7471 ./conftest dummy_arg; xpm_status=$?; |
7530 if test "$xpm_status" = "0"; then | 7472 if test "$xpm_status" = "0"; then |
7531 with_xpm=yes; | 7473 with_xpm=yes; |
7532 else | 7474 else |
7564 EOF | 7506 EOF |
7565 } | 7507 } |
7566 | 7508 |
7567 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi | 7509 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi |
7568 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 | 7510 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 |
7569 echo "configure:7570: checking for \"FOR_MSW\" xpm" >&5 | 7511 echo "configure:7512: checking for \"FOR_MSW\" xpm" >&5 |
7570 xe_check_libs=-lXpm | 7512 xe_check_libs=-lXpm |
7571 cat > conftest.$ac_ext <<EOF | 7513 cat > conftest.$ac_ext <<EOF |
7572 #line 7573 "configure" | 7514 #line 7515 "configure" |
7573 #include "confdefs.h" | 7515 #include "confdefs.h" |
7574 | 7516 |
7575 int main() { | 7517 int main() { |
7576 XpmCreatePixmapFromData() | 7518 XpmCreatePixmapFromData() |
7577 ; return 0; } | 7519 ; return 0; } |
7578 EOF | 7520 EOF |
7579 if { (eval echo configure:7580: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7521 if { (eval echo configure:7522: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7580 rm -rf conftest* | 7522 rm -rf conftest* |
7581 xpm_for_msw=no | 7523 xpm_for_msw=no |
7582 else | 7524 else |
7583 echo "configure: failed program was:" >&5 | 7525 echo "configure: failed program was:" >&5 |
7584 cat conftest.$ac_ext >&5 | 7526 cat conftest.$ac_ext >&5 |
7600 fi | 7542 fi |
7601 fi | 7543 fi |
7602 | 7544 |
7603 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 7545 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
7604 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 7546 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
7605 echo "configure:7606: checking for compface.h" >&5 | 7547 echo "configure:7548: checking for compface.h" >&5 |
7606 | 7548 |
7607 cat > conftest.$ac_ext <<EOF | 7549 cat > conftest.$ac_ext <<EOF |
7608 #line 7609 "configure" | 7550 #line 7551 "configure" |
7609 #include "confdefs.h" | 7551 #include "confdefs.h" |
7610 #include <compface.h> | 7552 #include <compface.h> |
7611 EOF | 7553 EOF |
7612 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7554 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7613 { (eval echo configure:7614: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7555 { (eval echo configure:7556: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7614 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7556 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7615 if test -z "$ac_err"; then | 7557 if test -z "$ac_err"; then |
7616 rm -rf conftest* | 7558 rm -rf conftest* |
7617 eval "ac_cv_header_$ac_safe=yes" | 7559 eval "ac_cv_header_$ac_safe=yes" |
7618 else | 7560 else |
7631 with_xface=no | 7573 with_xface=no |
7632 fi | 7574 fi |
7633 } | 7575 } |
7634 test -z "$with_xface" && { | 7576 test -z "$with_xface" && { |
7635 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 7577 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
7636 echo "configure:7637: checking for UnGenFace in -lcompface" >&5 | 7578 echo "configure:7579: checking for UnGenFace in -lcompface" >&5 |
7637 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 7579 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
7638 | 7580 |
7639 xe_check_libs=" -lcompface " | 7581 xe_check_libs=" -lcompface " |
7640 cat > conftest.$ac_ext <<EOF | 7582 cat > conftest.$ac_ext <<EOF |
7641 #line 7642 "configure" | 7583 #line 7584 "configure" |
7642 #include "confdefs.h" | 7584 #include "confdefs.h" |
7643 /* Override any gcc2 internal prototype to avoid an error. */ | 7585 /* Override any gcc2 internal prototype to avoid an error. */ |
7644 /* We use char because int might match the return type of a gcc2 | 7586 /* We use char because int might match the return type of a gcc2 |
7645 builtin and then its argument prototype would still apply. */ | 7587 builtin and then its argument prototype would still apply. */ |
7646 char UnGenFace(); | 7588 char UnGenFace(); |
7647 | 7589 |
7648 int main() { | 7590 int main() { |
7649 UnGenFace() | 7591 UnGenFace() |
7650 ; return 0; } | 7592 ; return 0; } |
7651 EOF | 7593 EOF |
7652 if { (eval echo configure:7653: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7594 if { (eval echo configure:7595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7653 rm -rf conftest* | 7595 rm -rf conftest* |
7654 eval "ac_cv_lib_$ac_lib_var=yes" | 7596 eval "ac_cv_lib_$ac_lib_var=yes" |
7655 else | 7597 else |
7656 echo "configure: failed program was:" >&5 | 7598 echo "configure: failed program was:" >&5 |
7657 cat conftest.$ac_ext >&5 | 7599 cat conftest.$ac_ext >&5 |
7699 fi | 7641 fi |
7700 | 7642 |
7701 if test "$with_png $with_tiff" != "no no"; then | 7643 if test "$with_png $with_tiff" != "no no"; then |
7702 | 7644 |
7703 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 | 7645 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 |
7704 echo "configure:7705: checking for inflate in -lc" >&5 | 7646 echo "configure:7647: checking for inflate in -lc" >&5 |
7705 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` | 7647 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` |
7706 | 7648 |
7707 xe_check_libs=" -lc " | 7649 xe_check_libs=" -lc " |
7708 cat > conftest.$ac_ext <<EOF | 7650 cat > conftest.$ac_ext <<EOF |
7709 #line 7710 "configure" | 7651 #line 7652 "configure" |
7710 #include "confdefs.h" | 7652 #include "confdefs.h" |
7711 /* Override any gcc2 internal prototype to avoid an error. */ | 7653 /* Override any gcc2 internal prototype to avoid an error. */ |
7712 /* We use char because int might match the return type of a gcc2 | 7654 /* We use char because int might match the return type of a gcc2 |
7713 builtin and then its argument prototype would still apply. */ | 7655 builtin and then its argument prototype would still apply. */ |
7714 char inflate(); | 7656 char inflate(); |
7715 | 7657 |
7716 int main() { | 7658 int main() { |
7717 inflate() | 7659 inflate() |
7718 ; return 0; } | 7660 ; return 0; } |
7719 EOF | 7661 EOF |
7720 if { (eval echo configure:7721: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7662 if { (eval echo configure:7663: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7721 rm -rf conftest* | 7663 rm -rf conftest* |
7722 eval "ac_cv_lib_$ac_lib_var=yes" | 7664 eval "ac_cv_lib_$ac_lib_var=yes" |
7723 else | 7665 else |
7724 echo "configure: failed program was:" >&5 | 7666 echo "configure: failed program was:" >&5 |
7725 cat conftest.$ac_ext >&5 | 7667 cat conftest.$ac_ext >&5 |
7734 : | 7676 : |
7735 else | 7677 else |
7736 echo "$ac_t""no" 1>&6 | 7678 echo "$ac_t""no" 1>&6 |
7737 | 7679 |
7738 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 | 7680 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 |
7739 echo "configure:7740: checking for inflate in -lz" >&5 | 7681 echo "configure:7682: checking for inflate in -lz" >&5 |
7740 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` | 7682 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` |
7741 | 7683 |
7742 xe_check_libs=" -lz " | 7684 xe_check_libs=" -lz " |
7743 cat > conftest.$ac_ext <<EOF | 7685 cat > conftest.$ac_ext <<EOF |
7744 #line 7745 "configure" | 7686 #line 7687 "configure" |
7745 #include "confdefs.h" | 7687 #include "confdefs.h" |
7746 /* Override any gcc2 internal prototype to avoid an error. */ | 7688 /* Override any gcc2 internal prototype to avoid an error. */ |
7747 /* We use char because int might match the return type of a gcc2 | 7689 /* We use char because int might match the return type of a gcc2 |
7748 builtin and then its argument prototype would still apply. */ | 7690 builtin and then its argument prototype would still apply. */ |
7749 char inflate(); | 7691 char inflate(); |
7750 | 7692 |
7751 int main() { | 7693 int main() { |
7752 inflate() | 7694 inflate() |
7753 ; return 0; } | 7695 ; return 0; } |
7754 EOF | 7696 EOF |
7755 if { (eval echo configure:7756: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7697 if { (eval echo configure:7698: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7756 rm -rf conftest* | 7698 rm -rf conftest* |
7757 eval "ac_cv_lib_$ac_lib_var=yes" | 7699 eval "ac_cv_lib_$ac_lib_var=yes" |
7758 else | 7700 else |
7759 echo "configure: failed program was:" >&5 | 7701 echo "configure: failed program was:" >&5 |
7760 cat conftest.$ac_ext >&5 | 7702 cat conftest.$ac_ext >&5 |
7769 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi | 7711 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi |
7770 else | 7712 else |
7771 echo "$ac_t""no" 1>&6 | 7713 echo "$ac_t""no" 1>&6 |
7772 | 7714 |
7773 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 | 7715 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 |
7774 echo "configure:7775: checking for inflate in -lgz" >&5 | 7716 echo "configure:7717: checking for inflate in -lgz" >&5 |
7775 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` | 7717 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` |
7776 | 7718 |
7777 xe_check_libs=" -lgz " | 7719 xe_check_libs=" -lgz " |
7778 cat > conftest.$ac_ext <<EOF | 7720 cat > conftest.$ac_ext <<EOF |
7779 #line 7780 "configure" | 7721 #line 7722 "configure" |
7780 #include "confdefs.h" | 7722 #include "confdefs.h" |
7781 /* Override any gcc2 internal prototype to avoid an error. */ | 7723 /* Override any gcc2 internal prototype to avoid an error. */ |
7782 /* We use char because int might match the return type of a gcc2 | 7724 /* We use char because int might match the return type of a gcc2 |
7783 builtin and then its argument prototype would still apply. */ | 7725 builtin and then its argument prototype would still apply. */ |
7784 char inflate(); | 7726 char inflate(); |
7785 | 7727 |
7786 int main() { | 7728 int main() { |
7787 inflate() | 7729 inflate() |
7788 ; return 0; } | 7730 ; return 0; } |
7789 EOF | 7731 EOF |
7790 if { (eval echo configure:7791: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7732 if { (eval echo configure:7733: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7791 rm -rf conftest* | 7733 rm -rf conftest* |
7792 eval "ac_cv_lib_$ac_lib_var=yes" | 7734 eval "ac_cv_lib_$ac_lib_var=yes" |
7793 else | 7735 else |
7794 echo "configure: failed program was:" >&5 | 7736 echo "configure: failed program was:" >&5 |
7795 cat conftest.$ac_ext >&5 | 7737 cat conftest.$ac_ext >&5 |
7815 | 7757 |
7816 fi | 7758 fi |
7817 | 7759 |
7818 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` | 7760 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` |
7819 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 | 7761 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 |
7820 echo "configure:7821: checking for jpeglib.h" >&5 | 7762 echo "configure:7763: checking for jpeglib.h" >&5 |
7821 | 7763 |
7822 cat > conftest.$ac_ext <<EOF | 7764 cat > conftest.$ac_ext <<EOF |
7823 #line 7824 "configure" | 7765 #line 7766 "configure" |
7824 #include "confdefs.h" | 7766 #include "confdefs.h" |
7825 #include <jpeglib.h> | 7767 #include <jpeglib.h> |
7826 EOF | 7768 EOF |
7827 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7769 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7828 { (eval echo configure:7829: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7770 { (eval echo configure:7771: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7829 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7771 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7830 if test -z "$ac_err"; then | 7772 if test -z "$ac_err"; then |
7831 rm -rf conftest* | 7773 rm -rf conftest* |
7832 eval "ac_cv_header_$ac_safe=yes" | 7774 eval "ac_cv_header_$ac_safe=yes" |
7833 else | 7775 else |
7846 with_jpeg=no | 7788 with_jpeg=no |
7847 fi | 7789 fi |
7848 } | 7790 } |
7849 test -z "$with_jpeg" && { | 7791 test -z "$with_jpeg" && { |
7850 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 | 7792 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 |
7851 echo "configure:7852: checking for jpeg_destroy_decompress in -ljpeg" >&5 | 7793 echo "configure:7794: checking for jpeg_destroy_decompress in -ljpeg" >&5 |
7852 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` | 7794 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` |
7853 | 7795 |
7854 xe_check_libs=" -ljpeg " | 7796 xe_check_libs=" -ljpeg " |
7855 cat > conftest.$ac_ext <<EOF | 7797 cat > conftest.$ac_ext <<EOF |
7856 #line 7857 "configure" | 7798 #line 7799 "configure" |
7857 #include "confdefs.h" | 7799 #include "confdefs.h" |
7858 /* Override any gcc2 internal prototype to avoid an error. */ | 7800 /* Override any gcc2 internal prototype to avoid an error. */ |
7859 /* We use char because int might match the return type of a gcc2 | 7801 /* We use char because int might match the return type of a gcc2 |
7860 builtin and then its argument prototype would still apply. */ | 7802 builtin and then its argument prototype would still apply. */ |
7861 char jpeg_destroy_decompress(); | 7803 char jpeg_destroy_decompress(); |
7862 | 7804 |
7863 int main() { | 7805 int main() { |
7864 jpeg_destroy_decompress() | 7806 jpeg_destroy_decompress() |
7865 ; return 0; } | 7807 ; return 0; } |
7866 EOF | 7808 EOF |
7867 if { (eval echo configure:7868: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7809 if { (eval echo configure:7810: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7868 rm -rf conftest* | 7810 rm -rf conftest* |
7869 eval "ac_cv_lib_$ac_lib_var=yes" | 7811 eval "ac_cv_lib_$ac_lib_var=yes" |
7870 else | 7812 else |
7871 echo "configure: failed program was:" >&5 | 7813 echo "configure: failed program was:" >&5 |
7872 cat conftest.$ac_ext >&5 | 7814 cat conftest.$ac_ext >&5 |
7898 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi | 7840 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi |
7899 fi | 7841 fi |
7900 | 7842 |
7901 png_problem="" | 7843 png_problem="" |
7902 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 | 7844 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 |
7903 echo "configure:7904: checking for pow" >&5 | 7845 echo "configure:7846: checking for pow" >&5 |
7904 | 7846 |
7905 cat > conftest.$ac_ext <<EOF | 7847 cat > conftest.$ac_ext <<EOF |
7906 #line 7907 "configure" | 7848 #line 7849 "configure" |
7907 #include "confdefs.h" | 7849 #include "confdefs.h" |
7908 /* System header to define __stub macros and hopefully few prototypes, | 7850 /* System header to define __stub macros and hopefully few prototypes, |
7909 which can conflict with char pow(); below. */ | 7851 which can conflict with char pow(); below. */ |
7910 #include <assert.h> | 7852 #include <assert.h> |
7911 /* Override any gcc2 internal prototype to avoid an error. */ | 7853 /* Override any gcc2 internal prototype to avoid an error. */ |
7924 pow(); | 7866 pow(); |
7925 #endif | 7867 #endif |
7926 | 7868 |
7927 ; return 0; } | 7869 ; return 0; } |
7928 EOF | 7870 EOF |
7929 if { (eval echo configure:7930: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7871 if { (eval echo configure:7872: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7930 rm -rf conftest* | 7872 rm -rf conftest* |
7931 eval "ac_cv_func_pow=yes" | 7873 eval "ac_cv_func_pow=yes" |
7932 else | 7874 else |
7933 echo "configure: failed program was:" >&5 | 7875 echo "configure: failed program was:" >&5 |
7934 cat conftest.$ac_ext >&5 | 7876 cat conftest.$ac_ext >&5 |
7945 with_png=no | 7887 with_png=no |
7946 fi | 7888 fi |
7947 } | 7889 } |
7948 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` | 7890 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` |
7949 echo $ac_n "checking for png.h""... $ac_c" 1>&6 | 7891 echo $ac_n "checking for png.h""... $ac_c" 1>&6 |
7950 echo "configure:7951: checking for png.h" >&5 | 7892 echo "configure:7893: checking for png.h" >&5 |
7951 | 7893 |
7952 cat > conftest.$ac_ext <<EOF | 7894 cat > conftest.$ac_ext <<EOF |
7953 #line 7954 "configure" | 7895 #line 7896 "configure" |
7954 #include "confdefs.h" | 7896 #include "confdefs.h" |
7955 #include <png.h> | 7897 #include <png.h> |
7956 EOF | 7898 EOF |
7957 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7899 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7958 { (eval echo configure:7959: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7900 { (eval echo configure:7901: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7959 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7901 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7960 if test -z "$ac_err"; then | 7902 if test -z "$ac_err"; then |
7961 rm -rf conftest* | 7903 rm -rf conftest* |
7962 eval "ac_cv_header_$ac_safe=yes" | 7904 eval "ac_cv_header_$ac_safe=yes" |
7963 else | 7905 else |
7976 with_png=no | 7918 with_png=no |
7977 fi | 7919 fi |
7978 } | 7920 } |
7979 test -z "$with_png" && { | 7921 test -z "$with_png" && { |
7980 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 | 7922 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 |
7981 echo "configure:7982: checking for png_read_image in -lpng" >&5 | 7923 echo "configure:7924: checking for png_read_image in -lpng" >&5 |
7982 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` | 7924 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` |
7983 | 7925 |
7984 xe_check_libs=" -lpng " | 7926 xe_check_libs=" -lpng " |
7985 cat > conftest.$ac_ext <<EOF | 7927 cat > conftest.$ac_ext <<EOF |
7986 #line 7987 "configure" | 7928 #line 7929 "configure" |
7987 #include "confdefs.h" | 7929 #include "confdefs.h" |
7988 /* Override any gcc2 internal prototype to avoid an error. */ | 7930 /* Override any gcc2 internal prototype to avoid an error. */ |
7989 /* We use char because int might match the return type of a gcc2 | 7931 /* We use char because int might match the return type of a gcc2 |
7990 builtin and then its argument prototype would still apply. */ | 7932 builtin and then its argument prototype would still apply. */ |
7991 char png_read_image(); | 7933 char png_read_image(); |
7992 | 7934 |
7993 int main() { | 7935 int main() { |
7994 png_read_image() | 7936 png_read_image() |
7995 ; return 0; } | 7937 ; return 0; } |
7996 EOF | 7938 EOF |
7997 if { (eval echo configure:7998: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7939 if { (eval echo configure:7940: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7998 rm -rf conftest* | 7940 rm -rf conftest* |
7999 eval "ac_cv_lib_$ac_lib_var=yes" | 7941 eval "ac_cv_lib_$ac_lib_var=yes" |
8000 else | 7942 else |
8001 echo "configure: failed program was:" >&5 | 7943 echo "configure: failed program was:" >&5 |
8002 cat conftest.$ac_ext >&5 | 7944 cat conftest.$ac_ext >&5 |
8015 fi | 7957 fi |
8016 | 7958 |
8017 } | 7959 } |
8018 if test -z "$with_png"; then | 7960 if test -z "$with_png"; then |
8019 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 | 7961 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 |
8020 echo "configure:8021: checking for workable png version information" >&5 | 7962 echo "configure:7963: checking for workable png version information" >&5 |
8021 xe_check_libs="-lpng -lz" | 7963 xe_check_libs="-lpng -lz" |
8022 cat > conftest.$ac_ext <<EOF | 7964 cat > conftest.$ac_ext <<EOF |
8023 #line 8024 "configure" | 7965 #line 7966 "configure" |
8024 #include "confdefs.h" | 7966 #include "confdefs.h" |
8025 #include <png.h> | 7967 #include <png.h> |
8026 int main(int c, char **v) { | 7968 int main(int c, char **v) { |
8027 if (c == 1) return 0; | 7969 if (c == 1) return 0; |
8028 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; | 7970 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; |
8029 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} | 7971 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} |
8030 EOF | 7972 EOF |
8031 if { (eval echo configure:8032: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 7973 if { (eval echo configure:7974: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
8032 then | 7974 then |
8033 ./conftest dummy_arg; png_status=$?; | 7975 ./conftest dummy_arg; png_status=$?; |
8034 if test "$png_status" = "0"; then | 7976 if test "$png_status" = "0"; then |
8035 with_png=yes; | 7977 with_png=yes; |
8036 else | 7978 else |
8069 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi | 8011 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi |
8070 fi | 8012 fi |
8071 | 8013 |
8072 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` | 8014 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` |
8073 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 | 8015 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 |
8074 echo "configure:8075: checking for tiffio.h" >&5 | 8016 echo "configure:8017: checking for tiffio.h" >&5 |
8075 | 8017 |
8076 cat > conftest.$ac_ext <<EOF | 8018 cat > conftest.$ac_ext <<EOF |
8077 #line 8078 "configure" | 8019 #line 8020 "configure" |
8078 #include "confdefs.h" | 8020 #include "confdefs.h" |
8079 #include <tiffio.h> | 8021 #include <tiffio.h> |
8080 EOF | 8022 EOF |
8081 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8023 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8082 { (eval echo configure:8083: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8024 { (eval echo configure:8025: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8083 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8025 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8084 if test -z "$ac_err"; then | 8026 if test -z "$ac_err"; then |
8085 rm -rf conftest* | 8027 rm -rf conftest* |
8086 eval "ac_cv_header_$ac_safe=yes" | 8028 eval "ac_cv_header_$ac_safe=yes" |
8087 else | 8029 else |
8100 with_tiff=no | 8042 with_tiff=no |
8101 fi | 8043 fi |
8102 } | 8044 } |
8103 test -z "$with_tiff" && { | 8045 test -z "$with_tiff" && { |
8104 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 | 8046 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 |
8105 echo "configure:8106: checking for TIFFClientOpen in -ltiff" >&5 | 8047 echo "configure:8048: checking for TIFFClientOpen in -ltiff" >&5 |
8106 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` | 8048 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` |
8107 | 8049 |
8108 xe_check_libs=" -ltiff " | 8050 xe_check_libs=" -ltiff " |
8109 cat > conftest.$ac_ext <<EOF | 8051 cat > conftest.$ac_ext <<EOF |
8110 #line 8111 "configure" | 8052 #line 8053 "configure" |
8111 #include "confdefs.h" | 8053 #include "confdefs.h" |
8112 /* Override any gcc2 internal prototype to avoid an error. */ | 8054 /* Override any gcc2 internal prototype to avoid an error. */ |
8113 /* We use char because int might match the return type of a gcc2 | 8055 /* We use char because int might match the return type of a gcc2 |
8114 builtin and then its argument prototype would still apply. */ | 8056 builtin and then its argument prototype would still apply. */ |
8115 char TIFFClientOpen(); | 8057 char TIFFClientOpen(); |
8116 | 8058 |
8117 int main() { | 8059 int main() { |
8118 TIFFClientOpen() | 8060 TIFFClientOpen() |
8119 ; return 0; } | 8061 ; return 0; } |
8120 EOF | 8062 EOF |
8121 if { (eval echo configure:8122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8063 if { (eval echo configure:8064: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8122 rm -rf conftest* | 8064 rm -rf conftest* |
8123 eval "ac_cv_lib_$ac_lib_var=yes" | 8065 eval "ac_cv_lib_$ac_lib_var=yes" |
8124 else | 8066 else |
8125 echo "configure: failed program was:" >&5 | 8067 echo "configure: failed program was:" >&5 |
8126 cat conftest.$ac_ext >&5 | 8068 cat conftest.$ac_ext >&5 |
8155 | 8097 |
8156 | 8098 |
8157 if test "$with_x11" = "yes"; then | 8099 if test "$with_x11" = "yes"; then |
8158 | 8100 |
8159 echo "checking for X11 graphics libraries" 1>&6 | 8101 echo "checking for X11 graphics libraries" 1>&6 |
8160 echo "configure:8161: checking for X11 graphics libraries" >&5 | 8102 echo "configure:8103: checking for X11 graphics libraries" >&5 |
8161 | 8103 |
8162 echo "checking for the Athena widgets" 1>&6 | 8104 echo "checking for the Athena widgets" 1>&6 |
8163 echo "configure:8164: checking for the Athena widgets" >&5 | 8105 echo "configure:8106: checking for the Athena widgets" >&5 |
8164 | 8106 |
8165 case "$with_athena" in | 8107 case "$with_athena" in |
8166 "xaw" | "") athena_variant=Xaw athena_3d=no ;; | 8108 "xaw" | "") athena_variant=Xaw athena_3d=no ;; |
8167 "3d") athena_variant=Xaw3d athena_3d=yes ;; | 8109 "3d") athena_variant=Xaw3d athena_3d=yes ;; |
8168 "next") athena_variant=neXtaw athena_3d=yes ;; | 8110 "next") athena_variant=neXtaw athena_3d=yes ;; |
8172 esac | 8114 esac |
8173 | 8115 |
8174 if test "$athena_3d" = "no"; then | 8116 if test "$athena_3d" = "no"; then |
8175 | 8117 |
8176 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 | 8118 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 |
8177 echo "configure:8178: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 | 8119 echo "configure:8120: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 |
8178 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 8120 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
8179 | 8121 |
8180 xe_check_libs=" -l$athena_variant " | 8122 xe_check_libs=" -l$athena_variant " |
8181 cat > conftest.$ac_ext <<EOF | 8123 cat > conftest.$ac_ext <<EOF |
8182 #line 8183 "configure" | 8124 #line 8125 "configure" |
8183 #include "confdefs.h" | 8125 #include "confdefs.h" |
8184 /* Override any gcc2 internal prototype to avoid an error. */ | 8126 /* Override any gcc2 internal prototype to avoid an error. */ |
8185 /* We use char because int might match the return type of a gcc2 | 8127 /* We use char because int might match the return type of a gcc2 |
8186 builtin and then its argument prototype would still apply. */ | 8128 builtin and then its argument prototype would still apply. */ |
8187 char XawScrollbarSetThumb(); | 8129 char XawScrollbarSetThumb(); |
8188 | 8130 |
8189 int main() { | 8131 int main() { |
8190 XawScrollbarSetThumb() | 8132 XawScrollbarSetThumb() |
8191 ; return 0; } | 8133 ; return 0; } |
8192 EOF | 8134 EOF |
8193 if { (eval echo configure:8194: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8135 if { (eval echo configure:8136: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8194 rm -rf conftest* | 8136 rm -rf conftest* |
8195 eval "ac_cv_lib_$ac_lib_var=yes" | 8137 eval "ac_cv_lib_$ac_lib_var=yes" |
8196 else | 8138 else |
8197 echo "configure: failed program was:" >&5 | 8139 echo "configure: failed program was:" >&5 |
8198 cat conftest.$ac_ext >&5 | 8140 cat conftest.$ac_ext >&5 |
8204 | 8146 |
8205 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | 8147 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then |
8206 echo "$ac_t""yes" 1>&6 | 8148 echo "$ac_t""yes" 1>&6 |
8207 | 8149 |
8208 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 | 8150 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 |
8209 echo "configure:8210: checking for threeDClassRec in -l$athena_variant" >&5 | 8151 echo "configure:8152: checking for threeDClassRec in -l$athena_variant" >&5 |
8210 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` | 8152 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` |
8211 | 8153 |
8212 xe_check_libs=" -l$athena_variant " | 8154 xe_check_libs=" -l$athena_variant " |
8213 cat > conftest.$ac_ext <<EOF | 8155 cat > conftest.$ac_ext <<EOF |
8214 #line 8215 "configure" | 8156 #line 8157 "configure" |
8215 #include "confdefs.h" | 8157 #include "confdefs.h" |
8216 /* Override any gcc2 internal prototype to avoid an error. */ | 8158 /* Override any gcc2 internal prototype to avoid an error. */ |
8217 /* We use char because int might match the return type of a gcc2 | 8159 /* We use char because int might match the return type of a gcc2 |
8218 builtin and then its argument prototype would still apply. */ | 8160 builtin and then its argument prototype would still apply. */ |
8219 char threeDClassRec(); | 8161 char threeDClassRec(); |
8220 | 8162 |
8221 int main() { | 8163 int main() { |
8222 threeDClassRec() | 8164 threeDClassRec() |
8223 ; return 0; } | 8165 ; return 0; } |
8224 EOF | 8166 EOF |
8225 if { (eval echo configure:8226: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8167 if { (eval echo configure:8168: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8226 rm -rf conftest* | 8168 rm -rf conftest* |
8227 eval "ac_cv_lib_$ac_lib_var=yes" | 8169 eval "ac_cv_lib_$ac_lib_var=yes" |
8228 else | 8170 else |
8229 echo "configure: failed program was:" >&5 | 8171 echo "configure: failed program was:" >&5 |
8230 cat conftest.$ac_ext >&5 | 8172 cat conftest.$ac_ext >&5 |
8251 | 8193 |
8252 | 8194 |
8253 else | 8195 else |
8254 | 8196 |
8255 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 | 8197 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 |
8256 echo "configure:8257: checking for threeDClassRec in -l$athena_variant" >&5 | 8198 echo "configure:8199: checking for threeDClassRec in -l$athena_variant" >&5 |
8257 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` | 8199 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` |
8258 | 8200 |
8259 xe_check_libs=" -l$athena_variant " | 8201 xe_check_libs=" -l$athena_variant " |
8260 cat > conftest.$ac_ext <<EOF | 8202 cat > conftest.$ac_ext <<EOF |
8261 #line 8262 "configure" | 8203 #line 8204 "configure" |
8262 #include "confdefs.h" | 8204 #include "confdefs.h" |
8263 /* Override any gcc2 internal prototype to avoid an error. */ | 8205 /* Override any gcc2 internal prototype to avoid an error. */ |
8264 /* We use char because int might match the return type of a gcc2 | 8206 /* We use char because int might match the return type of a gcc2 |
8265 builtin and then its argument prototype would still apply. */ | 8207 builtin and then its argument prototype would still apply. */ |
8266 char threeDClassRec(); | 8208 char threeDClassRec(); |
8267 | 8209 |
8268 int main() { | 8210 int main() { |
8269 threeDClassRec() | 8211 threeDClassRec() |
8270 ; return 0; } | 8212 ; return 0; } |
8271 EOF | 8213 EOF |
8272 if { (eval echo configure:8273: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8214 if { (eval echo configure:8215: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8273 rm -rf conftest* | 8215 rm -rf conftest* |
8274 eval "ac_cv_lib_$ac_lib_var=yes" | 8216 eval "ac_cv_lib_$ac_lib_var=yes" |
8275 else | 8217 else |
8276 echo "configure: failed program was:" >&5 | 8218 echo "configure: failed program was:" >&5 |
8277 cat conftest.$ac_ext >&5 | 8219 cat conftest.$ac_ext >&5 |
8285 echo "$ac_t""yes" 1>&6 | 8227 echo "$ac_t""yes" 1>&6 |
8286 athena_lib=$athena_variant | 8228 athena_lib=$athena_variant |
8287 else | 8229 else |
8288 echo "$ac_t""no" 1>&6 | 8230 echo "$ac_t""no" 1>&6 |
8289 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 | 8231 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 |
8290 echo "configure:8291: checking for threeDClassRec in -lXaw" >&5 | 8232 echo "configure:8233: checking for threeDClassRec in -lXaw" >&5 |
8291 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` | 8233 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` |
8292 | 8234 |
8293 xe_check_libs=" -lXaw " | 8235 xe_check_libs=" -lXaw " |
8294 cat > conftest.$ac_ext <<EOF | 8236 cat > conftest.$ac_ext <<EOF |
8295 #line 8296 "configure" | 8237 #line 8238 "configure" |
8296 #include "confdefs.h" | 8238 #include "confdefs.h" |
8297 /* Override any gcc2 internal prototype to avoid an error. */ | 8239 /* Override any gcc2 internal prototype to avoid an error. */ |
8298 /* We use char because int might match the return type of a gcc2 | 8240 /* We use char because int might match the return type of a gcc2 |
8299 builtin and then its argument prototype would still apply. */ | 8241 builtin and then its argument prototype would still apply. */ |
8300 char threeDClassRec(); | 8242 char threeDClassRec(); |
8301 | 8243 |
8302 int main() { | 8244 int main() { |
8303 threeDClassRec() | 8245 threeDClassRec() |
8304 ; return 0; } | 8246 ; return 0; } |
8305 EOF | 8247 EOF |
8306 if { (eval echo configure:8307: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8248 if { (eval echo configure:8249: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8307 rm -rf conftest* | 8249 rm -rf conftest* |
8308 eval "ac_cv_lib_$ac_lib_var=yes" | 8250 eval "ac_cv_lib_$ac_lib_var=yes" |
8309 else | 8251 else |
8310 echo "configure: failed program was:" >&5 | 8252 echo "configure: failed program was:" >&5 |
8311 cat conftest.$ac_ext >&5 | 8253 cat conftest.$ac_ext >&5 |
8332 fi | 8274 fi |
8333 | 8275 |
8334 if test "$athena_3d" = "no"; then | 8276 if test "$athena_3d" = "no"; then |
8335 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | 8277 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` |
8336 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | 8278 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 |
8337 echo "configure:8338: checking for X11/Xaw/ThreeD.h" >&5 | 8279 echo "configure:8280: checking for X11/Xaw/ThreeD.h" >&5 |
8338 | 8280 |
8339 cat > conftest.$ac_ext <<EOF | 8281 cat > conftest.$ac_ext <<EOF |
8340 #line 8341 "configure" | 8282 #line 8283 "configure" |
8341 #include "confdefs.h" | 8283 #include "confdefs.h" |
8342 #include <X11/Xaw/ThreeD.h> | 8284 #include <X11/Xaw/ThreeD.h> |
8343 EOF | 8285 EOF |
8344 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8286 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8345 { (eval echo configure:8346: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8287 { (eval echo configure:8288: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8346 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8288 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8347 if test -z "$ac_err"; then | 8289 if test -z "$ac_err"; then |
8348 rm -rf conftest* | 8290 rm -rf conftest* |
8349 eval "ac_cv_header_$ac_safe=yes" | 8291 eval "ac_cv_header_$ac_safe=yes" |
8350 else | 8292 else |
8360 echo "configure: warning: "Could not find a non-3d Athena header set."" 1>&2 | 8302 echo "configure: warning: "Could not find a non-3d Athena header set."" 1>&2 |
8361 else | 8303 else |
8362 echo "$ac_t""no" 1>&6 | 8304 echo "$ac_t""no" 1>&6 |
8363 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` | 8305 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` |
8364 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 | 8306 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 |
8365 echo "configure:8366: checking for X11/Xaw/XawInit.h" >&5 | 8307 echo "configure:8308: checking for X11/Xaw/XawInit.h" >&5 |
8366 | 8308 |
8367 cat > conftest.$ac_ext <<EOF | 8309 cat > conftest.$ac_ext <<EOF |
8368 #line 8369 "configure" | 8310 #line 8311 "configure" |
8369 #include "confdefs.h" | 8311 #include "confdefs.h" |
8370 #include <X11/Xaw/XawInit.h> | 8312 #include <X11/Xaw/XawInit.h> |
8371 EOF | 8313 EOF |
8372 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8314 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8373 { (eval echo configure:8374: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8315 { (eval echo configure:8316: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8374 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8316 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8375 if test -z "$ac_err"; then | 8317 if test -z "$ac_err"; then |
8376 rm -rf conftest* | 8318 rm -rf conftest* |
8377 eval "ac_cv_header_$ac_safe=yes" | 8319 eval "ac_cv_header_$ac_safe=yes" |
8378 else | 8320 else |
8394 fi | 8336 fi |
8395 | 8337 |
8396 else | 8338 else |
8397 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` | 8339 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` |
8398 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 | 8340 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 |
8399 echo "configure:8400: checking for X11/$athena_variant/XawInit.h" >&5 | 8341 echo "configure:8342: checking for X11/$athena_variant/XawInit.h" >&5 |
8400 | 8342 |
8401 cat > conftest.$ac_ext <<EOF | 8343 cat > conftest.$ac_ext <<EOF |
8402 #line 8403 "configure" | 8344 #line 8345 "configure" |
8403 #include "confdefs.h" | 8345 #include "confdefs.h" |
8404 #include <X11/$athena_variant/XawInit.h> | 8346 #include <X11/$athena_variant/XawInit.h> |
8405 EOF | 8347 EOF |
8406 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8348 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8407 { (eval echo configure:8408: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8349 { (eval echo configure:8350: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8408 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8350 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8409 if test -z "$ac_err"; then | 8351 if test -z "$ac_err"; then |
8410 rm -rf conftest* | 8352 rm -rf conftest* |
8411 eval "ac_cv_header_$ac_safe=yes" | 8353 eval "ac_cv_header_$ac_safe=yes" |
8412 else | 8354 else |
8419 rm -f conftest* | 8361 rm -f conftest* |
8420 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 8362 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
8421 echo "$ac_t""yes" 1>&6 | 8363 echo "$ac_t""yes" 1>&6 |
8422 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` | 8364 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` |
8423 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 | 8365 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 |
8424 echo "configure:8425: checking for X11/$athena_variant/ThreeD.h" >&5 | 8366 echo "configure:8367: checking for X11/$athena_variant/ThreeD.h" >&5 |
8425 | 8367 |
8426 cat > conftest.$ac_ext <<EOF | 8368 cat > conftest.$ac_ext <<EOF |
8427 #line 8428 "configure" | 8369 #line 8370 "configure" |
8428 #include "confdefs.h" | 8370 #include "confdefs.h" |
8429 #include <X11/$athena_variant/ThreeD.h> | 8371 #include <X11/$athena_variant/ThreeD.h> |
8430 EOF | 8372 EOF |
8431 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8373 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8432 { (eval echo configure:8433: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8374 { (eval echo configure:8375: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8433 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8375 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8434 if test -z "$ac_err"; then | 8376 if test -z "$ac_err"; then |
8435 rm -rf conftest* | 8377 rm -rf conftest* |
8436 eval "ac_cv_header_$ac_safe=yes" | 8378 eval "ac_cv_header_$ac_safe=yes" |
8437 else | 8379 else |
8455 | 8397 |
8456 | 8398 |
8457 if test -z "$athena_h_path"; then | 8399 if test -z "$athena_h_path"; then |
8458 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` | 8400 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` |
8459 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 | 8401 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 |
8460 echo "configure:8461: checking for $athena_variant/XawInit.h" >&5 | 8402 echo "configure:8403: checking for $athena_variant/XawInit.h" >&5 |
8461 | 8403 |
8462 cat > conftest.$ac_ext <<EOF | 8404 cat > conftest.$ac_ext <<EOF |
8463 #line 8464 "configure" | 8405 #line 8406 "configure" |
8464 #include "confdefs.h" | 8406 #include "confdefs.h" |
8465 #include <$athena_variant/XawInit.h> | 8407 #include <$athena_variant/XawInit.h> |
8466 EOF | 8408 EOF |
8467 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8409 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8468 { (eval echo configure:8469: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8410 { (eval echo configure:8411: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8469 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8411 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8470 if test -z "$ac_err"; then | 8412 if test -z "$ac_err"; then |
8471 rm -rf conftest* | 8413 rm -rf conftest* |
8472 eval "ac_cv_header_$ac_safe=yes" | 8414 eval "ac_cv_header_$ac_safe=yes" |
8473 else | 8415 else |
8480 rm -f conftest* | 8422 rm -f conftest* |
8481 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 8423 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
8482 echo "$ac_t""yes" 1>&6 | 8424 echo "$ac_t""yes" 1>&6 |
8483 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` | 8425 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` |
8484 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 | 8426 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 |
8485 echo "configure:8486: checking for $athena_variant/ThreeD.h" >&5 | 8427 echo "configure:8428: checking for $athena_variant/ThreeD.h" >&5 |
8486 | 8428 |
8487 cat > conftest.$ac_ext <<EOF | 8429 cat > conftest.$ac_ext <<EOF |
8488 #line 8489 "configure" | 8430 #line 8431 "configure" |
8489 #include "confdefs.h" | 8431 #include "confdefs.h" |
8490 #include <$athena_variant/ThreeD.h> | 8432 #include <$athena_variant/ThreeD.h> |
8491 EOF | 8433 EOF |
8492 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8434 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8493 { (eval echo configure:8494: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8435 { (eval echo configure:8436: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8494 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8436 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8495 if test -z "$ac_err"; then | 8437 if test -z "$ac_err"; then |
8496 rm -rf conftest* | 8438 rm -rf conftest* |
8497 eval "ac_cv_header_$ac_safe=yes" | 8439 eval "ac_cv_header_$ac_safe=yes" |
8498 else | 8440 else |
8517 fi | 8459 fi |
8518 | 8460 |
8519 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then | 8461 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then |
8520 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` | 8462 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` |
8521 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 | 8463 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 |
8522 echo "configure:8523: checking for X11/Xaw3d/XawInit.h" >&5 | 8464 echo "configure:8465: checking for X11/Xaw3d/XawInit.h" >&5 |
8523 | 8465 |
8524 cat > conftest.$ac_ext <<EOF | 8466 cat > conftest.$ac_ext <<EOF |
8525 #line 8526 "configure" | 8467 #line 8468 "configure" |
8526 #include "confdefs.h" | 8468 #include "confdefs.h" |
8527 #include <X11/Xaw3d/XawInit.h> | 8469 #include <X11/Xaw3d/XawInit.h> |
8528 EOF | 8470 EOF |
8529 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8471 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8530 { (eval echo configure:8531: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8472 { (eval echo configure:8473: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8531 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8473 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8532 if test -z "$ac_err"; then | 8474 if test -z "$ac_err"; then |
8533 rm -rf conftest* | 8475 rm -rf conftest* |
8534 eval "ac_cv_header_$ac_safe=yes" | 8476 eval "ac_cv_header_$ac_safe=yes" |
8535 else | 8477 else |
8542 rm -f conftest* | 8484 rm -f conftest* |
8543 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 8485 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
8544 echo "$ac_t""yes" 1>&6 | 8486 echo "$ac_t""yes" 1>&6 |
8545 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` | 8487 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` |
8546 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 | 8488 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 |
8547 echo "configure:8548: checking for X11/Xaw3d/ThreeD.h" >&5 | 8489 echo "configure:8490: checking for X11/Xaw3d/ThreeD.h" >&5 |
8548 | 8490 |
8549 cat > conftest.$ac_ext <<EOF | 8491 cat > conftest.$ac_ext <<EOF |
8550 #line 8551 "configure" | 8492 #line 8493 "configure" |
8551 #include "confdefs.h" | 8493 #include "confdefs.h" |
8552 #include <X11/Xaw3d/ThreeD.h> | 8494 #include <X11/Xaw3d/ThreeD.h> |
8553 EOF | 8495 EOF |
8554 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8496 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8555 { (eval echo configure:8556: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8497 { (eval echo configure:8498: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8556 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8498 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8557 if test -z "$ac_err"; then | 8499 if test -z "$ac_err"; then |
8558 rm -rf conftest* | 8500 rm -rf conftest* |
8559 eval "ac_cv_header_$ac_safe=yes" | 8501 eval "ac_cv_header_$ac_safe=yes" |
8560 else | 8502 else |
8582 fi | 8524 fi |
8583 | 8525 |
8584 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then | 8526 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then |
8585 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` | 8527 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` |
8586 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 | 8528 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 |
8587 echo "configure:8588: checking for Xaw3d/XawInit.h" >&5 | 8529 echo "configure:8530: checking for Xaw3d/XawInit.h" >&5 |
8588 | 8530 |
8589 cat > conftest.$ac_ext <<EOF | 8531 cat > conftest.$ac_ext <<EOF |
8590 #line 8591 "configure" | 8532 #line 8533 "configure" |
8591 #include "confdefs.h" | 8533 #include "confdefs.h" |
8592 #include <Xaw3d/XawInit.h> | 8534 #include <Xaw3d/XawInit.h> |
8593 EOF | 8535 EOF |
8594 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8536 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8595 { (eval echo configure:8596: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8537 { (eval echo configure:8538: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8596 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8538 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8597 if test -z "$ac_err"; then | 8539 if test -z "$ac_err"; then |
8598 rm -rf conftest* | 8540 rm -rf conftest* |
8599 eval "ac_cv_header_$ac_safe=yes" | 8541 eval "ac_cv_header_$ac_safe=yes" |
8600 else | 8542 else |
8607 rm -f conftest* | 8549 rm -f conftest* |
8608 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 8550 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
8609 echo "$ac_t""yes" 1>&6 | 8551 echo "$ac_t""yes" 1>&6 |
8610 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` | 8552 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` |
8611 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 | 8553 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 |
8612 echo "configure:8613: checking for Xaw3d/ThreeD.h" >&5 | 8554 echo "configure:8555: checking for Xaw3d/ThreeD.h" >&5 |
8613 | 8555 |
8614 cat > conftest.$ac_ext <<EOF | 8556 cat > conftest.$ac_ext <<EOF |
8615 #line 8616 "configure" | 8557 #line 8558 "configure" |
8616 #include "confdefs.h" | 8558 #include "confdefs.h" |
8617 #include <Xaw3d/ThreeD.h> | 8559 #include <Xaw3d/ThreeD.h> |
8618 EOF | 8560 EOF |
8619 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8561 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8620 { (eval echo configure:8621: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8562 { (eval echo configure:8563: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8621 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8563 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8622 if test -z "$ac_err"; then | 8564 if test -z "$ac_err"; then |
8623 rm -rf conftest* | 8565 rm -rf conftest* |
8624 eval "ac_cv_header_$ac_safe=yes" | 8566 eval "ac_cv_header_$ac_safe=yes" |
8625 else | 8567 else |
8647 fi | 8589 fi |
8648 | 8590 |
8649 if test -z "$athena_h_path"; then | 8591 if test -z "$athena_h_path"; then |
8650 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | 8592 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` |
8651 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | 8593 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 |
8652 echo "configure:8653: checking for X11/Xaw/ThreeD.h" >&5 | 8594 echo "configure:8595: checking for X11/Xaw/ThreeD.h" >&5 |
8653 | 8595 |
8654 cat > conftest.$ac_ext <<EOF | 8596 cat > conftest.$ac_ext <<EOF |
8655 #line 8656 "configure" | 8597 #line 8598 "configure" |
8656 #include "confdefs.h" | 8598 #include "confdefs.h" |
8657 #include <X11/Xaw/ThreeD.h> | 8599 #include <X11/Xaw/ThreeD.h> |
8658 EOF | 8600 EOF |
8659 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8601 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8660 { (eval echo configure:8661: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8602 { (eval echo configure:8603: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8661 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8603 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8662 if test -z "$ac_err"; then | 8604 if test -z "$ac_err"; then |
8663 rm -rf conftest* | 8605 rm -rf conftest* |
8664 eval "ac_cv_header_$ac_safe=yes" | 8606 eval "ac_cv_header_$ac_safe=yes" |
8665 else | 8607 else |
8690 have_xaw=no | 8632 have_xaw=no |
8691 fi | 8633 fi |
8692 | 8634 |
8693 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 8635 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
8694 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 8636 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
8695 echo "configure:8696: checking for Xm/Xm.h" >&5 | 8637 echo "configure:8638: checking for Xm/Xm.h" >&5 |
8696 | 8638 |
8697 cat > conftest.$ac_ext <<EOF | 8639 cat > conftest.$ac_ext <<EOF |
8698 #line 8699 "configure" | 8640 #line 8641 "configure" |
8699 #include "confdefs.h" | 8641 #include "confdefs.h" |
8700 #include <Xm/Xm.h> | 8642 #include <Xm/Xm.h> |
8701 EOF | 8643 EOF |
8702 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8644 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8703 { (eval echo configure:8704: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8645 { (eval echo configure:8646: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8704 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8646 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8705 if test -z "$ac_err"; then | 8647 if test -z "$ac_err"; then |
8706 rm -rf conftest* | 8648 rm -rf conftest* |
8707 eval "ac_cv_header_$ac_safe=yes" | 8649 eval "ac_cv_header_$ac_safe=yes" |
8708 else | 8650 else |
8715 rm -f conftest* | 8657 rm -f conftest* |
8716 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 8658 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
8717 echo "$ac_t""yes" 1>&6 | 8659 echo "$ac_t""yes" 1>&6 |
8718 | 8660 |
8719 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 8661 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
8720 echo "configure:8721: checking for XmStringFree in -lXm" >&5 | 8662 echo "configure:8663: checking for XmStringFree in -lXm" >&5 |
8721 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 8663 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
8722 | 8664 |
8723 xe_check_libs=" -lXm " | 8665 xe_check_libs=" -lXm " |
8724 cat > conftest.$ac_ext <<EOF | 8666 cat > conftest.$ac_ext <<EOF |
8725 #line 8726 "configure" | 8667 #line 8668 "configure" |
8726 #include "confdefs.h" | 8668 #include "confdefs.h" |
8727 /* Override any gcc2 internal prototype to avoid an error. */ | 8669 /* Override any gcc2 internal prototype to avoid an error. */ |
8728 /* We use char because int might match the return type of a gcc2 | 8670 /* We use char because int might match the return type of a gcc2 |
8729 builtin and then its argument prototype would still apply. */ | 8671 builtin and then its argument prototype would still apply. */ |
8730 char XmStringFree(); | 8672 char XmStringFree(); |
8731 | 8673 |
8732 int main() { | 8674 int main() { |
8733 XmStringFree() | 8675 XmStringFree() |
8734 ; return 0; } | 8676 ; return 0; } |
8735 EOF | 8677 EOF |
8736 if { (eval echo configure:8737: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8678 if { (eval echo configure:8679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8737 rm -rf conftest* | 8679 rm -rf conftest* |
8738 eval "ac_cv_lib_$ac_lib_var=yes" | 8680 eval "ac_cv_lib_$ac_lib_var=yes" |
8739 else | 8681 else |
8740 echo "configure: failed program was:" >&5 | 8682 echo "configure: failed program was:" >&5 |
8741 cat conftest.$ac_ext >&5 | 8683 cat conftest.$ac_ext >&5 |
8760 fi | 8702 fi |
8761 | 8703 |
8762 | 8704 |
8763 if test "$have_motif" = "yes"; then | 8705 if test "$have_motif" = "yes"; then |
8764 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 | 8706 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 |
8765 echo "configure:8766: checking for Lesstif" >&5 | 8707 echo "configure:8708: checking for Lesstif" >&5 |
8766 cat > conftest.$ac_ext <<EOF | 8708 cat > conftest.$ac_ext <<EOF |
8767 #line 8768 "configure" | 8709 #line 8710 "configure" |
8768 #include "confdefs.h" | 8710 #include "confdefs.h" |
8769 #include <Xm/Xm.h> | 8711 #include <Xm/Xm.h> |
8770 #ifdef LESSTIF_VERSION | 8712 #ifdef LESSTIF_VERSION |
8771 yes | 8713 yes |
8772 #endif | 8714 #endif |
9095 fi | 9037 fi |
9096 fi | 9038 fi |
9097 | 9039 |
9098 if test "$with_mule" = "yes" ; then | 9040 if test "$with_mule" = "yes" ; then |
9099 echo "checking for Mule-related features" 1>&6 | 9041 echo "checking for Mule-related features" 1>&6 |
9100 echo "configure:9101: checking for Mule-related features" >&5 | 9042 echo "configure:9043: checking for Mule-related features" >&5 |
9101 { test "$extra_verbose" = "yes" && cat << \EOF | 9043 { test "$extra_verbose" = "yes" && cat << \EOF |
9102 Defining MULE | 9044 Defining MULE |
9103 EOF | 9045 EOF |
9104 cat >> confdefs.h <<\EOF | 9046 cat >> confdefs.h <<\EOF |
9105 #define MULE 1 | 9047 #define MULE 1 |
9120 | 9062 |
9121 for ac_hdr in libintl.h | 9063 for ac_hdr in libintl.h |
9122 do | 9064 do |
9123 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 9065 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
9124 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 9066 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
9125 echo "configure:9126: checking for $ac_hdr" >&5 | 9067 echo "configure:9068: checking for $ac_hdr" >&5 |
9126 | 9068 |
9127 cat > conftest.$ac_ext <<EOF | 9069 cat > conftest.$ac_ext <<EOF |
9128 #line 9129 "configure" | 9070 #line 9071 "configure" |
9129 #include "confdefs.h" | 9071 #include "confdefs.h" |
9130 #include <$ac_hdr> | 9072 #include <$ac_hdr> |
9131 EOF | 9073 EOF |
9132 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9074 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9133 { (eval echo configure:9134: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9075 { (eval echo configure:9076: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9134 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9076 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9135 if test -z "$ac_err"; then | 9077 if test -z "$ac_err"; then |
9136 rm -rf conftest* | 9078 rm -rf conftest* |
9137 eval "ac_cv_header_$ac_safe=yes" | 9079 eval "ac_cv_header_$ac_safe=yes" |
9138 else | 9080 else |
9159 fi | 9101 fi |
9160 done | 9102 done |
9161 | 9103 |
9162 | 9104 |
9163 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 | 9105 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 |
9164 echo "configure:9165: checking for strerror in -lintl" >&5 | 9106 echo "configure:9107: checking for strerror in -lintl" >&5 |
9165 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` | 9107 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` |
9166 | 9108 |
9167 xe_check_libs=" -lintl " | 9109 xe_check_libs=" -lintl " |
9168 cat > conftest.$ac_ext <<EOF | 9110 cat > conftest.$ac_ext <<EOF |
9169 #line 9170 "configure" | 9111 #line 9112 "configure" |
9170 #include "confdefs.h" | 9112 #include "confdefs.h" |
9171 /* Override any gcc2 internal prototype to avoid an error. */ | 9113 /* Override any gcc2 internal prototype to avoid an error. */ |
9172 /* We use char because int might match the return type of a gcc2 | 9114 /* We use char because int might match the return type of a gcc2 |
9173 builtin and then its argument prototype would still apply. */ | 9115 builtin and then its argument prototype would still apply. */ |
9174 char strerror(); | 9116 char strerror(); |
9175 | 9117 |
9176 int main() { | 9118 int main() { |
9177 strerror() | 9119 strerror() |
9178 ; return 0; } | 9120 ; return 0; } |
9179 EOF | 9121 EOF |
9180 if { (eval echo configure:9181: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9122 if { (eval echo configure:9123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9181 rm -rf conftest* | 9123 rm -rf conftest* |
9182 eval "ac_cv_lib_$ac_lib_var=yes" | 9124 eval "ac_cv_lib_$ac_lib_var=yes" |
9183 else | 9125 else |
9184 echo "configure: failed program was:" >&5 | 9126 echo "configure: failed program was:" >&5 |
9185 cat conftest.$ac_ext >&5 | 9127 cat conftest.$ac_ext >&5 |
9208 fi | 9150 fi |
9209 | 9151 |
9210 | 9152 |
9211 | 9153 |
9212 echo "checking for Mule input methods" 1>&6 | 9154 echo "checking for Mule input methods" 1>&6 |
9213 echo "configure:9214: checking for Mule input methods" >&5 | 9155 echo "configure:9156: checking for Mule input methods" >&5 |
9214 case "$with_xim" in "" | "yes" ) | 9156 case "$with_xim" in "" | "yes" ) |
9215 echo "checking for XIM" 1>&6 | 9157 echo "checking for XIM" 1>&6 |
9216 echo "configure:9217: checking for XIM" >&5 | 9158 echo "configure:9159: checking for XIM" >&5 |
9217 | 9159 |
9218 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 | 9160 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 |
9219 echo "configure:9220: checking for XOpenIM in -lX11" >&5 | 9161 echo "configure:9162: checking for XOpenIM in -lX11" >&5 |
9220 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` | 9162 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` |
9221 | 9163 |
9222 xe_check_libs=" -lX11 " | 9164 xe_check_libs=" -lX11 " |
9223 cat > conftest.$ac_ext <<EOF | 9165 cat > conftest.$ac_ext <<EOF |
9224 #line 9225 "configure" | 9166 #line 9167 "configure" |
9225 #include "confdefs.h" | 9167 #include "confdefs.h" |
9226 /* Override any gcc2 internal prototype to avoid an error. */ | 9168 /* Override any gcc2 internal prototype to avoid an error. */ |
9227 /* We use char because int might match the return type of a gcc2 | 9169 /* We use char because int might match the return type of a gcc2 |
9228 builtin and then its argument prototype would still apply. */ | 9170 builtin and then its argument prototype would still apply. */ |
9229 char XOpenIM(); | 9171 char XOpenIM(); |
9230 | 9172 |
9231 int main() { | 9173 int main() { |
9232 XOpenIM() | 9174 XOpenIM() |
9233 ; return 0; } | 9175 ; return 0; } |
9234 EOF | 9176 EOF |
9235 if { (eval echo configure:9236: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9177 if { (eval echo configure:9178: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9236 rm -rf conftest* | 9178 rm -rf conftest* |
9237 eval "ac_cv_lib_$ac_lib_var=yes" | 9179 eval "ac_cv_lib_$ac_lib_var=yes" |
9238 else | 9180 else |
9239 echo "configure: failed program was:" >&5 | 9181 echo "configure: failed program was:" >&5 |
9240 cat conftest.$ac_ext >&5 | 9182 cat conftest.$ac_ext >&5 |
9254 | 9196 |
9255 | 9197 |
9256 if test "$have_motif $have_lesstif" = "yes no"; then | 9198 if test "$have_motif $have_lesstif" = "yes no"; then |
9257 | 9199 |
9258 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 | 9200 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 |
9259 echo "configure:9260: checking for XmImMbLookupString in -lXm" >&5 | 9201 echo "configure:9202: checking for XmImMbLookupString in -lXm" >&5 |
9260 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` | 9202 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` |
9261 | 9203 |
9262 xe_check_libs=" -lXm " | 9204 xe_check_libs=" -lXm " |
9263 cat > conftest.$ac_ext <<EOF | 9205 cat > conftest.$ac_ext <<EOF |
9264 #line 9265 "configure" | 9206 #line 9207 "configure" |
9265 #include "confdefs.h" | 9207 #include "confdefs.h" |
9266 /* Override any gcc2 internal prototype to avoid an error. */ | 9208 /* Override any gcc2 internal prototype to avoid an error. */ |
9267 /* We use char because int might match the return type of a gcc2 | 9209 /* We use char because int might match the return type of a gcc2 |
9268 builtin and then its argument prototype would still apply. */ | 9210 builtin and then its argument prototype would still apply. */ |
9269 char XmImMbLookupString(); | 9211 char XmImMbLookupString(); |
9270 | 9212 |
9271 int main() { | 9213 int main() { |
9272 XmImMbLookupString() | 9214 XmImMbLookupString() |
9273 ; return 0; } | 9215 ; return 0; } |
9274 EOF | 9216 EOF |
9275 if { (eval echo configure:9276: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9217 if { (eval echo configure:9218: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9276 rm -rf conftest* | 9218 rm -rf conftest* |
9277 eval "ac_cv_lib_$ac_lib_var=yes" | 9219 eval "ac_cv_lib_$ac_lib_var=yes" |
9278 else | 9220 else |
9279 echo "configure: failed program was:" >&5 | 9221 echo "configure: failed program was:" >&5 |
9280 cat conftest.$ac_ext >&5 | 9222 cat conftest.$ac_ext >&5 |
9335 fi | 9277 fi |
9336 fi | 9278 fi |
9337 | 9279 |
9338 if test "$with_xfs" = "yes" ; then | 9280 if test "$with_xfs" = "yes" ; then |
9339 echo "checking for XFontSet" 1>&6 | 9281 echo "checking for XFontSet" 1>&6 |
9340 echo "configure:9341: checking for XFontSet" >&5 | 9282 echo "configure:9283: checking for XFontSet" >&5 |
9341 | 9283 |
9342 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 | 9284 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 |
9343 echo "configure:9344: checking for XmbDrawString in -lX11" >&5 | 9285 echo "configure:9286: checking for XmbDrawString in -lX11" >&5 |
9344 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` | 9286 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` |
9345 | 9287 |
9346 xe_check_libs=" -lX11 " | 9288 xe_check_libs=" -lX11 " |
9347 cat > conftest.$ac_ext <<EOF | 9289 cat > conftest.$ac_ext <<EOF |
9348 #line 9349 "configure" | 9290 #line 9291 "configure" |
9349 #include "confdefs.h" | 9291 #include "confdefs.h" |
9350 /* Override any gcc2 internal prototype to avoid an error. */ | 9292 /* Override any gcc2 internal prototype to avoid an error. */ |
9351 /* We use char because int might match the return type of a gcc2 | 9293 /* We use char because int might match the return type of a gcc2 |
9352 builtin and then its argument prototype would still apply. */ | 9294 builtin and then its argument prototype would still apply. */ |
9353 char XmbDrawString(); | 9295 char XmbDrawString(); |
9354 | 9296 |
9355 int main() { | 9297 int main() { |
9356 XmbDrawString() | 9298 XmbDrawString() |
9357 ; return 0; } | 9299 ; return 0; } |
9358 EOF | 9300 EOF |
9359 if { (eval echo configure:9360: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9301 if { (eval echo configure:9302: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9360 rm -rf conftest* | 9302 rm -rf conftest* |
9361 eval "ac_cv_lib_$ac_lib_var=yes" | 9303 eval "ac_cv_lib_$ac_lib_var=yes" |
9362 else | 9304 else |
9363 echo "configure: failed program was:" >&5 | 9305 echo "configure: failed program was:" >&5 |
9364 cat conftest.$ac_ext >&5 | 9306 cat conftest.$ac_ext >&5 |
9394 fi | 9336 fi |
9395 fi | 9337 fi |
9396 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support | 9338 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support |
9397 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` | 9339 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` |
9398 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 | 9340 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 |
9399 echo "configure:9400: checking for wnn/jllib.h" >&5 | 9341 echo "configure:9342: checking for wnn/jllib.h" >&5 |
9400 | 9342 |
9401 cat > conftest.$ac_ext <<EOF | 9343 cat > conftest.$ac_ext <<EOF |
9402 #line 9403 "configure" | 9344 #line 9345 "configure" |
9403 #include "confdefs.h" | 9345 #include "confdefs.h" |
9404 #include <wnn/jllib.h> | 9346 #include <wnn/jllib.h> |
9405 EOF | 9347 EOF |
9406 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9348 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9407 { (eval echo configure:9408: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9349 { (eval echo configure:9350: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9408 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9350 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9409 if test -z "$ac_err"; then | 9351 if test -z "$ac_err"; then |
9410 rm -rf conftest* | 9352 rm -rf conftest* |
9411 eval "ac_cv_header_$ac_safe=yes" | 9353 eval "ac_cv_header_$ac_safe=yes" |
9412 else | 9354 else |
9427 } | 9369 } |
9428 if test "$with_wnn" != "no"; then | 9370 if test "$with_wnn" != "no"; then |
9429 for ac_func in crypt | 9371 for ac_func in crypt |
9430 do | 9372 do |
9431 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 9373 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
9432 echo "configure:9433: checking for $ac_func" >&5 | 9374 echo "configure:9375: checking for $ac_func" >&5 |
9433 | 9375 |
9434 cat > conftest.$ac_ext <<EOF | 9376 cat > conftest.$ac_ext <<EOF |
9435 #line 9436 "configure" | 9377 #line 9378 "configure" |
9436 #include "confdefs.h" | 9378 #include "confdefs.h" |
9437 /* System header to define __stub macros and hopefully few prototypes, | 9379 /* System header to define __stub macros and hopefully few prototypes, |
9438 which can conflict with char $ac_func(); below. */ | 9380 which can conflict with char $ac_func(); below. */ |
9439 #include <assert.h> | 9381 #include <assert.h> |
9440 /* Override any gcc2 internal prototype to avoid an error. */ | 9382 /* Override any gcc2 internal prototype to avoid an error. */ |
9453 $ac_func(); | 9395 $ac_func(); |
9454 #endif | 9396 #endif |
9455 | 9397 |
9456 ; return 0; } | 9398 ; return 0; } |
9457 EOF | 9399 EOF |
9458 if { (eval echo configure:9459: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9400 if { (eval echo configure:9401: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9459 rm -rf conftest* | 9401 rm -rf conftest* |
9460 eval "ac_cv_func_$ac_func=yes" | 9402 eval "ac_cv_func_$ac_func=yes" |
9461 else | 9403 else |
9462 echo "configure: failed program was:" >&5 | 9404 echo "configure: failed program was:" >&5 |
9463 cat conftest.$ac_ext >&5 | 9405 cat conftest.$ac_ext >&5 |
9482 fi | 9424 fi |
9483 done | 9425 done |
9484 | 9426 |
9485 test "$ac_cv_func_crypt" != "yes" && { | 9427 test "$ac_cv_func_crypt" != "yes" && { |
9486 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 | 9428 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 |
9487 echo "configure:9488: checking for crypt in -lcrypt" >&5 | 9429 echo "configure:9430: checking for crypt in -lcrypt" >&5 |
9488 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` | 9430 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` |
9489 | 9431 |
9490 xe_check_libs=" -lcrypt " | 9432 xe_check_libs=" -lcrypt " |
9491 cat > conftest.$ac_ext <<EOF | 9433 cat > conftest.$ac_ext <<EOF |
9492 #line 9493 "configure" | 9434 #line 9435 "configure" |
9493 #include "confdefs.h" | 9435 #include "confdefs.h" |
9494 /* Override any gcc2 internal prototype to avoid an error. */ | 9436 /* Override any gcc2 internal prototype to avoid an error. */ |
9495 /* We use char because int might match the return type of a gcc2 | 9437 /* We use char because int might match the return type of a gcc2 |
9496 builtin and then its argument prototype would still apply. */ | 9438 builtin and then its argument prototype would still apply. */ |
9497 char crypt(); | 9439 char crypt(); |
9498 | 9440 |
9499 int main() { | 9441 int main() { |
9500 crypt() | 9442 crypt() |
9501 ; return 0; } | 9443 ; return 0; } |
9502 EOF | 9444 EOF |
9503 if { (eval echo configure:9504: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9445 if { (eval echo configure:9446: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9504 rm -rf conftest* | 9446 rm -rf conftest* |
9505 eval "ac_cv_lib_$ac_lib_var=yes" | 9447 eval "ac_cv_lib_$ac_lib_var=yes" |
9506 else | 9448 else |
9507 echo "configure: failed program was:" >&5 | 9449 echo "configure: failed program was:" >&5 |
9508 cat conftest.$ac_ext >&5 | 9450 cat conftest.$ac_ext >&5 |
9533 } | 9475 } |
9534 fi | 9476 fi |
9535 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then | 9477 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then |
9536 | 9478 |
9537 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 | 9479 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 |
9538 echo "configure:9539: checking for jl_dic_list_e in -lwnn" >&5 | 9480 echo "configure:9481: checking for jl_dic_list_e in -lwnn" >&5 |
9539 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 9481 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
9540 | 9482 |
9541 xe_check_libs=" -lwnn " | 9483 xe_check_libs=" -lwnn " |
9542 cat > conftest.$ac_ext <<EOF | 9484 cat > conftest.$ac_ext <<EOF |
9543 #line 9544 "configure" | 9485 #line 9486 "configure" |
9544 #include "confdefs.h" | 9486 #include "confdefs.h" |
9545 /* Override any gcc2 internal prototype to avoid an error. */ | 9487 /* Override any gcc2 internal prototype to avoid an error. */ |
9546 /* We use char because int might match the return type of a gcc2 | 9488 /* We use char because int might match the return type of a gcc2 |
9547 builtin and then its argument prototype would still apply. */ | 9489 builtin and then its argument prototype would still apply. */ |
9548 char jl_dic_list_e(); | 9490 char jl_dic_list_e(); |
9549 | 9491 |
9550 int main() { | 9492 int main() { |
9551 jl_dic_list_e() | 9493 jl_dic_list_e() |
9552 ; return 0; } | 9494 ; return 0; } |
9553 EOF | 9495 EOF |
9554 if { (eval echo configure:9555: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9496 if { (eval echo configure:9497: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9555 rm -rf conftest* | 9497 rm -rf conftest* |
9556 eval "ac_cv_lib_$ac_lib_var=yes" | 9498 eval "ac_cv_lib_$ac_lib_var=yes" |
9557 else | 9499 else |
9558 echo "configure: failed program was:" >&5 | 9500 echo "configure: failed program was:" >&5 |
9559 cat conftest.$ac_ext >&5 | 9501 cat conftest.$ac_ext >&5 |
9567 echo "$ac_t""yes" 1>&6 | 9509 echo "$ac_t""yes" 1>&6 |
9568 libwnn=wnn | 9510 libwnn=wnn |
9569 else | 9511 else |
9570 echo "$ac_t""no" 1>&6 | 9512 echo "$ac_t""no" 1>&6 |
9571 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 | 9513 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 |
9572 echo "configure:9573: checking for jl_dic_list_e in -lwnn4" >&5 | 9514 echo "configure:9515: checking for jl_dic_list_e in -lwnn4" >&5 |
9573 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 9515 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
9574 | 9516 |
9575 xe_check_libs=" -lwnn4 " | 9517 xe_check_libs=" -lwnn4 " |
9576 cat > conftest.$ac_ext <<EOF | 9518 cat > conftest.$ac_ext <<EOF |
9577 #line 9578 "configure" | 9519 #line 9520 "configure" |
9578 #include "confdefs.h" | 9520 #include "confdefs.h" |
9579 /* Override any gcc2 internal prototype to avoid an error. */ | 9521 /* Override any gcc2 internal prototype to avoid an error. */ |
9580 /* We use char because int might match the return type of a gcc2 | 9522 /* We use char because int might match the return type of a gcc2 |
9581 builtin and then its argument prototype would still apply. */ | 9523 builtin and then its argument prototype would still apply. */ |
9582 char jl_dic_list_e(); | 9524 char jl_dic_list_e(); |
9583 | 9525 |
9584 int main() { | 9526 int main() { |
9585 jl_dic_list_e() | 9527 jl_dic_list_e() |
9586 ; return 0; } | 9528 ; return 0; } |
9587 EOF | 9529 EOF |
9588 if { (eval echo configure:9589: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9530 if { (eval echo configure:9531: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9589 rm -rf conftest* | 9531 rm -rf conftest* |
9590 eval "ac_cv_lib_$ac_lib_var=yes" | 9532 eval "ac_cv_lib_$ac_lib_var=yes" |
9591 else | 9533 else |
9592 echo "configure: failed program was:" >&5 | 9534 echo "configure: failed program was:" >&5 |
9593 cat conftest.$ac_ext >&5 | 9535 cat conftest.$ac_ext >&5 |
9601 echo "$ac_t""yes" 1>&6 | 9543 echo "$ac_t""yes" 1>&6 |
9602 libwnn=wnn4 | 9544 libwnn=wnn4 |
9603 else | 9545 else |
9604 echo "$ac_t""no" 1>&6 | 9546 echo "$ac_t""no" 1>&6 |
9605 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 | 9547 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 |
9606 echo "configure:9607: checking for jl_dic_list_e in -lwnn6" >&5 | 9548 echo "configure:9549: checking for jl_dic_list_e in -lwnn6" >&5 |
9607 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 9549 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
9608 | 9550 |
9609 xe_check_libs=" -lwnn6 " | 9551 xe_check_libs=" -lwnn6 " |
9610 cat > conftest.$ac_ext <<EOF | 9552 cat > conftest.$ac_ext <<EOF |
9611 #line 9612 "configure" | 9553 #line 9554 "configure" |
9612 #include "confdefs.h" | 9554 #include "confdefs.h" |
9613 /* Override any gcc2 internal prototype to avoid an error. */ | 9555 /* Override any gcc2 internal prototype to avoid an error. */ |
9614 /* We use char because int might match the return type of a gcc2 | 9556 /* We use char because int might match the return type of a gcc2 |
9615 builtin and then its argument prototype would still apply. */ | 9557 builtin and then its argument prototype would still apply. */ |
9616 char jl_dic_list_e(); | 9558 char jl_dic_list_e(); |
9617 | 9559 |
9618 int main() { | 9560 int main() { |
9619 jl_dic_list_e() | 9561 jl_dic_list_e() |
9620 ; return 0; } | 9562 ; return 0; } |
9621 EOF | 9563 EOF |
9622 if { (eval echo configure:9623: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9564 if { (eval echo configure:9565: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9623 rm -rf conftest* | 9565 rm -rf conftest* |
9624 eval "ac_cv_lib_$ac_lib_var=yes" | 9566 eval "ac_cv_lib_$ac_lib_var=yes" |
9625 else | 9567 else |
9626 echo "configure: failed program was:" >&5 | 9568 echo "configure: failed program was:" >&5 |
9627 cat conftest.$ac_ext >&5 | 9569 cat conftest.$ac_ext >&5 |
9635 echo "$ac_t""yes" 1>&6 | 9577 echo "$ac_t""yes" 1>&6 |
9636 libwnn=wnn6 | 9578 libwnn=wnn6 |
9637 else | 9579 else |
9638 echo "$ac_t""no" 1>&6 | 9580 echo "$ac_t""no" 1>&6 |
9639 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 | 9581 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 |
9640 echo "configure:9641: checking for dic_list_e in -lwnn6_fromsrc" >&5 | 9582 echo "configure:9583: checking for dic_list_e in -lwnn6_fromsrc" >&5 |
9641 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` | 9583 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` |
9642 | 9584 |
9643 xe_check_libs=" -lwnn6_fromsrc " | 9585 xe_check_libs=" -lwnn6_fromsrc " |
9644 cat > conftest.$ac_ext <<EOF | 9586 cat > conftest.$ac_ext <<EOF |
9645 #line 9646 "configure" | 9587 #line 9588 "configure" |
9646 #include "confdefs.h" | 9588 #include "confdefs.h" |
9647 /* Override any gcc2 internal prototype to avoid an error. */ | 9589 /* Override any gcc2 internal prototype to avoid an error. */ |
9648 /* We use char because int might match the return type of a gcc2 | 9590 /* We use char because int might match the return type of a gcc2 |
9649 builtin and then its argument prototype would still apply. */ | 9591 builtin and then its argument prototype would still apply. */ |
9650 char dic_list_e(); | 9592 char dic_list_e(); |
9651 | 9593 |
9652 int main() { | 9594 int main() { |
9653 dic_list_e() | 9595 dic_list_e() |
9654 ; return 0; } | 9596 ; return 0; } |
9655 EOF | 9597 EOF |
9656 if { (eval echo configure:9657: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9598 if { (eval echo configure:9599: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9657 rm -rf conftest* | 9599 rm -rf conftest* |
9658 eval "ac_cv_lib_$ac_lib_var=yes" | 9600 eval "ac_cv_lib_$ac_lib_var=yes" |
9659 else | 9601 else |
9660 echo "configure: failed program was:" >&5 | 9602 echo "configure: failed program was:" >&5 |
9661 cat conftest.$ac_ext >&5 | 9603 cat conftest.$ac_ext >&5 |
9699 echo " xemacs will be linked with \"mule-wnnfns.o\"" | 9641 echo " xemacs will be linked with \"mule-wnnfns.o\"" |
9700 fi | 9642 fi |
9701 if test "$with_wnn6" != "no"; then | 9643 if test "$with_wnn6" != "no"; then |
9702 | 9644 |
9703 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 | 9645 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 |
9704 echo "configure:9705: checking for jl_fi_dic_list in -l$libwnn" >&5 | 9646 echo "configure:9647: checking for jl_fi_dic_list in -l$libwnn" >&5 |
9705 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` | 9647 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` |
9706 | 9648 |
9707 xe_check_libs=" -l$libwnn " | 9649 xe_check_libs=" -l$libwnn " |
9708 cat > conftest.$ac_ext <<EOF | 9650 cat > conftest.$ac_ext <<EOF |
9709 #line 9710 "configure" | 9651 #line 9652 "configure" |
9710 #include "confdefs.h" | 9652 #include "confdefs.h" |
9711 /* Override any gcc2 internal prototype to avoid an error. */ | 9653 /* Override any gcc2 internal prototype to avoid an error. */ |
9712 /* We use char because int might match the return type of a gcc2 | 9654 /* We use char because int might match the return type of a gcc2 |
9713 builtin and then its argument prototype would still apply. */ | 9655 builtin and then its argument prototype would still apply. */ |
9714 char jl_fi_dic_list(); | 9656 char jl_fi_dic_list(); |
9715 | 9657 |
9716 int main() { | 9658 int main() { |
9717 jl_fi_dic_list() | 9659 jl_fi_dic_list() |
9718 ; return 0; } | 9660 ; return 0; } |
9719 EOF | 9661 EOF |
9720 if { (eval echo configure:9721: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9662 if { (eval echo configure:9663: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9721 rm -rf conftest* | 9663 rm -rf conftest* |
9722 eval "ac_cv_lib_$ac_lib_var=yes" | 9664 eval "ac_cv_lib_$ac_lib_var=yes" |
9723 else | 9665 else |
9724 echo "configure: failed program was:" >&5 | 9666 echo "configure: failed program was:" >&5 |
9725 cat conftest.$ac_ext >&5 | 9667 cat conftest.$ac_ext >&5 |
9750 | 9692 |
9751 canna_includes_found=no | 9693 canna_includes_found=no |
9752 if test "$with_canna" != "no"; then | 9694 if test "$with_canna" != "no"; then |
9753 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 9695 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
9754 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 9696 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
9755 echo "configure:9756: checking for canna/jrkanji.h" >&5 | 9697 echo "configure:9698: checking for canna/jrkanji.h" >&5 |
9756 | 9698 |
9757 cat > conftest.$ac_ext <<EOF | 9699 cat > conftest.$ac_ext <<EOF |
9758 #line 9759 "configure" | 9700 #line 9701 "configure" |
9759 #include "confdefs.h" | 9701 #include "confdefs.h" |
9760 #include <canna/jrkanji.h> | 9702 #include <canna/jrkanji.h> |
9761 EOF | 9703 EOF |
9762 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9704 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9763 { (eval echo configure:9764: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9705 { (eval echo configure:9706: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9764 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9706 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9765 if test -z "$ac_err"; then | 9707 if test -z "$ac_err"; then |
9766 rm -rf conftest* | 9708 rm -rf conftest* |
9767 eval "ac_cv_header_$ac_safe=yes" | 9709 eval "ac_cv_header_$ac_safe=yes" |
9768 else | 9710 else |
9785 -d "/usr/local/canna/include"; then | 9727 -d "/usr/local/canna/include"; then |
9786 save_c_switch_site="$c_switch_site" | 9728 save_c_switch_site="$c_switch_site" |
9787 c_switch_site="$c_switch_site -I/usr/local/canna/include" | 9729 c_switch_site="$c_switch_site -I/usr/local/canna/include" |
9788 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 9730 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
9789 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 9731 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
9790 echo "configure:9791: checking for canna/jrkanji.h" >&5 | 9732 echo "configure:9733: checking for canna/jrkanji.h" >&5 |
9791 | 9733 |
9792 cat > conftest.$ac_ext <<EOF | 9734 cat > conftest.$ac_ext <<EOF |
9793 #line 9794 "configure" | 9735 #line 9736 "configure" |
9794 #include "confdefs.h" | 9736 #include "confdefs.h" |
9795 #include <canna/jrkanji.h> | 9737 #include <canna/jrkanji.h> |
9796 EOF | 9738 EOF |
9797 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9739 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9798 { (eval echo configure:9799: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9740 { (eval echo configure:9741: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9799 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9741 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9800 if test -z "$ac_err"; then | 9742 if test -z "$ac_err"; then |
9801 rm -rf conftest* | 9743 rm -rf conftest* |
9802 eval "ac_cv_header_$ac_safe=yes" | 9744 eval "ac_cv_header_$ac_safe=yes" |
9803 else | 9745 else |
9821 fi | 9763 fi |
9822 fi | 9764 fi |
9823 | 9765 |
9824 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` | 9766 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` |
9825 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 | 9767 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 |
9826 echo "configure:9827: checking for canna/RK.h" >&5 | 9768 echo "configure:9769: checking for canna/RK.h" >&5 |
9827 | 9769 |
9828 cat > conftest.$ac_ext <<EOF | 9770 cat > conftest.$ac_ext <<EOF |
9829 #line 9830 "configure" | 9771 #line 9772 "configure" |
9830 #include "confdefs.h" | 9772 #include "confdefs.h" |
9831 #include <canna/RK.h> | 9773 #include <canna/RK.h> |
9832 EOF | 9774 EOF |
9833 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9775 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9834 { (eval echo configure:9835: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9776 { (eval echo configure:9777: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9835 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9777 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9836 if test -z "$ac_err"; then | 9778 if test -z "$ac_err"; then |
9837 rm -rf conftest* | 9779 rm -rf conftest* |
9838 eval "ac_cv_header_$ac_safe=yes" | 9780 eval "ac_cv_header_$ac_safe=yes" |
9839 else | 9781 else |
9852 with_canna=no | 9794 with_canna=no |
9853 fi | 9795 fi |
9854 } | 9796 } |
9855 test -z "$with_canna" && { | 9797 test -z "$with_canna" && { |
9856 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 | 9798 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 |
9857 echo "configure:9858: checking for RkBgnBun in -lRKC" >&5 | 9799 echo "configure:9800: checking for RkBgnBun in -lRKC" >&5 |
9858 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` | 9800 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` |
9859 | 9801 |
9860 xe_check_libs=" -lRKC " | 9802 xe_check_libs=" -lRKC " |
9861 cat > conftest.$ac_ext <<EOF | 9803 cat > conftest.$ac_ext <<EOF |
9862 #line 9863 "configure" | 9804 #line 9805 "configure" |
9863 #include "confdefs.h" | 9805 #include "confdefs.h" |
9864 /* Override any gcc2 internal prototype to avoid an error. */ | 9806 /* Override any gcc2 internal prototype to avoid an error. */ |
9865 /* We use char because int might match the return type of a gcc2 | 9807 /* We use char because int might match the return type of a gcc2 |
9866 builtin and then its argument prototype would still apply. */ | 9808 builtin and then its argument prototype would still apply. */ |
9867 char RkBgnBun(); | 9809 char RkBgnBun(); |
9868 | 9810 |
9869 int main() { | 9811 int main() { |
9870 RkBgnBun() | 9812 RkBgnBun() |
9871 ; return 0; } | 9813 ; return 0; } |
9872 EOF | 9814 EOF |
9873 if { (eval echo configure:9874: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9815 if { (eval echo configure:9816: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9874 rm -rf conftest* | 9816 rm -rf conftest* |
9875 eval "ac_cv_lib_$ac_lib_var=yes" | 9817 eval "ac_cv_lib_$ac_lib_var=yes" |
9876 else | 9818 else |
9877 echo "configure: failed program was:" >&5 | 9819 echo "configure: failed program was:" >&5 |
9878 cat conftest.$ac_ext >&5 | 9820 cat conftest.$ac_ext >&5 |
9891 fi | 9833 fi |
9892 | 9834 |
9893 } | 9835 } |
9894 test -z "$with_canna" && { | 9836 test -z "$with_canna" && { |
9895 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 | 9837 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 |
9896 echo "configure:9897: checking for jrKanjiControl in -lcanna" >&5 | 9838 echo "configure:9839: checking for jrKanjiControl in -lcanna" >&5 |
9897 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` | 9839 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` |
9898 | 9840 |
9899 xe_check_libs=" -lcanna " | 9841 xe_check_libs=" -lcanna " |
9900 cat > conftest.$ac_ext <<EOF | 9842 cat > conftest.$ac_ext <<EOF |
9901 #line 9902 "configure" | 9843 #line 9844 "configure" |
9902 #include "confdefs.h" | 9844 #include "confdefs.h" |
9903 /* Override any gcc2 internal prototype to avoid an error. */ | 9845 /* Override any gcc2 internal prototype to avoid an error. */ |
9904 /* We use char because int might match the return type of a gcc2 | 9846 /* We use char because int might match the return type of a gcc2 |
9905 builtin and then its argument prototype would still apply. */ | 9847 builtin and then its argument prototype would still apply. */ |
9906 char jrKanjiControl(); | 9848 char jrKanjiControl(); |
9907 | 9849 |
9908 int main() { | 9850 int main() { |
9909 jrKanjiControl() | 9851 jrKanjiControl() |
9910 ; return 0; } | 9852 ; return 0; } |
9911 EOF | 9853 EOF |
9912 if { (eval echo configure:9913: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9854 if { (eval echo configure:9855: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9913 rm -rf conftest* | 9855 rm -rf conftest* |
9914 eval "ac_cv_lib_$ac_lib_var=yes" | 9856 eval "ac_cv_lib_$ac_lib_var=yes" |
9915 else | 9857 else |
9916 echo "configure: failed program was:" >&5 | 9858 echo "configure: failed program was:" >&5 |
9917 cat conftest.$ac_ext >&5 | 9859 cat conftest.$ac_ext >&5 |
9956 | 9898 |
9957 if test "$need_motif" = "yes" ; then | 9899 if test "$need_motif" = "yes" ; then |
9958 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi | 9900 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi |
9959 | 9901 |
9960 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 | 9902 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 |
9961 echo "configure:9962: checking for layout_object_getvalue in -li18n" >&5 | 9903 echo "configure:9904: checking for layout_object_getvalue in -li18n" >&5 |
9962 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` | 9904 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` |
9963 | 9905 |
9964 xe_check_libs=" -li18n " | 9906 xe_check_libs=" -li18n " |
9965 cat > conftest.$ac_ext <<EOF | 9907 cat > conftest.$ac_ext <<EOF |
9966 #line 9967 "configure" | 9908 #line 9909 "configure" |
9967 #include "confdefs.h" | 9909 #include "confdefs.h" |
9968 /* Override any gcc2 internal prototype to avoid an error. */ | 9910 /* Override any gcc2 internal prototype to avoid an error. */ |
9969 /* We use char because int might match the return type of a gcc2 | 9911 /* We use char because int might match the return type of a gcc2 |
9970 builtin and then its argument prototype would still apply. */ | 9912 builtin and then its argument prototype would still apply. */ |
9971 char layout_object_getvalue(); | 9913 char layout_object_getvalue(); |
9972 | 9914 |
9973 int main() { | 9915 int main() { |
9974 layout_object_getvalue() | 9916 layout_object_getvalue() |
9975 ; return 0; } | 9917 ; return 0; } |
9976 EOF | 9918 EOF |
9977 if { (eval echo configure:9978: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9919 if { (eval echo configure:9920: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9978 rm -rf conftest* | 9920 rm -rf conftest* |
9979 eval "ac_cv_lib_$ac_lib_var=yes" | 9921 eval "ac_cv_lib_$ac_lib_var=yes" |
9980 else | 9922 else |
9981 echo "configure: failed program was:" >&5 | 9923 echo "configure: failed program was:" >&5 |
9982 cat conftest.$ac_ext >&5 | 9924 cat conftest.$ac_ext >&5 |
10058 fi | 10000 fi |
10059 | 10001 |
10060 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime getaddrinfo gethostname getnameinfo getpagesize gettimeofday getcwd getpt getwd logb lrand48 matherr mkdir mktime perror poll random rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask snprintf stpcpy strcasecmp strerror tzset ulimit usleep utimes waitpid vsnprintf fsync ftruncate umask | 10002 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime getaddrinfo gethostname getnameinfo getpagesize gettimeofday getcwd getpt getwd logb lrand48 matherr mkdir mktime perror poll random rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask snprintf stpcpy strcasecmp strerror tzset ulimit usleep utimes waitpid vsnprintf fsync ftruncate umask |
10061 do | 10003 do |
10062 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 10004 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
10063 echo "configure:10064: checking for $ac_func" >&5 | 10005 echo "configure:10006: checking for $ac_func" >&5 |
10064 | 10006 |
10065 cat > conftest.$ac_ext <<EOF | 10007 cat > conftest.$ac_ext <<EOF |
10066 #line 10067 "configure" | 10008 #line 10009 "configure" |
10067 #include "confdefs.h" | 10009 #include "confdefs.h" |
10068 /* System header to define __stub macros and hopefully few prototypes, | 10010 /* System header to define __stub macros and hopefully few prototypes, |
10069 which can conflict with char $ac_func(); below. */ | 10011 which can conflict with char $ac_func(); below. */ |
10070 #include <assert.h> | 10012 #include <assert.h> |
10071 /* Override any gcc2 internal prototype to avoid an error. */ | 10013 /* Override any gcc2 internal prototype to avoid an error. */ |
10084 $ac_func(); | 10026 $ac_func(); |
10085 #endif | 10027 #endif |
10086 | 10028 |
10087 ; return 0; } | 10029 ; return 0; } |
10088 EOF | 10030 EOF |
10089 if { (eval echo configure:10090: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10031 if { (eval echo configure:10032: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10090 rm -rf conftest* | 10032 rm -rf conftest* |
10091 eval "ac_cv_func_$ac_func=yes" | 10033 eval "ac_cv_func_$ac_func=yes" |
10092 else | 10034 else |
10093 echo "configure: failed program was:" >&5 | 10035 echo "configure: failed program was:" >&5 |
10094 cat conftest.$ac_ext >&5 | 10036 cat conftest.$ac_ext >&5 |
10119 fi | 10061 fi |
10120 | 10062 |
10121 for ac_func in getloadavg | 10063 for ac_func in getloadavg |
10122 do | 10064 do |
10123 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 10065 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
10124 echo "configure:10125: checking for $ac_func" >&5 | 10066 echo "configure:10067: checking for $ac_func" >&5 |
10125 | 10067 |
10126 cat > conftest.$ac_ext <<EOF | 10068 cat > conftest.$ac_ext <<EOF |
10127 #line 10128 "configure" | 10069 #line 10070 "configure" |
10128 #include "confdefs.h" | 10070 #include "confdefs.h" |
10129 /* System header to define __stub macros and hopefully few prototypes, | 10071 /* System header to define __stub macros and hopefully few prototypes, |
10130 which can conflict with char $ac_func(); below. */ | 10072 which can conflict with char $ac_func(); below. */ |
10131 #include <assert.h> | 10073 #include <assert.h> |
10132 /* Override any gcc2 internal prototype to avoid an error. */ | 10074 /* Override any gcc2 internal prototype to avoid an error. */ |
10145 $ac_func(); | 10087 $ac_func(); |
10146 #endif | 10088 #endif |
10147 | 10089 |
10148 ; return 0; } | 10090 ; return 0; } |
10149 EOF | 10091 EOF |
10150 if { (eval echo configure:10151: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10092 if { (eval echo configure:10093: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10151 rm -rf conftest* | 10093 rm -rf conftest* |
10152 eval "ac_cv_func_$ac_func=yes" | 10094 eval "ac_cv_func_$ac_func=yes" |
10153 else | 10095 else |
10154 echo "configure: failed program was:" >&5 | 10096 echo "configure: failed program was:" >&5 |
10155 cat conftest.$ac_ext >&5 | 10097 cat conftest.$ac_ext >&5 |
10181 echo " xemacs will be linked with \"getloadavg.o\"" | 10123 echo " xemacs will be linked with \"getloadavg.o\"" |
10182 fi | 10124 fi |
10183 | 10125 |
10184 | 10126 |
10185 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 | 10127 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 |
10186 echo "configure:10187: checking for kstat_open in -lkstat" >&5 | 10128 echo "configure:10129: checking for kstat_open in -lkstat" >&5 |
10187 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` | 10129 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` |
10188 | 10130 |
10189 xe_check_libs=" -lkstat " | 10131 xe_check_libs=" -lkstat " |
10190 cat > conftest.$ac_ext <<EOF | 10132 cat > conftest.$ac_ext <<EOF |
10191 #line 10192 "configure" | 10133 #line 10134 "configure" |
10192 #include "confdefs.h" | 10134 #include "confdefs.h" |
10193 /* Override any gcc2 internal prototype to avoid an error. */ | 10135 /* Override any gcc2 internal prototype to avoid an error. */ |
10194 /* We use char because int might match the return type of a gcc2 | 10136 /* We use char because int might match the return type of a gcc2 |
10195 builtin and then its argument prototype would still apply. */ | 10137 builtin and then its argument prototype would still apply. */ |
10196 char kstat_open(); | 10138 char kstat_open(); |
10197 | 10139 |
10198 int main() { | 10140 int main() { |
10199 kstat_open() | 10141 kstat_open() |
10200 ; return 0; } | 10142 ; return 0; } |
10201 EOF | 10143 EOF |
10202 if { (eval echo configure:10203: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10144 if { (eval echo configure:10145: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10203 rm -rf conftest* | 10145 rm -rf conftest* |
10204 eval "ac_cv_lib_$ac_lib_var=yes" | 10146 eval "ac_cv_lib_$ac_lib_var=yes" |
10205 else | 10147 else |
10206 echo "configure: failed program was:" >&5 | 10148 echo "configure: failed program was:" >&5 |
10207 cat conftest.$ac_ext >&5 | 10149 cat conftest.$ac_ext >&5 |
10231 | 10173 |
10232 | 10174 |
10233 | 10175 |
10234 | 10176 |
10235 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 | 10177 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 |
10236 echo "configure:10237: checking for kvm_read in -lkvm" >&5 | 10178 echo "configure:10179: checking for kvm_read in -lkvm" >&5 |
10237 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` | 10179 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` |
10238 | 10180 |
10239 xe_check_libs=" -lkvm " | 10181 xe_check_libs=" -lkvm " |
10240 cat > conftest.$ac_ext <<EOF | 10182 cat > conftest.$ac_ext <<EOF |
10241 #line 10242 "configure" | 10183 #line 10184 "configure" |
10242 #include "confdefs.h" | 10184 #include "confdefs.h" |
10243 /* Override any gcc2 internal prototype to avoid an error. */ | 10185 /* Override any gcc2 internal prototype to avoid an error. */ |
10244 /* We use char because int might match the return type of a gcc2 | 10186 /* We use char because int might match the return type of a gcc2 |
10245 builtin and then its argument prototype would still apply. */ | 10187 builtin and then its argument prototype would still apply. */ |
10246 char kvm_read(); | 10188 char kvm_read(); |
10247 | 10189 |
10248 int main() { | 10190 int main() { |
10249 kvm_read() | 10191 kvm_read() |
10250 ; return 0; } | 10192 ; return 0; } |
10251 EOF | 10193 EOF |
10252 if { (eval echo configure:10253: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10194 if { (eval echo configure:10195: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10253 rm -rf conftest* | 10195 rm -rf conftest* |
10254 eval "ac_cv_lib_$ac_lib_var=yes" | 10196 eval "ac_cv_lib_$ac_lib_var=yes" |
10255 else | 10197 else |
10256 echo "configure: failed program was:" >&5 | 10198 echo "configure: failed program was:" >&5 |
10257 cat conftest.$ac_ext >&5 | 10199 cat conftest.$ac_ext >&5 |
10281 | 10223 |
10282 | 10224 |
10283 fi | 10225 fi |
10284 | 10226 |
10285 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 10227 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
10286 echo "configure:10287: checking whether netdb declares h_errno" >&5 | 10228 echo "configure:10229: checking whether netdb declares h_errno" >&5 |
10287 cat > conftest.$ac_ext <<EOF | 10229 cat > conftest.$ac_ext <<EOF |
10288 #line 10289 "configure" | 10230 #line 10231 "configure" |
10289 #include "confdefs.h" | 10231 #include "confdefs.h" |
10290 #include <netdb.h> | 10232 #include <netdb.h> |
10291 int main() { | 10233 int main() { |
10292 return h_errno; | 10234 return h_errno; |
10293 ; return 0; } | 10235 ; return 0; } |
10294 EOF | 10236 EOF |
10295 if { (eval echo configure:10296: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10237 if { (eval echo configure:10238: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10296 rm -rf conftest* | 10238 rm -rf conftest* |
10297 echo "$ac_t""yes" 1>&6 | 10239 echo "$ac_t""yes" 1>&6 |
10298 { test "$extra_verbose" = "yes" && cat << \EOF | 10240 { test "$extra_verbose" = "yes" && cat << \EOF |
10299 Defining HAVE_H_ERRNO | 10241 Defining HAVE_H_ERRNO |
10300 EOF | 10242 EOF |
10310 echo "$ac_t""no" 1>&6 | 10252 echo "$ac_t""no" 1>&6 |
10311 fi | 10253 fi |
10312 rm -f conftest* | 10254 rm -f conftest* |
10313 | 10255 |
10314 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 | 10256 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 |
10315 echo "configure:10316: checking for sigsetjmp" >&5 | 10257 echo "configure:10258: checking for sigsetjmp" >&5 |
10316 cat > conftest.$ac_ext <<EOF | 10258 cat > conftest.$ac_ext <<EOF |
10317 #line 10318 "configure" | 10259 #line 10260 "configure" |
10318 #include "confdefs.h" | 10260 #include "confdefs.h" |
10319 #include <setjmp.h> | 10261 #include <setjmp.h> |
10320 int main() { | 10262 int main() { |
10321 sigjmp_buf bar; sigsetjmp (bar, 0); | 10263 sigjmp_buf bar; sigsetjmp (bar, 0); |
10322 ; return 0; } | 10264 ; return 0; } |
10323 EOF | 10265 EOF |
10324 if { (eval echo configure:10325: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 10266 if { (eval echo configure:10267: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
10325 rm -rf conftest* | 10267 rm -rf conftest* |
10326 echo "$ac_t""yes" 1>&6 | 10268 echo "$ac_t""yes" 1>&6 |
10327 { test "$extra_verbose" = "yes" && cat << \EOF | 10269 { test "$extra_verbose" = "yes" && cat << \EOF |
10328 Defining HAVE_SIGSETJMP | 10270 Defining HAVE_SIGSETJMP |
10329 EOF | 10271 EOF |
10339 echo "$ac_t""no" 1>&6 | 10281 echo "$ac_t""no" 1>&6 |
10340 fi | 10282 fi |
10341 rm -f conftest* | 10283 rm -f conftest* |
10342 | 10284 |
10343 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 10285 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
10344 echo "configure:10345: checking whether localtime caches TZ" >&5 | 10286 echo "configure:10287: checking whether localtime caches TZ" >&5 |
10345 | 10287 |
10346 if test "$ac_cv_func_tzset" = "yes"; then | 10288 if test "$ac_cv_func_tzset" = "yes"; then |
10347 cat > conftest.$ac_ext <<EOF | 10289 cat > conftest.$ac_ext <<EOF |
10348 #line 10349 "configure" | 10290 #line 10291 "configure" |
10349 #include "confdefs.h" | 10291 #include "confdefs.h" |
10350 #include <time.h> | 10292 #include <time.h> |
10351 #if STDC_HEADERS | 10293 #if STDC_HEADERS |
10352 # include <stdlib.h> | 10294 # include <stdlib.h> |
10353 #endif | 10295 #endif |
10378 if (localtime (&now)->tm_hour != hour_unset) | 10320 if (localtime (&now)->tm_hour != hour_unset) |
10379 exit (1); | 10321 exit (1); |
10380 exit (0); | 10322 exit (0); |
10381 } | 10323 } |
10382 EOF | 10324 EOF |
10383 if { (eval echo configure:10384: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 10325 if { (eval echo configure:10326: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
10384 then | 10326 then |
10385 emacs_cv_localtime_cache=no | 10327 emacs_cv_localtime_cache=no |
10386 else | 10328 else |
10387 conftest_rc="$?" | 10329 conftest_rc="$?" |
10388 echo "configure: failed program was:" >&5 | 10330 echo "configure: failed program was:" >&5 |
10408 | 10350 |
10409 fi | 10351 fi |
10410 | 10352 |
10411 if test "$HAVE_TIMEVAL" = "yes"; then | 10353 if test "$HAVE_TIMEVAL" = "yes"; then |
10412 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 | 10354 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 |
10413 echo "configure:10414: checking whether gettimeofday accepts one or two arguments" >&5 | 10355 echo "configure:10356: checking whether gettimeofday accepts one or two arguments" >&5 |
10414 cat > conftest.$ac_ext <<EOF | 10356 cat > conftest.$ac_ext <<EOF |
10415 #line 10416 "configure" | 10357 #line 10358 "configure" |
10416 #include "confdefs.h" | 10358 #include "confdefs.h" |
10417 | 10359 |
10418 #ifdef TIME_WITH_SYS_TIME | 10360 #ifdef TIME_WITH_SYS_TIME |
10419 #include <sys/time.h> | 10361 #include <sys/time.h> |
10420 #include <time.h> | 10362 #include <time.h> |
10431 struct timeval time; | 10373 struct timeval time; |
10432 gettimeofday (&time, 0); | 10374 gettimeofday (&time, 0); |
10433 | 10375 |
10434 ; return 0; } | 10376 ; return 0; } |
10435 EOF | 10377 EOF |
10436 if { (eval echo configure:10437: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10378 if { (eval echo configure:10379: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10437 rm -rf conftest* | 10379 rm -rf conftest* |
10438 echo "$ac_t""two" 1>&6 | 10380 echo "$ac_t""two" 1>&6 |
10439 else | 10381 else |
10440 echo "configure: failed program was:" >&5 | 10382 echo "configure: failed program was:" >&5 |
10441 cat conftest.$ac_ext >&5 | 10383 cat conftest.$ac_ext >&5 |
10453 rm -f conftest* | 10395 rm -f conftest* |
10454 fi | 10396 fi |
10455 | 10397 |
10456 | 10398 |
10457 echo $ac_n "checking for inline""... $ac_c" 1>&6 | 10399 echo $ac_n "checking for inline""... $ac_c" 1>&6 |
10458 echo "configure:10459: checking for inline" >&5 | 10400 echo "configure:10401: checking for inline" >&5 |
10459 | 10401 |
10460 ac_cv_c_inline=no | 10402 ac_cv_c_inline=no |
10461 for ac_kw in inline __inline__ __inline; do | 10403 for ac_kw in inline __inline__ __inline; do |
10462 cat > conftest.$ac_ext <<EOF | 10404 cat > conftest.$ac_ext <<EOF |
10463 #line 10464 "configure" | 10405 #line 10406 "configure" |
10464 #include "confdefs.h" | 10406 #include "confdefs.h" |
10465 | 10407 |
10466 int main() { | 10408 int main() { |
10467 } $ac_kw foo() { | 10409 } $ac_kw foo() { |
10468 ; return 0; } | 10410 ; return 0; } |
10469 EOF | 10411 EOF |
10470 if { (eval echo configure:10471: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 10412 if { (eval echo configure:10413: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
10471 rm -rf conftest* | 10413 rm -rf conftest* |
10472 ac_cv_c_inline=$ac_kw; break | 10414 ac_cv_c_inline=$ac_kw; break |
10473 else | 10415 else |
10474 echo "configure: failed program was:" >&5 | 10416 echo "configure: failed program was:" >&5 |
10475 cat conftest.$ac_ext >&5 | 10417 cat conftest.$ac_ext >&5 |
10505 | 10447 |
10506 | 10448 |
10507 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 10449 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
10508 # for constant arguments. Useless! | 10450 # for constant arguments. Useless! |
10509 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 10451 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
10510 echo "configure:10511: checking for working alloca.h" >&5 | 10452 echo "configure:10453: checking for working alloca.h" >&5 |
10511 | 10453 |
10512 cat > conftest.$ac_ext <<EOF | 10454 cat > conftest.$ac_ext <<EOF |
10513 #line 10514 "configure" | 10455 #line 10456 "configure" |
10514 #include "confdefs.h" | 10456 #include "confdefs.h" |
10515 #include <alloca.h> | 10457 #include <alloca.h> |
10516 int main() { | 10458 int main() { |
10517 char *p = alloca(2 * sizeof(int)); | 10459 char *p = alloca(2 * sizeof(int)); |
10518 ; return 0; } | 10460 ; return 0; } |
10519 EOF | 10461 EOF |
10520 if { (eval echo configure:10521: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10462 if { (eval echo configure:10463: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10521 rm -rf conftest* | 10463 rm -rf conftest* |
10522 ac_cv_header_alloca_h=yes | 10464 ac_cv_header_alloca_h=yes |
10523 else | 10465 else |
10524 echo "configure: failed program was:" >&5 | 10466 echo "configure: failed program was:" >&5 |
10525 cat conftest.$ac_ext >&5 | 10467 cat conftest.$ac_ext >&5 |
10539 } | 10481 } |
10540 | 10482 |
10541 fi | 10483 fi |
10542 | 10484 |
10543 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 10485 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
10544 echo "configure:10545: checking for alloca" >&5 | 10486 echo "configure:10487: checking for alloca" >&5 |
10545 | 10487 |
10546 cat > conftest.$ac_ext <<EOF | 10488 cat > conftest.$ac_ext <<EOF |
10547 #line 10548 "configure" | 10489 #line 10490 "configure" |
10548 #include "confdefs.h" | 10490 #include "confdefs.h" |
10549 | 10491 |
10550 #ifdef __GNUC__ | 10492 #ifdef __GNUC__ |
10551 # define alloca __builtin_alloca | 10493 # define alloca __builtin_alloca |
10552 #else | 10494 #else |
10570 | 10512 |
10571 int main() { | 10513 int main() { |
10572 char *p = (char *) alloca(1); | 10514 char *p = (char *) alloca(1); |
10573 ; return 0; } | 10515 ; return 0; } |
10574 EOF | 10516 EOF |
10575 if { (eval echo configure:10576: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10517 if { (eval echo configure:10518: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10576 rm -rf conftest* | 10518 rm -rf conftest* |
10577 ac_cv_func_alloca_works=yes | 10519 ac_cv_func_alloca_works=yes |
10578 else | 10520 else |
10579 echo "configure: failed program was:" >&5 | 10521 echo "configure: failed program was:" >&5 |
10580 cat conftest.$ac_ext >&5 | 10522 cat conftest.$ac_ext >&5 |
10609 EOF | 10551 EOF |
10610 } | 10552 } |
10611 | 10553 |
10612 | 10554 |
10613 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 10555 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
10614 echo "configure:10615: checking whether alloca needs Cray hooks" >&5 | 10556 echo "configure:10557: checking whether alloca needs Cray hooks" >&5 |
10615 | 10557 |
10616 cat > conftest.$ac_ext <<EOF | 10558 cat > conftest.$ac_ext <<EOF |
10617 #line 10618 "configure" | 10559 #line 10560 "configure" |
10618 #include "confdefs.h" | 10560 #include "confdefs.h" |
10619 #if defined(CRAY) && ! defined(CRAY2) | 10561 #if defined(CRAY) && ! defined(CRAY2) |
10620 webecray | 10562 webecray |
10621 #else | 10563 #else |
10622 wenotbecray | 10564 wenotbecray |
10636 | 10578 |
10637 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 10579 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
10638 if test $ac_cv_os_cray = yes; then | 10580 if test $ac_cv_os_cray = yes; then |
10639 for ac_func in _getb67 GETB67 getb67; do | 10581 for ac_func in _getb67 GETB67 getb67; do |
10640 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 10582 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
10641 echo "configure:10642: checking for $ac_func" >&5 | 10583 echo "configure:10584: checking for $ac_func" >&5 |
10642 | 10584 |
10643 cat > conftest.$ac_ext <<EOF | 10585 cat > conftest.$ac_ext <<EOF |
10644 #line 10645 "configure" | 10586 #line 10587 "configure" |
10645 #include "confdefs.h" | 10587 #include "confdefs.h" |
10646 /* System header to define __stub macros and hopefully few prototypes, | 10588 /* System header to define __stub macros and hopefully few prototypes, |
10647 which can conflict with char $ac_func(); below. */ | 10589 which can conflict with char $ac_func(); below. */ |
10648 #include <assert.h> | 10590 #include <assert.h> |
10649 /* Override any gcc2 internal prototype to avoid an error. */ | 10591 /* Override any gcc2 internal prototype to avoid an error. */ |
10662 $ac_func(); | 10604 $ac_func(); |
10663 #endif | 10605 #endif |
10664 | 10606 |
10665 ; return 0; } | 10607 ; return 0; } |
10666 EOF | 10608 EOF |
10667 if { (eval echo configure:10668: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10609 if { (eval echo configure:10610: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10668 rm -rf conftest* | 10610 rm -rf conftest* |
10669 eval "ac_cv_func_$ac_func=yes" | 10611 eval "ac_cv_func_$ac_func=yes" |
10670 else | 10612 else |
10671 echo "configure: failed program was:" >&5 | 10613 echo "configure: failed program was:" >&5 |
10672 cat conftest.$ac_ext >&5 | 10614 cat conftest.$ac_ext >&5 |
10692 | 10634 |
10693 done | 10635 done |
10694 fi | 10636 fi |
10695 | 10637 |
10696 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 10638 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
10697 echo "configure:10698: checking stack direction for C alloca" >&5 | 10639 echo "configure:10640: checking stack direction for C alloca" >&5 |
10698 | 10640 |
10699 cat > conftest.$ac_ext <<EOF | 10641 cat > conftest.$ac_ext <<EOF |
10700 #line 10701 "configure" | 10642 #line 10643 "configure" |
10701 #include "confdefs.h" | 10643 #include "confdefs.h" |
10702 find_stack_direction () | 10644 find_stack_direction () |
10703 { | 10645 { |
10704 static char *addr = 0; | 10646 static char *addr = 0; |
10705 auto char dummy; | 10647 auto char dummy; |
10714 main () | 10656 main () |
10715 { | 10657 { |
10716 exit (find_stack_direction() < 0); | 10658 exit (find_stack_direction() < 0); |
10717 } | 10659 } |
10718 EOF | 10660 EOF |
10719 if { (eval echo configure:10720: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 10661 if { (eval echo configure:10662: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
10720 then | 10662 then |
10721 ac_cv_c_stack_direction=1 | 10663 ac_cv_c_stack_direction=1 |
10722 else | 10664 else |
10723 conftest_rc="$?" | 10665 conftest_rc="$?" |
10724 echo "configure: failed program was:" >&5 | 10666 echo "configure: failed program was:" >&5 |
10743 echo " xemacs will be linked with \"$ALLOCA\"" | 10685 echo " xemacs will be linked with \"$ALLOCA\"" |
10744 fi | 10686 fi |
10745 | 10687 |
10746 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` | 10688 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` |
10747 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 | 10689 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 |
10748 echo "configure:10749: checking for vfork.h" >&5 | 10690 echo "configure:10691: checking for vfork.h" >&5 |
10749 | 10691 |
10750 cat > conftest.$ac_ext <<EOF | 10692 cat > conftest.$ac_ext <<EOF |
10751 #line 10752 "configure" | 10693 #line 10694 "configure" |
10752 #include "confdefs.h" | 10694 #include "confdefs.h" |
10753 #include <vfork.h> | 10695 #include <vfork.h> |
10754 EOF | 10696 EOF |
10755 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10697 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10756 { (eval echo configure:10757: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10698 { (eval echo configure:10699: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10757 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10699 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10758 if test -z "$ac_err"; then | 10700 if test -z "$ac_err"; then |
10759 rm -rf conftest* | 10701 rm -rf conftest* |
10760 eval "ac_cv_header_$ac_safe=yes" | 10702 eval "ac_cv_header_$ac_safe=yes" |
10761 else | 10703 else |
10779 else | 10721 else |
10780 echo "$ac_t""no" 1>&6 | 10722 echo "$ac_t""no" 1>&6 |
10781 fi | 10723 fi |
10782 | 10724 |
10783 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 | 10725 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 |
10784 echo "configure:10785: checking for working vfork" >&5 | 10726 echo "configure:10727: checking for working vfork" >&5 |
10785 | 10727 |
10786 cat > conftest.$ac_ext <<EOF | 10728 cat > conftest.$ac_ext <<EOF |
10787 #line 10788 "configure" | 10729 #line 10730 "configure" |
10788 #include "confdefs.h" | 10730 #include "confdefs.h" |
10789 /* Thanks to Paul Eggert for this test. */ | 10731 /* Thanks to Paul Eggert for this test. */ |
10790 #include <stdio.h> | 10732 #include <stdio.h> |
10791 #include <sys/types.h> | 10733 #include <sys/types.h> |
10792 #include <sys/stat.h> | 10734 #include <sys/stat.h> |
10877 || fstat(fileno(stdout), &st) != 0 | 10819 || fstat(fileno(stdout), &st) != 0 |
10878 ); | 10820 ); |
10879 } | 10821 } |
10880 } | 10822 } |
10881 EOF | 10823 EOF |
10882 if { (eval echo configure:10883: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 10824 if { (eval echo configure:10825: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
10883 then | 10825 then |
10884 ac_cv_func_vfork_works=yes | 10826 ac_cv_func_vfork_works=yes |
10885 else | 10827 else |
10886 conftest_rc="$?" | 10828 conftest_rc="$?" |
10887 echo "configure: failed program was:" >&5 | 10829 echo "configure: failed program was:" >&5 |
10903 | 10845 |
10904 fi | 10846 fi |
10905 | 10847 |
10906 | 10848 |
10907 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 | 10849 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 |
10908 echo "configure:10909: checking for working strcoll" >&5 | 10850 echo "configure:10851: checking for working strcoll" >&5 |
10909 | 10851 |
10910 cat > conftest.$ac_ext <<EOF | 10852 cat > conftest.$ac_ext <<EOF |
10911 #line 10912 "configure" | 10853 #line 10854 "configure" |
10912 #include "confdefs.h" | 10854 #include "confdefs.h" |
10913 #include <string.h> | 10855 #include <string.h> |
10914 main () | 10856 main () |
10915 { | 10857 { |
10916 exit (strcoll ("abc", "def") >= 0 || | 10858 exit (strcoll ("abc", "def") >= 0 || |
10917 strcoll ("ABC", "DEF") >= 0 || | 10859 strcoll ("ABC", "DEF") >= 0 || |
10918 strcoll ("123", "456") >= 0); | 10860 strcoll ("123", "456") >= 0); |
10919 } | 10861 } |
10920 EOF | 10862 EOF |
10921 if { (eval echo configure:10922: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 10863 if { (eval echo configure:10864: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
10922 then | 10864 then |
10923 ac_cv_func_strcoll_works=yes | 10865 ac_cv_func_strcoll_works=yes |
10924 else | 10866 else |
10925 conftest_rc="$?" | 10867 conftest_rc="$?" |
10926 echo "configure: failed program was:" >&5 | 10868 echo "configure: failed program was:" >&5 |
10944 | 10886 |
10945 | 10887 |
10946 for ac_func in getpgrp | 10888 for ac_func in getpgrp |
10947 do | 10889 do |
10948 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 10890 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
10949 echo "configure:10950: checking for $ac_func" >&5 | 10891 echo "configure:10892: checking for $ac_func" >&5 |
10950 | 10892 |
10951 cat > conftest.$ac_ext <<EOF | 10893 cat > conftest.$ac_ext <<EOF |
10952 #line 10953 "configure" | 10894 #line 10895 "configure" |
10953 #include "confdefs.h" | 10895 #include "confdefs.h" |
10954 /* System header to define __stub macros and hopefully few prototypes, | 10896 /* System header to define __stub macros and hopefully few prototypes, |
10955 which can conflict with char $ac_func(); below. */ | 10897 which can conflict with char $ac_func(); below. */ |
10956 #include <assert.h> | 10898 #include <assert.h> |
10957 /* Override any gcc2 internal prototype to avoid an error. */ | 10899 /* Override any gcc2 internal prototype to avoid an error. */ |
10970 $ac_func(); | 10912 $ac_func(); |
10971 #endif | 10913 #endif |
10972 | 10914 |
10973 ; return 0; } | 10915 ; return 0; } |
10974 EOF | 10916 EOF |
10975 if { (eval echo configure:10976: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10917 if { (eval echo configure:10918: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10976 rm -rf conftest* | 10918 rm -rf conftest* |
10977 eval "ac_cv_func_$ac_func=yes" | 10919 eval "ac_cv_func_$ac_func=yes" |
10978 else | 10920 else |
10979 echo "configure: failed program was:" >&5 | 10921 echo "configure: failed program was:" >&5 |
10980 cat conftest.$ac_ext >&5 | 10922 cat conftest.$ac_ext >&5 |
10998 echo "$ac_t""no" 1>&6 | 10940 echo "$ac_t""no" 1>&6 |
10999 fi | 10941 fi |
11000 done | 10942 done |
11001 | 10943 |
11002 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 | 10944 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 |
11003 echo "configure:11004: checking whether getpgrp takes no argument" >&5 | 10945 echo "configure:10946: checking whether getpgrp takes no argument" >&5 |
11004 | 10946 |
11005 cat > conftest.$ac_ext <<EOF | 10947 cat > conftest.$ac_ext <<EOF |
11006 #line 11007 "configure" | 10948 #line 10949 "configure" |
11007 #include "confdefs.h" | 10949 #include "confdefs.h" |
11008 | 10950 |
11009 /* | 10951 /* |
11010 * If this system has a BSD-style getpgrp(), | 10952 * If this system has a BSD-style getpgrp(), |
11011 * which takes a pid argument, exit unsuccessfully. | 10953 * which takes a pid argument, exit unsuccessfully. |
11056 exit(s>>8); | 10998 exit(s>>8); |
11057 } | 10999 } |
11058 } | 11000 } |
11059 | 11001 |
11060 EOF | 11002 EOF |
11061 if { (eval echo configure:11062: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 11003 if { (eval echo configure:11004: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
11062 then | 11004 then |
11063 ac_cv_func_getpgrp_void=yes | 11005 ac_cv_func_getpgrp_void=yes |
11064 else | 11006 else |
11065 conftest_rc="$?" | 11007 conftest_rc="$?" |
11066 echo "configure: failed program was:" >&5 | 11008 echo "configure: failed program was:" >&5 |
11083 | 11025 |
11084 fi | 11026 fi |
11085 | 11027 |
11086 | 11028 |
11087 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 11029 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
11088 echo "configure:11089: checking for working mmap" >&5 | 11030 echo "configure:11031: checking for working mmap" >&5 |
11089 case "$opsys" in ultrix* ) have_mmap=no ;; *) | 11031 case "$opsys" in ultrix* ) have_mmap=no ;; *) |
11090 cat > conftest.$ac_ext <<EOF | 11032 cat > conftest.$ac_ext <<EOF |
11091 #line 11092 "configure" | 11033 #line 11034 "configure" |
11092 #include "confdefs.h" | 11034 #include "confdefs.h" |
11093 #include <stdio.h> | 11035 #include <stdio.h> |
11094 #include <unistd.h> | 11036 #include <unistd.h> |
11095 #include <fcntl.h> | 11037 #include <fcntl.h> |
11096 #include <sys/mman.h> | 11038 #include <sys/mman.h> |
11119 return 0; | 11061 return 0; |
11120 perror ("conftest: mmap failed"); | 11062 perror ("conftest: mmap failed"); |
11121 return 1; | 11063 return 1; |
11122 } | 11064 } |
11123 EOF | 11065 EOF |
11124 if { (eval echo configure:11125: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 11066 if { (eval echo configure:11067: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
11125 then | 11067 then |
11126 have_mmap=yes | 11068 have_mmap=yes |
11127 else | 11069 else |
11128 conftest_rc="$?" | 11070 conftest_rc="$?" |
11129 echo "configure: failed program was:" >&5 | 11071 echo "configure: failed program was:" >&5 |
11145 | 11087 |
11146 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no | 11088 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no |
11147 if test "$rel_alloc $have_mmap" = "default yes"; then | 11089 if test "$rel_alloc $have_mmap" = "default yes"; then |
11148 if test "$doug_lea_malloc" = "yes"; then | 11090 if test "$doug_lea_malloc" = "yes"; then |
11149 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 | 11091 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 |
11150 echo "configure:11151: checking for M_MMAP_THRESHOLD" >&5 | 11092 echo "configure:11093: checking for M_MMAP_THRESHOLD" >&5 |
11151 cat > conftest.$ac_ext <<EOF | 11093 cat > conftest.$ac_ext <<EOF |
11152 #line 11153 "configure" | 11094 #line 11095 "configure" |
11153 #include "confdefs.h" | 11095 #include "confdefs.h" |
11154 #include <malloc.h> | 11096 #include <malloc.h> |
11155 int main() { | 11097 int main() { |
11156 | 11098 |
11157 #ifndef M_MMAP_THRESHOLD | 11099 #ifndef M_MMAP_THRESHOLD |
11159 !@+$%^&*_)(_ - unlikely to compile... | 11101 !@+$%^&*_)(_ - unlikely to compile... |
11160 #endif | 11102 #endif |
11161 | 11103 |
11162 ; return 0; } | 11104 ; return 0; } |
11163 EOF | 11105 EOF |
11164 if { (eval echo configure:11165: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 11106 if { (eval echo configure:11107: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
11165 rm -rf conftest* | 11107 rm -rf conftest* |
11166 rel_alloc=no; echo "$ac_t""yes" 1>&6; | 11108 rel_alloc=no; echo "$ac_t""yes" 1>&6; |
11167 else | 11109 else |
11168 echo "configure: failed program was:" >&5 | 11110 echo "configure: failed program was:" >&5 |
11169 cat conftest.$ac_ext >&5 | 11111 cat conftest.$ac_ext >&5 |
11184 } | 11126 } |
11185 | 11127 |
11186 | 11128 |
11187 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` | 11129 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` |
11188 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 | 11130 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 |
11189 echo "configure:11190: checking for termios.h" >&5 | 11131 echo "configure:11132: checking for termios.h" >&5 |
11190 | 11132 |
11191 cat > conftest.$ac_ext <<EOF | 11133 cat > conftest.$ac_ext <<EOF |
11192 #line 11193 "configure" | 11134 #line 11135 "configure" |
11193 #include "confdefs.h" | 11135 #include "confdefs.h" |
11194 #include <termios.h> | 11136 #include <termios.h> |
11195 EOF | 11137 EOF |
11196 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11138 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11197 { (eval echo configure:11198: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11139 { (eval echo configure:11140: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11198 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11140 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11199 if test -z "$ac_err"; then | 11141 if test -z "$ac_err"; then |
11200 rm -rf conftest* | 11142 rm -rf conftest* |
11201 eval "ac_cv_header_$ac_safe=yes" | 11143 eval "ac_cv_header_$ac_safe=yes" |
11202 else | 11144 else |
11235 | 11177 |
11236 else | 11178 else |
11237 echo "$ac_t""no" 1>&6 | 11179 echo "$ac_t""no" 1>&6 |
11238 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` | 11180 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` |
11239 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 | 11181 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 |
11240 echo "configure:11241: checking for termio.h" >&5 | 11182 echo "configure:11183: checking for termio.h" >&5 |
11241 | 11183 |
11242 cat > conftest.$ac_ext <<EOF | 11184 cat > conftest.$ac_ext <<EOF |
11243 #line 11244 "configure" | 11185 #line 11186 "configure" |
11244 #include "confdefs.h" | 11186 #include "confdefs.h" |
11245 #include <termio.h> | 11187 #include <termio.h> |
11246 EOF | 11188 EOF |
11247 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11189 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11248 { (eval echo configure:11249: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11190 { (eval echo configure:11191: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11249 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11191 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11250 if test -z "$ac_err"; then | 11192 if test -z "$ac_err"; then |
11251 rm -rf conftest* | 11193 rm -rf conftest* |
11252 eval "ac_cv_header_$ac_safe=yes" | 11194 eval "ac_cv_header_$ac_safe=yes" |
11253 else | 11195 else |
11275 fi | 11217 fi |
11276 | 11218 |
11277 | 11219 |
11278 | 11220 |
11279 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 11221 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
11280 echo "configure:11281: checking for socket" >&5 | 11222 echo "configure:11223: checking for socket" >&5 |
11281 | 11223 |
11282 cat > conftest.$ac_ext <<EOF | 11224 cat > conftest.$ac_ext <<EOF |
11283 #line 11284 "configure" | 11225 #line 11226 "configure" |
11284 #include "confdefs.h" | 11226 #include "confdefs.h" |
11285 /* System header to define __stub macros and hopefully few prototypes, | 11227 /* System header to define __stub macros and hopefully few prototypes, |
11286 which can conflict with char socket(); below. */ | 11228 which can conflict with char socket(); below. */ |
11287 #include <assert.h> | 11229 #include <assert.h> |
11288 /* Override any gcc2 internal prototype to avoid an error. */ | 11230 /* Override any gcc2 internal prototype to avoid an error. */ |
11301 socket(); | 11243 socket(); |
11302 #endif | 11244 #endif |
11303 | 11245 |
11304 ; return 0; } | 11246 ; return 0; } |
11305 EOF | 11247 EOF |
11306 if { (eval echo configure:11307: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11248 if { (eval echo configure:11249: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11307 rm -rf conftest* | 11249 rm -rf conftest* |
11308 eval "ac_cv_func_socket=yes" | 11250 eval "ac_cv_func_socket=yes" |
11309 else | 11251 else |
11310 echo "configure: failed program was:" >&5 | 11252 echo "configure: failed program was:" >&5 |
11311 cat conftest.$ac_ext >&5 | 11253 cat conftest.$ac_ext >&5 |
11316 | 11258 |
11317 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then | 11259 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then |
11318 echo "$ac_t""yes" 1>&6 | 11260 echo "$ac_t""yes" 1>&6 |
11319 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 11261 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
11320 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 11262 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
11321 echo "configure:11322: checking for netinet/in.h" >&5 | 11263 echo "configure:11264: checking for netinet/in.h" >&5 |
11322 | 11264 |
11323 cat > conftest.$ac_ext <<EOF | 11265 cat > conftest.$ac_ext <<EOF |
11324 #line 11325 "configure" | 11266 #line 11267 "configure" |
11325 #include "confdefs.h" | 11267 #include "confdefs.h" |
11326 #include <netinet/in.h> | 11268 #include <netinet/in.h> |
11327 EOF | 11269 EOF |
11328 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11270 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11329 { (eval echo configure:11330: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11271 { (eval echo configure:11272: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11330 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11272 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11331 if test -z "$ac_err"; then | 11273 if test -z "$ac_err"; then |
11332 rm -rf conftest* | 11274 rm -rf conftest* |
11333 eval "ac_cv_header_$ac_safe=yes" | 11275 eval "ac_cv_header_$ac_safe=yes" |
11334 else | 11276 else |
11341 rm -f conftest* | 11283 rm -f conftest* |
11342 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 11284 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
11343 echo "$ac_t""yes" 1>&6 | 11285 echo "$ac_t""yes" 1>&6 |
11344 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 11286 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
11345 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 11287 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
11346 echo "configure:11347: checking for arpa/inet.h" >&5 | 11288 echo "configure:11289: checking for arpa/inet.h" >&5 |
11347 | 11289 |
11348 cat > conftest.$ac_ext <<EOF | 11290 cat > conftest.$ac_ext <<EOF |
11349 #line 11350 "configure" | 11291 #line 11292 "configure" |
11350 #include "confdefs.h" | 11292 #include "confdefs.h" |
11351 #include <arpa/inet.h> | 11293 #include <arpa/inet.h> |
11352 EOF | 11294 EOF |
11353 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11295 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11354 { (eval echo configure:11355: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11296 { (eval echo configure:11297: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11355 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11297 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11356 if test -z "$ac_err"; then | 11298 if test -z "$ac_err"; then |
11357 rm -rf conftest* | 11299 rm -rf conftest* |
11358 eval "ac_cv_header_$ac_safe=yes" | 11300 eval "ac_cv_header_$ac_safe=yes" |
11359 else | 11301 else |
11374 #define HAVE_SOCKETS 1 | 11316 #define HAVE_SOCKETS 1 |
11375 EOF | 11317 EOF |
11376 } | 11318 } |
11377 | 11319 |
11378 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 | 11320 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 |
11379 echo "configure:11380: checking "for sun_len member in struct sockaddr_un"" >&5 | 11321 echo "configure:11322: checking "for sun_len member in struct sockaddr_un"" >&5 |
11380 cat > conftest.$ac_ext <<EOF | 11322 cat > conftest.$ac_ext <<EOF |
11381 #line 11382 "configure" | 11323 #line 11324 "configure" |
11382 #include "confdefs.h" | 11324 #include "confdefs.h" |
11383 | 11325 |
11384 #include <sys/types.h> | 11326 #include <sys/types.h> |
11385 #include <sys/socket.h> | 11327 #include <sys/socket.h> |
11386 #include <sys/un.h> | 11328 #include <sys/un.h> |
11387 | 11329 |
11388 int main() { | 11330 int main() { |
11389 static struct sockaddr_un x; x.sun_len = 1; | 11331 static struct sockaddr_un x; x.sun_len = 1; |
11390 ; return 0; } | 11332 ; return 0; } |
11391 EOF | 11333 EOF |
11392 if { (eval echo configure:11393: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11334 if { (eval echo configure:11335: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11393 rm -rf conftest* | 11335 rm -rf conftest* |
11394 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 11336 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
11395 Defining HAVE_SOCKADDR_SUN_LEN | 11337 Defining HAVE_SOCKADDR_SUN_LEN |
11396 EOF | 11338 EOF |
11397 cat >> confdefs.h <<\EOF | 11339 cat >> confdefs.h <<\EOF |
11405 rm -rf conftest* | 11347 rm -rf conftest* |
11406 echo "$ac_t""no" 1>&6 | 11348 echo "$ac_t""no" 1>&6 |
11407 fi | 11349 fi |
11408 rm -f conftest* | 11350 rm -f conftest* |
11409 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 | 11351 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 |
11410 echo "configure:11411: checking "for ip_mreq struct in netinet/in.h"" >&5 | 11352 echo "configure:11353: checking "for ip_mreq struct in netinet/in.h"" >&5 |
11411 cat > conftest.$ac_ext <<EOF | 11353 cat > conftest.$ac_ext <<EOF |
11412 #line 11413 "configure" | 11354 #line 11355 "configure" |
11413 #include "confdefs.h" | 11355 #include "confdefs.h" |
11414 | 11356 |
11415 #include <sys/types.h> | 11357 #include <sys/types.h> |
11416 #include <netinet/in.h> | 11358 #include <netinet/in.h> |
11417 | 11359 |
11418 int main() { | 11360 int main() { |
11419 static struct ip_mreq x; | 11361 static struct ip_mreq x; |
11420 ; return 0; } | 11362 ; return 0; } |
11421 EOF | 11363 EOF |
11422 if { (eval echo configure:11423: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11364 if { (eval echo configure:11365: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11423 rm -rf conftest* | 11365 rm -rf conftest* |
11424 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 11366 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
11425 Defining HAVE_MULTICAST | 11367 Defining HAVE_MULTICAST |
11426 EOF | 11368 EOF |
11427 cat >> confdefs.h <<\EOF | 11369 cat >> confdefs.h <<\EOF |
11448 echo "$ac_t""no" 1>&6 | 11390 echo "$ac_t""no" 1>&6 |
11449 fi | 11391 fi |
11450 | 11392 |
11451 | 11393 |
11452 echo $ac_n "checking for msgget""... $ac_c" 1>&6 | 11394 echo $ac_n "checking for msgget""... $ac_c" 1>&6 |
11453 echo "configure:11454: checking for msgget" >&5 | 11395 echo "configure:11396: checking for msgget" >&5 |
11454 | 11396 |
11455 cat > conftest.$ac_ext <<EOF | 11397 cat > conftest.$ac_ext <<EOF |
11456 #line 11457 "configure" | 11398 #line 11399 "configure" |
11457 #include "confdefs.h" | 11399 #include "confdefs.h" |
11458 /* System header to define __stub macros and hopefully few prototypes, | 11400 /* System header to define __stub macros and hopefully few prototypes, |
11459 which can conflict with char msgget(); below. */ | 11401 which can conflict with char msgget(); below. */ |
11460 #include <assert.h> | 11402 #include <assert.h> |
11461 /* Override any gcc2 internal prototype to avoid an error. */ | 11403 /* Override any gcc2 internal prototype to avoid an error. */ |
11474 msgget(); | 11416 msgget(); |
11475 #endif | 11417 #endif |
11476 | 11418 |
11477 ; return 0; } | 11419 ; return 0; } |
11478 EOF | 11420 EOF |
11479 if { (eval echo configure:11480: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11421 if { (eval echo configure:11422: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11480 rm -rf conftest* | 11422 rm -rf conftest* |
11481 eval "ac_cv_func_msgget=yes" | 11423 eval "ac_cv_func_msgget=yes" |
11482 else | 11424 else |
11483 echo "configure: failed program was:" >&5 | 11425 echo "configure: failed program was:" >&5 |
11484 cat conftest.$ac_ext >&5 | 11426 cat conftest.$ac_ext >&5 |
11489 | 11431 |
11490 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then | 11432 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then |
11491 echo "$ac_t""yes" 1>&6 | 11433 echo "$ac_t""yes" 1>&6 |
11492 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` | 11434 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` |
11493 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 | 11435 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 |
11494 echo "configure:11495: checking for sys/ipc.h" >&5 | 11436 echo "configure:11437: checking for sys/ipc.h" >&5 |
11495 | 11437 |
11496 cat > conftest.$ac_ext <<EOF | 11438 cat > conftest.$ac_ext <<EOF |
11497 #line 11498 "configure" | 11439 #line 11440 "configure" |
11498 #include "confdefs.h" | 11440 #include "confdefs.h" |
11499 #include <sys/ipc.h> | 11441 #include <sys/ipc.h> |
11500 EOF | 11442 EOF |
11501 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11443 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11502 { (eval echo configure:11503: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11444 { (eval echo configure:11445: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11503 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11445 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11504 if test -z "$ac_err"; then | 11446 if test -z "$ac_err"; then |
11505 rm -rf conftest* | 11447 rm -rf conftest* |
11506 eval "ac_cv_header_$ac_safe=yes" | 11448 eval "ac_cv_header_$ac_safe=yes" |
11507 else | 11449 else |
11514 rm -f conftest* | 11456 rm -f conftest* |
11515 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 11457 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
11516 echo "$ac_t""yes" 1>&6 | 11458 echo "$ac_t""yes" 1>&6 |
11517 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` | 11459 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` |
11518 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 | 11460 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 |
11519 echo "configure:11520: checking for sys/msg.h" >&5 | 11461 echo "configure:11462: checking for sys/msg.h" >&5 |
11520 | 11462 |
11521 cat > conftest.$ac_ext <<EOF | 11463 cat > conftest.$ac_ext <<EOF |
11522 #line 11523 "configure" | 11464 #line 11465 "configure" |
11523 #include "confdefs.h" | 11465 #include "confdefs.h" |
11524 #include <sys/msg.h> | 11466 #include <sys/msg.h> |
11525 EOF | 11467 EOF |
11526 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" |
11527 { (eval echo configure:11528: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11469 { (eval echo configure:11470: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11528 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11470 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11529 if test -z "$ac_err"; then | 11471 if test -z "$ac_err"; then |
11530 rm -rf conftest* | 11472 rm -rf conftest* |
11531 eval "ac_cv_header_$ac_safe=yes" | 11473 eval "ac_cv_header_$ac_safe=yes" |
11532 else | 11474 else |
11560 fi | 11502 fi |
11561 | 11503 |
11562 | 11504 |
11563 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` | 11505 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` |
11564 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 | 11506 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 |
11565 echo "configure:11566: checking for dirent.h" >&5 | 11507 echo "configure:11508: checking for dirent.h" >&5 |
11566 | 11508 |
11567 cat > conftest.$ac_ext <<EOF | 11509 cat > conftest.$ac_ext <<EOF |
11568 #line 11569 "configure" | 11510 #line 11511 "configure" |
11569 #include "confdefs.h" | 11511 #include "confdefs.h" |
11570 #include <dirent.h> | 11512 #include <dirent.h> |
11571 EOF | 11513 EOF |
11572 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11514 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11573 { (eval echo configure:11574: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11515 { (eval echo configure:11516: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11574 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11516 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11575 if test -z "$ac_err"; then | 11517 if test -z "$ac_err"; then |
11576 rm -rf conftest* | 11518 rm -rf conftest* |
11577 eval "ac_cv_header_$ac_safe=yes" | 11519 eval "ac_cv_header_$ac_safe=yes" |
11578 else | 11520 else |
11595 | 11537 |
11596 else | 11538 else |
11597 echo "$ac_t""no" 1>&6 | 11539 echo "$ac_t""no" 1>&6 |
11598 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` | 11540 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` |
11599 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 | 11541 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 |
11600 echo "configure:11601: checking for sys/dir.h" >&5 | 11542 echo "configure:11543: checking for sys/dir.h" >&5 |
11601 | 11543 |
11602 cat > conftest.$ac_ext <<EOF | 11544 cat > conftest.$ac_ext <<EOF |
11603 #line 11604 "configure" | 11545 #line 11546 "configure" |
11604 #include "confdefs.h" | 11546 #include "confdefs.h" |
11605 #include <sys/dir.h> | 11547 #include <sys/dir.h> |
11606 EOF | 11548 EOF |
11607 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11549 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11608 { (eval echo configure:11609: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11550 { (eval echo configure:11551: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11609 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11551 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11610 if test -z "$ac_err"; then | 11552 if test -z "$ac_err"; then |
11611 rm -rf conftest* | 11553 rm -rf conftest* |
11612 eval "ac_cv_header_$ac_safe=yes" | 11554 eval "ac_cv_header_$ac_safe=yes" |
11613 else | 11555 else |
11636 fi | 11578 fi |
11637 | 11579 |
11638 | 11580 |
11639 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 11581 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
11640 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 11582 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
11641 echo "configure:11642: checking for nlist.h" >&5 | 11583 echo "configure:11584: checking for nlist.h" >&5 |
11642 | 11584 |
11643 cat > conftest.$ac_ext <<EOF | 11585 cat > conftest.$ac_ext <<EOF |
11644 #line 11645 "configure" | 11586 #line 11587 "configure" |
11645 #include "confdefs.h" | 11587 #include "confdefs.h" |
11646 #include <nlist.h> | 11588 #include <nlist.h> |
11647 EOF | 11589 EOF |
11648 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11590 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11649 { (eval echo configure:11650: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11591 { (eval echo configure:11592: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11650 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11592 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11651 if test -z "$ac_err"; then | 11593 if test -z "$ac_err"; then |
11652 rm -rf conftest* | 11594 rm -rf conftest* |
11653 eval "ac_cv_header_$ac_safe=yes" | 11595 eval "ac_cv_header_$ac_safe=yes" |
11654 else | 11596 else |
11674 fi | 11616 fi |
11675 | 11617 |
11676 | 11618 |
11677 | 11619 |
11678 echo "checking "for sound support"" 1>&6 | 11620 echo "checking "for sound support"" 1>&6 |
11679 echo "configure:11680: checking "for sound support"" >&5 | 11621 echo "configure:11622: checking "for sound support"" >&5 |
11680 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes | 11622 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes |
11681 | 11623 |
11682 if test "$with_native_sound" != "no"; then | 11624 if test "$with_native_sound" != "no"; then |
11683 if test -n "$native_sound_lib"; then | 11625 if test -n "$native_sound_lib"; then |
11684 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` | 11626 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` |
11685 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 | 11627 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 |
11686 echo "configure:11687: checking for multimedia/audio_device.h" >&5 | 11628 echo "configure:11629: checking for multimedia/audio_device.h" >&5 |
11687 | 11629 |
11688 cat > conftest.$ac_ext <<EOF | 11630 cat > conftest.$ac_ext <<EOF |
11689 #line 11690 "configure" | 11631 #line 11632 "configure" |
11690 #include "confdefs.h" | 11632 #include "confdefs.h" |
11691 #include <multimedia/audio_device.h> | 11633 #include <multimedia/audio_device.h> |
11692 EOF | 11634 EOF |
11693 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11635 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11694 { (eval echo configure:11695: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11636 { (eval echo configure:11637: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11695 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11637 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11696 if test -z "$ac_err"; then | 11638 if test -z "$ac_err"; then |
11697 rm -rf conftest* | 11639 rm -rf conftest* |
11698 eval "ac_cv_header_$ac_safe=yes" | 11640 eval "ac_cv_header_$ac_safe=yes" |
11699 else | 11641 else |
11737 case "$canonical" in | 11679 case "$canonical" in |
11738 *-sgi-* ) | 11680 *-sgi-* ) |
11739 if test -z "$native_sound_lib"; then | 11681 if test -z "$native_sound_lib"; then |
11740 | 11682 |
11741 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 | 11683 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 |
11742 echo "configure:11743: checking for ALopenport in -laudio" >&5 | 11684 echo "configure:11685: checking for ALopenport in -laudio" >&5 |
11743 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` | 11685 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` |
11744 | 11686 |
11745 xe_check_libs=" -laudio " | 11687 xe_check_libs=" -laudio " |
11746 cat > conftest.$ac_ext <<EOF | 11688 cat > conftest.$ac_ext <<EOF |
11747 #line 11748 "configure" | 11689 #line 11690 "configure" |
11748 #include "confdefs.h" | 11690 #include "confdefs.h" |
11749 /* Override any gcc2 internal prototype to avoid an error. */ | 11691 /* Override any gcc2 internal prototype to avoid an error. */ |
11750 /* We use char because int might match the return type of a gcc2 | 11692 /* We use char because int might match the return type of a gcc2 |
11751 builtin and then its argument prototype would still apply. */ | 11693 builtin and then its argument prototype would still apply. */ |
11752 char ALopenport(); | 11694 char ALopenport(); |
11753 | 11695 |
11754 int main() { | 11696 int main() { |
11755 ALopenport() | 11697 ALopenport() |
11756 ; return 0; } | 11698 ; return 0; } |
11757 EOF | 11699 EOF |
11758 if { (eval echo configure:11759: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11700 if { (eval echo configure:11701: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11759 rm -rf conftest* | 11701 rm -rf conftest* |
11760 eval "ac_cv_lib_$ac_lib_var=yes" | 11702 eval "ac_cv_lib_$ac_lib_var=yes" |
11761 else | 11703 else |
11762 echo "configure: failed program was:" >&5 | 11704 echo "configure: failed program was:" >&5 |
11763 cat conftest.$ac_ext >&5 | 11705 cat conftest.$ac_ext >&5 |
11784 fi ;; | 11726 fi ;; |
11785 hppa*-hp-hpux* ) | 11727 hppa*-hp-hpux* ) |
11786 if test -z "$native_sound_lib"; then | 11728 if test -z "$native_sound_lib"; then |
11787 | 11729 |
11788 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 | 11730 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 |
11789 echo "configure:11790: checking for AOpenAudio in -lAlib" >&5 | 11731 echo "configure:11732: checking for AOpenAudio in -lAlib" >&5 |
11790 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` | 11732 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` |
11791 | 11733 |
11792 xe_check_libs=" -lAlib " | 11734 xe_check_libs=" -lAlib " |
11793 cat > conftest.$ac_ext <<EOF | 11735 cat > conftest.$ac_ext <<EOF |
11794 #line 11795 "configure" | 11736 #line 11737 "configure" |
11795 #include "confdefs.h" | 11737 #include "confdefs.h" |
11796 /* Override any gcc2 internal prototype to avoid an error. */ | 11738 /* Override any gcc2 internal prototype to avoid an error. */ |
11797 /* We use char because int might match the return type of a gcc2 | 11739 /* We use char because int might match the return type of a gcc2 |
11798 builtin and then its argument prototype would still apply. */ | 11740 builtin and then its argument prototype would still apply. */ |
11799 char AOpenAudio(); | 11741 char AOpenAudio(); |
11800 | 11742 |
11801 int main() { | 11743 int main() { |
11802 AOpenAudio() | 11744 AOpenAudio() |
11803 ; return 0; } | 11745 ; return 0; } |
11804 EOF | 11746 EOF |
11805 if { (eval echo configure:11806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11747 if { (eval echo configure:11748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11806 rm -rf conftest* | 11748 rm -rf conftest* |
11807 eval "ac_cv_lib_$ac_lib_var=yes" | 11749 eval "ac_cv_lib_$ac_lib_var=yes" |
11808 else | 11750 else |
11809 echo "configure: failed program was:" >&5 | 11751 echo "configure: failed program was:" >&5 |
11810 cat conftest.$ac_ext >&5 | 11752 cat conftest.$ac_ext >&5 |
11838 | 11780 |
11839 if test -z "$sound_found"; then | 11781 if test -z "$sound_found"; then |
11840 for dir in "machine" "sys" "linux"; do | 11782 for dir in "machine" "sys" "linux"; do |
11841 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` | 11783 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` |
11842 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 | 11784 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 |
11843 echo "configure:11844: checking for ${dir}/soundcard.h" >&5 | 11785 echo "configure:11786: checking for ${dir}/soundcard.h" >&5 |
11844 | 11786 |
11845 cat > conftest.$ac_ext <<EOF | 11787 cat > conftest.$ac_ext <<EOF |
11846 #line 11847 "configure" | 11788 #line 11789 "configure" |
11847 #include "confdefs.h" | 11789 #include "confdefs.h" |
11848 #include <${dir}/soundcard.h> | 11790 #include <${dir}/soundcard.h> |
11849 EOF | 11791 EOF |
11850 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11792 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11851 { (eval echo configure:11852: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11793 { (eval echo configure:11794: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11852 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11794 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11853 if test -z "$ac_err"; then | 11795 if test -z "$ac_err"; then |
11854 rm -rf conftest* | 11796 rm -rf conftest* |
11855 eval "ac_cv_header_$ac_safe=yes" | 11797 eval "ac_cv_header_$ac_safe=yes" |
11856 else | 11798 else |
11900 fi | 11842 fi |
11901 | 11843 |
11902 if test "$with_nas_sound" != "no"; then | 11844 if test "$with_nas_sound" != "no"; then |
11903 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` | 11845 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` |
11904 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 | 11846 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 |
11905 echo "configure:11906: checking for audio/audiolib.h" >&5 | 11847 echo "configure:11848: checking for audio/audiolib.h" >&5 |
11906 | 11848 |
11907 cat > conftest.$ac_ext <<EOF | 11849 cat > conftest.$ac_ext <<EOF |
11908 #line 11909 "configure" | 11850 #line 11851 "configure" |
11909 #include "confdefs.h" | 11851 #include "confdefs.h" |
11910 #include <audio/audiolib.h> | 11852 #include <audio/audiolib.h> |
11911 EOF | 11853 EOF |
11912 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11854 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11913 { (eval echo configure:11914: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11855 { (eval echo configure:11856: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11914 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11856 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11915 if test -z "$ac_err"; then | 11857 if test -z "$ac_err"; then |
11916 rm -rf conftest* | 11858 rm -rf conftest* |
11917 eval "ac_cv_header_$ac_safe=yes" | 11859 eval "ac_cv_header_$ac_safe=yes" |
11918 else | 11860 else |
11926 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 11868 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
11927 echo "$ac_t""yes" 1>&6 | 11869 echo "$ac_t""yes" 1>&6 |
11928 | 11870 |
11929 | 11871 |
11930 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 | 11872 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 |
11931 echo "configure:11932: checking for AuOpenServer in -laudio" >&5 | 11873 echo "configure:11874: checking for AuOpenServer in -laudio" >&5 |
11932 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` | 11874 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` |
11933 | 11875 |
11934 xe_check_libs=" -laudio " | 11876 xe_check_libs=" -laudio " |
11935 cat > conftest.$ac_ext <<EOF | 11877 cat > conftest.$ac_ext <<EOF |
11936 #line 11937 "configure" | 11878 #line 11879 "configure" |
11937 #include "confdefs.h" | 11879 #include "confdefs.h" |
11938 /* Override any gcc2 internal prototype to avoid an error. */ | 11880 /* Override any gcc2 internal prototype to avoid an error. */ |
11939 /* We use char because int might match the return type of a gcc2 | 11881 /* We use char because int might match the return type of a gcc2 |
11940 builtin and then its argument prototype would still apply. */ | 11882 builtin and then its argument prototype would still apply. */ |
11941 char AuOpenServer(); | 11883 char AuOpenServer(); |
11942 | 11884 |
11943 int main() { | 11885 int main() { |
11944 AuOpenServer() | 11886 AuOpenServer() |
11945 ; return 0; } | 11887 ; return 0; } |
11946 EOF | 11888 EOF |
11947 if { (eval echo configure:11948: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11889 if { (eval echo configure:11890: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11948 rm -rf conftest* | 11890 rm -rf conftest* |
11949 eval "ac_cv_lib_$ac_lib_var=yes" | 11891 eval "ac_cv_lib_$ac_lib_var=yes" |
11950 else | 11892 else |
11951 echo "configure: failed program was:" >&5 | 11893 echo "configure: failed program was:" >&5 |
11952 cat conftest.$ac_ext >&5 | 11894 cat conftest.$ac_ext >&5 |
11981 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then | 11923 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then |
11982 echo " xemacs will be linked with \"nas.o\"" | 11924 echo " xemacs will be linked with \"nas.o\"" |
11983 fi | 11925 fi |
11984 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi | 11926 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi |
11985 cat > conftest.$ac_ext <<EOF | 11927 cat > conftest.$ac_ext <<EOF |
11986 #line 11987 "configure" | 11928 #line 11929 "configure" |
11987 #include "confdefs.h" | 11929 #include "confdefs.h" |
11988 #include <audio/Xtutil.h> | 11930 #include <audio/Xtutil.h> |
11989 EOF | 11931 EOF |
11990 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 11932 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
11991 egrep "AuXtErrorJump" >/dev/null 2>&1; then | 11933 egrep "AuXtErrorJump" >/dev/null 2>&1; then |
12012 | 11954 |
12013 if test "$with_esd_sound" != "no"; then | 11955 if test "$with_esd_sound" != "no"; then |
12014 # Extract the first word of "esd-config", so it can be a program name with args. | 11956 # Extract the first word of "esd-config", so it can be a program name with args. |
12015 set dummy esd-config; ac_word=$2 | 11957 set dummy esd-config; ac_word=$2 |
12016 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 11958 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
12017 echo "configure:12018: checking for $ac_word" >&5 | 11959 echo "configure:11960: checking for $ac_word" >&5 |
12018 | 11960 |
12019 if test -n "$have_esd_config"; then | 11961 if test -n "$have_esd_config"; then |
12020 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. | 11962 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. |
12021 else | 11963 else |
12022 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 11964 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
12041 if test "$have_esd_config" = "yes"; then | 11983 if test "$have_esd_config" = "yes"; then |
12042 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" | 11984 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" |
12043 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 | 11985 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 |
12044 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi | 11986 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi |
12045 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 | 11987 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 |
12046 echo "configure:12047: checking for esd_play_stream" >&5 | 11988 echo "configure:11989: checking for esd_play_stream" >&5 |
12047 | 11989 |
12048 cat > conftest.$ac_ext <<EOF | 11990 cat > conftest.$ac_ext <<EOF |
12049 #line 12050 "configure" | 11991 #line 11992 "configure" |
12050 #include "confdefs.h" | 11992 #include "confdefs.h" |
12051 /* System header to define __stub macros and hopefully few prototypes, | 11993 /* System header to define __stub macros and hopefully few prototypes, |
12052 which can conflict with char esd_play_stream(); below. */ | 11994 which can conflict with char esd_play_stream(); below. */ |
12053 #include <assert.h> | 11995 #include <assert.h> |
12054 /* Override any gcc2 internal prototype to avoid an error. */ | 11996 /* Override any gcc2 internal prototype to avoid an error. */ |
12067 esd_play_stream(); | 12009 esd_play_stream(); |
12068 #endif | 12010 #endif |
12069 | 12011 |
12070 ; return 0; } | 12012 ; return 0; } |
12071 EOF | 12013 EOF |
12072 if { (eval echo configure:12073: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12014 if { (eval echo configure:12015: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12073 rm -rf conftest* | 12015 rm -rf conftest* |
12074 eval "ac_cv_func_esd_play_stream=yes" | 12016 eval "ac_cv_func_esd_play_stream=yes" |
12075 else | 12017 else |
12076 echo "configure: failed program was:" >&5 | 12018 echo "configure: failed program was:" >&5 |
12077 cat conftest.$ac_ext >&5 | 12019 cat conftest.$ac_ext >&5 |
12118 | 12060 |
12119 test -z "$with_tty" && with_tty=yes | 12061 test -z "$with_tty" && with_tty=yes |
12120 | 12062 |
12121 if test "$with_tty" = "yes" ; then | 12063 if test "$with_tty" = "yes" ; then |
12122 echo "checking for TTY-related features" 1>&6 | 12064 echo "checking for TTY-related features" 1>&6 |
12123 echo "configure:12124: checking for TTY-related features" >&5 | 12065 echo "configure:12066: checking for TTY-related features" >&5 |
12124 { test "$extra_verbose" = "yes" && cat << \EOF | 12066 { test "$extra_verbose" = "yes" && cat << \EOF |
12125 Defining HAVE_TTY | 12067 Defining HAVE_TTY |
12126 EOF | 12068 EOF |
12127 cat >> confdefs.h <<\EOF | 12069 cat >> confdefs.h <<\EOF |
12128 #define HAVE_TTY 1 | 12070 #define HAVE_TTY 1 |
12134 fi | 12076 fi |
12135 | 12077 |
12136 if test -z "$with_ncurses"; then | 12078 if test -z "$with_ncurses"; then |
12137 | 12079 |
12138 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 | 12080 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 |
12139 echo "configure:12140: checking for tgetent in -lncurses" >&5 | 12081 echo "configure:12082: checking for tgetent in -lncurses" >&5 |
12140 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` | 12082 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` |
12141 | 12083 |
12142 xe_check_libs=" -lncurses " | 12084 xe_check_libs=" -lncurses " |
12143 cat > conftest.$ac_ext <<EOF | 12085 cat > conftest.$ac_ext <<EOF |
12144 #line 12145 "configure" | 12086 #line 12087 "configure" |
12145 #include "confdefs.h" | 12087 #include "confdefs.h" |
12146 /* Override any gcc2 internal prototype to avoid an error. */ | 12088 /* Override any gcc2 internal prototype to avoid an error. */ |
12147 /* We use char because int might match the return type of a gcc2 | 12089 /* We use char because int might match the return type of a gcc2 |
12148 builtin and then its argument prototype would still apply. */ | 12090 builtin and then its argument prototype would still apply. */ |
12149 char tgetent(); | 12091 char tgetent(); |
12150 | 12092 |
12151 int main() { | 12093 int main() { |
12152 tgetent() | 12094 tgetent() |
12153 ; return 0; } | 12095 ; return 0; } |
12154 EOF | 12096 EOF |
12155 if { (eval echo configure:12156: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12097 if { (eval echo configure:12098: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12156 rm -rf conftest* | 12098 rm -rf conftest* |
12157 eval "ac_cv_lib_$ac_lib_var=yes" | 12099 eval "ac_cv_lib_$ac_lib_var=yes" |
12158 else | 12100 else |
12159 echo "configure: failed program was:" >&5 | 12101 echo "configure: failed program was:" >&5 |
12160 cat conftest.$ac_ext >&5 | 12102 cat conftest.$ac_ext >&5 |
12183 EOF | 12125 EOF |
12184 } | 12126 } |
12185 | 12127 |
12186 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 12128 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
12187 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 12129 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
12188 echo "configure:12189: checking for ncurses/curses.h" >&5 | 12130 echo "configure:12131: checking for ncurses/curses.h" >&5 |
12189 | 12131 |
12190 cat > conftest.$ac_ext <<EOF | 12132 cat > conftest.$ac_ext <<EOF |
12191 #line 12192 "configure" | 12133 #line 12134 "configure" |
12192 #include "confdefs.h" | 12134 #include "confdefs.h" |
12193 #include <ncurses/curses.h> | 12135 #include <ncurses/curses.h> |
12194 EOF | 12136 EOF |
12195 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12137 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12196 { (eval echo configure:12197: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12138 { (eval echo configure:12139: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12197 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12139 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12198 if test -z "$ac_err"; then | 12140 if test -z "$ac_err"; then |
12199 rm -rf conftest* | 12141 rm -rf conftest* |
12200 eval "ac_cv_header_$ac_safe=yes" | 12142 eval "ac_cv_header_$ac_safe=yes" |
12201 else | 12143 else |
12213 echo "$ac_t""no" 1>&6 | 12155 echo "$ac_t""no" 1>&6 |
12214 fi | 12156 fi |
12215 | 12157 |
12216 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` | 12158 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` |
12217 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 | 12159 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 |
12218 echo "configure:12219: checking for ncurses/term.h" >&5 | 12160 echo "configure:12161: checking for ncurses/term.h" >&5 |
12219 | 12161 |
12220 cat > conftest.$ac_ext <<EOF | 12162 cat > conftest.$ac_ext <<EOF |
12221 #line 12222 "configure" | 12163 #line 12164 "configure" |
12222 #include "confdefs.h" | 12164 #include "confdefs.h" |
12223 #include <ncurses/term.h> | 12165 #include <ncurses/term.h> |
12224 EOF | 12166 EOF |
12225 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12167 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12226 { (eval echo configure:12227: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12168 { (eval echo configure:12169: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12227 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12169 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12228 if test -z "$ac_err"; then | 12170 if test -z "$ac_err"; then |
12229 rm -rf conftest* | 12171 rm -rf conftest* |
12230 eval "ac_cv_header_$ac_safe=yes" | 12172 eval "ac_cv_header_$ac_safe=yes" |
12231 else | 12173 else |
12251 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then | 12193 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then |
12252 save_c_switch_site="$c_switch_site" | 12194 save_c_switch_site="$c_switch_site" |
12253 c_switch_site="$c_switch_site -I/usr/include/ncurses" | 12195 c_switch_site="$c_switch_site -I/usr/include/ncurses" |
12254 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 12196 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
12255 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 12197 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
12256 echo "configure:12257: checking for ncurses/curses.h" >&5 | 12198 echo "configure:12199: checking for ncurses/curses.h" >&5 |
12257 | 12199 |
12258 cat > conftest.$ac_ext <<EOF | 12200 cat > conftest.$ac_ext <<EOF |
12259 #line 12260 "configure" | 12201 #line 12202 "configure" |
12260 #include "confdefs.h" | 12202 #include "confdefs.h" |
12261 #include <ncurses/curses.h> | 12203 #include <ncurses/curses.h> |
12262 EOF | 12204 EOF |
12263 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12205 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12264 { (eval echo configure:12265: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12206 { (eval echo configure:12207: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12265 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12207 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12266 if test -z "$ac_err"; then | 12208 if test -z "$ac_err"; then |
12267 rm -rf conftest* | 12209 rm -rf conftest* |
12268 eval "ac_cv_header_$ac_safe=yes" | 12210 eval "ac_cv_header_$ac_safe=yes" |
12269 else | 12211 else |
12294 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 12236 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
12295 else | 12237 else |
12296 for lib in curses termlib termcap; do | 12238 for lib in curses termlib termcap; do |
12297 | 12239 |
12298 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 | 12240 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 |
12299 echo "configure:12300: checking for tgetent in -l$lib" >&5 | 12241 echo "configure:12242: checking for tgetent in -l$lib" >&5 |
12300 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` | 12242 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` |
12301 | 12243 |
12302 xe_check_libs=" -l$lib " | 12244 xe_check_libs=" -l$lib " |
12303 cat > conftest.$ac_ext <<EOF | 12245 cat > conftest.$ac_ext <<EOF |
12304 #line 12305 "configure" | 12246 #line 12247 "configure" |
12305 #include "confdefs.h" | 12247 #include "confdefs.h" |
12306 /* Override any gcc2 internal prototype to avoid an error. */ | 12248 /* Override any gcc2 internal prototype to avoid an error. */ |
12307 /* We use char because int might match the return type of a gcc2 | 12249 /* We use char because int might match the return type of a gcc2 |
12308 builtin and then its argument prototype would still apply. */ | 12250 builtin and then its argument prototype would still apply. */ |
12309 char tgetent(); | 12251 char tgetent(); |
12310 | 12252 |
12311 int main() { | 12253 int main() { |
12312 tgetent() | 12254 tgetent() |
12313 ; return 0; } | 12255 ; return 0; } |
12314 EOF | 12256 EOF |
12315 if { (eval echo configure:12316: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12257 if { (eval echo configure:12258: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12316 rm -rf conftest* | 12258 rm -rf conftest* |
12317 eval "ac_cv_lib_$ac_lib_var=yes" | 12259 eval "ac_cv_lib_$ac_lib_var=yes" |
12318 else | 12260 else |
12319 echo "configure: failed program was:" >&5 | 12261 echo "configure: failed program was:" >&5 |
12320 cat conftest.$ac_ext >&5 | 12262 cat conftest.$ac_ext >&5 |
12341 if test -n "$libs_termcap"; then | 12283 if test -n "$libs_termcap"; then |
12342 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 12284 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
12343 else | 12285 else |
12344 | 12286 |
12345 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 | 12287 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 |
12346 echo "configure:12347: checking for tgetent in -lcurses" >&5 | 12288 echo "configure:12289: checking for tgetent in -lcurses" >&5 |
12347 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` | 12289 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` |
12348 | 12290 |
12349 xe_check_libs=" -lcurses " | 12291 xe_check_libs=" -lcurses " |
12350 cat > conftest.$ac_ext <<EOF | 12292 cat > conftest.$ac_ext <<EOF |
12351 #line 12352 "configure" | 12293 #line 12294 "configure" |
12352 #include "confdefs.h" | 12294 #include "confdefs.h" |
12353 /* Override any gcc2 internal prototype to avoid an error. */ | 12295 /* Override any gcc2 internal prototype to avoid an error. */ |
12354 /* We use char because int might match the return type of a gcc2 | 12296 /* We use char because int might match the return type of a gcc2 |
12355 builtin and then its argument prototype would still apply. */ | 12297 builtin and then its argument prototype would still apply. */ |
12356 char tgetent(); | 12298 char tgetent(); |
12357 | 12299 |
12358 int main() { | 12300 int main() { |
12359 tgetent() | 12301 tgetent() |
12360 ; return 0; } | 12302 ; return 0; } |
12361 EOF | 12303 EOF |
12362 if { (eval echo configure:12363: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12304 if { (eval echo configure:12305: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12363 rm -rf conftest* | 12305 rm -rf conftest* |
12364 eval "ac_cv_lib_$ac_lib_var=yes" | 12306 eval "ac_cv_lib_$ac_lib_var=yes" |
12365 else | 12307 else |
12366 echo "configure: failed program was:" >&5 | 12308 echo "configure: failed program was:" >&5 |
12367 cat conftest.$ac_ext >&5 | 12309 cat conftest.$ac_ext >&5 |
12375 echo "$ac_t""yes" 1>&6 | 12317 echo "$ac_t""yes" 1>&6 |
12376 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi | 12318 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi |
12377 else | 12319 else |
12378 echo "$ac_t""no" 1>&6 | 12320 echo "$ac_t""no" 1>&6 |
12379 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 | 12321 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 |
12380 echo "configure:12381: checking for tgetent in -ltermcap" >&5 | 12322 echo "configure:12323: checking for tgetent in -ltermcap" >&5 |
12381 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` | 12323 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` |
12382 | 12324 |
12383 xe_check_libs=" -ltermcap " | 12325 xe_check_libs=" -ltermcap " |
12384 cat > conftest.$ac_ext <<EOF | 12326 cat > conftest.$ac_ext <<EOF |
12385 #line 12386 "configure" | 12327 #line 12328 "configure" |
12386 #include "confdefs.h" | 12328 #include "confdefs.h" |
12387 /* Override any gcc2 internal prototype to avoid an error. */ | 12329 /* Override any gcc2 internal prototype to avoid an error. */ |
12388 /* We use char because int might match the return type of a gcc2 | 12330 /* We use char because int might match the return type of a gcc2 |
12389 builtin and then its argument prototype would still apply. */ | 12331 builtin and then its argument prototype would still apply. */ |
12390 char tgetent(); | 12332 char tgetent(); |
12391 | 12333 |
12392 int main() { | 12334 int main() { |
12393 tgetent() | 12335 tgetent() |
12394 ; return 0; } | 12336 ; return 0; } |
12395 EOF | 12337 EOF |
12396 if { (eval echo configure:12397: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12338 if { (eval echo configure:12339: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12397 rm -rf conftest* | 12339 rm -rf conftest* |
12398 eval "ac_cv_lib_$ac_lib_var=yes" | 12340 eval "ac_cv_lib_$ac_lib_var=yes" |
12399 else | 12341 else |
12400 echo "configure: failed program was:" >&5 | 12342 echo "configure: failed program was:" >&5 |
12401 cat conftest.$ac_ext >&5 | 12343 cat conftest.$ac_ext >&5 |
12439 } | 12381 } |
12440 | 12382 |
12441 | 12383 |
12442 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` | 12384 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` |
12443 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 | 12385 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 |
12444 echo "configure:12445: checking for gpm.h" >&5 | 12386 echo "configure:12387: checking for gpm.h" >&5 |
12445 | 12387 |
12446 cat > conftest.$ac_ext <<EOF | 12388 cat > conftest.$ac_ext <<EOF |
12447 #line 12448 "configure" | 12389 #line 12390 "configure" |
12448 #include "confdefs.h" | 12390 #include "confdefs.h" |
12449 #include <gpm.h> | 12391 #include <gpm.h> |
12450 EOF | 12392 EOF |
12451 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12393 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12452 { (eval echo configure:12453: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12394 { (eval echo configure:12395: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12453 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12395 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12454 if test -z "$ac_err"; then | 12396 if test -z "$ac_err"; then |
12455 rm -rf conftest* | 12397 rm -rf conftest* |
12456 eval "ac_cv_header_$ac_safe=yes" | 12398 eval "ac_cv_header_$ac_safe=yes" |
12457 else | 12399 else |
12470 with_gpm=no | 12412 with_gpm=no |
12471 fi | 12413 fi |
12472 } | 12414 } |
12473 test -z "$with_gpm" && { | 12415 test -z "$with_gpm" && { |
12474 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 | 12416 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 |
12475 echo "configure:12476: checking for Gpm_Open in -lgpm" >&5 | 12417 echo "configure:12418: checking for Gpm_Open in -lgpm" >&5 |
12476 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` | 12418 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` |
12477 | 12419 |
12478 xe_check_libs=" -lgpm " | 12420 xe_check_libs=" -lgpm " |
12479 cat > conftest.$ac_ext <<EOF | 12421 cat > conftest.$ac_ext <<EOF |
12480 #line 12481 "configure" | 12422 #line 12423 "configure" |
12481 #include "confdefs.h" | 12423 #include "confdefs.h" |
12482 /* Override any gcc2 internal prototype to avoid an error. */ | 12424 /* Override any gcc2 internal prototype to avoid an error. */ |
12483 /* We use char because int might match the return type of a gcc2 | 12425 /* We use char because int might match the return type of a gcc2 |
12484 builtin and then its argument prototype would still apply. */ | 12426 builtin and then its argument prototype would still apply. */ |
12485 char Gpm_Open(); | 12427 char Gpm_Open(); |
12486 | 12428 |
12487 int main() { | 12429 int main() { |
12488 Gpm_Open() | 12430 Gpm_Open() |
12489 ; return 0; } | 12431 ; return 0; } |
12490 EOF | 12432 EOF |
12491 if { (eval echo configure:12492: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12433 if { (eval echo configure:12434: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12492 rm -rf conftest* | 12434 rm -rf conftest* |
12493 eval "ac_cv_lib_$ac_lib_var=yes" | 12435 eval "ac_cv_lib_$ac_lib_var=yes" |
12494 else | 12436 else |
12495 echo "configure: failed program was:" >&5 | 12437 echo "configure: failed program was:" >&5 |
12496 cat conftest.$ac_ext >&5 | 12438 cat conftest.$ac_ext >&5 |
12536 fi | 12478 fi |
12537 | 12479 |
12538 | 12480 |
12539 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ | 12481 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ |
12540 != "no no no" && echo "checking for database support" 1>&6 | 12482 != "no no no" && echo "checking for database support" 1>&6 |
12541 echo "configure:12542: checking for database support" >&5 | 12483 echo "configure:12484: checking for database support" >&5 |
12542 | 12484 |
12543 if test "$with_database_gdbm $with_database_dbm" != "no no"; then | 12485 if test "$with_database_gdbm $with_database_dbm" != "no no"; then |
12544 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` | 12486 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` |
12545 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 | 12487 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 |
12546 echo "configure:12547: checking for ndbm.h" >&5 | 12488 echo "configure:12489: checking for ndbm.h" >&5 |
12547 | 12489 |
12548 cat > conftest.$ac_ext <<EOF | 12490 cat > conftest.$ac_ext <<EOF |
12549 #line 12550 "configure" | 12491 #line 12492 "configure" |
12550 #include "confdefs.h" | 12492 #include "confdefs.h" |
12551 #include <ndbm.h> | 12493 #include <ndbm.h> |
12552 EOF | 12494 EOF |
12553 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12495 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12554 { (eval echo configure:12555: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12496 { (eval echo configure:12497: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12555 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12497 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12556 if test -z "$ac_err"; then | 12498 if test -z "$ac_err"; then |
12557 rm -rf conftest* | 12499 rm -rf conftest* |
12558 eval "ac_cv_header_$ac_safe=yes" | 12500 eval "ac_cv_header_$ac_safe=yes" |
12559 else | 12501 else |
12579 fi | 12521 fi |
12580 | 12522 |
12581 if test "$with_database_gdbm" != "no"; then | 12523 if test "$with_database_gdbm" != "no"; then |
12582 | 12524 |
12583 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 | 12525 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 |
12584 echo "configure:12585: checking for dbm_open in -lgdbm" >&5 | 12526 echo "configure:12527: checking for dbm_open in -lgdbm" >&5 |
12585 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` | 12527 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` |
12586 | 12528 |
12587 xe_check_libs=" -lgdbm " | 12529 xe_check_libs=" -lgdbm " |
12588 cat > conftest.$ac_ext <<EOF | 12530 cat > conftest.$ac_ext <<EOF |
12589 #line 12590 "configure" | 12531 #line 12532 "configure" |
12590 #include "confdefs.h" | 12532 #include "confdefs.h" |
12591 /* Override any gcc2 internal prototype to avoid an error. */ | 12533 /* Override any gcc2 internal prototype to avoid an error. */ |
12592 /* We use char because int might match the return type of a gcc2 | 12534 /* We use char because int might match the return type of a gcc2 |
12593 builtin and then its argument prototype would still apply. */ | 12535 builtin and then its argument prototype would still apply. */ |
12594 char dbm_open(); | 12536 char dbm_open(); |
12595 | 12537 |
12596 int main() { | 12538 int main() { |
12597 dbm_open() | 12539 dbm_open() |
12598 ; return 0; } | 12540 ; return 0; } |
12599 EOF | 12541 EOF |
12600 if { (eval echo configure:12601: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12542 if { (eval echo configure:12543: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12601 rm -rf conftest* | 12543 rm -rf conftest* |
12602 eval "ac_cv_lib_$ac_lib_var=yes" | 12544 eval "ac_cv_lib_$ac_lib_var=yes" |
12603 else | 12545 else |
12604 echo "configure: failed program was:" >&5 | 12546 echo "configure: failed program was:" >&5 |
12605 cat conftest.$ac_ext >&5 | 12547 cat conftest.$ac_ext >&5 |
12623 | 12565 |
12624 fi | 12566 fi |
12625 | 12567 |
12626 if test "$with_database_dbm" != "no"; then | 12568 if test "$with_database_dbm" != "no"; then |
12627 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 12569 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
12628 echo "configure:12629: checking for dbm_open" >&5 | 12570 echo "configure:12571: checking for dbm_open" >&5 |
12629 | 12571 |
12630 cat > conftest.$ac_ext <<EOF | 12572 cat > conftest.$ac_ext <<EOF |
12631 #line 12632 "configure" | 12573 #line 12574 "configure" |
12632 #include "confdefs.h" | 12574 #include "confdefs.h" |
12633 /* System header to define __stub macros and hopefully few prototypes, | 12575 /* System header to define __stub macros and hopefully few prototypes, |
12634 which can conflict with char dbm_open(); below. */ | 12576 which can conflict with char dbm_open(); below. */ |
12635 #include <assert.h> | 12577 #include <assert.h> |
12636 /* Override any gcc2 internal prototype to avoid an error. */ | 12578 /* Override any gcc2 internal prototype to avoid an error. */ |
12649 dbm_open(); | 12591 dbm_open(); |
12650 #endif | 12592 #endif |
12651 | 12593 |
12652 ; return 0; } | 12594 ; return 0; } |
12653 EOF | 12595 EOF |
12654 if { (eval echo configure:12655: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12596 if { (eval echo configure:12597: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12655 rm -rf conftest* | 12597 rm -rf conftest* |
12656 eval "ac_cv_func_dbm_open=yes" | 12598 eval "ac_cv_func_dbm_open=yes" |
12657 else | 12599 else |
12658 echo "configure: failed program was:" >&5 | 12600 echo "configure: failed program was:" >&5 |
12659 cat conftest.$ac_ext >&5 | 12601 cat conftest.$ac_ext >&5 |
12668 else | 12610 else |
12669 echo "$ac_t""no" 1>&6 | 12611 echo "$ac_t""no" 1>&6 |
12670 | 12612 |
12671 | 12613 |
12672 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 | 12614 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 |
12673 echo "configure:12674: checking for dbm_open in -ldbm" >&5 | 12615 echo "configure:12616: checking for dbm_open in -ldbm" >&5 |
12674 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` | 12616 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` |
12675 | 12617 |
12676 xe_check_libs=" -ldbm " | 12618 xe_check_libs=" -ldbm " |
12677 cat > conftest.$ac_ext <<EOF | 12619 cat > conftest.$ac_ext <<EOF |
12678 #line 12679 "configure" | 12620 #line 12621 "configure" |
12679 #include "confdefs.h" | 12621 #include "confdefs.h" |
12680 /* Override any gcc2 internal prototype to avoid an error. */ | 12622 /* Override any gcc2 internal prototype to avoid an error. */ |
12681 /* We use char because int might match the return type of a gcc2 | 12623 /* We use char because int might match the return type of a gcc2 |
12682 builtin and then its argument prototype would still apply. */ | 12624 builtin and then its argument prototype would still apply. */ |
12683 char dbm_open(); | 12625 char dbm_open(); |
12684 | 12626 |
12685 int main() { | 12627 int main() { |
12686 dbm_open() | 12628 dbm_open() |
12687 ; return 0; } | 12629 ; return 0; } |
12688 EOF | 12630 EOF |
12689 if { (eval echo configure:12690: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12631 if { (eval echo configure:12632: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12690 rm -rf conftest* | 12632 rm -rf conftest* |
12691 eval "ac_cv_lib_$ac_lib_var=yes" | 12633 eval "ac_cv_lib_$ac_lib_var=yes" |
12692 else | 12634 else |
12693 echo "configure: failed program was:" >&5 | 12635 echo "configure: failed program was:" >&5 |
12694 cat conftest.$ac_ext >&5 | 12636 cat conftest.$ac_ext >&5 |
12725 } | 12667 } |
12726 | 12668 |
12727 | 12669 |
12728 if test "$with_database_berkdb" != "no"; then | 12670 if test "$with_database_berkdb" != "no"; then |
12729 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 | 12671 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 |
12730 echo "configure:12731: checking for Berkeley db.h" >&5 | 12672 echo "configure:12673: checking for Berkeley db.h" >&5 |
12731 for header in "db/db.h" "db.h"; do | 12673 for header in "db/db.h" "db.h"; do |
12732 cat > conftest.$ac_ext <<EOF | 12674 cat > conftest.$ac_ext <<EOF |
12733 #line 12734 "configure" | 12675 #line 12676 "configure" |
12734 #include "confdefs.h" | 12676 #include "confdefs.h" |
12735 | 12677 |
12736 #include <stdlib.h> | 12678 #include <stdlib.h> |
12737 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) | 12679 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) |
12738 #ifdef HAVE_INTTYPES_H | 12680 #ifdef HAVE_INTTYPES_H |
12750 | 12692 |
12751 int main() { | 12693 int main() { |
12752 | 12694 |
12753 ; return 0; } | 12695 ; return 0; } |
12754 EOF | 12696 EOF |
12755 if { (eval echo configure:12756: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 12697 if { (eval echo configure:12698: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
12756 rm -rf conftest* | 12698 rm -rf conftest* |
12757 db_h_file="$header"; break | 12699 db_h_file="$header"; break |
12758 else | 12700 else |
12759 echo "configure: failed program was:" >&5 | 12701 echo "configure: failed program was:" >&5 |
12760 cat conftest.$ac_ext >&5 | 12702 cat conftest.$ac_ext >&5 |
12766 else echo "$ac_t""$db_h_file" 1>&6 | 12708 else echo "$ac_t""$db_h_file" 1>&6 |
12767 fi | 12709 fi |
12768 | 12710 |
12769 if test "$with_database_berkdb" != "no"; then | 12711 if test "$with_database_berkdb" != "no"; then |
12770 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 | 12712 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 |
12771 echo "configure:12772: checking for Berkeley DB version" >&5 | 12713 echo "configure:12714: checking for Berkeley DB version" >&5 |
12772 cat > conftest.$ac_ext <<EOF | 12714 cat > conftest.$ac_ext <<EOF |
12773 #line 12774 "configure" | 12715 #line 12716 "configure" |
12774 #include "confdefs.h" | 12716 #include "confdefs.h" |
12775 #include <$db_h_file> | 12717 #include <$db_h_file> |
12776 #if DB_VERSION_MAJOR > 1 | 12718 #if DB_VERSION_MAJOR > 1 |
12777 yes | 12719 yes |
12778 #endif | 12720 #endif |
12787 echo "$ac_t""1" 1>&6; dbfunc=dbopen | 12729 echo "$ac_t""1" 1>&6; dbfunc=dbopen |
12788 fi | 12730 fi |
12789 rm -f conftest* | 12731 rm -f conftest* |
12790 | 12732 |
12791 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 | 12733 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 |
12792 echo "configure:12793: checking for $dbfunc" >&5 | 12734 echo "configure:12735: checking for $dbfunc" >&5 |
12793 | 12735 |
12794 cat > conftest.$ac_ext <<EOF | 12736 cat > conftest.$ac_ext <<EOF |
12795 #line 12796 "configure" | 12737 #line 12738 "configure" |
12796 #include "confdefs.h" | 12738 #include "confdefs.h" |
12797 /* System header to define __stub macros and hopefully few prototypes, | 12739 /* System header to define __stub macros and hopefully few prototypes, |
12798 which can conflict with char $dbfunc(); below. */ | 12740 which can conflict with char $dbfunc(); below. */ |
12799 #include <assert.h> | 12741 #include <assert.h> |
12800 /* Override any gcc2 internal prototype to avoid an error. */ | 12742 /* Override any gcc2 internal prototype to avoid an error. */ |
12813 $dbfunc(); | 12755 $dbfunc(); |
12814 #endif | 12756 #endif |
12815 | 12757 |
12816 ; return 0; } | 12758 ; return 0; } |
12817 EOF | 12759 EOF |
12818 if { (eval echo configure:12819: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12760 if { (eval echo configure:12761: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12819 rm -rf conftest* | 12761 rm -rf conftest* |
12820 eval "ac_cv_func_$dbfunc=yes" | 12762 eval "ac_cv_func_$dbfunc=yes" |
12821 else | 12763 else |
12822 echo "configure: failed program was:" >&5 | 12764 echo "configure: failed program was:" >&5 |
12823 cat conftest.$ac_ext >&5 | 12765 cat conftest.$ac_ext >&5 |
12832 else | 12774 else |
12833 echo "$ac_t""no" 1>&6 | 12775 echo "$ac_t""no" 1>&6 |
12834 | 12776 |
12835 | 12777 |
12836 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 | 12778 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 |
12837 echo "configure:12838: checking for $dbfunc in -ldb" >&5 | 12779 echo "configure:12780: checking for $dbfunc in -ldb" >&5 |
12838 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` | 12780 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` |
12839 | 12781 |
12840 xe_check_libs=" -ldb " | 12782 xe_check_libs=" -ldb " |
12841 cat > conftest.$ac_ext <<EOF | 12783 cat > conftest.$ac_ext <<EOF |
12842 #line 12843 "configure" | 12784 #line 12785 "configure" |
12843 #include "confdefs.h" | 12785 #include "confdefs.h" |
12844 /* Override any gcc2 internal prototype to avoid an error. */ | 12786 /* Override any gcc2 internal prototype to avoid an error. */ |
12845 /* We use char because int might match the return type of a gcc2 | 12787 /* We use char because int might match the return type of a gcc2 |
12846 builtin and then its argument prototype would still apply. */ | 12788 builtin and then its argument prototype would still apply. */ |
12847 char $dbfunc(); | 12789 char $dbfunc(); |
12848 | 12790 |
12849 int main() { | 12791 int main() { |
12850 $dbfunc() | 12792 $dbfunc() |
12851 ; return 0; } | 12793 ; return 0; } |
12852 EOF | 12794 EOF |
12853 if { (eval echo configure:12854: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12795 if { (eval echo configure:12796: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12854 rm -rf conftest* | 12796 rm -rf conftest* |
12855 eval "ac_cv_lib_$ac_lib_var=yes" | 12797 eval "ac_cv_lib_$ac_lib_var=yes" |
12856 else | 12798 else |
12857 echo "configure: failed program was:" >&5 | 12799 echo "configure: failed program was:" >&5 |
12858 cat conftest.$ac_ext >&5 | 12800 cat conftest.$ac_ext >&5 |
12912 fi | 12854 fi |
12913 | 12855 |
12914 if test "$with_socks" = "yes"; then | 12856 if test "$with_socks" = "yes"; then |
12915 | 12857 |
12916 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 | 12858 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 |
12917 echo "configure:12918: checking for SOCKSinit in -lsocks" >&5 | 12859 echo "configure:12860: checking for SOCKSinit in -lsocks" >&5 |
12918 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` | 12860 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` |
12919 | 12861 |
12920 xe_check_libs=" -lsocks " | 12862 xe_check_libs=" -lsocks " |
12921 cat > conftest.$ac_ext <<EOF | 12863 cat > conftest.$ac_ext <<EOF |
12922 #line 12923 "configure" | 12864 #line 12865 "configure" |
12923 #include "confdefs.h" | 12865 #include "confdefs.h" |
12924 /* Override any gcc2 internal prototype to avoid an error. */ | 12866 /* Override any gcc2 internal prototype to avoid an error. */ |
12925 /* We use char because int might match the return type of a gcc2 | 12867 /* We use char because int might match the return type of a gcc2 |
12926 builtin and then its argument prototype would still apply. */ | 12868 builtin and then its argument prototype would still apply. */ |
12927 char SOCKSinit(); | 12869 char SOCKSinit(); |
12928 | 12870 |
12929 int main() { | 12871 int main() { |
12930 SOCKSinit() | 12872 SOCKSinit() |
12931 ; return 0; } | 12873 ; return 0; } |
12932 EOF | 12874 EOF |
12933 if { (eval echo configure:12934: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12875 if { (eval echo configure:12876: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12934 rm -rf conftest* | 12876 rm -rf conftest* |
12935 eval "ac_cv_lib_$ac_lib_var=yes" | 12877 eval "ac_cv_lib_$ac_lib_var=yes" |
12936 else | 12878 else |
12937 echo "configure: failed program was:" >&5 | 12879 echo "configure: failed program was:" >&5 |
12938 cat conftest.$ac_ext >&5 | 12880 cat conftest.$ac_ext >&5 |
12983 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi | 12925 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi |
12984 fi | 12926 fi |
12985 | 12927 |
12986 if test "$with_modules" != "no"; then | 12928 if test "$with_modules" != "no"; then |
12987 echo "checking for module support" 1>&6 | 12929 echo "checking for module support" 1>&6 |
12988 echo "configure:12989: checking for module support" >&5 | 12930 echo "configure:12931: checking for module support" >&5 |
12989 | 12931 |
12990 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` | 12932 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` |
12991 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 | 12933 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 |
12992 echo "configure:12993: checking for dlfcn.h" >&5 | 12934 echo "configure:12935: checking for dlfcn.h" >&5 |
12993 | 12935 |
12994 cat > conftest.$ac_ext <<EOF | 12936 cat > conftest.$ac_ext <<EOF |
12995 #line 12996 "configure" | 12937 #line 12938 "configure" |
12996 #include "confdefs.h" | 12938 #include "confdefs.h" |
12997 #include <dlfcn.h> | 12939 #include <dlfcn.h> |
12998 EOF | 12940 EOF |
12999 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12941 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13000 { (eval echo configure:13001: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12942 { (eval echo configure:12943: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13001 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12943 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13002 if test -z "$ac_err"; then | 12944 if test -z "$ac_err"; then |
13003 rm -rf conftest* | 12945 rm -rf conftest* |
13004 eval "ac_cv_header_$ac_safe=yes" | 12946 eval "ac_cv_header_$ac_safe=yes" |
13005 else | 12947 else |
13013 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 12955 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
13014 echo "$ac_t""yes" 1>&6 | 12956 echo "$ac_t""yes" 1>&6 |
13015 | 12957 |
13016 | 12958 |
13017 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 | 12959 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
13018 echo "configure:13019: checking for dlopen in -ldl" >&5 | 12960 echo "configure:12961: checking for dlopen in -ldl" >&5 |
13019 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` | 12961 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` |
13020 | 12962 |
13021 xe_check_libs=" -ldl " | 12963 xe_check_libs=" -ldl " |
13022 cat > conftest.$ac_ext <<EOF | 12964 cat > conftest.$ac_ext <<EOF |
13023 #line 13024 "configure" | 12965 #line 12966 "configure" |
13024 #include "confdefs.h" | 12966 #include "confdefs.h" |
13025 /* Override any gcc2 internal prototype to avoid an error. */ | 12967 /* Override any gcc2 internal prototype to avoid an error. */ |
13026 /* We use char because int might match the return type of a gcc2 | 12968 /* We use char because int might match the return type of a gcc2 |
13027 builtin and then its argument prototype would still apply. */ | 12969 builtin and then its argument prototype would still apply. */ |
13028 char dlopen(); | 12970 char dlopen(); |
13029 | 12971 |
13030 int main() { | 12972 int main() { |
13031 dlopen() | 12973 dlopen() |
13032 ; return 0; } | 12974 ; return 0; } |
13033 EOF | 12975 EOF |
13034 if { (eval echo configure:13035: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12976 if { (eval echo configure:12977: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13035 rm -rf conftest* | 12977 rm -rf conftest* |
13036 eval "ac_cv_lib_$ac_lib_var=yes" | 12978 eval "ac_cv_lib_$ac_lib_var=yes" |
13037 else | 12979 else |
13038 echo "configure: failed program was:" >&5 | 12980 echo "configure: failed program was:" >&5 |
13039 cat conftest.$ac_ext >&5 | 12981 cat conftest.$ac_ext >&5 |
13048 have_dl=yes libdl=dl | 12990 have_dl=yes libdl=dl |
13049 else | 12991 else |
13050 echo "$ac_t""no" 1>&6 | 12992 echo "$ac_t""no" 1>&6 |
13051 | 12993 |
13052 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 | 12994 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 |
13053 echo "configure:13054: checking for dlopen in -lc" >&5 | 12995 echo "configure:12996: checking for dlopen in -lc" >&5 |
13054 ac_lib_var=`echo c'_'dlopen | sed 'y%./+-%__p_%'` | 12996 ac_lib_var=`echo c'_'dlopen | sed 'y%./+-%__p_%'` |
13055 | 12997 |
13056 xe_check_libs=" -lc " | 12998 xe_check_libs=" -lc " |
13057 cat > conftest.$ac_ext <<EOF | 12999 cat > conftest.$ac_ext <<EOF |
13058 #line 13059 "configure" | 13000 #line 13001 "configure" |
13059 #include "confdefs.h" | 13001 #include "confdefs.h" |
13060 /* Override any gcc2 internal prototype to avoid an error. */ | 13002 /* Override any gcc2 internal prototype to avoid an error. */ |
13061 /* We use char because int might match the return type of a gcc2 | 13003 /* We use char because int might match the return type of a gcc2 |
13062 builtin and then its argument prototype would still apply. */ | 13004 builtin and then its argument prototype would still apply. */ |
13063 char dlopen(); | 13005 char dlopen(); |
13064 | 13006 |
13065 int main() { | 13007 int main() { |
13066 dlopen() | 13008 dlopen() |
13067 ; return 0; } | 13009 ; return 0; } |
13068 EOF | 13010 EOF |
13069 if { (eval echo configure:13070: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13011 if { (eval echo configure:13012: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13070 rm -rf conftest* | 13012 rm -rf conftest* |
13071 eval "ac_cv_lib_$ac_lib_var=yes" | 13013 eval "ac_cv_lib_$ac_lib_var=yes" |
13072 else | 13014 else |
13073 echo "configure: failed program was:" >&5 | 13015 echo "configure: failed program was:" >&5 |
13074 cat conftest.$ac_ext >&5 | 13016 cat conftest.$ac_ext >&5 |
13103 } | 13045 } |
13104 | 13046 |
13105 else | 13047 else |
13106 | 13048 |
13107 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 | 13049 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 |
13108 echo "configure:13109: checking for shl_load in -ldld" >&5 | 13050 echo "configure:13051: checking for shl_load in -ldld" >&5 |
13109 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` | 13051 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` |
13110 | 13052 |
13111 xe_check_libs=" -ldld " | 13053 xe_check_libs=" -ldld " |
13112 cat > conftest.$ac_ext <<EOF | 13054 cat > conftest.$ac_ext <<EOF |
13113 #line 13114 "configure" | 13055 #line 13056 "configure" |
13114 #include "confdefs.h" | 13056 #include "confdefs.h" |
13115 /* Override any gcc2 internal prototype to avoid an error. */ | 13057 /* Override any gcc2 internal prototype to avoid an error. */ |
13116 /* 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 |
13117 builtin and then its argument prototype would still apply. */ | 13059 builtin and then its argument prototype would still apply. */ |
13118 char shl_load(); | 13060 char shl_load(); |
13119 | 13061 |
13120 int main() { | 13062 int main() { |
13121 shl_load() | 13063 shl_load() |
13122 ; return 0; } | 13064 ; return 0; } |
13123 EOF | 13065 EOF |
13124 if { (eval echo configure:13125: \"$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 |
13125 rm -rf conftest* | 13067 rm -rf conftest* |
13126 eval "ac_cv_lib_$ac_lib_var=yes" | 13068 eval "ac_cv_lib_$ac_lib_var=yes" |
13127 else | 13069 else |
13128 echo "configure: failed program was:" >&5 | 13070 echo "configure: failed program was:" >&5 |
13129 cat conftest.$ac_ext >&5 | 13071 cat conftest.$ac_ext >&5 |
13146 | 13088 |
13147 else | 13089 else |
13148 echo "$ac_t""no" 1>&6 | 13090 echo "$ac_t""no" 1>&6 |
13149 | 13091 |
13150 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 | 13092 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 |
13151 echo "configure:13152: checking for dld_init in -ldld" >&5 | 13093 echo "configure:13094: checking for dld_init in -ldld" >&5 |
13152 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` | 13094 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` |
13153 | 13095 |
13154 xe_check_libs=" -ldld " | 13096 xe_check_libs=" -ldld " |
13155 cat > conftest.$ac_ext <<EOF | 13097 cat > conftest.$ac_ext <<EOF |
13156 #line 13157 "configure" | 13098 #line 13099 "configure" |
13157 #include "confdefs.h" | 13099 #include "confdefs.h" |
13158 /* Override any gcc2 internal prototype to avoid an error. */ | 13100 /* Override any gcc2 internal prototype to avoid an error. */ |
13159 /* We use char because int might match the return type of a gcc2 | 13101 /* We use char because int might match the return type of a gcc2 |
13160 builtin and then its argument prototype would still apply. */ | 13102 builtin and then its argument prototype would still apply. */ |
13161 char dld_init(); | 13103 char dld_init(); |
13162 | 13104 |
13163 int main() { | 13105 int main() { |
13164 dld_init() | 13106 dld_init() |
13165 ; return 0; } | 13107 ; return 0; } |
13166 EOF | 13108 EOF |
13167 if { (eval echo configure:13168: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13109 if { (eval echo configure:13110: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13168 rm -rf conftest* | 13110 rm -rf conftest* |
13169 eval "ac_cv_lib_$ac_lib_var=yes" | 13111 eval "ac_cv_lib_$ac_lib_var=yes" |
13170 else | 13112 else |
13171 echo "configure: failed program was:" >&5 | 13113 echo "configure: failed program was:" >&5 |
13172 cat conftest.$ac_ext >&5 | 13114 cat conftest.$ac_ext >&5 |
13207 ld_dynamic_link_flags= | 13149 ld_dynamic_link_flags= |
13208 xehost=$canonical | 13150 xehost=$canonical |
13209 xealias=$internal_configuration | 13151 xealias=$internal_configuration |
13210 | 13152 |
13211 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 | 13153 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 |
13212 echo "configure:13213: checking how to build dynamic libraries for ${xehost}" >&5 | 13154 echo "configure:13155: checking how to build dynamic libraries for ${xehost}" >&5 |
13213 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. | 13155 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. |
13214 case "$xehost" in | 13156 case "$xehost" in |
13215 *-*-linux-gnu*) ;; | 13157 *-*-linux-gnu*) ;; |
13216 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` | 13158 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` |
13217 esac | 13159 esac |
13235 # Now see if the compiler is really GCC. | 13177 # Now see if the compiler is really GCC. |
13236 if test "$GCC" = "yes"; then | 13178 if test "$GCC" = "yes"; then |
13237 XEGCC=yes | 13179 XEGCC=yes |
13238 else | 13180 else |
13239 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 | 13181 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 |
13240 echo "configure:13241: checking checking whether we are using GNU C" >&5 | 13182 echo "configure:13183: checking checking whether we are using GNU C" >&5 |
13241 cat > conftest.$ac_ext <<EOF | 13183 cat > conftest.$ac_ext <<EOF |
13242 #line 13243 "configure" | 13184 #line 13185 "configure" |
13243 #include "confdefs.h" | 13185 #include "confdefs.h" |
13244 | 13186 |
13245 #ifdef __GNUC__ | 13187 #ifdef __GNUC__ |
13246 yes; | 13188 yes; |
13247 #endif | 13189 #endif |
13259 | 13201 |
13260 echo "$ac_t""${XEGCC}" 1>&6 | 13202 echo "$ac_t""${XEGCC}" 1>&6 |
13261 fi | 13203 fi |
13262 | 13204 |
13263 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 | 13205 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 |
13264 echo "configure:13265: checking how to produce PIC code" >&5 | 13206 echo "configure:13207: checking how to produce PIC code" >&5 |
13265 wl= | 13207 wl= |
13266 | 13208 |
13267 can_build_shared=yes | 13209 can_build_shared=yes |
13268 if test "$XEGCC" = yes; then | 13210 if test "$XEGCC" = yes; then |
13269 wl='-Wl,' | 13211 wl='-Wl,' |
13352 if test -n "$dll_cflags"; then | 13294 if test -n "$dll_cflags"; then |
13353 echo "$ac_t""${dll_cflags}" 1>&6 | 13295 echo "$ac_t""${dll_cflags}" 1>&6 |
13354 | 13296 |
13355 # Check to make sure the dll_cflags actually works. | 13297 # Check to make sure the dll_cflags actually works. |
13356 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 | 13298 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 |
13357 echo "configure:13358: checking if PIC flag ${dll_cflags} really works" >&5 | 13299 echo "configure:13300: checking if PIC flag ${dll_cflags} really works" >&5 |
13358 save_CFLAGS="$CFLAGS" | 13300 save_CFLAGS="$CFLAGS" |
13359 CFLAGS="$CFLAGS $dll_cflags -DPIC" | 13301 CFLAGS="$CFLAGS $dll_cflags -DPIC" |
13360 cat > conftest.$ac_ext <<EOF | 13302 cat > conftest.$ac_ext <<EOF |
13361 #line 13362 "configure" | 13303 #line 13304 "configure" |
13362 #include "confdefs.h" | 13304 #include "confdefs.h" |
13363 | 13305 |
13364 int main() { | 13306 int main() { |
13365 int x=0; | 13307 int x=0; |
13366 ; return 0; } | 13308 ; return 0; } |
13367 EOF | 13309 EOF |
13368 if { (eval echo configure:13369: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 13310 if { (eval echo configure:13311: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
13369 rm -rf conftest* | 13311 rm -rf conftest* |
13370 | 13312 |
13371 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also | 13313 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also |
13372 # reports no error. So, we need to grep stderr for (Bundled). | 13314 # reports no error. So, we need to grep stderr for (Bundled). |
13373 if grep '(Bundled)' config.log >/dev/null; then | 13315 if grep '(Bundled)' config.log >/dev/null; then |
13394 if test "$can_build_shared" = "yes"; then | 13336 if test "$can_build_shared" = "yes"; then |
13395 cc_produces_so=no | 13337 cc_produces_so=no |
13396 xldf= | 13338 xldf= |
13397 xcldf= | 13339 xcldf= |
13398 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 | 13340 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 |
13399 echo "configure:13400: checking if C compiler can produce shared libraries" >&5 | 13341 echo "configure:13342: checking if C compiler can produce shared libraries" >&5 |
13400 if test "$XEGCC" = yes; then | 13342 if test "$XEGCC" = yes; then |
13401 xcldf="-shared" | 13343 xcldf="-shared" |
13402 xldf="-shared" | 13344 xldf="-shared" |
13403 else # Not using GCC | 13345 else # Not using GCC |
13404 case "$xehost_os" in | 13346 case "$xehost_os" in |
13445 LDFLAGS="$xcldf $LDFLAGS" | 13387 LDFLAGS="$xcldf $LDFLAGS" |
13446 LIBS= | 13388 LIBS= |
13447 xe_libs= | 13389 xe_libs= |
13448 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 13390 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
13449 cat > conftest.$ac_ext <<EOF | 13391 cat > conftest.$ac_ext <<EOF |
13450 #line 13451 "configure" | 13392 #line 13393 "configure" |
13451 #include "confdefs.h" | 13393 #include "confdefs.h" |
13452 | 13394 |
13453 int main() { | 13395 int main() { |
13454 int x=0; | 13396 int x=0; |
13455 ; return 0; } | 13397 ; return 0; } |
13456 EOF | 13398 EOF |
13457 if { (eval echo configure:13458: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13399 if { (eval echo configure:13400: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13458 rm -rf conftest* | 13400 rm -rf conftest* |
13459 cc_produces_so=yes | 13401 cc_produces_so=yes |
13460 else | 13402 else |
13461 echo "configure: failed program was:" >&5 | 13403 echo "configure: failed program was:" >&5 |
13462 cat conftest.$ac_ext >&5 | 13404 cat conftest.$ac_ext >&5 |
13477 if test -z "$LTLD"; then | 13419 if test -z "$LTLD"; then |
13478 ac_prog=ld | 13420 ac_prog=ld |
13479 if test "$XEGCC" = yes; then | 13421 if test "$XEGCC" = yes; then |
13480 # Check if gcc -print-prog-name=ld gives a path. | 13422 # Check if gcc -print-prog-name=ld gives a path. |
13481 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 | 13423 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 |
13482 echo "configure:13483: checking for ld used by GCC" >&5 | 13424 echo "configure:13425: checking for ld used by GCC" >&5 |
13483 ac_prog=`($CC -print-prog-name=ld) 2>&5` | 13425 ac_prog=`($CC -print-prog-name=ld) 2>&5` |
13484 case "$ac_prog" in | 13426 case "$ac_prog" in |
13485 # Accept absolute paths. | 13427 # Accept absolute paths. |
13486 /*) | 13428 /*) |
13487 if test -z "$LTLD"; then | 13429 if test -z "$LTLD"; then |
13502 with_gnu_ld=unknown | 13444 with_gnu_ld=unknown |
13503 ;; | 13445 ;; |
13504 esac | 13446 esac |
13505 else | 13447 else |
13506 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 | 13448 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 |
13507 echo "configure:13508: checking for GNU ld" >&5 | 13449 echo "configure:13450: checking for GNU ld" >&5 |
13508 fi | 13450 fi |
13509 | 13451 |
13510 if test -z "$LTLD"; then | 13452 if test -z "$LTLD"; then |
13511 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 13453 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
13512 for ac_dir in $PATH; do | 13454 for ac_dir in $PATH; do |
13540 | 13482 |
13541 ld_dynamic_link_flags= | 13483 ld_dynamic_link_flags= |
13542 | 13484 |
13543 # Check to see if it really is or isn't GNU ld. | 13485 # Check to see if it really is or isn't GNU ld. |
13544 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 | 13486 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 |
13545 echo "configure:13546: checking if the linker is GNU ld" >&5 | 13487 echo "configure:13488: checking if the linker is GNU ld" >&5 |
13546 # I'd rather use --version here, but apparently some GNU ld's only accept -v. | 13488 # I'd rather use --version here, but apparently some GNU ld's only accept -v. |
13547 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then | 13489 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then |
13548 xe_gnu_ld=yes | 13490 xe_gnu_ld=yes |
13549 else | 13491 else |
13550 xe_gnu_ld=no | 13492 xe_gnu_ld=no |
13568 ld_shlibs=yes | 13510 ld_shlibs=yes |
13569 else | 13511 else |
13570 # OK - only NOW do we futz about with ld. | 13512 # OK - only NOW do we futz about with ld. |
13571 # See if the linker supports building shared libraries. | 13513 # See if the linker supports building shared libraries. |
13572 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 | 13514 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 |
13573 echo "configure:13574: checking whether the linker supports shared libraries" >&5 | 13515 echo "configure:13516: checking whether the linker supports shared libraries" >&5 |
13574 dll_ld=$CC | 13516 dll_ld=$CC |
13575 dll_ldflags=$LDFLAGS | 13517 dll_ldflags=$LDFLAGS |
13576 ld_shlibs=yes | 13518 ld_shlibs=yes |
13577 can_build_shared=yes | 13519 can_build_shared=yes |
13578 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then | 13520 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then |
13783 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi | 13725 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi |
13784 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi | 13726 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi |
13785 for ac_func in dlerror _dlerror | 13727 for ac_func in dlerror _dlerror |
13786 do | 13728 do |
13787 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 13729 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
13788 echo "configure:13789: checking for $ac_func" >&5 | 13730 echo "configure:13731: checking for $ac_func" >&5 |
13789 | 13731 |
13790 cat > conftest.$ac_ext <<EOF | 13732 cat > conftest.$ac_ext <<EOF |
13791 #line 13792 "configure" | 13733 #line 13734 "configure" |
13792 #include "confdefs.h" | 13734 #include "confdefs.h" |
13793 /* System header to define __stub macros and hopefully few prototypes, | 13735 /* System header to define __stub macros and hopefully few prototypes, |
13794 which can conflict with char $ac_func(); below. */ | 13736 which can conflict with char $ac_func(); below. */ |
13795 #include <assert.h> | 13737 #include <assert.h> |
13796 /* Override any gcc2 internal prototype to avoid an error. */ | 13738 /* Override any gcc2 internal prototype to avoid an error. */ |
13809 $ac_func(); | 13751 $ac_func(); |
13810 #endif | 13752 #endif |
13811 | 13753 |
13812 ; return 0; } | 13754 ; return 0; } |
13813 EOF | 13755 EOF |
13814 if { (eval echo configure:13815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13756 if { (eval echo configure:13757: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13815 rm -rf conftest* | 13757 rm -rf conftest* |
13816 eval "ac_cv_func_$ac_func=yes" | 13758 eval "ac_cv_func_$ac_func=yes" |
13817 else | 13759 else |
13818 echo "configure: failed program was:" >&5 | 13760 echo "configure: failed program was:" >&5 |
13819 cat conftest.$ac_ext >&5 | 13761 cat conftest.$ac_ext >&5 |
13848 with_modules=no | 13790 with_modules=no |
13849 fi | 13791 fi |
13850 fi | 13792 fi |
13851 | 13793 |
13852 cat > conftest.$ac_ext <<EOF | 13794 cat > conftest.$ac_ext <<EOF |
13853 #line 13854 "configure" | 13795 #line 13796 "configure" |
13854 #include "confdefs.h" | 13796 #include "confdefs.h" |
13855 int main(int c,char *v[]){return 0;} | 13797 int main(int c,char *v[]){return 0;} |
13856 EOF | 13798 EOF |
13857 if { (eval echo configure:13858: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13799 if { (eval echo configure:13800: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13858 then | 13800 then |
13859 : | 13801 : |
13860 else | 13802 else |
13861 conftest_rc="$?" | 13803 conftest_rc="$?" |
13862 echo "configure: failed program was:" >&5 | 13804 echo "configure: failed program was:" >&5 |
14141 | 14083 |
14142 ETCDIR=$etcdir | 14084 ETCDIR=$etcdir |
14143 while true; do | 14085 while true; do |
14144 case "$ETCDIR" in | 14086 case "$ETCDIR" in |
14145 *\$* ) eval "ETCDIR=$ETCDIR" ;; | 14087 *\$* ) eval "ETCDIR=$ETCDIR" ;; |
14146 *) break ;; | |
14147 esac | |
14148 done | |
14149 | |
14150 | |
14151 | |
14152 | |
14153 LOCKDIR=$lockdir | |
14154 while true; do | |
14155 case "$LOCKDIR" in | |
14156 *\$* ) eval "LOCKDIR=$LOCKDIR" ;; | |
14157 *) break ;; | 14088 *) break ;; |
14158 esac | 14089 esac |
14159 done | 14090 done |
14160 | 14091 |
14161 | 14092 |
14640 test "$with_tooltalk" = yes && echo " Compiling in support for ToolTalk." | 14571 test "$with_tooltalk" = yes && echo " Compiling in support for ToolTalk." |
14641 test "$with_workshop" = yes && echo " Compiling in support for Sun WorkShop." | 14572 test "$with_workshop" = yes && echo " Compiling in support for Sun WorkShop." |
14642 test "$with_socks" = yes && echo " Compiling in support for SOCKS." | 14573 test "$with_socks" = yes && echo " Compiling in support for SOCKS." |
14643 test "$with_dnet" = yes && echo " Compiling in support for DNET." | 14574 test "$with_dnet" = yes && echo " Compiling in support for DNET." |
14644 test "$with_modules" = "yes" && echo " Compiling in support for dynamic shared object modules." | 14575 test "$with_modules" = "yes" && echo " Compiling in support for dynamic shared object modules." |
14645 test "$with_clash_detection" != "no" && \ | |
14646 echo " Clash detection will use \"$lockdir\" for locking files." | |
14647 test "$use_union_type" = yes && echo " Using the union type for Lisp_Objects." | 14576 test "$use_union_type" = yes && echo " Using the union type for Lisp_Objects." |
14648 test "$pdump" = yes && echo " Using the new portable dumper." | 14577 test "$pdump" = yes && echo " Using the new portable dumper." |
14649 test "$debug" = yes && echo " Compiling in support for extra debugging code." | 14578 test "$debug" = yes && echo " Compiling in support for extra debugging code." |
14650 test "$usage_tracking" = yes && echo " Compiling in support for active usage tracking (Sun internal)." | 14579 test "$usage_tracking" = yes && echo " Compiling in support for active usage tracking (Sun internal)." |
14651 if test "$error_check_extents $error_check_typecheck $error_check_bufpos $error_check_gc $error_check_malloc $error_check_glyphs" \ | 14580 if test "$error_check_extents $error_check_typecheck $error_check_bufpos $error_check_gc $error_check_malloc $error_check_glyphs" \ |
14832 s%@SITEMODULEDIR_USER_DEFINED@%$SITEMODULEDIR_USER_DEFINED%g | 14761 s%@SITEMODULEDIR_USER_DEFINED@%$SITEMODULEDIR_USER_DEFINED%g |
14833 s%@SITEMODULEDIR@%$SITEMODULEDIR%g | 14762 s%@SITEMODULEDIR@%$SITEMODULEDIR%g |
14834 s%@etcdir@%$etcdir%g | 14763 s%@etcdir@%$etcdir%g |
14835 s%@ETCDIR_USER_DEFINED@%$ETCDIR_USER_DEFINED%g | 14764 s%@ETCDIR_USER_DEFINED@%$ETCDIR_USER_DEFINED%g |
14836 s%@ETCDIR@%$ETCDIR%g | 14765 s%@ETCDIR@%$ETCDIR%g |
14837 s%@lockdir@%$lockdir%g | |
14838 s%@LOCKDIR_USER_DEFINED@%$LOCKDIR_USER_DEFINED%g | |
14839 s%@LOCKDIR@%$LOCKDIR%g | |
14840 s%@docdir@%$docdir%g | 14766 s%@docdir@%$docdir%g |
14841 s%@DOCDIR_USER_DEFINED@%$DOCDIR_USER_DEFINED%g | 14767 s%@DOCDIR_USER_DEFINED@%$DOCDIR_USER_DEFINED%g |
14842 s%@DOCDIR@%$DOCDIR%g | 14768 s%@DOCDIR@%$DOCDIR%g |
14843 s%@archlibdir@%$archlibdir%g | 14769 s%@archlibdir@%$archlibdir%g |
14844 s%@ARCHLIBDIR_USER_DEFINED@%$ARCHLIBDIR_USER_DEFINED%g | 14770 s%@ARCHLIBDIR_USER_DEFINED@%$ARCHLIBDIR_USER_DEFINED%g |