Mercurial > hg > xemacs-beta
comparison configure @ 975:151d438d2d55
[xemacs-hg @ 2002-08-28 05:36:20 by youngs]
2002-08-16 Steve Youngs <youngs@xemacs.org>
* version.sh (xemacs_extra_name): New var to identify XEmacs
version > release < next release. ie, release+cvs.
* configure.in: Test for xemacs_extra_name.
* configure: Re-generate.
2002-08-16 Steve Youngs <youngs@xemacs.org>
* build-report.el (build-report-installation-version-regexp):
Update to cater for 'xemacs-extra-name'.
(build-report-version-file-regexp): Ditto.
(build-report): Ditto.
(build-report-installation-data): Ditto.
(build-report-version-file-data): Ditto.
* version.el (emacs-version): Test for 'xemacs-extra-name'.
2002-08-16 Steve Youngs <youngs@xemacs.org>
* config.h.in (XEMACS_EXTRA_NAME): New.
* emacs.c (vars_of_emacs): Use it.
author | youngs |
---|---|
date | Wed, 28 Aug 2002 05:36:34 +0000 |
parents | c4937d1216b6 |
children | 89cca5f594bd |
comparison
equal
deleted
inserted
replaced
974:fce478afd5b4 | 975:151d438d2d55 |
---|---|
970 cat >> confdefs.h <<EOF | 970 cat >> confdefs.h <<EOF |
971 #define XEMACS_CODENAME "$xemacs_codename" | 971 #define XEMACS_CODENAME "$xemacs_codename" |
972 EOF | 972 EOF |
973 } | 973 } |
974 | 974 |
975 if test "X$xemacs_extra_name" != "X"; then | |
976 { test "$extra_verbose" = "yes" && cat << EOF | |
977 Defining XEMACS_EXTRA_NAME = "$xemacs_extra_name" | |
978 EOF | |
979 cat >> confdefs.h <<EOF | |
980 #define XEMACS_EXTRA_NAME "$xemacs_extra_name" | |
981 EOF | |
982 } | |
983 | |
984 fi | |
975 { test "$extra_verbose" = "yes" && cat << EOF | 985 { test "$extra_verbose" = "yes" && cat << EOF |
976 Defining EMACS_VERSION = "$version" | 986 Defining EMACS_VERSION = "$version" |
977 EOF | 987 EOF |
978 cat >> confdefs.h <<EOF | 988 cat >> confdefs.h <<EOF |
979 #define EMACS_VERSION "$version" | 989 #define EMACS_VERSION "$version" |
1131 } | 1141 } |
1132 | 1142 |
1133 | 1143 |
1134 | 1144 |
1135 echo $ac_n "checking "host system type"""... $ac_c" 1>&6 | 1145 echo $ac_n "checking "host system type"""... $ac_c" 1>&6 |
1136 echo "configure:1137: checking "host system type"" >&5 | 1146 echo "configure:1147: checking "host system type"" >&5 |
1137 internal_configuration=`echo $configuration | sed 's/-\(workshop\)//'` | 1147 internal_configuration=`echo $configuration | sed 's/-\(workshop\)//'` |
1138 canonical=`${CONFIG_SHELL-/bin/sh} $srcdir/config.sub "$internal_configuration"` | 1148 canonical=`${CONFIG_SHELL-/bin/sh} $srcdir/config.sub "$internal_configuration"` |
1139 configuration=`echo "$configuration" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` | 1149 configuration=`echo "$configuration" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` |
1140 canonical=`echo "$canonical" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` | 1150 canonical=`echo "$canonical" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` |
1141 echo "$ac_t""$configuration" 1>&6 | 1151 echo "$ac_t""$configuration" 1>&6 |
1644 xe_save_CFLAGS="$CFLAGS" | 1654 xe_save_CFLAGS="$CFLAGS" |
1645 | 1655 |
1646 # Extract the first word of "gcc", so it can be a program name with args. | 1656 # Extract the first word of "gcc", so it can be a program name with args. |
1647 set dummy gcc; ac_word=$2 | 1657 set dummy gcc; ac_word=$2 |
1648 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1658 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1649 echo "configure:1650: checking for $ac_word" >&5 | 1659 echo "configure:1660: checking for $ac_word" >&5 |
1650 | 1660 |
1651 if test -n "$CC"; then | 1661 if test -n "$CC"; then |
1652 ac_cv_prog_CC="$CC" # Let the user override the test. | 1662 ac_cv_prog_CC="$CC" # Let the user override the test. |
1653 else | 1663 else |
1654 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1664 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1671 | 1681 |
1672 if test -z "$CC"; then | 1682 if test -z "$CC"; then |
1673 # Extract the first word of "cc", so it can be a program name with args. | 1683 # Extract the first word of "cc", so it can be a program name with args. |
1674 set dummy cc; ac_word=$2 | 1684 set dummy cc; ac_word=$2 |
1675 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1685 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1676 echo "configure:1677: checking for $ac_word" >&5 | 1686 echo "configure:1687: checking for $ac_word" >&5 |
1677 | 1687 |
1678 if test -n "$CC"; then | 1688 if test -n "$CC"; then |
1679 ac_cv_prog_CC="$CC" # Let the user override the test. | 1689 ac_cv_prog_CC="$CC" # Let the user override the test. |
1680 else | 1690 else |
1681 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1691 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1719 case "`uname -s`" in | 1729 case "`uname -s`" in |
1720 *win32* | *WIN32*) | 1730 *win32* | *WIN32*) |
1721 # Extract the first word of "cl", so it can be a program name with args. | 1731 # Extract the first word of "cl", so it can be a program name with args. |
1722 set dummy cl; ac_word=$2 | 1732 set dummy cl; ac_word=$2 |
1723 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1733 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1724 echo "configure:1725: checking for $ac_word" >&5 | 1734 echo "configure:1735: checking for $ac_word" >&5 |
1725 | 1735 |
1726 if test -n "$CC"; then | 1736 if test -n "$CC"; then |
1727 ac_cv_prog_CC="$CC" # Let the user override the test. | 1737 ac_cv_prog_CC="$CC" # Let the user override the test. |
1728 else | 1738 else |
1729 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1739 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1748 fi | 1758 fi |
1749 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1759 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
1750 fi | 1760 fi |
1751 | 1761 |
1752 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1762 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
1753 echo "configure:1754: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1763 echo "configure:1764: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
1754 | 1764 |
1755 ac_ext=c | 1765 ac_ext=c |
1756 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1766 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
1757 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1767 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
1758 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $libs_gtk $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1768 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $libs_gtk $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
1761 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1771 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
1762 cross_compiling=no | 1772 cross_compiling=no |
1763 | 1773 |
1764 cat > conftest.$ac_ext << EOF | 1774 cat > conftest.$ac_ext << EOF |
1765 | 1775 |
1766 #line 1767 "configure" | 1776 #line 1777 "configure" |
1767 #include "confdefs.h" | 1777 #include "confdefs.h" |
1768 | 1778 |
1769 main(){return(0);} | 1779 main(){return(0);} |
1770 EOF | 1780 EOF |
1771 if { (eval echo configure:1772: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1781 if { (eval echo configure:1782: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1772 ac_cv_prog_cc_works=yes | 1782 ac_cv_prog_cc_works=yes |
1773 # If we can't run a trivial program, we are probably using a cross compiler. | 1783 # If we can't run a trivial program, we are probably using a cross compiler. |
1774 if (./conftest; exit) 2>/dev/null; then | 1784 if (./conftest; exit) 2>/dev/null; then |
1775 ac_cv_prog_cc_cross=no | 1785 ac_cv_prog_cc_cross=no |
1776 else | 1786 else |
1794 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1804 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
1795 if test $ac_cv_prog_cc_works = no; then | 1805 if test $ac_cv_prog_cc_works = no; then |
1796 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1806 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
1797 fi | 1807 fi |
1798 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1808 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
1799 echo "configure:1800: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1809 echo "configure:1810: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
1800 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1810 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
1801 cross_compiling=$ac_cv_prog_cc_cross | 1811 cross_compiling=$ac_cv_prog_cc_cross |
1802 | 1812 |
1803 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1813 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
1804 echo "configure:1805: checking whether we are using GNU C" >&5 | 1814 echo "configure:1815: checking whether we are using GNU C" >&5 |
1805 | 1815 |
1806 cat > conftest.c <<EOF | 1816 cat > conftest.c <<EOF |
1807 #ifdef __GNUC__ | 1817 #ifdef __GNUC__ |
1808 yes; | 1818 yes; |
1809 #endif | 1819 #endif |
1810 EOF | 1820 EOF |
1811 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1812: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1821 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1822: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
1812 ac_cv_prog_gcc=yes | 1822 ac_cv_prog_gcc=yes |
1813 else | 1823 else |
1814 ac_cv_prog_gcc=no | 1824 ac_cv_prog_gcc=no |
1815 fi | 1825 fi |
1816 | 1826 |
1824 | 1834 |
1825 ac_test_CFLAGS="${CFLAGS+set}" | 1835 ac_test_CFLAGS="${CFLAGS+set}" |
1826 ac_save_CFLAGS="$CFLAGS" | 1836 ac_save_CFLAGS="$CFLAGS" |
1827 CFLAGS= | 1837 CFLAGS= |
1828 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1838 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
1829 echo "configure:1830: checking whether ${CC-cc} accepts -g" >&5 | 1839 echo "configure:1840: checking whether ${CC-cc} accepts -g" >&5 |
1830 | 1840 |
1831 echo 'void f(){}' > conftest.c | 1841 echo 'void f(){}' > conftest.c |
1832 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1842 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
1833 ac_cv_prog_cc_g=yes | 1843 ac_cv_prog_cc_g=yes |
1834 else | 1844 else |
1857 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then | 1867 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then |
1858 CC=${NON_GNU_CC-cc} | 1868 CC=${NON_GNU_CC-cc} |
1859 # Extract the first word of "gcc", so it can be a program name with args. | 1869 # Extract the first word of "gcc", so it can be a program name with args. |
1860 set dummy gcc; ac_word=$2 | 1870 set dummy gcc; ac_word=$2 |
1861 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1871 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1862 echo "configure:1863: checking for $ac_word" >&5 | 1872 echo "configure:1873: checking for $ac_word" >&5 |
1863 | 1873 |
1864 if test -n "$CC"; then | 1874 if test -n "$CC"; then |
1865 ac_cv_prog_CC="$CC" # Let the user override the test. | 1875 ac_cv_prog_CC="$CC" # Let the user override the test. |
1866 else | 1876 else |
1867 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1877 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1884 | 1894 |
1885 if test -z "$CC"; then | 1895 if test -z "$CC"; then |
1886 # Extract the first word of "cc", so it can be a program name with args. | 1896 # Extract the first word of "cc", so it can be a program name with args. |
1887 set dummy cc; ac_word=$2 | 1897 set dummy cc; ac_word=$2 |
1888 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1898 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1889 echo "configure:1890: checking for $ac_word" >&5 | 1899 echo "configure:1900: checking for $ac_word" >&5 |
1890 | 1900 |
1891 if test -n "$CC"; then | 1901 if test -n "$CC"; then |
1892 ac_cv_prog_CC="$CC" # Let the user override the test. | 1902 ac_cv_prog_CC="$CC" # Let the user override the test. |
1893 else | 1903 else |
1894 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1904 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1932 case "`uname -s`" in | 1942 case "`uname -s`" in |
1933 *win32* | *WIN32*) | 1943 *win32* | *WIN32*) |
1934 # Extract the first word of "cl", so it can be a program name with args. | 1944 # Extract the first word of "cl", so it can be a program name with args. |
1935 set dummy cl; ac_word=$2 | 1945 set dummy cl; ac_word=$2 |
1936 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1946 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1937 echo "configure:1938: checking for $ac_word" >&5 | 1947 echo "configure:1948: checking for $ac_word" >&5 |
1938 | 1948 |
1939 if test -n "$CC"; then | 1949 if test -n "$CC"; then |
1940 ac_cv_prog_CC="$CC" # Let the user override the test. | 1950 ac_cv_prog_CC="$CC" # Let the user override the test. |
1941 else | 1951 else |
1942 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1952 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1961 fi | 1971 fi |
1962 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1972 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
1963 fi | 1973 fi |
1964 | 1974 |
1965 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1975 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
1966 echo "configure:1967: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1976 echo "configure:1977: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
1967 | 1977 |
1968 ac_ext=c | 1978 ac_ext=c |
1969 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1979 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
1970 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1980 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
1971 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $libs_gtk $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1981 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $libs_gtk $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
1974 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1984 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
1975 cross_compiling=no | 1985 cross_compiling=no |
1976 | 1986 |
1977 cat > conftest.$ac_ext << EOF | 1987 cat > conftest.$ac_ext << EOF |
1978 | 1988 |
1979 #line 1980 "configure" | 1989 #line 1990 "configure" |
1980 #include "confdefs.h" | 1990 #include "confdefs.h" |
1981 | 1991 |
1982 main(){return(0);} | 1992 main(){return(0);} |
1983 EOF | 1993 EOF |
1984 if { (eval echo configure:1985: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1994 if { (eval echo configure:1995: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1985 ac_cv_prog_cc_works=yes | 1995 ac_cv_prog_cc_works=yes |
1986 # If we can't run a trivial program, we are probably using a cross compiler. | 1996 # If we can't run a trivial program, we are probably using a cross compiler. |
1987 if (./conftest; exit) 2>/dev/null; then | 1997 if (./conftest; exit) 2>/dev/null; then |
1988 ac_cv_prog_cc_cross=no | 1998 ac_cv_prog_cc_cross=no |
1989 else | 1999 else |
2007 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 2017 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
2008 if test $ac_cv_prog_cc_works = no; then | 2018 if test $ac_cv_prog_cc_works = no; then |
2009 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 2019 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
2010 fi | 2020 fi |
2011 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 2021 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
2012 echo "configure:2013: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 2022 echo "configure:2023: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
2013 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 2023 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
2014 cross_compiling=$ac_cv_prog_cc_cross | 2024 cross_compiling=$ac_cv_prog_cc_cross |
2015 | 2025 |
2016 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 2026 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
2017 echo "configure:2018: checking whether we are using GNU C" >&5 | 2027 echo "configure:2028: checking whether we are using GNU C" >&5 |
2018 | 2028 |
2019 cat > conftest.c <<EOF | 2029 cat > conftest.c <<EOF |
2020 #ifdef __GNUC__ | 2030 #ifdef __GNUC__ |
2021 yes; | 2031 yes; |
2022 #endif | 2032 #endif |
2023 EOF | 2033 EOF |
2024 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2025: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 2034 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2035: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
2025 ac_cv_prog_gcc=yes | 2035 ac_cv_prog_gcc=yes |
2026 else | 2036 else |
2027 ac_cv_prog_gcc=no | 2037 ac_cv_prog_gcc=no |
2028 fi | 2038 fi |
2029 | 2039 |
2037 | 2047 |
2038 ac_test_CFLAGS="${CFLAGS+set}" | 2048 ac_test_CFLAGS="${CFLAGS+set}" |
2039 ac_save_CFLAGS="$CFLAGS" | 2049 ac_save_CFLAGS="$CFLAGS" |
2040 CFLAGS= | 2050 CFLAGS= |
2041 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 2051 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
2042 echo "configure:2043: checking whether ${CC-cc} accepts -g" >&5 | 2052 echo "configure:2053: checking whether ${CC-cc} accepts -g" >&5 |
2043 | 2053 |
2044 echo 'void f(){}' > conftest.c | 2054 echo 'void f(){}' > conftest.c |
2045 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 2055 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
2046 ac_cv_prog_cc_g=yes | 2056 ac_cv_prog_cc_g=yes |
2047 else | 2057 else |
2070 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then | 2080 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then |
2071 CC=gcc | 2081 CC=gcc |
2072 # Extract the first word of "gcc", so it can be a program name with args. | 2082 # Extract the first word of "gcc", so it can be a program name with args. |
2073 set dummy gcc; ac_word=$2 | 2083 set dummy gcc; ac_word=$2 |
2074 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2084 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2075 echo "configure:2076: checking for $ac_word" >&5 | 2085 echo "configure:2086: checking for $ac_word" >&5 |
2076 | 2086 |
2077 if test -n "$CC"; then | 2087 if test -n "$CC"; then |
2078 ac_cv_prog_CC="$CC" # Let the user override the test. | 2088 ac_cv_prog_CC="$CC" # Let the user override the test. |
2079 else | 2089 else |
2080 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 2090 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
2097 | 2107 |
2098 if test -z "$CC"; then | 2108 if test -z "$CC"; then |
2099 # Extract the first word of "cc", so it can be a program name with args. | 2109 # Extract the first word of "cc", so it can be a program name with args. |
2100 set dummy cc; ac_word=$2 | 2110 set dummy cc; ac_word=$2 |
2101 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2111 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2102 echo "configure:2103: checking for $ac_word" >&5 | 2112 echo "configure:2113: checking for $ac_word" >&5 |
2103 | 2113 |
2104 if test -n "$CC"; then | 2114 if test -n "$CC"; then |
2105 ac_cv_prog_CC="$CC" # Let the user override the test. | 2115 ac_cv_prog_CC="$CC" # Let the user override the test. |
2106 else | 2116 else |
2107 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 2117 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
2145 case "`uname -s`" in | 2155 case "`uname -s`" in |
2146 *win32* | *WIN32*) | 2156 *win32* | *WIN32*) |
2147 # Extract the first word of "cl", so it can be a program name with args. | 2157 # Extract the first word of "cl", so it can be a program name with args. |
2148 set dummy cl; ac_word=$2 | 2158 set dummy cl; ac_word=$2 |
2149 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2159 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2150 echo "configure:2151: checking for $ac_word" >&5 | 2160 echo "configure:2161: checking for $ac_word" >&5 |
2151 | 2161 |
2152 if test -n "$CC"; then | 2162 if test -n "$CC"; then |
2153 ac_cv_prog_CC="$CC" # Let the user override the test. | 2163 ac_cv_prog_CC="$CC" # Let the user override the test. |
2154 else | 2164 else |
2155 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 2165 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
2174 fi | 2184 fi |
2175 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 2185 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
2176 fi | 2186 fi |
2177 | 2187 |
2178 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 2188 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
2179 echo "configure:2180: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 2189 echo "configure:2190: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
2180 | 2190 |
2181 ac_ext=c | 2191 ac_ext=c |
2182 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 2192 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
2183 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 2193 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
2184 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $libs_gtk $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 2194 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $libs_gtk $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
2187 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 2197 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
2188 cross_compiling=no | 2198 cross_compiling=no |
2189 | 2199 |
2190 cat > conftest.$ac_ext << EOF | 2200 cat > conftest.$ac_ext << EOF |
2191 | 2201 |
2192 #line 2193 "configure" | 2202 #line 2203 "configure" |
2193 #include "confdefs.h" | 2203 #include "confdefs.h" |
2194 | 2204 |
2195 main(){return(0);} | 2205 main(){return(0);} |
2196 EOF | 2206 EOF |
2197 if { (eval echo configure:2198: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2207 if { (eval echo configure:2208: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2198 ac_cv_prog_cc_works=yes | 2208 ac_cv_prog_cc_works=yes |
2199 # If we can't run a trivial program, we are probably using a cross compiler. | 2209 # If we can't run a trivial program, we are probably using a cross compiler. |
2200 if (./conftest; exit) 2>/dev/null; then | 2210 if (./conftest; exit) 2>/dev/null; then |
2201 ac_cv_prog_cc_cross=no | 2211 ac_cv_prog_cc_cross=no |
2202 else | 2212 else |
2220 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 2230 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
2221 if test $ac_cv_prog_cc_works = no; then | 2231 if test $ac_cv_prog_cc_works = no; then |
2222 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 2232 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
2223 fi | 2233 fi |
2224 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 2234 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
2225 echo "configure:2226: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 2235 echo "configure:2236: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
2226 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 2236 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
2227 cross_compiling=$ac_cv_prog_cc_cross | 2237 cross_compiling=$ac_cv_prog_cc_cross |
2228 | 2238 |
2229 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 2239 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
2230 echo "configure:2231: checking whether we are using GNU C" >&5 | 2240 echo "configure:2241: checking whether we are using GNU C" >&5 |
2231 | 2241 |
2232 cat > conftest.c <<EOF | 2242 cat > conftest.c <<EOF |
2233 #ifdef __GNUC__ | 2243 #ifdef __GNUC__ |
2234 yes; | 2244 yes; |
2235 #endif | 2245 #endif |
2236 EOF | 2246 EOF |
2237 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2238: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 2247 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2248: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
2238 ac_cv_prog_gcc=yes | 2248 ac_cv_prog_gcc=yes |
2239 else | 2249 else |
2240 ac_cv_prog_gcc=no | 2250 ac_cv_prog_gcc=no |
2241 fi | 2251 fi |
2242 | 2252 |
2250 | 2260 |
2251 ac_test_CFLAGS="${CFLAGS+set}" | 2261 ac_test_CFLAGS="${CFLAGS+set}" |
2252 ac_save_CFLAGS="$CFLAGS" | 2262 ac_save_CFLAGS="$CFLAGS" |
2253 CFLAGS= | 2263 CFLAGS= |
2254 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 2264 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
2255 echo "configure:2256: checking whether ${CC-cc} accepts -g" >&5 | 2265 echo "configure:2266: checking whether ${CC-cc} accepts -g" >&5 |
2256 | 2266 |
2257 echo 'void f(){}' > conftest.c | 2267 echo 'void f(){}' > conftest.c |
2258 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 2268 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
2259 ac_cv_prog_cc_g=yes | 2269 ac_cv_prog_cc_g=yes |
2260 else | 2270 else |
2287 test -n "$CPP" -a -d "$CPP" && CPP= | 2297 test -n "$CPP" -a -d "$CPP" && CPP= |
2288 | 2298 |
2289 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" | 2299 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" |
2290 | 2300 |
2291 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 | 2301 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
2292 echo "configure:2293: checking how to run the C preprocessor" >&5 | 2302 echo "configure:2303: checking how to run the C preprocessor" >&5 |
2293 # On Suns, sometimes $CPP names a directory. | 2303 # On Suns, sometimes $CPP names a directory. |
2294 if test -n "$CPP" && test -d "$CPP"; then | 2304 if test -n "$CPP" && test -d "$CPP"; then |
2295 CPP= | 2305 CPP= |
2296 fi | 2306 fi |
2297 if test -z "$CPP"; then | 2307 if test -z "$CPP"; then |
2300 # substituted into the Makefile and "${CC-cc}" will confuse make. | 2310 # substituted into the Makefile and "${CC-cc}" will confuse make. |
2301 CPP="${CC-cc} -E" | 2311 CPP="${CC-cc} -E" |
2302 # On the NeXT, cc -E runs the code through the compiler's parser, | 2312 # On the NeXT, cc -E runs the code through the compiler's parser, |
2303 # not just through cpp. | 2313 # not just through cpp. |
2304 cat > conftest.$ac_ext <<EOF | 2314 cat > conftest.$ac_ext <<EOF |
2305 #line 2306 "configure" | 2315 #line 2316 "configure" |
2306 #include "confdefs.h" | 2316 #include "confdefs.h" |
2307 #include <assert.h> | 2317 #include <assert.h> |
2308 Syntax Error | 2318 Syntax Error |
2309 EOF | 2319 EOF |
2310 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2320 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2311 { (eval echo configure:2312: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2321 { (eval echo configure:2322: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2312 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2322 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2313 if test -z "$ac_err"; then | 2323 if test -z "$ac_err"; then |
2314 : | 2324 : |
2315 else | 2325 else |
2316 echo "$ac_err" >&5 | 2326 echo "$ac_err" >&5 |
2317 echo "configure: failed program was:" >&5 | 2327 echo "configure: failed program was:" >&5 |
2318 cat conftest.$ac_ext >&5 | 2328 cat conftest.$ac_ext >&5 |
2319 rm -rf conftest* | 2329 rm -rf conftest* |
2320 CPP="${CC-cc} -E -traditional-cpp" | 2330 CPP="${CC-cc} -E -traditional-cpp" |
2321 cat > conftest.$ac_ext <<EOF | 2331 cat > conftest.$ac_ext <<EOF |
2322 #line 2323 "configure" | 2332 #line 2333 "configure" |
2323 #include "confdefs.h" | 2333 #include "confdefs.h" |
2324 #include <assert.h> | 2334 #include <assert.h> |
2325 Syntax Error | 2335 Syntax Error |
2326 EOF | 2336 EOF |
2327 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2337 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2328 { (eval echo configure:2329: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2338 { (eval echo configure:2339: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2329 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2339 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2330 if test -z "$ac_err"; then | 2340 if test -z "$ac_err"; then |
2331 : | 2341 : |
2332 else | 2342 else |
2333 echo "$ac_err" >&5 | 2343 echo "$ac_err" >&5 |
2334 echo "configure: failed program was:" >&5 | 2344 echo "configure: failed program was:" >&5 |
2335 cat conftest.$ac_ext >&5 | 2345 cat conftest.$ac_ext >&5 |
2336 rm -rf conftest* | 2346 rm -rf conftest* |
2337 CPP="${CC-cc} -nologo -E" | 2347 CPP="${CC-cc} -nologo -E" |
2338 cat > conftest.$ac_ext <<EOF | 2348 cat > conftest.$ac_ext <<EOF |
2339 #line 2340 "configure" | 2349 #line 2350 "configure" |
2340 #include "confdefs.h" | 2350 #include "confdefs.h" |
2341 #include <assert.h> | 2351 #include <assert.h> |
2342 Syntax Error | 2352 Syntax Error |
2343 EOF | 2353 EOF |
2344 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2354 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2345 { (eval echo configure:2346: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2355 { (eval echo configure:2356: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2346 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2356 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2347 if test -z "$ac_err"; then | 2357 if test -z "$ac_err"; then |
2348 : | 2358 : |
2349 else | 2359 else |
2350 echo "$ac_err" >&5 | 2360 echo "$ac_err" >&5 |
2366 echo "$ac_t""$CPP" 1>&6 | 2376 echo "$ac_t""$CPP" 1>&6 |
2367 | 2377 |
2368 | 2378 |
2369 | 2379 |
2370 echo $ac_n "checking for AIX""... $ac_c" 1>&6 | 2380 echo $ac_n "checking for AIX""... $ac_c" 1>&6 |
2371 echo "configure:2372: checking for AIX" >&5 | 2381 echo "configure:2382: checking for AIX" >&5 |
2372 cat > conftest.$ac_ext <<EOF | 2382 cat > conftest.$ac_ext <<EOF |
2373 #line 2374 "configure" | 2383 #line 2384 "configure" |
2374 #include "confdefs.h" | 2384 #include "confdefs.h" |
2375 #ifdef _AIX | 2385 #ifdef _AIX |
2376 yes | 2386 yes |
2377 #endif | 2387 #endif |
2378 | 2388 |
2395 rm -f conftest* | 2405 rm -f conftest* |
2396 | 2406 |
2397 | 2407 |
2398 | 2408 |
2399 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6 | 2409 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6 |
2400 echo "configure:2401: checking for GNU libc" >&5 | 2410 echo "configure:2411: checking for GNU libc" >&5 |
2401 cat > conftest.$ac_ext <<EOF | 2411 cat > conftest.$ac_ext <<EOF |
2402 #line 2403 "configure" | 2412 #line 2413 "configure" |
2403 #include "confdefs.h" | 2413 #include "confdefs.h" |
2404 #include <features.h> | 2414 #include <features.h> |
2405 int main() { | 2415 int main() { |
2406 | 2416 |
2407 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) | 2417 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) |
2409 ******* ======= ******** &&&&&&&& | 2419 ******* ======= ******** &&&&&&&& |
2410 #endif | 2420 #endif |
2411 | 2421 |
2412 ; return 0; } | 2422 ; return 0; } |
2413 EOF | 2423 EOF |
2414 if { (eval echo configure:2415: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2424 if { (eval echo configure:2425: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2415 rm -rf conftest* | 2425 rm -rf conftest* |
2416 have_glibc=yes | 2426 have_glibc=yes |
2417 else | 2427 else |
2418 echo "configure: failed program was:" >&5 | 2428 echo "configure: failed program was:" >&5 |
2419 cat conftest.$ac_ext >&5 | 2429 cat conftest.$ac_ext >&5 |
2486 | 2496 |
2487 ;; | 2497 ;; |
2488 esac | 2498 esac |
2489 | 2499 |
2490 cat > conftest.$ac_ext <<EOF | 2500 cat > conftest.$ac_ext <<EOF |
2491 #line 2492 "configure" | 2501 #line 2502 "configure" |
2492 #include "confdefs.h" | 2502 #include "confdefs.h" |
2493 int main () { | 2503 int main () { |
2494 #if defined __SUNPRO_C | 2504 #if defined __SUNPRO_C |
2495 return 11; | 2505 return 11; |
2496 #elif defined __DECC | 2506 #elif defined __DECC |
2500 #else | 2510 #else |
2501 return 0; | 2511 return 0; |
2502 #endif | 2512 #endif |
2503 } | 2513 } |
2504 EOF | 2514 EOF |
2505 if { (eval echo configure:2506: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 2515 if { (eval echo configure:2516: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
2506 then | 2516 then |
2507 : | 2517 : |
2508 else | 2518 else |
2509 conftest_rc="$?" | 2519 conftest_rc="$?" |
2510 echo "configure: failed program was:" >&5 | 2520 echo "configure: failed program was:" >&5 |
2752 | 2762 |
2753 test "$__DECC" = "yes" && c_switch_site="$c_switch_site -std1" && if test "$extra_verbose" = "yes"; then echo " Appending \"-std1\" to \$c_switch_site"; fi | 2763 test "$__DECC" = "yes" && c_switch_site="$c_switch_site -std1" && if test "$extra_verbose" = "yes"; then echo " Appending \"-std1\" to \$c_switch_site"; fi |
2754 | 2764 |
2755 if test "$__USLC__" = yes; then | 2765 if test "$__USLC__" = yes; then |
2756 echo $ac_n "checking for whether the -Kalloca compiler flag is needed""... $ac_c" 1>&6 | 2766 echo $ac_n "checking for whether the -Kalloca compiler flag is needed""... $ac_c" 1>&6 |
2757 echo "configure:2758: checking for whether the -Kalloca compiler flag is needed" >&5 | 2767 echo "configure:2768: checking for whether the -Kalloca compiler flag is needed" >&5 |
2758 need_kalloca=no | 2768 need_kalloca=no |
2759 cat > conftest.$ac_ext <<EOF | 2769 cat > conftest.$ac_ext <<EOF |
2760 #line 2761 "configure" | 2770 #line 2771 "configure" |
2761 #include "confdefs.h" | 2771 #include "confdefs.h" |
2762 | 2772 |
2763 int main() { | 2773 int main() { |
2764 void *x = alloca(4); | 2774 void *x = alloca(4); |
2765 ; return 0; } | 2775 ; return 0; } |
2766 EOF | 2776 EOF |
2767 if { (eval echo configure:2768: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2777 if { (eval echo configure:2778: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2768 rm -rf conftest* | 2778 rm -rf conftest* |
2769 : | 2779 : |
2770 else | 2780 else |
2771 echo "configure: failed program was:" >&5 | 2781 echo "configure: failed program was:" >&5 |
2772 cat conftest.$ac_ext >&5 | 2782 cat conftest.$ac_ext >&5 |
2773 rm -rf conftest* | 2783 rm -rf conftest* |
2774 | 2784 |
2775 xe_save_c_switch_system="$c_switch_system" | 2785 xe_save_c_switch_system="$c_switch_system" |
2776 c_switch_system="$c_switch_system -Kalloca" | 2786 c_switch_system="$c_switch_system -Kalloca" |
2777 cat > conftest.$ac_ext <<EOF | 2787 cat > conftest.$ac_ext <<EOF |
2778 #line 2779 "configure" | 2788 #line 2789 "configure" |
2779 #include "confdefs.h" | 2789 #include "confdefs.h" |
2780 | 2790 |
2781 int main() { | 2791 int main() { |
2782 void *x = alloca(4); | 2792 void *x = alloca(4); |
2783 ; return 0; } | 2793 ; return 0; } |
2784 EOF | 2794 EOF |
2785 if { (eval echo configure:2786: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2795 if { (eval echo configure:2796: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2786 rm -rf conftest* | 2796 rm -rf conftest* |
2787 need_kalloca=yes | 2797 need_kalloca=yes |
2788 else | 2798 else |
2789 echo "configure: failed program was:" >&5 | 2799 echo "configure: failed program was:" >&5 |
2790 cat conftest.$ac_ext >&5 | 2800 cat conftest.$ac_ext >&5 |
2818 CFLAGS="-O" ; fi | 2828 CFLAGS="-O" ; fi |
2819 fi | 2829 fi |
2820 | 2830 |
2821 if test "$GCC" = "yes"; then | 2831 if test "$GCC" = "yes"; then |
2822 echo $ac_n "checking for buggy gcc versions""... $ac_c" 1>&6 | 2832 echo $ac_n "checking for buggy gcc versions""... $ac_c" 1>&6 |
2823 echo "configure:2824: checking for buggy gcc versions" >&5 | 2833 echo "configure:2834: checking for buggy gcc versions" >&5 |
2824 GCC_VERSION=`$CC --version` | 2834 GCC_VERSION=`$CC --version` |
2825 case `uname -s`:`uname -m`:$GCC_VERSION in | 2835 case `uname -s`:`uname -m`:$GCC_VERSION in |
2826 *:sun4*:2.8.1|*:sun4*:egcs-2.90.*) | 2836 *:sun4*:2.8.1|*:sun4*:egcs-2.90.*) |
2827 case "$CFLAGS" in | 2837 case "$CFLAGS" in |
2828 *-O2*|*-O3*) | 2838 *-O2*|*-O3*) |
2876 echo "$ac_t""no" 1>&6 | 2886 echo "$ac_t""no" 1>&6 |
2877 fi | 2887 fi |
2878 | 2888 |
2879 if test "$pdump" != "yes"; then | 2889 if test "$pdump" != "yes"; then |
2880 echo $ac_n "checking for \"-z nocombreloc\" linker flag""... $ac_c" 1>&6 | 2890 echo $ac_n "checking for \"-z nocombreloc\" linker flag""... $ac_c" 1>&6 |
2881 echo "configure:2882: checking for \"-z nocombreloc\" linker flag" >&5 | 2891 echo "configure:2892: checking for \"-z nocombreloc\" linker flag" >&5 |
2882 case "`ld --help 2>&1`" in | 2892 case "`ld --help 2>&1`" in |
2883 *-z\ nocombreloc* ) echo "$ac_t""yes" 1>&6 | 2893 *-z\ nocombreloc* ) echo "$ac_t""yes" 1>&6 |
2884 ld_switch_site="-z nocombreloc $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z nocombreloc\" to \$ld_switch_site"; fi ;; | 2894 ld_switch_site="-z nocombreloc $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z nocombreloc\" to \$ld_switch_site"; fi ;; |
2885 *) echo "$ac_t""no" 1>&6 ;; | 2895 *) echo "$ac_t""no" 1>&6 ;; |
2886 esac | 2896 esac |
2965 test "$pdump" = "yes" && extra_objs="$extra_objs dumper.o" && if test "$extra_verbose" = "yes"; then | 2975 test "$pdump" = "yes" && extra_objs="$extra_objs dumper.o" && if test "$extra_verbose" = "yes"; then |
2966 echo " xemacs will be linked with \"dumper.o\"" | 2976 echo " xemacs will be linked with \"dumper.o\"" |
2967 fi | 2977 fi |
2968 | 2978 |
2969 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 | 2979 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 |
2970 echo "configure:2971: checking for dynodump" >&5 | 2980 echo "configure:2981: checking for dynodump" >&5 |
2971 if test "$unexec" != "unexsol2.o"; then | 2981 if test "$unexec" != "unexsol2.o"; then |
2972 echo "$ac_t""no" 1>&6 | 2982 echo "$ac_t""no" 1>&6 |
2973 else | 2983 else |
2974 echo "$ac_t""yes" 1>&6 | 2984 echo "$ac_t""yes" 1>&6 |
2975 { test "$extra_verbose" = "yes" && cat << \EOF | 2985 { test "$extra_verbose" = "yes" && cat << \EOF |
3003 for f in "/usr/lpp/X11/bin/smt.exp" "/usr/bin/X11/smt.exp"; do | 3013 for f in "/usr/lpp/X11/bin/smt.exp" "/usr/bin/X11/smt.exp"; do |
3004 if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; break; fi | 3014 if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; break; fi |
3005 done | 3015 done |
3006 | 3016 |
3007 echo $ac_n "checking for terminateAndUnload in -lC""... $ac_c" 1>&6 | 3017 echo $ac_n "checking for terminateAndUnload in -lC""... $ac_c" 1>&6 |
3008 echo "configure:3009: checking for terminateAndUnload in -lC" >&5 | 3018 echo "configure:3019: checking for terminateAndUnload in -lC" >&5 |
3009 ac_lib_var=`echo C'_'terminateAndUnload | sed 'y%./+-%__p_%'` | 3019 ac_lib_var=`echo C'_'terminateAndUnload | sed 'y%./+-%__p_%'` |
3010 | 3020 |
3011 xe_check_libs=" -lC " | 3021 xe_check_libs=" -lC " |
3012 cat > conftest.$ac_ext <<EOF | 3022 cat > conftest.$ac_ext <<EOF |
3013 #line 3014 "configure" | 3023 #line 3024 "configure" |
3014 #include "confdefs.h" | 3024 #include "confdefs.h" |
3015 /* Override any gcc2 internal prototype to avoid an error. */ | 3025 /* Override any gcc2 internal prototype to avoid an error. */ |
3016 /* We use char because int might match the return type of a gcc2 | 3026 /* We use char because int might match the return type of a gcc2 |
3017 builtin and then its argument prototype would still apply. */ | 3027 builtin and then its argument prototype would still apply. */ |
3018 char terminateAndUnload(); | 3028 char terminateAndUnload(); |
3019 | 3029 |
3020 int main() { | 3030 int main() { |
3021 terminateAndUnload() | 3031 terminateAndUnload() |
3022 ; return 0; } | 3032 ; return 0; } |
3023 EOF | 3033 EOF |
3024 if { (eval echo configure:3025: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3034 if { (eval echo configure:3035: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3025 rm -rf conftest* | 3035 rm -rf conftest* |
3026 eval "ac_cv_lib_$ac_lib_var=yes" | 3036 eval "ac_cv_lib_$ac_lib_var=yes" |
3027 else | 3037 else |
3028 echo "configure: failed program was:" >&5 | 3038 echo "configure: failed program was:" >&5 |
3029 cat conftest.$ac_ext >&5 | 3039 cat conftest.$ac_ext >&5 |
3127 esac | 3137 esac |
3128 fi | 3138 fi |
3129 | 3139 |
3130 if test "$add_runtime_path" = "yes"; then | 3140 if test "$add_runtime_path" = "yes"; then |
3131 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 | 3141 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 |
3132 echo "configure:3133: checking "for runtime libraries flag"" >&5 | 3142 echo "configure:3143: checking "for runtime libraries flag"" >&5 |
3133 case "$opsys" in | 3143 case "$opsys" in |
3134 sol2 ) dash_r="-R" ;; | 3144 sol2 ) dash_r="-R" ;; |
3135 decosf* | linux* | irix*) dash_r="-rpath " ;; | 3145 decosf* | linux* | irix*) dash_r="-rpath " ;; |
3136 *) | 3146 *) |
3137 dash_r="" | 3147 dash_r="" |
3149 esac | 3159 esac |
3150 shift | 3160 shift |
3151 done | 3161 done |
3152 fi | 3162 fi |
3153 cat > conftest.$ac_ext <<EOF | 3163 cat > conftest.$ac_ext <<EOF |
3154 #line 3155 "configure" | 3164 #line 3165 "configure" |
3155 #include "confdefs.h" | 3165 #include "confdefs.h" |
3156 | 3166 |
3157 int main() { | 3167 int main() { |
3158 | 3168 |
3159 ; return 0; } | 3169 ; return 0; } |
3160 EOF | 3170 EOF |
3161 if { (eval echo configure:3162: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3171 if { (eval echo configure:3172: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3162 rm -rf conftest* | 3172 rm -rf conftest* |
3163 dash_r="$try_dash_r" | 3173 dash_r="$try_dash_r" |
3164 else | 3174 else |
3165 echo "configure: failed program was:" >&5 | 3175 echo "configure: failed program was:" >&5 |
3166 cat conftest.$ac_ext >&5 | 3176 cat conftest.$ac_ext >&5 |
3257 else | 3267 else |
3258 doug_lea_malloc=no | 3268 doug_lea_malloc=no |
3259 fi | 3269 fi |
3260 after_morecore_hook_exists=yes | 3270 after_morecore_hook_exists=yes |
3261 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 | 3271 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 |
3262 echo "configure:3263: checking for malloc_set_state" >&5 | 3272 echo "configure:3273: checking for malloc_set_state" >&5 |
3263 | 3273 |
3264 cat > conftest.$ac_ext <<EOF | 3274 cat > conftest.$ac_ext <<EOF |
3265 #line 3266 "configure" | 3275 #line 3276 "configure" |
3266 #include "confdefs.h" | 3276 #include "confdefs.h" |
3267 /* System header to define __stub macros and hopefully few prototypes, | 3277 /* System header to define __stub macros and hopefully few prototypes, |
3268 which can conflict with char malloc_set_state(); below. */ | 3278 which can conflict with char malloc_set_state(); below. */ |
3269 #include <assert.h> | 3279 #include <assert.h> |
3270 /* Override any gcc2 internal prototype to avoid an error. */ | 3280 /* Override any gcc2 internal prototype to avoid an error. */ |
3283 malloc_set_state(); | 3293 malloc_set_state(); |
3284 #endif | 3294 #endif |
3285 | 3295 |
3286 ; return 0; } | 3296 ; return 0; } |
3287 EOF | 3297 EOF |
3288 if { (eval echo configure:3289: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3298 if { (eval echo configure:3299: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3289 rm -rf conftest* | 3299 rm -rf conftest* |
3290 eval "ac_cv_func_malloc_set_state=yes" | 3300 eval "ac_cv_func_malloc_set_state=yes" |
3291 else | 3301 else |
3292 echo "configure: failed program was:" >&5 | 3302 echo "configure: failed program was:" >&5 |
3293 cat conftest.$ac_ext >&5 | 3303 cat conftest.$ac_ext >&5 |
3303 echo "$ac_t""no" 1>&6 | 3313 echo "$ac_t""no" 1>&6 |
3304 doug_lea_malloc=no | 3314 doug_lea_malloc=no |
3305 fi | 3315 fi |
3306 | 3316 |
3307 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 | 3317 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 |
3308 echo "configure:3309: checking whether __after_morecore_hook exists" >&5 | 3318 echo "configure:3319: checking whether __after_morecore_hook exists" >&5 |
3309 cat > conftest.$ac_ext <<EOF | 3319 cat > conftest.$ac_ext <<EOF |
3310 #line 3311 "configure" | 3320 #line 3321 "configure" |
3311 #include "confdefs.h" | 3321 #include "confdefs.h" |
3312 extern void (* __after_morecore_hook)(); | 3322 extern void (* __after_morecore_hook)(); |
3313 int main() { | 3323 int main() { |
3314 __after_morecore_hook = 0 | 3324 __after_morecore_hook = 0 |
3315 ; return 0; } | 3325 ; return 0; } |
3316 EOF | 3326 EOF |
3317 if { (eval echo configure:3318: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3327 if { (eval echo configure:3328: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3318 rm -rf conftest* | 3328 rm -rf conftest* |
3319 echo "$ac_t""yes" 1>&6 | 3329 echo "$ac_t""yes" 1>&6 |
3320 else | 3330 else |
3321 echo "configure: failed program was:" >&5 | 3331 echo "configure: failed program was:" >&5 |
3322 cat conftest.$ac_ext >&5 | 3332 cat conftest.$ac_ext >&5 |
3368 | 3378 |
3369 | 3379 |
3370 # Extract the first word of "ranlib", so it can be a program name with args. | 3380 # Extract the first word of "ranlib", so it can be a program name with args. |
3371 set dummy ranlib; ac_word=$2 | 3381 set dummy ranlib; ac_word=$2 |
3372 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 3382 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3373 echo "configure:3374: checking for $ac_word" >&5 | 3383 echo "configure:3384: checking for $ac_word" >&5 |
3374 | 3384 |
3375 if test -n "$RANLIB"; then | 3385 if test -n "$RANLIB"; then |
3376 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 3386 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
3377 else | 3387 else |
3378 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 3388 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
3423 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | 3433 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
3424 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 3434 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
3425 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 3435 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
3426 # ./install, which can be erroneously created by make from ./install.sh. | 3436 # ./install, which can be erroneously created by make from ./install.sh. |
3427 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | 3437 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
3428 echo "configure:3429: checking for a BSD compatible install" >&5 | 3438 echo "configure:3439: checking for a BSD compatible install" >&5 |
3429 if test -z "$INSTALL"; then | 3439 if test -z "$INSTALL"; then |
3430 | 3440 |
3431 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" | 3441 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" |
3432 for ac_dir in $PATH; do | 3442 for ac_dir in $PATH; do |
3433 # Account for people who put trailing slashes in PATH elements. | 3443 # Account for people who put trailing slashes in PATH elements. |
3477 for ac_prog in 'bison -y' byacc | 3487 for ac_prog in 'bison -y' byacc |
3478 do | 3488 do |
3479 # Extract the first word of "$ac_prog", so it can be a program name with args. | 3489 # Extract the first word of "$ac_prog", so it can be a program name with args. |
3480 set dummy $ac_prog; ac_word=$2 | 3490 set dummy $ac_prog; ac_word=$2 |
3481 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 3491 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3482 echo "configure:3483: checking for $ac_word" >&5 | 3492 echo "configure:3493: checking for $ac_word" >&5 |
3483 | 3493 |
3484 if test -n "$YACC"; then | 3494 if test -n "$YACC"; then |
3485 ac_cv_prog_YACC="$YACC" # Let the user override the test. | 3495 ac_cv_prog_YACC="$YACC" # Let the user override the test. |
3486 else | 3496 else |
3487 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 3497 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
3509 | 3519 |
3510 for ac_hdr in a.out.h elf.h cygwin/version.h fcntl.h inttypes.h libgen.h locale.h wchar.h mach/mach.h sys/param.h sys/pstat.h sys/time.h sys/timeb.h sys/times.h sys/un.h ulimit.h unistd.h | 3520 for ac_hdr in a.out.h elf.h cygwin/version.h fcntl.h inttypes.h libgen.h locale.h wchar.h mach/mach.h sys/param.h sys/pstat.h sys/time.h sys/timeb.h sys/times.h sys/un.h ulimit.h unistd.h |
3511 do | 3521 do |
3512 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 3522 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
3513 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 3523 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
3514 echo "configure:3515: checking for $ac_hdr" >&5 | 3524 echo "configure:3525: checking for $ac_hdr" >&5 |
3515 | 3525 |
3516 cat > conftest.$ac_ext <<EOF | 3526 cat > conftest.$ac_ext <<EOF |
3517 #line 3518 "configure" | 3527 #line 3528 "configure" |
3518 #include "confdefs.h" | 3528 #include "confdefs.h" |
3519 #include <$ac_hdr> | 3529 #include <$ac_hdr> |
3520 EOF | 3530 EOF |
3521 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3531 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3522 { (eval echo configure:3523: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3532 { (eval echo configure:3533: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3523 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 3533 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3524 if test -z "$ac_err"; then | 3534 if test -z "$ac_err"; then |
3525 rm -rf conftest* | 3535 rm -rf conftest* |
3526 eval "ac_cv_header_$ac_safe=yes" | 3536 eval "ac_cv_header_$ac_safe=yes" |
3527 else | 3537 else |
3547 echo "$ac_t""no" 1>&6 | 3557 echo "$ac_t""no" 1>&6 |
3548 fi | 3558 fi |
3549 done | 3559 done |
3550 | 3560 |
3551 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 | 3561 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 |
3552 echo "configure:3553: checking for sys/wait.h that is POSIX.1 compatible" >&5 | 3562 echo "configure:3563: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
3553 | 3563 |
3554 cat > conftest.$ac_ext <<EOF | 3564 cat > conftest.$ac_ext <<EOF |
3555 #line 3556 "configure" | 3565 #line 3566 "configure" |
3556 #include "confdefs.h" | 3566 #include "confdefs.h" |
3557 #include <sys/types.h> | 3567 #include <sys/types.h> |
3558 #include <sys/wait.h> | 3568 #include <sys/wait.h> |
3559 #ifndef WEXITSTATUS | 3569 #ifndef WEXITSTATUS |
3560 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) | 3570 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) |
3566 int s; | 3576 int s; |
3567 wait (&s); | 3577 wait (&s); |
3568 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; | 3578 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; |
3569 ; return 0; } | 3579 ; return 0; } |
3570 EOF | 3580 EOF |
3571 if { (eval echo configure:3572: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3581 if { (eval echo configure:3582: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3572 rm -rf conftest* | 3582 rm -rf conftest* |
3573 ac_cv_header_sys_wait_h=yes | 3583 ac_cv_header_sys_wait_h=yes |
3574 else | 3584 else |
3575 echo "configure: failed program was:" >&5 | 3585 echo "configure: failed program was:" >&5 |
3576 cat conftest.$ac_ext >&5 | 3586 cat conftest.$ac_ext >&5 |
3590 } | 3600 } |
3591 | 3601 |
3592 fi | 3602 fi |
3593 | 3603 |
3594 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | 3604 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
3595 echo "configure:3596: checking for ANSI C header files" >&5 | 3605 echo "configure:3606: checking for ANSI C header files" >&5 |
3596 | 3606 |
3597 cat > conftest.$ac_ext <<EOF | 3607 cat > conftest.$ac_ext <<EOF |
3598 #line 3599 "configure" | 3608 #line 3609 "configure" |
3599 #include "confdefs.h" | 3609 #include "confdefs.h" |
3600 #include <stdlib.h> | 3610 #include <stdlib.h> |
3601 #include <stdarg.h> | 3611 #include <stdarg.h> |
3602 #include <string.h> | 3612 #include <string.h> |
3603 #include <float.h> | 3613 #include <float.h> |
3604 EOF | 3614 EOF |
3605 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3615 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3606 { (eval echo configure:3607: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3616 { (eval echo configure:3617: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3607 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 3617 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3608 if test -z "$ac_err"; then | 3618 if test -z "$ac_err"; then |
3609 rm -rf conftest* | 3619 rm -rf conftest* |
3610 ac_cv_header_stdc=yes | 3620 ac_cv_header_stdc=yes |
3611 else | 3621 else |
3618 rm -f conftest* | 3628 rm -f conftest* |
3619 | 3629 |
3620 if test $ac_cv_header_stdc = yes; then | 3630 if test $ac_cv_header_stdc = yes; then |
3621 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 3631 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
3622 cat > conftest.$ac_ext <<EOF | 3632 cat > conftest.$ac_ext <<EOF |
3623 #line 3624 "configure" | 3633 #line 3634 "configure" |
3624 #include "confdefs.h" | 3634 #include "confdefs.h" |
3625 #include <string.h> | 3635 #include <string.h> |
3626 EOF | 3636 EOF |
3627 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3637 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3628 egrep "memchr" >/dev/null 2>&1; then | 3638 egrep "memchr" >/dev/null 2>&1; then |
3636 fi | 3646 fi |
3637 | 3647 |
3638 if test $ac_cv_header_stdc = yes; then | 3648 if test $ac_cv_header_stdc = yes; then |
3639 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 3649 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
3640 cat > conftest.$ac_ext <<EOF | 3650 cat > conftest.$ac_ext <<EOF |
3641 #line 3642 "configure" | 3651 #line 3652 "configure" |
3642 #include "confdefs.h" | 3652 #include "confdefs.h" |
3643 #include <stdlib.h> | 3653 #include <stdlib.h> |
3644 EOF | 3654 EOF |
3645 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3655 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3646 egrep "free" >/dev/null 2>&1; then | 3656 egrep "free" >/dev/null 2>&1; then |
3654 fi | 3664 fi |
3655 | 3665 |
3656 if test $ac_cv_header_stdc = yes; then | 3666 if test $ac_cv_header_stdc = yes; then |
3657 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 3667 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
3658 cat > conftest.$ac_ext <<EOF | 3668 cat > conftest.$ac_ext <<EOF |
3659 #line 3660 "configure" | 3669 #line 3670 "configure" |
3660 #include "confdefs.h" | 3670 #include "confdefs.h" |
3661 #include <ctype.h> | 3671 #include <ctype.h> |
3662 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 3672 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
3663 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 3673 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
3664 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 3674 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
3665 int main () { int i; for (i = 0; i < 256; i++) | 3675 int main () { int i; for (i = 0; i < 256; i++) |
3666 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); | 3676 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); |
3667 exit (0); } | 3677 exit (0); } |
3668 | 3678 |
3669 EOF | 3679 EOF |
3670 if { (eval echo configure:3671: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 3680 if { (eval echo configure:3681: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
3671 then | 3681 then |
3672 : | 3682 : |
3673 else | 3683 else |
3674 conftest_rc="$?" | 3684 conftest_rc="$?" |
3675 echo "configure: failed program was:" >&5 | 3685 echo "configure: failed program was:" >&5 |
3691 } | 3701 } |
3692 | 3702 |
3693 fi | 3703 fi |
3694 | 3704 |
3695 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 | 3705 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 |
3696 echo "configure:3697: checking whether time.h and sys/time.h may both be included" >&5 | 3706 echo "configure:3707: checking whether time.h and sys/time.h may both be included" >&5 |
3697 | 3707 |
3698 cat > conftest.$ac_ext <<EOF | 3708 cat > conftest.$ac_ext <<EOF |
3699 #line 3700 "configure" | 3709 #line 3710 "configure" |
3700 #include "confdefs.h" | 3710 #include "confdefs.h" |
3701 #include <sys/types.h> | 3711 #include <sys/types.h> |
3702 #include <sys/time.h> | 3712 #include <sys/time.h> |
3703 #include <time.h> | 3713 #include <time.h> |
3704 int main() { | 3714 int main() { |
3705 struct tm *tp; | 3715 struct tm *tp; |
3706 ; return 0; } | 3716 ; return 0; } |
3707 EOF | 3717 EOF |
3708 if { (eval echo configure:3709: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3718 if { (eval echo configure:3719: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3709 rm -rf conftest* | 3719 rm -rf conftest* |
3710 ac_cv_header_time=yes | 3720 ac_cv_header_time=yes |
3711 else | 3721 else |
3712 echo "configure: failed program was:" >&5 | 3722 echo "configure: failed program was:" >&5 |
3713 cat conftest.$ac_ext >&5 | 3723 cat conftest.$ac_ext >&5 |
3727 } | 3737 } |
3728 | 3738 |
3729 fi | 3739 fi |
3730 | 3740 |
3731 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 | 3741 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 |
3732 echo "configure:3733: checking for sys_siglist declaration in signal.h or unistd.h" >&5 | 3742 echo "configure:3743: checking for sys_siglist declaration in signal.h or unistd.h" >&5 |
3733 | 3743 |
3734 cat > conftest.$ac_ext <<EOF | 3744 cat > conftest.$ac_ext <<EOF |
3735 #line 3736 "configure" | 3745 #line 3746 "configure" |
3736 #include "confdefs.h" | 3746 #include "confdefs.h" |
3737 #include <sys/types.h> | 3747 #include <sys/types.h> |
3738 #include <signal.h> | 3748 #include <signal.h> |
3739 /* NetBSD declares sys_siglist in unistd.h. */ | 3749 /* NetBSD declares sys_siglist in unistd.h. */ |
3740 #ifdef HAVE_UNISTD_H | 3750 #ifdef HAVE_UNISTD_H |
3742 #endif | 3752 #endif |
3743 int main() { | 3753 int main() { |
3744 char *msg = *(sys_siglist + 1); | 3754 char *msg = *(sys_siglist + 1); |
3745 ; return 0; } | 3755 ; return 0; } |
3746 EOF | 3756 EOF |
3747 if { (eval echo configure:3748: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3757 if { (eval echo configure:3758: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3748 rm -rf conftest* | 3758 rm -rf conftest* |
3749 ac_cv_decl_sys_siglist=yes | 3759 ac_cv_decl_sys_siglist=yes |
3750 else | 3760 else |
3751 echo "configure: failed program was:" >&5 | 3761 echo "configure: failed program was:" >&5 |
3752 cat conftest.$ac_ext >&5 | 3762 cat conftest.$ac_ext >&5 |
3768 fi | 3778 fi |
3769 | 3779 |
3770 | 3780 |
3771 | 3781 |
3772 echo $ac_n "checking for utime""... $ac_c" 1>&6 | 3782 echo $ac_n "checking for utime""... $ac_c" 1>&6 |
3773 echo "configure:3774: checking for utime" >&5 | 3783 echo "configure:3784: checking for utime" >&5 |
3774 cat > conftest.$ac_ext <<EOF | 3784 cat > conftest.$ac_ext <<EOF |
3775 #line 3776 "configure" | 3785 #line 3786 "configure" |
3776 #include "confdefs.h" | 3786 #include "confdefs.h" |
3777 #include <sys/types.h> | 3787 #include <sys/types.h> |
3778 #include <utime.h> | 3788 #include <utime.h> |
3779 int main() { | 3789 int main() { |
3780 struct utimbuf x; x.actime = x.modtime = 0; utime ("/", &x); | 3790 struct utimbuf x; x.actime = x.modtime = 0; utime ("/", &x); |
3781 ; return 0; } | 3791 ; return 0; } |
3782 EOF | 3792 EOF |
3783 if { (eval echo configure:3784: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3793 if { (eval echo configure:3794: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3784 rm -rf conftest* | 3794 rm -rf conftest* |
3785 echo "$ac_t""yes" 1>&6 | 3795 echo "$ac_t""yes" 1>&6 |
3786 { test "$extra_verbose" = "yes" && cat << \EOF | 3796 { test "$extra_verbose" = "yes" && cat << \EOF |
3787 Defining HAVE_UTIME | 3797 Defining HAVE_UTIME |
3788 EOF | 3798 EOF |
3797 rm -rf conftest* | 3807 rm -rf conftest* |
3798 echo "$ac_t""no" 1>&6 | 3808 echo "$ac_t""no" 1>&6 |
3799 for ac_func in utimes | 3809 for ac_func in utimes |
3800 do | 3810 do |
3801 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 3811 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
3802 echo "configure:3803: checking for $ac_func" >&5 | 3812 echo "configure:3813: checking for $ac_func" >&5 |
3803 | 3813 |
3804 cat > conftest.$ac_ext <<EOF | 3814 cat > conftest.$ac_ext <<EOF |
3805 #line 3806 "configure" | 3815 #line 3816 "configure" |
3806 #include "confdefs.h" | 3816 #include "confdefs.h" |
3807 /* System header to define __stub macros and hopefully few prototypes, | 3817 /* System header to define __stub macros and hopefully few prototypes, |
3808 which can conflict with char $ac_func(); below. */ | 3818 which can conflict with char $ac_func(); below. */ |
3809 #include <assert.h> | 3819 #include <assert.h> |
3810 /* Override any gcc2 internal prototype to avoid an error. */ | 3820 /* Override any gcc2 internal prototype to avoid an error. */ |
3823 $ac_func(); | 3833 $ac_func(); |
3824 #endif | 3834 #endif |
3825 | 3835 |
3826 ; return 0; } | 3836 ; return 0; } |
3827 EOF | 3837 EOF |
3828 if { (eval echo configure:3829: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3838 if { (eval echo configure:3839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3829 rm -rf conftest* | 3839 rm -rf conftest* |
3830 eval "ac_cv_func_$ac_func=yes" | 3840 eval "ac_cv_func_$ac_func=yes" |
3831 else | 3841 else |
3832 echo "configure: failed program was:" >&5 | 3842 echo "configure: failed program was:" >&5 |
3833 cat conftest.$ac_ext >&5 | 3843 cat conftest.$ac_ext >&5 |
3855 fi | 3865 fi |
3856 rm -f conftest* | 3866 rm -f conftest* |
3857 | 3867 |
3858 | 3868 |
3859 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 | 3869 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
3860 echo "configure:3861: checking return type of signal handlers" >&5 | 3870 echo "configure:3871: checking return type of signal handlers" >&5 |
3861 | 3871 |
3862 cat > conftest.$ac_ext <<EOF | 3872 cat > conftest.$ac_ext <<EOF |
3863 #line 3864 "configure" | 3873 #line 3874 "configure" |
3864 #include "confdefs.h" | 3874 #include "confdefs.h" |
3865 #include <sys/types.h> | 3875 #include <sys/types.h> |
3866 #include <signal.h> | 3876 #include <signal.h> |
3867 #ifdef signal | 3877 #ifdef signal |
3868 #undef signal | 3878 #undef signal |
3875 | 3885 |
3876 int main() { | 3886 int main() { |
3877 int i; | 3887 int i; |
3878 ; return 0; } | 3888 ; return 0; } |
3879 EOF | 3889 EOF |
3880 if { (eval echo configure:3881: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3890 if { (eval echo configure:3891: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3881 rm -rf conftest* | 3891 rm -rf conftest* |
3882 ac_cv_type_signal=void | 3892 ac_cv_type_signal=void |
3883 else | 3893 else |
3884 echo "configure: failed program was:" >&5 | 3894 echo "configure: failed program was:" >&5 |
3885 cat conftest.$ac_ext >&5 | 3895 cat conftest.$ac_ext >&5 |
3897 EOF | 3907 EOF |
3898 } | 3908 } |
3899 | 3909 |
3900 | 3910 |
3901 echo $ac_n "checking for size_t""... $ac_c" 1>&6 | 3911 echo $ac_n "checking for size_t""... $ac_c" 1>&6 |
3902 echo "configure:3903: checking for size_t" >&5 | 3912 echo "configure:3913: checking for size_t" >&5 |
3903 | 3913 |
3904 cat > conftest.$ac_ext <<EOF | 3914 cat > conftest.$ac_ext <<EOF |
3905 #line 3906 "configure" | 3915 #line 3916 "configure" |
3906 #include "confdefs.h" | 3916 #include "confdefs.h" |
3907 #include <sys/types.h> | 3917 #include <sys/types.h> |
3908 #if STDC_HEADERS | 3918 #if STDC_HEADERS |
3909 #include <stdlib.h> | 3919 #include <stdlib.h> |
3910 #include <stddef.h> | 3920 #include <stddef.h> |
3931 } | 3941 } |
3932 | 3942 |
3933 fi | 3943 fi |
3934 | 3944 |
3935 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 | 3945 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 |
3936 echo "configure:3937: checking for pid_t" >&5 | 3946 echo "configure:3947: checking for pid_t" >&5 |
3937 | 3947 |
3938 cat > conftest.$ac_ext <<EOF | 3948 cat > conftest.$ac_ext <<EOF |
3939 #line 3940 "configure" | 3949 #line 3950 "configure" |
3940 #include "confdefs.h" | 3950 #include "confdefs.h" |
3941 #include <sys/types.h> | 3951 #include <sys/types.h> |
3942 #if STDC_HEADERS | 3952 #if STDC_HEADERS |
3943 #include <stdlib.h> | 3953 #include <stdlib.h> |
3944 #include <stddef.h> | 3954 #include <stddef.h> |
3965 } | 3975 } |
3966 | 3976 |
3967 fi | 3977 fi |
3968 | 3978 |
3969 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 | 3979 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 |
3970 echo "configure:3971: checking for uid_t in sys/types.h" >&5 | 3980 echo "configure:3981: checking for uid_t in sys/types.h" >&5 |
3971 | 3981 |
3972 cat > conftest.$ac_ext <<EOF | 3982 cat > conftest.$ac_ext <<EOF |
3973 #line 3974 "configure" | 3983 #line 3984 "configure" |
3974 #include "confdefs.h" | 3984 #include "confdefs.h" |
3975 #include <sys/types.h> | 3985 #include <sys/types.h> |
3976 EOF | 3986 EOF |
3977 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3987 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3978 egrep "uid_t" >/dev/null 2>&1; then | 3988 egrep "uid_t" >/dev/null 2>&1; then |
4004 } | 4014 } |
4005 | 4015 |
4006 fi | 4016 fi |
4007 | 4017 |
4008 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 | 4018 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 |
4009 echo "configure:4010: checking for mode_t" >&5 | 4019 echo "configure:4020: checking for mode_t" >&5 |
4010 | 4020 |
4011 cat > conftest.$ac_ext <<EOF | 4021 cat > conftest.$ac_ext <<EOF |
4012 #line 4013 "configure" | 4022 #line 4023 "configure" |
4013 #include "confdefs.h" | 4023 #include "confdefs.h" |
4014 #include <sys/types.h> | 4024 #include <sys/types.h> |
4015 #if STDC_HEADERS | 4025 #if STDC_HEADERS |
4016 #include <stdlib.h> | 4026 #include <stdlib.h> |
4017 #include <stddef.h> | 4027 #include <stddef.h> |
4038 } | 4048 } |
4039 | 4049 |
4040 fi | 4050 fi |
4041 | 4051 |
4042 echo $ac_n "checking for off_t""... $ac_c" 1>&6 | 4052 echo $ac_n "checking for off_t""... $ac_c" 1>&6 |
4043 echo "configure:4044: checking for off_t" >&5 | 4053 echo "configure:4054: checking for off_t" >&5 |
4044 | 4054 |
4045 cat > conftest.$ac_ext <<EOF | 4055 cat > conftest.$ac_ext <<EOF |
4046 #line 4047 "configure" | 4056 #line 4057 "configure" |
4047 #include "confdefs.h" | 4057 #include "confdefs.h" |
4048 #include <sys/types.h> | 4058 #include <sys/types.h> |
4049 #if STDC_HEADERS | 4059 #if STDC_HEADERS |
4050 #include <stdlib.h> | 4060 #include <stdlib.h> |
4051 #include <stddef.h> | 4061 #include <stddef.h> |
4072 } | 4082 } |
4073 | 4083 |
4074 fi | 4084 fi |
4075 | 4085 |
4076 echo $ac_n "checking for ssize_t""... $ac_c" 1>&6 | 4086 echo $ac_n "checking for ssize_t""... $ac_c" 1>&6 |
4077 echo "configure:4078: checking for ssize_t" >&5 | 4087 echo "configure:4088: checking for ssize_t" >&5 |
4078 | 4088 |
4079 cat > conftest.$ac_ext <<EOF | 4089 cat > conftest.$ac_ext <<EOF |
4080 #line 4081 "configure" | 4090 #line 4091 "configure" |
4081 #include "confdefs.h" | 4091 #include "confdefs.h" |
4082 #include <sys/types.h> | 4092 #include <sys/types.h> |
4083 #if STDC_HEADERS | 4093 #if STDC_HEADERS |
4084 #include <stdlib.h> | 4094 #include <stdlib.h> |
4085 #include <stddef.h> | 4095 #include <stddef.h> |
4107 | 4117 |
4108 fi | 4118 fi |
4109 | 4119 |
4110 | 4120 |
4111 echo $ac_n "checking for socklen_t""... $ac_c" 1>&6 | 4121 echo $ac_n "checking for socklen_t""... $ac_c" 1>&6 |
4112 echo "configure:4113: checking for socklen_t" >&5 | 4122 echo "configure:4123: checking for socklen_t" >&5 |
4113 cat > conftest.$ac_ext <<EOF | 4123 cat > conftest.$ac_ext <<EOF |
4114 #line 4115 "configure" | 4124 #line 4125 "configure" |
4115 #include "confdefs.h" | 4125 #include "confdefs.h" |
4116 #include <sys/socket.h> | 4126 #include <sys/socket.h> |
4117 socklen_t x; | 4127 socklen_t x; |
4118 | 4128 |
4119 int main() { | 4129 int main() { |
4120 | 4130 |
4121 ; return 0; } | 4131 ; return 0; } |
4122 EOF | 4132 EOF |
4123 if { (eval echo configure:4124: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4133 if { (eval echo configure:4134: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4124 rm -rf conftest* | 4134 rm -rf conftest* |
4125 echo "$ac_t""yes" 1>&6 | 4135 echo "$ac_t""yes" 1>&6 |
4126 else | 4136 else |
4127 echo "configure: failed program was:" >&5 | 4137 echo "configure: failed program was:" >&5 |
4128 cat conftest.$ac_ext >&5 | 4138 cat conftest.$ac_ext >&5 |
4129 rm -rf conftest* | 4139 rm -rf conftest* |
4130 | 4140 |
4131 cat > conftest.$ac_ext <<EOF | 4141 cat > conftest.$ac_ext <<EOF |
4132 #line 4133 "configure" | 4142 #line 4143 "configure" |
4133 #include "confdefs.h" | 4143 #include "confdefs.h" |
4134 #include <sys/socket.h> | 4144 #include <sys/socket.h> |
4135 int accept (int, struct sockaddr *, size_t *); | 4145 int accept (int, struct sockaddr *, size_t *); |
4136 | 4146 |
4137 int main() { | 4147 int main() { |
4138 | 4148 |
4139 ; return 0; } | 4149 ; return 0; } |
4140 EOF | 4150 EOF |
4141 if { (eval echo configure:4142: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4151 if { (eval echo configure:4152: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4142 rm -rf conftest* | 4152 rm -rf conftest* |
4143 | 4153 |
4144 echo "$ac_t""size_t" 1>&6 | 4154 echo "$ac_t""size_t" 1>&6 |
4145 { test "$extra_verbose" = "yes" && cat << \EOF | 4155 { test "$extra_verbose" = "yes" && cat << \EOF |
4146 Defining socklen_t = size_t | 4156 Defining socklen_t = size_t |
4168 rm -f conftest* | 4178 rm -f conftest* |
4169 fi | 4179 fi |
4170 rm -f conftest* | 4180 rm -f conftest* |
4171 | 4181 |
4172 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 | 4182 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 |
4173 echo "configure:4174: checking for struct timeval" >&5 | 4183 echo "configure:4184: checking for struct timeval" >&5 |
4174 cat > conftest.$ac_ext <<EOF | 4184 cat > conftest.$ac_ext <<EOF |
4175 #line 4176 "configure" | 4185 #line 4186 "configure" |
4176 #include "confdefs.h" | 4186 #include "confdefs.h" |
4177 #ifdef TIME_WITH_SYS_TIME | 4187 #ifdef TIME_WITH_SYS_TIME |
4178 #include <sys/time.h> | 4188 #include <sys/time.h> |
4179 #include <time.h> | 4189 #include <time.h> |
4180 #else | 4190 #else |
4186 #endif | 4196 #endif |
4187 int main() { | 4197 int main() { |
4188 static struct timeval x; x.tv_sec = x.tv_usec; | 4198 static struct timeval x; x.tv_sec = x.tv_usec; |
4189 ; return 0; } | 4199 ; return 0; } |
4190 EOF | 4200 EOF |
4191 if { (eval echo configure:4192: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4201 if { (eval echo configure:4202: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4192 rm -rf conftest* | 4202 rm -rf conftest* |
4193 echo "$ac_t""yes" 1>&6 | 4203 echo "$ac_t""yes" 1>&6 |
4194 HAVE_TIMEVAL=yes | 4204 HAVE_TIMEVAL=yes |
4195 { test "$extra_verbose" = "yes" && cat << \EOF | 4205 { test "$extra_verbose" = "yes" && cat << \EOF |
4196 Defining HAVE_TIMEVAL | 4206 Defining HAVE_TIMEVAL |
4208 HAVE_TIMEVAL=no | 4218 HAVE_TIMEVAL=no |
4209 fi | 4219 fi |
4210 rm -f conftest* | 4220 rm -f conftest* |
4211 | 4221 |
4212 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 | 4222 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 |
4213 echo "configure:4214: checking whether struct tm is in sys/time.h or time.h" >&5 | 4223 echo "configure:4224: checking whether struct tm is in sys/time.h or time.h" >&5 |
4214 | 4224 |
4215 cat > conftest.$ac_ext <<EOF | 4225 cat > conftest.$ac_ext <<EOF |
4216 #line 4217 "configure" | 4226 #line 4227 "configure" |
4217 #include "confdefs.h" | 4227 #include "confdefs.h" |
4218 #include <sys/types.h> | 4228 #include <sys/types.h> |
4219 #include <time.h> | 4229 #include <time.h> |
4220 int main() { | 4230 int main() { |
4221 struct tm *tp; tp->tm_sec; | 4231 struct tm *tp; tp->tm_sec; |
4222 ; return 0; } | 4232 ; return 0; } |
4223 EOF | 4233 EOF |
4224 if { (eval echo configure:4225: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4234 if { (eval echo configure:4235: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4225 rm -rf conftest* | 4235 rm -rf conftest* |
4226 ac_cv_struct_tm=time.h | 4236 ac_cv_struct_tm=time.h |
4227 else | 4237 else |
4228 echo "configure: failed program was:" >&5 | 4238 echo "configure: failed program was:" >&5 |
4229 cat conftest.$ac_ext >&5 | 4239 cat conftest.$ac_ext >&5 |
4243 } | 4253 } |
4244 | 4254 |
4245 fi | 4255 fi |
4246 | 4256 |
4247 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 | 4257 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 |
4248 echo "configure:4249: checking for tm_zone in struct tm" >&5 | 4258 echo "configure:4259: checking for tm_zone in struct tm" >&5 |
4249 | 4259 |
4250 cat > conftest.$ac_ext <<EOF | 4260 cat > conftest.$ac_ext <<EOF |
4251 #line 4252 "configure" | 4261 #line 4262 "configure" |
4252 #include "confdefs.h" | 4262 #include "confdefs.h" |
4253 #include <sys/types.h> | 4263 #include <sys/types.h> |
4254 #include <$ac_cv_struct_tm> | 4264 #include <$ac_cv_struct_tm> |
4255 int main() { | 4265 int main() { |
4256 struct tm tm; tm.tm_zone; | 4266 struct tm tm; tm.tm_zone; |
4257 ; return 0; } | 4267 ; return 0; } |
4258 EOF | 4268 EOF |
4259 if { (eval echo configure:4260: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4269 if { (eval echo configure:4270: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4260 rm -rf conftest* | 4270 rm -rf conftest* |
4261 ac_cv_struct_tm_zone=yes | 4271 ac_cv_struct_tm_zone=yes |
4262 else | 4272 else |
4263 echo "configure: failed program was:" >&5 | 4273 echo "configure: failed program was:" >&5 |
4264 cat conftest.$ac_ext >&5 | 4274 cat conftest.$ac_ext >&5 |
4277 EOF | 4287 EOF |
4278 } | 4288 } |
4279 | 4289 |
4280 else | 4290 else |
4281 echo $ac_n "checking for tzname""... $ac_c" 1>&6 | 4291 echo $ac_n "checking for tzname""... $ac_c" 1>&6 |
4282 echo "configure:4283: checking for tzname" >&5 | 4292 echo "configure:4293: checking for tzname" >&5 |
4283 | 4293 |
4284 cat > conftest.$ac_ext <<EOF | 4294 cat > conftest.$ac_ext <<EOF |
4285 #line 4286 "configure" | 4295 #line 4296 "configure" |
4286 #include "confdefs.h" | 4296 #include "confdefs.h" |
4287 #include <time.h> | 4297 #include <time.h> |
4288 #ifndef tzname /* For SGI. */ | 4298 #ifndef tzname /* For SGI. */ |
4289 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ | 4299 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ |
4290 #endif | 4300 #endif |
4291 int main() { | 4301 int main() { |
4292 atoi(*tzname); | 4302 atoi(*tzname); |
4293 ; return 0; } | 4303 ; return 0; } |
4294 EOF | 4304 EOF |
4295 if { (eval echo configure:4296: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4305 if { (eval echo configure:4306: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4296 rm -rf conftest* | 4306 rm -rf conftest* |
4297 ac_cv_var_tzname=yes | 4307 ac_cv_var_tzname=yes |
4298 else | 4308 else |
4299 echo "configure: failed program was:" >&5 | 4309 echo "configure: failed program was:" >&5 |
4300 cat conftest.$ac_ext >&5 | 4310 cat conftest.$ac_ext >&5 |
4316 fi | 4326 fi |
4317 fi | 4327 fi |
4318 | 4328 |
4319 | 4329 |
4320 echo $ac_n "checking for working const""... $ac_c" 1>&6 | 4330 echo $ac_n "checking for working const""... $ac_c" 1>&6 |
4321 echo "configure:4322: checking for working const" >&5 | 4331 echo "configure:4332: checking for working const" >&5 |
4322 | 4332 |
4323 cat > conftest.$ac_ext <<EOF | 4333 cat > conftest.$ac_ext <<EOF |
4324 #line 4325 "configure" | 4334 #line 4335 "configure" |
4325 #include "confdefs.h" | 4335 #include "confdefs.h" |
4326 | 4336 |
4327 int main() { | 4337 int main() { |
4328 | 4338 |
4329 /* Ultrix mips cc rejects this. */ | 4339 /* Ultrix mips cc rejects this. */ |
4368 const int foo = 10; | 4378 const int foo = 10; |
4369 } | 4379 } |
4370 | 4380 |
4371 ; return 0; } | 4381 ; return 0; } |
4372 EOF | 4382 EOF |
4373 if { (eval echo configure:4374: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4383 if { (eval echo configure:4384: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4374 rm -rf conftest* | 4384 rm -rf conftest* |
4375 ac_cv_c_const=yes | 4385 ac_cv_c_const=yes |
4376 else | 4386 else |
4377 echo "configure: failed program was:" >&5 | 4387 echo "configure: failed program was:" >&5 |
4378 cat conftest.$ac_ext >&5 | 4388 cat conftest.$ac_ext >&5 |
4393 | 4403 |
4394 fi | 4404 fi |
4395 | 4405 |
4396 | 4406 |
4397 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | 4407 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
4398 echo "configure:4399: checking whether ${MAKE-make} sets \${MAKE}" >&5 | 4408 echo "configure:4409: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
4399 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | 4409 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
4400 | 4410 |
4401 cat > conftestmake <<\EOF | 4411 cat > conftestmake <<\EOF |
4402 all: | 4412 all: |
4403 @echo 'ac_maketemp="${MAKE}"' | 4413 @echo 'ac_maketemp="${MAKE}"' |
4418 SET_MAKE="MAKE=${MAKE-make}" | 4428 SET_MAKE="MAKE=${MAKE-make}" |
4419 fi | 4429 fi |
4420 | 4430 |
4421 | 4431 |
4422 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 | 4432 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 |
4423 echo "configure:4424: checking whether byte ordering is bigendian" >&5 | 4433 echo "configure:4434: checking whether byte ordering is bigendian" >&5 |
4424 | 4434 |
4425 ac_cv_c_bigendian=unknown | 4435 ac_cv_c_bigendian=unknown |
4426 # See if sys/param.h defines the BYTE_ORDER macro. | 4436 # See if sys/param.h defines the BYTE_ORDER macro. |
4427 cat > conftest.$ac_ext <<EOF | 4437 cat > conftest.$ac_ext <<EOF |
4428 #line 4429 "configure" | 4438 #line 4439 "configure" |
4429 #include "confdefs.h" | 4439 #include "confdefs.h" |
4430 #include <sys/types.h> | 4440 #include <sys/types.h> |
4431 #include <sys/param.h> | 4441 #include <sys/param.h> |
4432 int main() { | 4442 int main() { |
4433 | 4443 |
4434 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN | 4444 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN |
4435 bogus endian macros | 4445 bogus endian macros |
4436 #endif | 4446 #endif |
4437 ; return 0; } | 4447 ; return 0; } |
4438 EOF | 4448 EOF |
4439 if { (eval echo configure:4440: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4449 if { (eval echo configure:4450: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4440 rm -rf conftest* | 4450 rm -rf conftest* |
4441 # It does; now see whether it defined to BIG_ENDIAN or not. | 4451 # It does; now see whether it defined to BIG_ENDIAN or not. |
4442 cat > conftest.$ac_ext <<EOF | 4452 cat > conftest.$ac_ext <<EOF |
4443 #line 4444 "configure" | 4453 #line 4454 "configure" |
4444 #include "confdefs.h" | 4454 #include "confdefs.h" |
4445 #include <sys/types.h> | 4455 #include <sys/types.h> |
4446 #include <sys/param.h> | 4456 #include <sys/param.h> |
4447 int main() { | 4457 int main() { |
4448 | 4458 |
4449 #if BYTE_ORDER != BIG_ENDIAN | 4459 #if BYTE_ORDER != BIG_ENDIAN |
4450 not big endian | 4460 not big endian |
4451 #endif | 4461 #endif |
4452 ; return 0; } | 4462 ; return 0; } |
4453 EOF | 4463 EOF |
4454 if { (eval echo configure:4455: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4464 if { (eval echo configure:4465: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4455 rm -rf conftest* | 4465 rm -rf conftest* |
4456 ac_cv_c_bigendian=yes | 4466 ac_cv_c_bigendian=yes |
4457 else | 4467 else |
4458 echo "configure: failed program was:" >&5 | 4468 echo "configure: failed program was:" >&5 |
4459 cat conftest.$ac_ext >&5 | 4469 cat conftest.$ac_ext >&5 |
4466 cat conftest.$ac_ext >&5 | 4476 cat conftest.$ac_ext >&5 |
4467 fi | 4477 fi |
4468 rm -f conftest* | 4478 rm -f conftest* |
4469 if test $ac_cv_c_bigendian = unknown; then | 4479 if test $ac_cv_c_bigendian = unknown; then |
4470 cat > conftest.$ac_ext <<EOF | 4480 cat > conftest.$ac_ext <<EOF |
4471 #line 4472 "configure" | 4481 #line 4482 "configure" |
4472 #include "confdefs.h" | 4482 #include "confdefs.h" |
4473 main () { | 4483 main () { |
4474 /* Are we little or big endian? From Harbison&Steele. */ | 4484 /* Are we little or big endian? From Harbison&Steele. */ |
4475 union | 4485 union |
4476 { | 4486 { |
4479 } u; | 4489 } u; |
4480 u.l = 1; | 4490 u.l = 1; |
4481 exit (u.c[sizeof (long) - 1] == 1); | 4491 exit (u.c[sizeof (long) - 1] == 1); |
4482 } | 4492 } |
4483 EOF | 4493 EOF |
4484 if { (eval echo configure:4485: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4494 if { (eval echo configure:4495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4485 then | 4495 then |
4486 ac_cv_c_bigendian=no | 4496 ac_cv_c_bigendian=no |
4487 else | 4497 else |
4488 conftest_rc="$?" | 4498 conftest_rc="$?" |
4489 echo "configure: failed program was:" >&5 | 4499 echo "configure: failed program was:" >&5 |
4506 | 4516 |
4507 fi | 4517 fi |
4508 | 4518 |
4509 | 4519 |
4510 echo $ac_n "checking size of short""... $ac_c" 1>&6 | 4520 echo $ac_n "checking size of short""... $ac_c" 1>&6 |
4511 echo "configure:4512: checking size of short" >&5 | 4521 echo "configure:4522: checking size of short" >&5 |
4512 | 4522 |
4513 cat > conftest.$ac_ext <<EOF | 4523 cat > conftest.$ac_ext <<EOF |
4514 #line 4515 "configure" | 4524 #line 4525 "configure" |
4515 #include "confdefs.h" | 4525 #include "confdefs.h" |
4516 #include <stdio.h> | 4526 #include <stdio.h> |
4517 main() | 4527 main() |
4518 { | 4528 { |
4519 FILE *f=fopen("conftestval", "w"); | 4529 FILE *f=fopen("conftestval", "w"); |
4520 if (!f) exit(1); | 4530 if (!f) exit(1); |
4521 fprintf(f, "%d\n", sizeof(short)); | 4531 fprintf(f, "%d\n", sizeof(short)); |
4522 exit(0); | 4532 exit(0); |
4523 } | 4533 } |
4524 EOF | 4534 EOF |
4525 if { (eval echo configure:4526: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4535 if { (eval echo configure:4536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4526 then | 4536 then |
4527 ac_cv_sizeof_short=`cat conftestval` | 4537 ac_cv_sizeof_short=`cat conftestval` |
4528 else | 4538 else |
4529 conftest_rc="$?" | 4539 conftest_rc="$?" |
4530 echo "configure: failed program was:" >&5 | 4540 echo "configure: failed program was:" >&5 |
4548 echo "*** PANIC *** Configure tests are not working - compiler is broken." | 4558 echo "*** PANIC *** Configure tests are not working - compiler is broken." |
4549 echo "*** PANIC *** Please examine config.log for compilation errors." | 4559 echo "*** PANIC *** Please examine config.log for compilation errors." |
4550 exit 1 | 4560 exit 1 |
4551 fi | 4561 fi |
4552 echo $ac_n "checking size of int""... $ac_c" 1>&6 | 4562 echo $ac_n "checking size of int""... $ac_c" 1>&6 |
4553 echo "configure:4554: checking size of int" >&5 | 4563 echo "configure:4564: checking size of int" >&5 |
4554 | 4564 |
4555 cat > conftest.$ac_ext <<EOF | 4565 cat > conftest.$ac_ext <<EOF |
4556 #line 4557 "configure" | 4566 #line 4567 "configure" |
4557 #include "confdefs.h" | 4567 #include "confdefs.h" |
4558 #include <stdio.h> | 4568 #include <stdio.h> |
4559 main() | 4569 main() |
4560 { | 4570 { |
4561 FILE *f=fopen("conftestval", "w"); | 4571 FILE *f=fopen("conftestval", "w"); |
4562 if (!f) exit(1); | 4572 if (!f) exit(1); |
4563 fprintf(f, "%d\n", sizeof(int)); | 4573 fprintf(f, "%d\n", sizeof(int)); |
4564 exit(0); | 4574 exit(0); |
4565 } | 4575 } |
4566 EOF | 4576 EOF |
4567 if { (eval echo configure:4568: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4577 if { (eval echo configure:4578: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4568 then | 4578 then |
4569 ac_cv_sizeof_int=`cat conftestval` | 4579 ac_cv_sizeof_int=`cat conftestval` |
4570 else | 4580 else |
4571 conftest_rc="$?" | 4581 conftest_rc="$?" |
4572 echo "configure: failed program was:" >&5 | 4582 echo "configure: failed program was:" >&5 |
4584 EOF | 4594 EOF |
4585 } | 4595 } |
4586 | 4596 |
4587 | 4597 |
4588 echo $ac_n "checking size of long""... $ac_c" 1>&6 | 4598 echo $ac_n "checking size of long""... $ac_c" 1>&6 |
4589 echo "configure:4590: checking size of long" >&5 | 4599 echo "configure:4600: checking size of long" >&5 |
4590 | 4600 |
4591 cat > conftest.$ac_ext <<EOF | 4601 cat > conftest.$ac_ext <<EOF |
4592 #line 4593 "configure" | 4602 #line 4603 "configure" |
4593 #include "confdefs.h" | 4603 #include "confdefs.h" |
4594 #include <stdio.h> | 4604 #include <stdio.h> |
4595 main() | 4605 main() |
4596 { | 4606 { |
4597 FILE *f=fopen("conftestval", "w"); | 4607 FILE *f=fopen("conftestval", "w"); |
4598 if (!f) exit(1); | 4608 if (!f) exit(1); |
4599 fprintf(f, "%d\n", sizeof(long)); | 4609 fprintf(f, "%d\n", sizeof(long)); |
4600 exit(0); | 4610 exit(0); |
4601 } | 4611 } |
4602 EOF | 4612 EOF |
4603 if { (eval echo configure:4604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4613 if { (eval echo configure:4614: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4604 then | 4614 then |
4605 ac_cv_sizeof_long=`cat conftestval` | 4615 ac_cv_sizeof_long=`cat conftestval` |
4606 else | 4616 else |
4607 conftest_rc="$?" | 4617 conftest_rc="$?" |
4608 echo "configure: failed program was:" >&5 | 4618 echo "configure: failed program was:" >&5 |
4620 EOF | 4630 EOF |
4621 } | 4631 } |
4622 | 4632 |
4623 | 4633 |
4624 echo $ac_n "checking size of long long""... $ac_c" 1>&6 | 4634 echo $ac_n "checking size of long long""... $ac_c" 1>&6 |
4625 echo "configure:4626: checking size of long long" >&5 | 4635 echo "configure:4636: checking size of long long" >&5 |
4626 | 4636 |
4627 cat > conftest.$ac_ext <<EOF | 4637 cat > conftest.$ac_ext <<EOF |
4628 #line 4629 "configure" | 4638 #line 4639 "configure" |
4629 #include "confdefs.h" | 4639 #include "confdefs.h" |
4630 #include <stdio.h> | 4640 #include <stdio.h> |
4631 main() | 4641 main() |
4632 { | 4642 { |
4633 FILE *f=fopen("conftestval", "w"); | 4643 FILE *f=fopen("conftestval", "w"); |
4634 if (!f) exit(1); | 4644 if (!f) exit(1); |
4635 fprintf(f, "%d\n", sizeof(long long)); | 4645 fprintf(f, "%d\n", sizeof(long long)); |
4636 exit(0); | 4646 exit(0); |
4637 } | 4647 } |
4638 EOF | 4648 EOF |
4639 if { (eval echo configure:4640: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4649 if { (eval echo configure:4650: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4640 then | 4650 then |
4641 ac_cv_sizeof_long_long=`cat conftestval` | 4651 ac_cv_sizeof_long_long=`cat conftestval` |
4642 else | 4652 else |
4643 conftest_rc="$?" | 4653 conftest_rc="$?" |
4644 echo "configure: failed program was:" >&5 | 4654 echo "configure: failed program was:" >&5 |
4656 EOF | 4666 EOF |
4657 } | 4667 } |
4658 | 4668 |
4659 | 4669 |
4660 echo $ac_n "checking size of void *""... $ac_c" 1>&6 | 4670 echo $ac_n "checking size of void *""... $ac_c" 1>&6 |
4661 echo "configure:4662: checking size of void *" >&5 | 4671 echo "configure:4672: checking size of void *" >&5 |
4662 | 4672 |
4663 cat > conftest.$ac_ext <<EOF | 4673 cat > conftest.$ac_ext <<EOF |
4664 #line 4665 "configure" | 4674 #line 4675 "configure" |
4665 #include "confdefs.h" | 4675 #include "confdefs.h" |
4666 #include <stdio.h> | 4676 #include <stdio.h> |
4667 main() | 4677 main() |
4668 { | 4678 { |
4669 FILE *f=fopen("conftestval", "w"); | 4679 FILE *f=fopen("conftestval", "w"); |
4670 if (!f) exit(1); | 4680 if (!f) exit(1); |
4671 fprintf(f, "%d\n", sizeof(void *)); | 4681 fprintf(f, "%d\n", sizeof(void *)); |
4672 exit(0); | 4682 exit(0); |
4673 } | 4683 } |
4674 EOF | 4684 EOF |
4675 if { (eval echo configure:4676: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4685 if { (eval echo configure:4686: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4676 then | 4686 then |
4677 ac_cv_sizeof_void_p=`cat conftestval` | 4687 ac_cv_sizeof_void_p=`cat conftestval` |
4678 else | 4688 else |
4679 conftest_rc="$?" | 4689 conftest_rc="$?" |
4680 echo "configure: failed program was:" >&5 | 4690 echo "configure: failed program was:" >&5 |
4693 } | 4703 } |
4694 | 4704 |
4695 | 4705 |
4696 | 4706 |
4697 echo $ac_n "checking for long file names""... $ac_c" 1>&6 | 4707 echo $ac_n "checking for long file names""... $ac_c" 1>&6 |
4698 echo "configure:4699: checking for long file names" >&5 | 4708 echo "configure:4709: checking for long file names" >&5 |
4699 | 4709 |
4700 ac_cv_sys_long_file_names=yes | 4710 ac_cv_sys_long_file_names=yes |
4701 # Test for long file names in all the places we know might matter: | 4711 # Test for long file names in all the places we know might matter: |
4702 # . the current directory, where building will happen | 4712 # . the current directory, where building will happen |
4703 # $prefix/lib where we will be installing things | 4713 # $prefix/lib where we will be installing things |
4739 | 4749 |
4740 fi | 4750 fi |
4741 | 4751 |
4742 | 4752 |
4743 echo $ac_n "checking for sin""... $ac_c" 1>&6 | 4753 echo $ac_n "checking for sin""... $ac_c" 1>&6 |
4744 echo "configure:4745: checking for sin" >&5 | 4754 echo "configure:4755: checking for sin" >&5 |
4745 | 4755 |
4746 cat > conftest.$ac_ext <<EOF | 4756 cat > conftest.$ac_ext <<EOF |
4747 #line 4748 "configure" | 4757 #line 4758 "configure" |
4748 #include "confdefs.h" | 4758 #include "confdefs.h" |
4749 /* System header to define __stub macros and hopefully few prototypes, | 4759 /* System header to define __stub macros and hopefully few prototypes, |
4750 which can conflict with char sin(); below. */ | 4760 which can conflict with char sin(); below. */ |
4751 #include <assert.h> | 4761 #include <assert.h> |
4752 /* Override any gcc2 internal prototype to avoid an error. */ | 4762 /* Override any gcc2 internal prototype to avoid an error. */ |
4765 sin(); | 4775 sin(); |
4766 #endif | 4776 #endif |
4767 | 4777 |
4768 ; return 0; } | 4778 ; return 0; } |
4769 EOF | 4779 EOF |
4770 if { (eval echo configure:4771: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4780 if { (eval echo configure:4781: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4771 rm -rf conftest* | 4781 rm -rf conftest* |
4772 eval "ac_cv_func_sin=yes" | 4782 eval "ac_cv_func_sin=yes" |
4773 else | 4783 else |
4774 echo "configure: failed program was:" >&5 | 4784 echo "configure: failed program was:" >&5 |
4775 cat conftest.$ac_ext >&5 | 4785 cat conftest.$ac_ext >&5 |
4783 : | 4793 : |
4784 else | 4794 else |
4785 echo "$ac_t""no" 1>&6 | 4795 echo "$ac_t""no" 1>&6 |
4786 | 4796 |
4787 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 | 4797 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
4788 echo "configure:4789: checking for sin in -lm" >&5 | 4798 echo "configure:4799: checking for sin in -lm" >&5 |
4789 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` | 4799 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` |
4790 | 4800 |
4791 xe_check_libs=" -lm " | 4801 xe_check_libs=" -lm " |
4792 cat > conftest.$ac_ext <<EOF | 4802 cat > conftest.$ac_ext <<EOF |
4793 #line 4794 "configure" | 4803 #line 4804 "configure" |
4794 #include "confdefs.h" | 4804 #include "confdefs.h" |
4795 /* Override any gcc2 internal prototype to avoid an error. */ | 4805 /* Override any gcc2 internal prototype to avoid an error. */ |
4796 /* We use char because int might match the return type of a gcc2 | 4806 /* We use char because int might match the return type of a gcc2 |
4797 builtin and then its argument prototype would still apply. */ | 4807 builtin and then its argument prototype would still apply. */ |
4798 char sin(); | 4808 char sin(); |
4799 | 4809 |
4800 int main() { | 4810 int main() { |
4801 sin() | 4811 sin() |
4802 ; return 0; } | 4812 ; return 0; } |
4803 EOF | 4813 EOF |
4804 if { (eval echo configure:4805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4814 if { (eval echo configure:4815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4805 rm -rf conftest* | 4815 rm -rf conftest* |
4806 eval "ac_cv_lib_$ac_lib_var=yes" | 4816 eval "ac_cv_lib_$ac_lib_var=yes" |
4807 else | 4817 else |
4808 echo "configure: failed program was:" >&5 | 4818 echo "configure: failed program was:" >&5 |
4809 cat conftest.$ac_ext >&5 | 4819 cat conftest.$ac_ext >&5 |
4843 EOF | 4853 EOF |
4844 } | 4854 } |
4845 | 4855 |
4846 | 4856 |
4847 cat > conftest.$ac_ext <<EOF | 4857 cat > conftest.$ac_ext <<EOF |
4848 #line 4849 "configure" | 4858 #line 4859 "configure" |
4849 #include "confdefs.h" | 4859 #include "confdefs.h" |
4850 #include <math.h> | 4860 #include <math.h> |
4851 int main() { | 4861 int main() { |
4852 return atanh(1.0) + asinh(1.0) + acosh(1.0); | 4862 return atanh(1.0) + asinh(1.0) + acosh(1.0); |
4853 ; return 0; } | 4863 ; return 0; } |
4854 EOF | 4864 EOF |
4855 if { (eval echo configure:4856: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4865 if { (eval echo configure:4866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4856 rm -rf conftest* | 4866 rm -rf conftest* |
4857 { test "$extra_verbose" = "yes" && cat << \EOF | 4867 { test "$extra_verbose" = "yes" && cat << \EOF |
4858 Defining HAVE_INVERSE_HYPERBOLIC | 4868 Defining HAVE_INVERSE_HYPERBOLIC |
4859 EOF | 4869 EOF |
4860 cat >> confdefs.h <<\EOF | 4870 cat >> confdefs.h <<\EOF |
4869 rm -f conftest* | 4879 rm -f conftest* |
4870 | 4880 |
4871 for ac_func in mkstemp | 4881 for ac_func in mkstemp |
4872 do | 4882 do |
4873 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 4883 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
4874 echo "configure:4875: checking for $ac_func" >&5 | 4884 echo "configure:4885: checking for $ac_func" >&5 |
4875 | 4885 |
4876 cat > conftest.$ac_ext <<EOF | 4886 cat > conftest.$ac_ext <<EOF |
4877 #line 4878 "configure" | 4887 #line 4888 "configure" |
4878 #include "confdefs.h" | 4888 #include "confdefs.h" |
4879 /* System header to define __stub macros and hopefully few prototypes, | 4889 /* System header to define __stub macros and hopefully few prototypes, |
4880 which can conflict with char $ac_func(); below. */ | 4890 which can conflict with char $ac_func(); below. */ |
4881 #include <assert.h> | 4891 #include <assert.h> |
4882 /* Override any gcc2 internal prototype to avoid an error. */ | 4892 /* Override any gcc2 internal prototype to avoid an error. */ |
4895 $ac_func(); | 4905 $ac_func(); |
4896 #endif | 4906 #endif |
4897 | 4907 |
4898 ; return 0; } | 4908 ; return 0; } |
4899 EOF | 4909 EOF |
4900 if { (eval echo configure:4901: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4910 if { (eval echo configure:4911: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4901 rm -rf conftest* | 4911 rm -rf conftest* |
4902 eval "ac_cv_func_$ac_func=yes" | 4912 eval "ac_cv_func_$ac_func=yes" |
4903 else | 4913 else |
4904 echo "configure: failed program was:" >&5 | 4914 echo "configure: failed program was:" >&5 |
4905 cat conftest.$ac_ext >&5 | 4915 cat conftest.$ac_ext >&5 |
4924 fi | 4934 fi |
4925 done | 4935 done |
4926 | 4936 |
4927 | 4937 |
4928 echo "checking type of mail spool file locking" 1>&6 | 4938 echo "checking type of mail spool file locking" 1>&6 |
4929 echo "configure:4930: checking type of mail spool file locking" >&5 | 4939 echo "configure:4940: checking type of mail spool file locking" >&5 |
4930 for ac_func in lockf flock | 4940 for ac_func in lockf flock |
4931 do | 4941 do |
4932 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 4942 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
4933 echo "configure:4934: checking for $ac_func" >&5 | 4943 echo "configure:4944: checking for $ac_func" >&5 |
4934 | 4944 |
4935 cat > conftest.$ac_ext <<EOF | 4945 cat > conftest.$ac_ext <<EOF |
4936 #line 4937 "configure" | 4946 #line 4947 "configure" |
4937 #include "confdefs.h" | 4947 #include "confdefs.h" |
4938 /* System header to define __stub macros and hopefully few prototypes, | 4948 /* System header to define __stub macros and hopefully few prototypes, |
4939 which can conflict with char $ac_func(); below. */ | 4949 which can conflict with char $ac_func(); below. */ |
4940 #include <assert.h> | 4950 #include <assert.h> |
4941 /* Override any gcc2 internal prototype to avoid an error. */ | 4951 /* Override any gcc2 internal prototype to avoid an error. */ |
4954 $ac_func(); | 4964 $ac_func(); |
4955 #endif | 4965 #endif |
4956 | 4966 |
4957 ; return 0; } | 4967 ; return 0; } |
4958 EOF | 4968 EOF |
4959 if { (eval echo configure:4960: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4969 if { (eval echo configure:4970: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4960 rm -rf conftest* | 4970 rm -rf conftest* |
4961 eval "ac_cv_func_$ac_func=yes" | 4971 eval "ac_cv_func_$ac_func=yes" |
4962 else | 4972 else |
4963 echo "configure: failed program was:" >&5 | 4973 echo "configure: failed program was:" >&5 |
4964 cat conftest.$ac_ext >&5 | 4974 cat conftest.$ac_ext >&5 |
5036 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; } | 5046 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; } |
5037 | 5047 |
5038 case "$opsys" in decosf*) | 5048 case "$opsys" in decosf*) |
5039 | 5049 |
5040 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 | 5050 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 |
5041 echo "configure:5042: checking for cma_open in -lpthreads" >&5 | 5051 echo "configure:5052: checking for cma_open in -lpthreads" >&5 |
5042 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` | 5052 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` |
5043 | 5053 |
5044 xe_check_libs=" -lpthreads " | 5054 xe_check_libs=" -lpthreads " |
5045 cat > conftest.$ac_ext <<EOF | 5055 cat > conftest.$ac_ext <<EOF |
5046 #line 5047 "configure" | 5056 #line 5057 "configure" |
5047 #include "confdefs.h" | 5057 #include "confdefs.h" |
5048 /* Override any gcc2 internal prototype to avoid an error. */ | 5058 /* Override any gcc2 internal prototype to avoid an error. */ |
5049 /* We use char because int might match the return type of a gcc2 | 5059 /* We use char because int might match the return type of a gcc2 |
5050 builtin and then its argument prototype would still apply. */ | 5060 builtin and then its argument prototype would still apply. */ |
5051 char cma_open(); | 5061 char cma_open(); |
5052 | 5062 |
5053 int main() { | 5063 int main() { |
5054 cma_open() | 5064 cma_open() |
5055 ; return 0; } | 5065 ; return 0; } |
5056 EOF | 5066 EOF |
5057 if { (eval echo configure:5058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5067 if { (eval echo configure:5068: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5058 rm -rf conftest* | 5068 rm -rf conftest* |
5059 eval "ac_cv_lib_$ac_lib_var=yes" | 5069 eval "ac_cv_lib_$ac_lib_var=yes" |
5060 else | 5070 else |
5061 echo "configure: failed program was:" >&5 | 5071 echo "configure: failed program was:" >&5 |
5062 cat conftest.$ac_ext >&5 | 5072 cat conftest.$ac_ext >&5 |
5089 c_switch_site="$c_switch_site -threads" ;; | 5099 c_switch_site="$c_switch_site -threads" ;; |
5090 esac | 5100 esac |
5091 | 5101 |
5092 | 5102 |
5093 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 | 5103 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 |
5094 echo "configure:5095: checking whether the -xildoff compiler flag is required" >&5 | 5104 echo "configure:5105: checking whether the -xildoff compiler flag is required" >&5 |
5095 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then | 5105 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then |
5096 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; | 5106 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; |
5097 then echo "$ac_t""no" 1>&6; | 5107 then echo "$ac_t""no" 1>&6; |
5098 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 | 5108 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 |
5099 fi | 5109 fi |
5101 fi | 5111 fi |
5102 | 5112 |
5103 if test "$opsys" = "sol2"; then | 5113 if test "$opsys" = "sol2"; then |
5104 if test "$os_release" -ge 56; then | 5114 if test "$os_release" -ge 56; then |
5105 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 | 5115 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 |
5106 echo "configure:5107: checking for \"-z ignore\" linker flag" >&5 | 5116 echo "configure:5117: checking for \"-z ignore\" linker flag" >&5 |
5107 case "`ld -h 2>&1`" in | 5117 case "`ld -h 2>&1`" in |
5108 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 | 5118 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 |
5109 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; | 5119 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; |
5110 *) echo "$ac_t""no" 1>&6 ;; | 5120 *) echo "$ac_t""no" 1>&6 ;; |
5111 esac | 5121 esac |
5112 fi | 5122 fi |
5113 fi | 5123 fi |
5114 | 5124 |
5115 | 5125 |
5116 echo "checking "for specified window system"" 1>&6 | 5126 echo "checking "for specified window system"" 1>&6 |
5117 echo "configure:5118: checking "for specified window system"" >&5 | 5127 echo "configure:5128: checking "for specified window system"" >&5 |
5118 | 5128 |
5119 | 5129 |
5120 GNOME_CONFIG=no | 5130 GNOME_CONFIG=no |
5121 GTK_CONFIG=no | 5131 GTK_CONFIG=no |
5122 | 5132 |
5123 if test "$with_gnome" != "no"; then | 5133 if test "$with_gnome" != "no"; then |
5124 echo $ac_n "checking for GNOME configuration script""... $ac_c" 1>&6 | 5134 echo $ac_n "checking for GNOME configuration script""... $ac_c" 1>&6 |
5125 echo "configure:5126: checking for GNOME configuration script" >&5 | 5135 echo "configure:5136: checking for GNOME configuration script" >&5 |
5126 for possible in gnome-config | 5136 for possible in gnome-config |
5127 do | 5137 do |
5128 possible_version=`${possible} --version 2> /dev/null` | 5138 possible_version=`${possible} --version 2> /dev/null` |
5129 if test "x${possible_version}" != "x"; then | 5139 if test "x${possible_version}" != "x"; then |
5130 GNOME_CONFIG="${possible}" | 5140 GNOME_CONFIG="${possible}" |
5151 c_switch_gtk="$c_switch_gtk ${GNOME_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GNOME_CFLAGS}\" to \$c_switch_gtk"; fi | 5161 c_switch_gtk="$c_switch_gtk ${GNOME_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GNOME_CFLAGS}\" to \$c_switch_gtk"; fi |
5152 fi | 5162 fi |
5153 | 5163 |
5154 if test "$with_gtk" != "no";then | 5164 if test "$with_gtk" != "no";then |
5155 echo $ac_n "checking for GTK configuration script""... $ac_c" 1>&6 | 5165 echo $ac_n "checking for GTK configuration script""... $ac_c" 1>&6 |
5156 echo "configure:5157: checking for GTK configuration script" >&5 | 5166 echo "configure:5167: checking for GTK configuration script" >&5 |
5157 for possible in gtk12-config gtk14-config gtk-config | 5167 for possible in gtk12-config gtk14-config gtk-config |
5158 do | 5168 do |
5159 possible_version=`${possible} --version 2> /dev/null` | 5169 possible_version=`${possible} --version 2> /dev/null` |
5160 if test "x${possible_version}" != "x"; then | 5170 if test "x${possible_version}" != "x"; then |
5161 GTK_CONFIG="${possible}" | 5171 GTK_CONFIG="${possible}" |
5173 echo "$ac_t""${GTK_CONFIG}" 1>&6 | 5183 echo "$ac_t""${GTK_CONFIG}" 1>&6 |
5174 fi | 5184 fi |
5175 | 5185 |
5176 if test "${GTK_CONFIG}" != "no"; then | 5186 if test "${GTK_CONFIG}" != "no"; then |
5177 echo $ac_n "checking gtk version""... $ac_c" 1>&6 | 5187 echo $ac_n "checking gtk version""... $ac_c" 1>&6 |
5178 echo "configure:5179: checking gtk version" >&5 | 5188 echo "configure:5189: checking gtk version" >&5 |
5179 GTK_VERSION=`${GTK_CONFIG} --version` | 5189 GTK_VERSION=`${GTK_CONFIG} --version` |
5180 echo "$ac_t""${GTK_VERSION}" 1>&6 | 5190 echo "$ac_t""${GTK_VERSION}" 1>&6 |
5181 | 5191 |
5182 echo $ac_n "checking gtk libs""... $ac_c" 1>&6 | 5192 echo $ac_n "checking gtk libs""... $ac_c" 1>&6 |
5183 echo "configure:5184: checking gtk libs" >&5 | 5193 echo "configure:5194: checking gtk libs" >&5 |
5184 GTK_LIBS=`${GTK_CONFIG} --libs` | 5194 GTK_LIBS=`${GTK_CONFIG} --libs` |
5185 libs_gtk="$libs_gtk ${GTK_LIBS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_LIBS}\" to \$libs_gtk"; fi | 5195 libs_gtk="$libs_gtk ${GTK_LIBS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_LIBS}\" to \$libs_gtk"; fi |
5186 echo "$ac_t""${GTK_LIBS}" 1>&6 | 5196 echo "$ac_t""${GTK_LIBS}" 1>&6 |
5187 | 5197 |
5188 echo $ac_n "checking gtk cflags""... $ac_c" 1>&6 | 5198 echo $ac_n "checking gtk cflags""... $ac_c" 1>&6 |
5189 echo "configure:5190: checking gtk cflags" >&5 | 5199 echo "configure:5200: checking gtk cflags" >&5 |
5190 GTK_CFLAGS=`${GTK_CONFIG} --cflags` | 5200 GTK_CFLAGS=`${GTK_CONFIG} --cflags` |
5191 if test "$GCC" = "yes"; then | 5201 if test "$GCC" = "yes"; then |
5192 GTK_CFLAGS="${GTK_CFLAGS} -Wno-shadow" | 5202 GTK_CFLAGS="${GTK_CFLAGS} -Wno-shadow" |
5193 fi | 5203 fi |
5194 c_switch_gtk="$c_switch_gtk ${GTK_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_CFLAGS}\" to \$c_switch_gtk"; fi | 5204 c_switch_gtk="$c_switch_gtk ${GTK_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_CFLAGS}\" to \$c_switch_gtk"; fi |
5195 echo "$ac_t""${GTK_CFLAGS}" 1>&6 | 5205 echo "$ac_t""${GTK_CFLAGS}" 1>&6 |
5196 | 5206 |
5197 | 5207 |
5198 echo $ac_n "checking for main in -lgdk_imlib""... $ac_c" 1>&6 | 5208 echo $ac_n "checking for main in -lgdk_imlib""... $ac_c" 1>&6 |
5199 echo "configure:5200: checking for main in -lgdk_imlib" >&5 | 5209 echo "configure:5210: checking for main in -lgdk_imlib" >&5 |
5200 ac_lib_var=`echo gdk_imlib'_'main | sed 'y%./+-%__p_%'` | 5210 ac_lib_var=`echo gdk_imlib'_'main | sed 'y%./+-%__p_%'` |
5201 | 5211 |
5202 xe_check_libs=" -lgdk_imlib " | 5212 xe_check_libs=" -lgdk_imlib " |
5203 cat > conftest.$ac_ext <<EOF | 5213 cat > conftest.$ac_ext <<EOF |
5204 #line 5205 "configure" | 5214 #line 5215 "configure" |
5205 #include "confdefs.h" | 5215 #include "confdefs.h" |
5206 | 5216 |
5207 int main() { | 5217 int main() { |
5208 main() | 5218 main() |
5209 ; return 0; } | 5219 ; return 0; } |
5210 EOF | 5220 EOF |
5211 if { (eval echo configure:5212: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5221 if { (eval echo configure:5222: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5212 rm -rf conftest* | 5222 rm -rf conftest* |
5213 eval "ac_cv_lib_$ac_lib_var=yes" | 5223 eval "ac_cv_lib_$ac_lib_var=yes" |
5214 else | 5224 else |
5215 echo "configure: failed program was:" >&5 | 5225 echo "configure: failed program was:" >&5 |
5216 cat conftest.$ac_ext >&5 | 5226 cat conftest.$ac_ext >&5 |
5228 fi | 5238 fi |
5229 | 5239 |
5230 | 5240 |
5231 | 5241 |
5232 echo $ac_n "checking for Imlib_init in -lImlib""... $ac_c" 1>&6 | 5242 echo $ac_n "checking for Imlib_init in -lImlib""... $ac_c" 1>&6 |
5233 echo "configure:5234: checking for Imlib_init in -lImlib" >&5 | 5243 echo "configure:5244: checking for Imlib_init in -lImlib" >&5 |
5234 ac_lib_var=`echo Imlib'_'Imlib_init | sed 'y%./+-%__p_%'` | 5244 ac_lib_var=`echo Imlib'_'Imlib_init | sed 'y%./+-%__p_%'` |
5235 | 5245 |
5236 xe_check_libs=" -lImlib " | 5246 xe_check_libs=" -lImlib " |
5237 cat > conftest.$ac_ext <<EOF | 5247 cat > conftest.$ac_ext <<EOF |
5238 #line 5239 "configure" | 5248 #line 5249 "configure" |
5239 #include "confdefs.h" | 5249 #include "confdefs.h" |
5240 /* Override any gcc2 internal prototype to avoid an error. */ | 5250 /* Override any gcc2 internal prototype to avoid an error. */ |
5241 /* We use char because int might match the return type of a gcc2 | 5251 /* We use char because int might match the return type of a gcc2 |
5242 builtin and then its argument prototype would still apply. */ | 5252 builtin and then its argument prototype would still apply. */ |
5243 char Imlib_init(); | 5253 char Imlib_init(); |
5244 | 5254 |
5245 int main() { | 5255 int main() { |
5246 Imlib_init() | 5256 Imlib_init() |
5247 ; return 0; } | 5257 ; return 0; } |
5248 EOF | 5258 EOF |
5249 if { (eval echo configure:5250: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5259 if { (eval echo configure:5260: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5250 rm -rf conftest* | 5260 rm -rf conftest* |
5251 eval "ac_cv_lib_$ac_lib_var=yes" | 5261 eval "ac_cv_lib_$ac_lib_var=yes" |
5252 else | 5262 else |
5253 echo "configure: failed program was:" >&5 | 5263 echo "configure: failed program was:" >&5 |
5254 cat conftest.$ac_ext >&5 | 5264 cat conftest.$ac_ext >&5 |
5267 | 5277 |
5268 | 5278 |
5269 for ac_func in gdk_imlib_init | 5279 for ac_func in gdk_imlib_init |
5270 do | 5280 do |
5271 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5281 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
5272 echo "configure:5273: checking for $ac_func" >&5 | 5282 echo "configure:5283: checking for $ac_func" >&5 |
5273 | 5283 |
5274 cat > conftest.$ac_ext <<EOF | 5284 cat > conftest.$ac_ext <<EOF |
5275 #line 5276 "configure" | 5285 #line 5286 "configure" |
5276 #include "confdefs.h" | 5286 #include "confdefs.h" |
5277 /* System header to define __stub macros and hopefully few prototypes, | 5287 /* System header to define __stub macros and hopefully few prototypes, |
5278 which can conflict with char $ac_func(); below. */ | 5288 which can conflict with char $ac_func(); below. */ |
5279 #include <assert.h> | 5289 #include <assert.h> |
5280 /* Override any gcc2 internal prototype to avoid an error. */ | 5290 /* Override any gcc2 internal prototype to avoid an error. */ |
5293 $ac_func(); | 5303 $ac_func(); |
5294 #endif | 5304 #endif |
5295 | 5305 |
5296 ; return 0; } | 5306 ; return 0; } |
5297 EOF | 5307 EOF |
5298 if { (eval echo configure:5299: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5308 if { (eval echo configure:5309: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5299 rm -rf conftest* | 5309 rm -rf conftest* |
5300 eval "ac_cv_func_$ac_func=yes" | 5310 eval "ac_cv_func_$ac_func=yes" |
5301 else | 5311 else |
5302 echo "configure: failed program was:" >&5 | 5312 echo "configure: failed program was:" >&5 |
5303 cat conftest.$ac_ext >&5 | 5313 cat conftest.$ac_ext >&5 |
5359 LDFLAGS="${LDFLAGS} ${GTK_LIBS}" | 5369 LDFLAGS="${LDFLAGS} ${GTK_LIBS}" |
5360 for ac_hdr in glade/glade.h glade.h | 5370 for ac_hdr in glade/glade.h glade.h |
5361 do | 5371 do |
5362 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5372 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5363 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5373 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5364 echo "configure:5365: checking for $ac_hdr" >&5 | 5374 echo "configure:5375: checking for $ac_hdr" >&5 |
5365 | 5375 |
5366 cat > conftest.$ac_ext <<EOF | 5376 cat > conftest.$ac_ext <<EOF |
5367 #line 5368 "configure" | 5377 #line 5378 "configure" |
5368 #include "confdefs.h" | 5378 #include "confdefs.h" |
5369 #include <$ac_hdr> | 5379 #include <$ac_hdr> |
5370 EOF | 5380 EOF |
5371 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5381 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5372 { (eval echo configure:5373: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5382 { (eval echo configure:5383: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5373 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5383 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5374 if test -z "$ac_err"; then | 5384 if test -z "$ac_err"; then |
5375 rm -rf conftest* | 5385 rm -rf conftest* |
5376 eval "ac_cv_header_$ac_safe=yes" | 5386 eval "ac_cv_header_$ac_safe=yes" |
5377 else | 5387 else |
5398 fi | 5408 fi |
5399 done | 5409 done |
5400 | 5410 |
5401 | 5411 |
5402 echo $ac_n "checking for main in -lxml""... $ac_c" 1>&6 | 5412 echo $ac_n "checking for main in -lxml""... $ac_c" 1>&6 |
5403 echo "configure:5404: checking for main in -lxml" >&5 | 5413 echo "configure:5414: checking for main in -lxml" >&5 |
5404 ac_lib_var=`echo xml'_'main | sed 'y%./+-%__p_%'` | 5414 ac_lib_var=`echo xml'_'main | sed 'y%./+-%__p_%'` |
5405 | 5415 |
5406 xe_check_libs=" -lxml " | 5416 xe_check_libs=" -lxml " |
5407 cat > conftest.$ac_ext <<EOF | 5417 cat > conftest.$ac_ext <<EOF |
5408 #line 5409 "configure" | 5418 #line 5419 "configure" |
5409 #include "confdefs.h" | 5419 #include "confdefs.h" |
5410 | 5420 |
5411 int main() { | 5421 int main() { |
5412 main() | 5422 main() |
5413 ; return 0; } | 5423 ; return 0; } |
5414 EOF | 5424 EOF |
5415 if { (eval echo configure:5416: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5425 if { (eval echo configure:5426: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5416 rm -rf conftest* | 5426 rm -rf conftest* |
5417 eval "ac_cv_lib_$ac_lib_var=yes" | 5427 eval "ac_cv_lib_$ac_lib_var=yes" |
5418 else | 5428 else |
5419 echo "configure: failed program was:" >&5 | 5429 echo "configure: failed program was:" >&5 |
5420 cat conftest.$ac_ext >&5 | 5430 cat conftest.$ac_ext >&5 |
5432 fi | 5442 fi |
5433 | 5443 |
5434 | 5444 |
5435 | 5445 |
5436 echo $ac_n "checking for main in -lglade""... $ac_c" 1>&6 | 5446 echo $ac_n "checking for main in -lglade""... $ac_c" 1>&6 |
5437 echo "configure:5438: checking for main in -lglade" >&5 | 5447 echo "configure:5448: checking for main in -lglade" >&5 |
5438 ac_lib_var=`echo glade'_'main | sed 'y%./+-%__p_%'` | 5448 ac_lib_var=`echo glade'_'main | sed 'y%./+-%__p_%'` |
5439 | 5449 |
5440 xe_check_libs=" -lglade " | 5450 xe_check_libs=" -lglade " |
5441 cat > conftest.$ac_ext <<EOF | 5451 cat > conftest.$ac_ext <<EOF |
5442 #line 5443 "configure" | 5452 #line 5453 "configure" |
5443 #include "confdefs.h" | 5453 #include "confdefs.h" |
5444 | 5454 |
5445 int main() { | 5455 int main() { |
5446 main() | 5456 main() |
5447 ; return 0; } | 5457 ; return 0; } |
5448 EOF | 5458 EOF |
5449 if { (eval echo configure:5450: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5459 if { (eval echo configure:5460: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5450 rm -rf conftest* | 5460 rm -rf conftest* |
5451 eval "ac_cv_lib_$ac_lib_var=yes" | 5461 eval "ac_cv_lib_$ac_lib_var=yes" |
5452 else | 5462 else |
5453 echo "configure: failed program was:" >&5 | 5463 echo "configure: failed program was:" >&5 |
5454 cat conftest.$ac_ext >&5 | 5464 cat conftest.$ac_ext >&5 |
5466 fi | 5476 fi |
5467 | 5477 |
5468 | 5478 |
5469 | 5479 |
5470 echo $ac_n "checking for main in -lglade-gnome""... $ac_c" 1>&6 | 5480 echo $ac_n "checking for main in -lglade-gnome""... $ac_c" 1>&6 |
5471 echo "configure:5472: checking for main in -lglade-gnome" >&5 | 5481 echo "configure:5482: checking for main in -lglade-gnome" >&5 |
5472 ac_lib_var=`echo glade-gnome'_'main | sed 'y%./+-%__p_%'` | 5482 ac_lib_var=`echo glade-gnome'_'main | sed 'y%./+-%__p_%'` |
5473 | 5483 |
5474 xe_check_libs=" -lglade-gnome " | 5484 xe_check_libs=" -lglade-gnome " |
5475 cat > conftest.$ac_ext <<EOF | 5485 cat > conftest.$ac_ext <<EOF |
5476 #line 5477 "configure" | 5486 #line 5487 "configure" |
5477 #include "confdefs.h" | 5487 #include "confdefs.h" |
5478 | 5488 |
5479 int main() { | 5489 int main() { |
5480 main() | 5490 main() |
5481 ; return 0; } | 5491 ; return 0; } |
5482 EOF | 5492 EOF |
5483 if { (eval echo configure:5484: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5493 if { (eval echo configure:5494: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5484 rm -rf conftest* | 5494 rm -rf conftest* |
5485 eval "ac_cv_lib_$ac_lib_var=yes" | 5495 eval "ac_cv_lib_$ac_lib_var=yes" |
5486 else | 5496 else |
5487 echo "configure: failed program was:" >&5 | 5497 echo "configure: failed program was:" >&5 |
5488 cat conftest.$ac_ext >&5 | 5498 cat conftest.$ac_ext >&5 |
5499 echo "$ac_t""no" 1>&6 | 5509 echo "$ac_t""no" 1>&6 |
5500 fi | 5510 fi |
5501 | 5511 |
5502 | 5512 |
5503 cat > conftest.$ac_ext <<EOF | 5513 cat > conftest.$ac_ext <<EOF |
5504 #line 5505 "configure" | 5514 #line 5515 "configure" |
5505 #include "confdefs.h" | 5515 #include "confdefs.h" |
5506 #include <glade/glade-xml.h> | 5516 #include <glade/glade-xml.h> |
5507 EOF | 5517 EOF |
5508 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 5518 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
5509 egrep "char \*txtdomain;" >/dev/null 2>&1; then | 5519 egrep "char \*txtdomain;" >/dev/null 2>&1; then |
5558 # If we find X, set shell vars x_includes and x_libraries to the | 5568 # If we find X, set shell vars x_includes and x_libraries to the |
5559 # paths, otherwise set no_x=yes. | 5569 # paths, otherwise set no_x=yes. |
5560 # Uses ac_ vars as temps to allow command line to override cache and checks. | 5570 # Uses ac_ vars as temps to allow command line to override cache and checks. |
5561 # --without-x overrides everything else, but does not touch the cache. | 5571 # --without-x overrides everything else, but does not touch the cache. |
5562 echo $ac_n "checking for X""... $ac_c" 1>&6 | 5572 echo $ac_n "checking for X""... $ac_c" 1>&6 |
5563 echo "configure:5564: checking for X" >&5 | 5573 echo "configure:5574: checking for X" >&5 |
5564 | 5574 |
5565 # Check whether --with-x or --without-x was given. | 5575 # Check whether --with-x or --without-x was given. |
5566 if test "${with_x+set}" = set; then | 5576 if test "${with_x+set}" = set; then |
5567 withval="$with_x" | 5577 withval="$with_x" |
5568 : | 5578 : |
5618 # Guess where to find include files, by looking for this one X11 .h file. | 5628 # Guess where to find include files, by looking for this one X11 .h file. |
5619 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h | 5629 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h |
5620 | 5630 |
5621 # First, try using that file with no special directory specified. | 5631 # First, try using that file with no special directory specified. |
5622 cat > conftest.$ac_ext <<EOF | 5632 cat > conftest.$ac_ext <<EOF |
5623 #line 5624 "configure" | 5633 #line 5634 "configure" |
5624 #include "confdefs.h" | 5634 #include "confdefs.h" |
5625 #include <$x_direct_test_include> | 5635 #include <$x_direct_test_include> |
5626 EOF | 5636 EOF |
5627 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5637 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5628 { (eval echo configure:5629: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5638 { (eval echo configure:5639: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5629 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5639 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5630 if test -z "$ac_err"; then | 5640 if test -z "$ac_err"; then |
5631 rm -rf conftest* | 5641 rm -rf conftest* |
5632 # We can compile using X headers with no special include directory. | 5642 # We can compile using X headers with no special include directory. |
5633 ac_x_includes= | 5643 ac_x_includes= |
5692 # See if we find them without any special options. | 5702 # See if we find them without any special options. |
5693 # Don't add to $LIBS permanently. | 5703 # Don't add to $LIBS permanently. |
5694 ac_save_LIBS="$LIBS" | 5704 ac_save_LIBS="$LIBS" |
5695 LIBS="-l$x_direct_test_library $LIBS" | 5705 LIBS="-l$x_direct_test_library $LIBS" |
5696 cat > conftest.$ac_ext <<EOF | 5706 cat > conftest.$ac_ext <<EOF |
5697 #line 5698 "configure" | 5707 #line 5708 "configure" |
5698 #include "confdefs.h" | 5708 #include "confdefs.h" |
5699 | 5709 |
5700 int main() { | 5710 int main() { |
5701 ${x_direct_test_function}() | 5711 ${x_direct_test_function}() |
5702 ; return 0; } | 5712 ; return 0; } |
5703 EOF | 5713 EOF |
5704 if { (eval echo configure:5705: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5714 if { (eval echo configure:5715: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5705 rm -rf conftest* | 5715 rm -rf conftest* |
5706 LIBS="$ac_save_LIBS" | 5716 LIBS="$ac_save_LIBS" |
5707 # We can link X programs with no special library path. | 5717 # We can link X programs with no special library path. |
5708 ac_x_libraries= | 5718 ac_x_libraries= |
5709 else | 5719 else |
5808 # For Solaris; some versions of Sun CC require a space after -R and | 5818 # For Solaris; some versions of Sun CC require a space after -R and |
5809 # others require no space. Words are not sufficient . . . . | 5819 # others require no space. Words are not sufficient . . . . |
5810 case "`(uname -sr) 2>/dev/null`" in | 5820 case "`(uname -sr) 2>/dev/null`" in |
5811 "SunOS 5"*) | 5821 "SunOS 5"*) |
5812 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 | 5822 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 |
5813 echo "configure:5814: checking whether -R must be followed by a space" >&5 | 5823 echo "configure:5824: checking whether -R must be followed by a space" >&5 |
5814 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" | 5824 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
5815 cat > conftest.$ac_ext <<EOF | 5825 cat > conftest.$ac_ext <<EOF |
5816 #line 5817 "configure" | 5826 #line 5827 "configure" |
5817 #include "confdefs.h" | 5827 #include "confdefs.h" |
5818 | 5828 |
5819 int main() { | 5829 int main() { |
5820 | 5830 |
5821 ; return 0; } | 5831 ; return 0; } |
5822 EOF | 5832 EOF |
5823 if { (eval echo configure:5824: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5833 if { (eval echo configure:5834: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5824 rm -rf conftest* | 5834 rm -rf conftest* |
5825 ac_R_nospace=yes | 5835 ac_R_nospace=yes |
5826 else | 5836 else |
5827 echo "configure: failed program was:" >&5 | 5837 echo "configure: failed program was:" >&5 |
5828 cat conftest.$ac_ext >&5 | 5838 cat conftest.$ac_ext >&5 |
5834 echo "$ac_t""no" 1>&6 | 5844 echo "$ac_t""no" 1>&6 |
5835 X_LIBS="$X_LIBS -R$x_libraries" | 5845 X_LIBS="$X_LIBS -R$x_libraries" |
5836 else | 5846 else |
5837 LIBS="$ac_xsave_LIBS -R $x_libraries" | 5847 LIBS="$ac_xsave_LIBS -R $x_libraries" |
5838 cat > conftest.$ac_ext <<EOF | 5848 cat > conftest.$ac_ext <<EOF |
5839 #line 5840 "configure" | 5849 #line 5850 "configure" |
5840 #include "confdefs.h" | 5850 #include "confdefs.h" |
5841 | 5851 |
5842 int main() { | 5852 int main() { |
5843 | 5853 |
5844 ; return 0; } | 5854 ; return 0; } |
5845 EOF | 5855 EOF |
5846 if { (eval echo configure:5847: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5856 if { (eval echo configure:5857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5847 rm -rf conftest* | 5857 rm -rf conftest* |
5848 ac_R_space=yes | 5858 ac_R_space=yes |
5849 else | 5859 else |
5850 echo "configure: failed program was:" >&5 | 5860 echo "configure: failed program was:" >&5 |
5851 cat conftest.$ac_ext >&5 | 5861 cat conftest.$ac_ext >&5 |
5877 if test "$with_dnet" = "no" ; then | 5887 if test "$with_dnet" = "no" ; then |
5878 ac_cv_lib_dnet_dnet_ntoa=no | 5888 ac_cv_lib_dnet_dnet_ntoa=no |
5879 else | 5889 else |
5880 | 5890 |
5881 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 | 5891 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
5882 echo "configure:5883: checking for dnet_ntoa in -ldnet" >&5 | 5892 echo "configure:5893: checking for dnet_ntoa in -ldnet" >&5 |
5883 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 5893 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
5884 | 5894 |
5885 xe_check_libs=" -ldnet " | 5895 xe_check_libs=" -ldnet " |
5886 cat > conftest.$ac_ext <<EOF | 5896 cat > conftest.$ac_ext <<EOF |
5887 #line 5888 "configure" | 5897 #line 5898 "configure" |
5888 #include "confdefs.h" | 5898 #include "confdefs.h" |
5889 /* Override any gcc2 internal prototype to avoid an error. */ | 5899 /* Override any gcc2 internal prototype to avoid an error. */ |
5890 /* We use char because int might match the return type of a gcc2 | 5900 /* We use char because int might match the return type of a gcc2 |
5891 builtin and then its argument prototype would still apply. */ | 5901 builtin and then its argument prototype would still apply. */ |
5892 char dnet_ntoa(); | 5902 char dnet_ntoa(); |
5893 | 5903 |
5894 int main() { | 5904 int main() { |
5895 dnet_ntoa() | 5905 dnet_ntoa() |
5896 ; return 0; } | 5906 ; return 0; } |
5897 EOF | 5907 EOF |
5898 if { (eval echo configure:5899: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5908 if { (eval echo configure:5909: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5899 rm -rf conftest* | 5909 rm -rf conftest* |
5900 eval "ac_cv_lib_$ac_lib_var=yes" | 5910 eval "ac_cv_lib_$ac_lib_var=yes" |
5901 else | 5911 else |
5902 echo "configure: failed program was:" >&5 | 5912 echo "configure: failed program was:" >&5 |
5903 cat conftest.$ac_ext >&5 | 5913 cat conftest.$ac_ext >&5 |
5917 fi | 5927 fi |
5918 | 5928 |
5919 if test $ac_cv_lib_dnet_dnet_ntoa = no; then | 5929 if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
5920 | 5930 |
5921 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 | 5931 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 |
5922 echo "configure:5923: checking for dnet_ntoa in -ldnet_stub" >&5 | 5932 echo "configure:5933: checking for dnet_ntoa in -ldnet_stub" >&5 |
5923 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 5933 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
5924 | 5934 |
5925 xe_check_libs=" -ldnet_stub " | 5935 xe_check_libs=" -ldnet_stub " |
5926 cat > conftest.$ac_ext <<EOF | 5936 cat > conftest.$ac_ext <<EOF |
5927 #line 5928 "configure" | 5937 #line 5938 "configure" |
5928 #include "confdefs.h" | 5938 #include "confdefs.h" |
5929 /* Override any gcc2 internal prototype to avoid an error. */ | 5939 /* Override any gcc2 internal prototype to avoid an error. */ |
5930 /* We use char because int might match the return type of a gcc2 | 5940 /* We use char because int might match the return type of a gcc2 |
5931 builtin and then its argument prototype would still apply. */ | 5941 builtin and then its argument prototype would still apply. */ |
5932 char dnet_ntoa(); | 5942 char dnet_ntoa(); |
5933 | 5943 |
5934 int main() { | 5944 int main() { |
5935 dnet_ntoa() | 5945 dnet_ntoa() |
5936 ; return 0; } | 5946 ; return 0; } |
5937 EOF | 5947 EOF |
5938 if { (eval echo configure:5939: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5948 if { (eval echo configure:5949: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5939 rm -rf conftest* | 5949 rm -rf conftest* |
5940 eval "ac_cv_lib_$ac_lib_var=yes" | 5950 eval "ac_cv_lib_$ac_lib_var=yes" |
5941 else | 5951 else |
5942 echo "configure: failed program was:" >&5 | 5952 echo "configure: failed program was:" >&5 |
5943 cat conftest.$ac_ext >&5 | 5953 cat conftest.$ac_ext >&5 |
5962 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) | 5972 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) |
5963 # needs -lnsl. | 5973 # needs -lnsl. |
5964 # The nsl library prevents programs from opening the X display | 5974 # The nsl library prevents programs from opening the X display |
5965 # on Irix 5.2, according to dickey@clark.net. | 5975 # on Irix 5.2, according to dickey@clark.net. |
5966 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 | 5976 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
5967 echo "configure:5968: checking for gethostbyname" >&5 | 5977 echo "configure:5978: checking for gethostbyname" >&5 |
5968 | 5978 |
5969 cat > conftest.$ac_ext <<EOF | 5979 cat > conftest.$ac_ext <<EOF |
5970 #line 5971 "configure" | 5980 #line 5981 "configure" |
5971 #include "confdefs.h" | 5981 #include "confdefs.h" |
5972 /* System header to define __stub macros and hopefully few prototypes, | 5982 /* System header to define __stub macros and hopefully few prototypes, |
5973 which can conflict with char gethostbyname(); below. */ | 5983 which can conflict with char gethostbyname(); below. */ |
5974 #include <assert.h> | 5984 #include <assert.h> |
5975 /* Override any gcc2 internal prototype to avoid an error. */ | 5985 /* Override any gcc2 internal prototype to avoid an error. */ |
5988 gethostbyname(); | 5998 gethostbyname(); |
5989 #endif | 5999 #endif |
5990 | 6000 |
5991 ; return 0; } | 6001 ; return 0; } |
5992 EOF | 6002 EOF |
5993 if { (eval echo configure:5994: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6003 if { (eval echo configure:6004: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5994 rm -rf conftest* | 6004 rm -rf conftest* |
5995 eval "ac_cv_func_gethostbyname=yes" | 6005 eval "ac_cv_func_gethostbyname=yes" |
5996 else | 6006 else |
5997 echo "configure: failed program was:" >&5 | 6007 echo "configure: failed program was:" >&5 |
5998 cat conftest.$ac_ext >&5 | 6008 cat conftest.$ac_ext >&5 |
6009 fi | 6019 fi |
6010 | 6020 |
6011 if test $ac_cv_func_gethostbyname = no; then | 6021 if test $ac_cv_func_gethostbyname = no; then |
6012 | 6022 |
6013 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 | 6023 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
6014 echo "configure:6015: checking for gethostbyname in -lnsl" >&5 | 6024 echo "configure:6025: checking for gethostbyname in -lnsl" >&5 |
6015 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` | 6025 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
6016 | 6026 |
6017 xe_check_libs=" -lnsl " | 6027 xe_check_libs=" -lnsl " |
6018 cat > conftest.$ac_ext <<EOF | 6028 cat > conftest.$ac_ext <<EOF |
6019 #line 6020 "configure" | 6029 #line 6030 "configure" |
6020 #include "confdefs.h" | 6030 #include "confdefs.h" |
6021 /* Override any gcc2 internal prototype to avoid an error. */ | 6031 /* Override any gcc2 internal prototype to avoid an error. */ |
6022 /* We use char because int might match the return type of a gcc2 | 6032 /* We use char because int might match the return type of a gcc2 |
6023 builtin and then its argument prototype would still apply. */ | 6033 builtin and then its argument prototype would still apply. */ |
6024 char gethostbyname(); | 6034 char gethostbyname(); |
6025 | 6035 |
6026 int main() { | 6036 int main() { |
6027 gethostbyname() | 6037 gethostbyname() |
6028 ; return 0; } | 6038 ; return 0; } |
6029 EOF | 6039 EOF |
6030 if { (eval echo configure:6031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6040 if { (eval echo configure:6041: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6031 rm -rf conftest* | 6041 rm -rf conftest* |
6032 eval "ac_cv_lib_$ac_lib_var=yes" | 6042 eval "ac_cv_lib_$ac_lib_var=yes" |
6033 else | 6043 else |
6034 echo "configure: failed program was:" >&5 | 6044 echo "configure: failed program was:" >&5 |
6035 cat conftest.$ac_ext >&5 | 6045 cat conftest.$ac_ext >&5 |
6055 # on later versions), says simon@lia.di.epfl.ch: it contains | 6065 # on later versions), says simon@lia.di.epfl.ch: it contains |
6056 # gethostby* variants that don't use the nameserver (or something). | 6066 # gethostby* variants that don't use the nameserver (or something). |
6057 # -lsocket must be given before -lnsl if both are needed. | 6067 # -lsocket must be given before -lnsl if both are needed. |
6058 # We assume that if connect needs -lnsl, so does gethostbyname. | 6068 # We assume that if connect needs -lnsl, so does gethostbyname. |
6059 echo $ac_n "checking for connect""... $ac_c" 1>&6 | 6069 echo $ac_n "checking for connect""... $ac_c" 1>&6 |
6060 echo "configure:6061: checking for connect" >&5 | 6070 echo "configure:6071: checking for connect" >&5 |
6061 | 6071 |
6062 cat > conftest.$ac_ext <<EOF | 6072 cat > conftest.$ac_ext <<EOF |
6063 #line 6064 "configure" | 6073 #line 6074 "configure" |
6064 #include "confdefs.h" | 6074 #include "confdefs.h" |
6065 /* System header to define __stub macros and hopefully few prototypes, | 6075 /* System header to define __stub macros and hopefully few prototypes, |
6066 which can conflict with char connect(); below. */ | 6076 which can conflict with char connect(); below. */ |
6067 #include <assert.h> | 6077 #include <assert.h> |
6068 /* Override any gcc2 internal prototype to avoid an error. */ | 6078 /* Override any gcc2 internal prototype to avoid an error. */ |
6081 connect(); | 6091 connect(); |
6082 #endif | 6092 #endif |
6083 | 6093 |
6084 ; return 0; } | 6094 ; return 0; } |
6085 EOF | 6095 EOF |
6086 if { (eval echo configure:6087: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6096 if { (eval echo configure:6097: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6087 rm -rf conftest* | 6097 rm -rf conftest* |
6088 eval "ac_cv_func_connect=yes" | 6098 eval "ac_cv_func_connect=yes" |
6089 else | 6099 else |
6090 echo "configure: failed program was:" >&5 | 6100 echo "configure: failed program was:" >&5 |
6091 cat conftest.$ac_ext >&5 | 6101 cat conftest.$ac_ext >&5 |
6104 if test $ac_cv_func_connect = no; then | 6114 if test $ac_cv_func_connect = no; then |
6105 | 6115 |
6106 xe_msg_checking="for connect in -lsocket" | 6116 xe_msg_checking="for connect in -lsocket" |
6107 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 6117 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
6108 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6118 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6109 echo "configure:6110: checking "$xe_msg_checking"" >&5 | 6119 echo "configure:6120: checking "$xe_msg_checking"" >&5 |
6110 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` | 6120 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
6111 | 6121 |
6112 xe_check_libs=" -lsocket $X_EXTRA_LIBS" | 6122 xe_check_libs=" -lsocket $X_EXTRA_LIBS" |
6113 cat > conftest.$ac_ext <<EOF | 6123 cat > conftest.$ac_ext <<EOF |
6114 #line 6115 "configure" | 6124 #line 6125 "configure" |
6115 #include "confdefs.h" | 6125 #include "confdefs.h" |
6116 /* Override any gcc2 internal prototype to avoid an error. */ | 6126 /* Override any gcc2 internal prototype to avoid an error. */ |
6117 /* We use char because int might match the return type of a gcc2 | 6127 /* We use char because int might match the return type of a gcc2 |
6118 builtin and then its argument prototype would still apply. */ | 6128 builtin and then its argument prototype would still apply. */ |
6119 char connect(); | 6129 char connect(); |
6120 | 6130 |
6121 int main() { | 6131 int main() { |
6122 connect() | 6132 connect() |
6123 ; return 0; } | 6133 ; return 0; } |
6124 EOF | 6134 EOF |
6125 if { (eval echo configure:6126: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6135 if { (eval echo configure:6136: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6126 rm -rf conftest* | 6136 rm -rf conftest* |
6127 eval "ac_cv_lib_$ac_lib_var=yes" | 6137 eval "ac_cv_lib_$ac_lib_var=yes" |
6128 else | 6138 else |
6129 echo "configure: failed program was:" >&5 | 6139 echo "configure: failed program was:" >&5 |
6130 cat conftest.$ac_ext >&5 | 6140 cat conftest.$ac_ext >&5 |
6144 | 6154 |
6145 fi | 6155 fi |
6146 | 6156 |
6147 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. | 6157 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
6148 echo $ac_n "checking for remove""... $ac_c" 1>&6 | 6158 echo $ac_n "checking for remove""... $ac_c" 1>&6 |
6149 echo "configure:6150: checking for remove" >&5 | 6159 echo "configure:6160: checking for remove" >&5 |
6150 | 6160 |
6151 cat > conftest.$ac_ext <<EOF | 6161 cat > conftest.$ac_ext <<EOF |
6152 #line 6153 "configure" | 6162 #line 6163 "configure" |
6153 #include "confdefs.h" | 6163 #include "confdefs.h" |
6154 /* System header to define __stub macros and hopefully few prototypes, | 6164 /* System header to define __stub macros and hopefully few prototypes, |
6155 which can conflict with char remove(); below. */ | 6165 which can conflict with char remove(); below. */ |
6156 #include <assert.h> | 6166 #include <assert.h> |
6157 /* Override any gcc2 internal prototype to avoid an error. */ | 6167 /* Override any gcc2 internal prototype to avoid an error. */ |
6170 remove(); | 6180 remove(); |
6171 #endif | 6181 #endif |
6172 | 6182 |
6173 ; return 0; } | 6183 ; return 0; } |
6174 EOF | 6184 EOF |
6175 if { (eval echo configure:6176: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6185 if { (eval echo configure:6186: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6176 rm -rf conftest* | 6186 rm -rf conftest* |
6177 eval "ac_cv_func_remove=yes" | 6187 eval "ac_cv_func_remove=yes" |
6178 else | 6188 else |
6179 echo "configure: failed program was:" >&5 | 6189 echo "configure: failed program was:" >&5 |
6180 cat conftest.$ac_ext >&5 | 6190 cat conftest.$ac_ext >&5 |
6191 fi | 6201 fi |
6192 | 6202 |
6193 if test $ac_cv_func_remove = no; then | 6203 if test $ac_cv_func_remove = no; then |
6194 | 6204 |
6195 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 | 6205 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
6196 echo "configure:6197: checking for remove in -lposix" >&5 | 6206 echo "configure:6207: checking for remove in -lposix" >&5 |
6197 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` | 6207 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
6198 | 6208 |
6199 xe_check_libs=" -lposix " | 6209 xe_check_libs=" -lposix " |
6200 cat > conftest.$ac_ext <<EOF | 6210 cat > conftest.$ac_ext <<EOF |
6201 #line 6202 "configure" | 6211 #line 6212 "configure" |
6202 #include "confdefs.h" | 6212 #include "confdefs.h" |
6203 /* Override any gcc2 internal prototype to avoid an error. */ | 6213 /* Override any gcc2 internal prototype to avoid an error. */ |
6204 /* We use char because int might match the return type of a gcc2 | 6214 /* We use char because int might match the return type of a gcc2 |
6205 builtin and then its argument prototype would still apply. */ | 6215 builtin and then its argument prototype would still apply. */ |
6206 char remove(); | 6216 char remove(); |
6207 | 6217 |
6208 int main() { | 6218 int main() { |
6209 remove() | 6219 remove() |
6210 ; return 0; } | 6220 ; return 0; } |
6211 EOF | 6221 EOF |
6212 if { (eval echo configure:6213: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6222 if { (eval echo configure:6223: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6213 rm -rf conftest* | 6223 rm -rf conftest* |
6214 eval "ac_cv_lib_$ac_lib_var=yes" | 6224 eval "ac_cv_lib_$ac_lib_var=yes" |
6215 else | 6225 else |
6216 echo "configure: failed program was:" >&5 | 6226 echo "configure: failed program was:" >&5 |
6217 cat conftest.$ac_ext >&5 | 6227 cat conftest.$ac_ext >&5 |
6231 | 6241 |
6232 fi | 6242 fi |
6233 | 6243 |
6234 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. | 6244 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
6235 echo $ac_n "checking for shmat""... $ac_c" 1>&6 | 6245 echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
6236 echo "configure:6237: checking for shmat" >&5 | 6246 echo "configure:6247: checking for shmat" >&5 |
6237 | 6247 |
6238 cat > conftest.$ac_ext <<EOF | 6248 cat > conftest.$ac_ext <<EOF |
6239 #line 6240 "configure" | 6249 #line 6250 "configure" |
6240 #include "confdefs.h" | 6250 #include "confdefs.h" |
6241 /* System header to define __stub macros and hopefully few prototypes, | 6251 /* System header to define __stub macros and hopefully few prototypes, |
6242 which can conflict with char shmat(); below. */ | 6252 which can conflict with char shmat(); below. */ |
6243 #include <assert.h> | 6253 #include <assert.h> |
6244 /* Override any gcc2 internal prototype to avoid an error. */ | 6254 /* Override any gcc2 internal prototype to avoid an error. */ |
6257 shmat(); | 6267 shmat(); |
6258 #endif | 6268 #endif |
6259 | 6269 |
6260 ; return 0; } | 6270 ; return 0; } |
6261 EOF | 6271 EOF |
6262 if { (eval echo configure:6263: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6272 if { (eval echo configure:6273: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6263 rm -rf conftest* | 6273 rm -rf conftest* |
6264 eval "ac_cv_func_shmat=yes" | 6274 eval "ac_cv_func_shmat=yes" |
6265 else | 6275 else |
6266 echo "configure: failed program was:" >&5 | 6276 echo "configure: failed program was:" >&5 |
6267 cat conftest.$ac_ext >&5 | 6277 cat conftest.$ac_ext >&5 |
6278 fi | 6288 fi |
6279 | 6289 |
6280 if test $ac_cv_func_shmat = no; then | 6290 if test $ac_cv_func_shmat = no; then |
6281 | 6291 |
6282 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 | 6292 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
6283 echo "configure:6284: checking for shmat in -lipc" >&5 | 6293 echo "configure:6294: checking for shmat in -lipc" >&5 |
6284 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` | 6294 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
6285 | 6295 |
6286 xe_check_libs=" -lipc " | 6296 xe_check_libs=" -lipc " |
6287 cat > conftest.$ac_ext <<EOF | 6297 cat > conftest.$ac_ext <<EOF |
6288 #line 6289 "configure" | 6298 #line 6299 "configure" |
6289 #include "confdefs.h" | 6299 #include "confdefs.h" |
6290 /* Override any gcc2 internal prototype to avoid an error. */ | 6300 /* Override any gcc2 internal prototype to avoid an error. */ |
6291 /* We use char because int might match the return type of a gcc2 | 6301 /* We use char because int might match the return type of a gcc2 |
6292 builtin and then its argument prototype would still apply. */ | 6302 builtin and then its argument prototype would still apply. */ |
6293 char shmat(); | 6303 char shmat(); |
6294 | 6304 |
6295 int main() { | 6305 int main() { |
6296 shmat() | 6306 shmat() |
6297 ; return 0; } | 6307 ; return 0; } |
6298 EOF | 6308 EOF |
6299 if { (eval echo configure:6300: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6309 if { (eval echo configure:6310: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6300 rm -rf conftest* | 6310 rm -rf conftest* |
6301 eval "ac_cv_lib_$ac_lib_var=yes" | 6311 eval "ac_cv_lib_$ac_lib_var=yes" |
6302 else | 6312 else |
6303 echo "configure: failed program was:" >&5 | 6313 echo "configure: failed program was:" >&5 |
6304 cat conftest.$ac_ext >&5 | 6314 cat conftest.$ac_ext >&5 |
6330 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. | 6340 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
6331 | 6341 |
6332 xe_msg_checking="for IceConnectionNumber in -lICE" | 6342 xe_msg_checking="for IceConnectionNumber in -lICE" |
6333 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 6343 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
6334 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6344 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6335 echo "configure:6336: checking "$xe_msg_checking"" >&5 | 6345 echo "configure:6346: checking "$xe_msg_checking"" >&5 |
6336 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` | 6346 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
6337 | 6347 |
6338 xe_check_libs=" -lICE $X_EXTRA_LIBS" | 6348 xe_check_libs=" -lICE $X_EXTRA_LIBS" |
6339 cat > conftest.$ac_ext <<EOF | 6349 cat > conftest.$ac_ext <<EOF |
6340 #line 6341 "configure" | 6350 #line 6351 "configure" |
6341 #include "confdefs.h" | 6351 #include "confdefs.h" |
6342 /* Override any gcc2 internal prototype to avoid an error. */ | 6352 /* Override any gcc2 internal prototype to avoid an error. */ |
6343 /* We use char because int might match the return type of a gcc2 | 6353 /* We use char because int might match the return type of a gcc2 |
6344 builtin and then its argument prototype would still apply. */ | 6354 builtin and then its argument prototype would still apply. */ |
6345 char IceConnectionNumber(); | 6355 char IceConnectionNumber(); |
6346 | 6356 |
6347 int main() { | 6357 int main() { |
6348 IceConnectionNumber() | 6358 IceConnectionNumber() |
6349 ; return 0; } | 6359 ; return 0; } |
6350 EOF | 6360 EOF |
6351 if { (eval echo configure:6352: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6361 if { (eval echo configure:6362: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6352 rm -rf conftest* | 6362 rm -rf conftest* |
6353 eval "ac_cv_lib_$ac_lib_var=yes" | 6363 eval "ac_cv_lib_$ac_lib_var=yes" |
6354 else | 6364 else |
6355 echo "configure: failed program was:" >&5 | 6365 echo "configure: failed program was:" >&5 |
6356 cat conftest.$ac_ext >&5 | 6366 cat conftest.$ac_ext >&5 |
6513 EOF | 6523 EOF |
6514 } | 6524 } |
6515 | 6525 |
6516 | 6526 |
6517 echo "checking for X defines extracted by xmkmf" 1>&6 | 6527 echo "checking for X defines extracted by xmkmf" 1>&6 |
6518 echo "configure:6519: checking for X defines extracted by xmkmf" >&5 | 6528 echo "configure:6529: checking for X defines extracted by xmkmf" >&5 |
6519 rm -fr conftestdir | 6529 rm -fr conftestdir |
6520 if mkdir conftestdir; then | 6530 if mkdir conftestdir; then |
6521 cd conftestdir | 6531 cd conftestdir |
6522 cat > Imakefile <<'EOF' | 6532 cat > Imakefile <<'EOF' |
6523 xetest: | 6533 xetest: |
6562 done | 6572 done |
6563 fi | 6573 fi |
6564 | 6574 |
6565 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` | 6575 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` |
6566 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 | 6576 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 |
6567 echo "configure:6568: checking for X11/Intrinsic.h" >&5 | 6577 echo "configure:6578: checking for X11/Intrinsic.h" >&5 |
6568 | 6578 |
6569 cat > conftest.$ac_ext <<EOF | 6579 cat > conftest.$ac_ext <<EOF |
6570 #line 6571 "configure" | 6580 #line 6581 "configure" |
6571 #include "confdefs.h" | 6581 #include "confdefs.h" |
6572 #include <X11/Intrinsic.h> | 6582 #include <X11/Intrinsic.h> |
6573 EOF | 6583 EOF |
6574 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6584 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6575 { (eval echo configure:6576: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6585 { (eval echo configure:6586: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6576 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6586 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6577 if test -z "$ac_err"; then | 6587 if test -z "$ac_err"; then |
6578 rm -rf conftest* | 6588 rm -rf conftest* |
6579 eval "ac_cv_header_$ac_safe=yes" | 6589 eval "ac_cv_header_$ac_safe=yes" |
6580 else | 6590 else |
6594 fi | 6604 fi |
6595 | 6605 |
6596 | 6606 |
6597 | 6607 |
6598 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 | 6608 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 |
6599 echo "configure:6600: checking for XOpenDisplay in -lX11" >&5 | 6609 echo "configure:6610: checking for XOpenDisplay in -lX11" >&5 |
6600 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` | 6610 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` |
6601 | 6611 |
6602 xe_check_libs=" -lX11 " | 6612 xe_check_libs=" -lX11 " |
6603 cat > conftest.$ac_ext <<EOF | 6613 cat > conftest.$ac_ext <<EOF |
6604 #line 6605 "configure" | 6614 #line 6615 "configure" |
6605 #include "confdefs.h" | 6615 #include "confdefs.h" |
6606 /* Override any gcc2 internal prototype to avoid an error. */ | 6616 /* Override any gcc2 internal prototype to avoid an error. */ |
6607 /* We use char because int might match the return type of a gcc2 | 6617 /* We use char because int might match the return type of a gcc2 |
6608 builtin and then its argument prototype would still apply. */ | 6618 builtin and then its argument prototype would still apply. */ |
6609 char XOpenDisplay(); | 6619 char XOpenDisplay(); |
6610 | 6620 |
6611 int main() { | 6621 int main() { |
6612 XOpenDisplay() | 6622 XOpenDisplay() |
6613 ; return 0; } | 6623 ; return 0; } |
6614 EOF | 6624 EOF |
6615 if { (eval echo configure:6616: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6625 if { (eval echo configure:6626: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6616 rm -rf conftest* | 6626 rm -rf conftest* |
6617 eval "ac_cv_lib_$ac_lib_var=yes" | 6627 eval "ac_cv_lib_$ac_lib_var=yes" |
6618 else | 6628 else |
6619 echo "configure: failed program was:" >&5 | 6629 echo "configure: failed program was:" >&5 |
6620 cat conftest.$ac_ext >&5 | 6630 cat conftest.$ac_ext >&5 |
6635 if test "$have_lib_x11" != "yes"; then | 6645 if test "$have_lib_x11" != "yes"; then |
6636 | 6646 |
6637 xe_msg_checking="for XGetFontProperty in -lX11" | 6647 xe_msg_checking="for XGetFontProperty in -lX11" |
6638 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" | 6648 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" |
6639 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6649 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6640 echo "configure:6641: checking "$xe_msg_checking"" >&5 | 6650 echo "configure:6651: checking "$xe_msg_checking"" >&5 |
6641 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` | 6651 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` |
6642 | 6652 |
6643 xe_check_libs=" -lX11 -b i486-linuxaout" | 6653 xe_check_libs=" -lX11 -b i486-linuxaout" |
6644 cat > conftest.$ac_ext <<EOF | 6654 cat > conftest.$ac_ext <<EOF |
6645 #line 6646 "configure" | 6655 #line 6656 "configure" |
6646 #include "confdefs.h" | 6656 #include "confdefs.h" |
6647 /* Override any gcc2 internal prototype to avoid an error. */ | 6657 /* Override any gcc2 internal prototype to avoid an error. */ |
6648 /* We use char because int might match the return type of a gcc2 | 6658 /* We use char because int might match the return type of a gcc2 |
6649 builtin and then its argument prototype would still apply. */ | 6659 builtin and then its argument prototype would still apply. */ |
6650 char XGetFontProperty(); | 6660 char XGetFontProperty(); |
6651 | 6661 |
6652 int main() { | 6662 int main() { |
6653 XGetFontProperty() | 6663 XGetFontProperty() |
6654 ; return 0; } | 6664 ; return 0; } |
6655 EOF | 6665 EOF |
6656 if { (eval echo configure:6657: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6666 if { (eval echo configure:6667: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6657 rm -rf conftest* | 6667 rm -rf conftest* |
6658 eval "ac_cv_lib_$ac_lib_var=yes" | 6668 eval "ac_cv_lib_$ac_lib_var=yes" |
6659 else | 6669 else |
6660 echo "configure: failed program was:" >&5 | 6670 echo "configure: failed program was:" >&5 |
6661 cat conftest.$ac_ext >&5 | 6671 cat conftest.$ac_ext >&5 |
6678 libs_x="-lX11" | 6688 libs_x="-lX11" |
6679 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" | 6689 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" |
6680 | 6690 |
6681 | 6691 |
6682 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 | 6692 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 |
6683 echo "configure:6684: checking for XShapeSelectInput in -lXext" >&5 | 6693 echo "configure:6694: checking for XShapeSelectInput in -lXext" >&5 |
6684 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` | 6694 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` |
6685 | 6695 |
6686 xe_check_libs=" -lXext " | 6696 xe_check_libs=" -lXext " |
6687 cat > conftest.$ac_ext <<EOF | 6697 cat > conftest.$ac_ext <<EOF |
6688 #line 6689 "configure" | 6698 #line 6699 "configure" |
6689 #include "confdefs.h" | 6699 #include "confdefs.h" |
6690 /* Override any gcc2 internal prototype to avoid an error. */ | 6700 /* Override any gcc2 internal prototype to avoid an error. */ |
6691 /* We use char because int might match the return type of a gcc2 | 6701 /* We use char because int might match the return type of a gcc2 |
6692 builtin and then its argument prototype would still apply. */ | 6702 builtin and then its argument prototype would still apply. */ |
6693 char XShapeSelectInput(); | 6703 char XShapeSelectInput(); |
6694 | 6704 |
6695 int main() { | 6705 int main() { |
6696 XShapeSelectInput() | 6706 XShapeSelectInput() |
6697 ; return 0; } | 6707 ; return 0; } |
6698 EOF | 6708 EOF |
6699 if { (eval echo configure:6700: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6709 if { (eval echo configure:6710: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6700 rm -rf conftest* | 6710 rm -rf conftest* |
6701 eval "ac_cv_lib_$ac_lib_var=yes" | 6711 eval "ac_cv_lib_$ac_lib_var=yes" |
6702 else | 6712 else |
6703 echo "configure: failed program was:" >&5 | 6713 echo "configure: failed program was:" >&5 |
6704 cat conftest.$ac_ext >&5 | 6714 cat conftest.$ac_ext >&5 |
6717 | 6727 |
6718 | 6728 |
6719 | 6729 |
6720 | 6730 |
6721 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 | 6731 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 |
6722 echo "configure:6723: checking for XtOpenDisplay in -lXt" >&5 | 6732 echo "configure:6733: checking for XtOpenDisplay in -lXt" >&5 |
6723 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` | 6733 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` |
6724 | 6734 |
6725 xe_check_libs=" -lXt " | 6735 xe_check_libs=" -lXt " |
6726 cat > conftest.$ac_ext <<EOF | 6736 cat > conftest.$ac_ext <<EOF |
6727 #line 6728 "configure" | 6737 #line 6738 "configure" |
6728 #include "confdefs.h" | 6738 #include "confdefs.h" |
6729 /* Override any gcc2 internal prototype to avoid an error. */ | 6739 /* Override any gcc2 internal prototype to avoid an error. */ |
6730 /* We use char because int might match the return type of a gcc2 | 6740 /* We use char because int might match the return type of a gcc2 |
6731 builtin and then its argument prototype would still apply. */ | 6741 builtin and then its argument prototype would still apply. */ |
6732 char XtOpenDisplay(); | 6742 char XtOpenDisplay(); |
6733 | 6743 |
6734 int main() { | 6744 int main() { |
6735 XtOpenDisplay() | 6745 XtOpenDisplay() |
6736 ; return 0; } | 6746 ; return 0; } |
6737 EOF | 6747 EOF |
6738 if { (eval echo configure:6739: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6748 if { (eval echo configure:6749: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6739 rm -rf conftest* | 6749 rm -rf conftest* |
6740 eval "ac_cv_lib_$ac_lib_var=yes" | 6750 eval "ac_cv_lib_$ac_lib_var=yes" |
6741 else | 6751 else |
6742 echo "configure: failed program was:" >&5 | 6752 echo "configure: failed program was:" >&5 |
6743 cat conftest.$ac_ext >&5 | 6753 cat conftest.$ac_ext >&5 |
6756 fi | 6766 fi |
6757 | 6767 |
6758 | 6768 |
6759 | 6769 |
6760 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 | 6770 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 |
6761 echo "configure:6762: checking the version of X11 being used" >&5 | 6771 echo "configure:6772: checking the version of X11 being used" >&5 |
6762 cat > conftest.$ac_ext <<EOF | 6772 cat > conftest.$ac_ext <<EOF |
6763 #line 6764 "configure" | 6773 #line 6774 "configure" |
6764 #include "confdefs.h" | 6774 #include "confdefs.h" |
6765 #include <X11/Intrinsic.h> | 6775 #include <X11/Intrinsic.h> |
6766 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } | 6776 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } |
6767 EOF | 6777 EOF |
6768 if { (eval echo configure:6769: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 6778 if { (eval echo configure:6779: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
6769 then | 6779 then |
6770 ./conftest foobar; x11_release=$? | 6780 ./conftest foobar; x11_release=$? |
6771 else | 6781 else |
6772 conftest_rc="$?" | 6782 conftest_rc="$?" |
6773 echo "configure: failed program was:" >&5 | 6783 echo "configure: failed program was:" >&5 |
6794 fi | 6804 fi |
6795 | 6805 |
6796 for ac_func in XConvertCase | 6806 for ac_func in XConvertCase |
6797 do | 6807 do |
6798 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 6808 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
6799 echo "configure:6800: checking for $ac_func" >&5 | 6809 echo "configure:6810: checking for $ac_func" >&5 |
6800 | 6810 |
6801 cat > conftest.$ac_ext <<EOF | 6811 cat > conftest.$ac_ext <<EOF |
6802 #line 6803 "configure" | 6812 #line 6813 "configure" |
6803 #include "confdefs.h" | 6813 #include "confdefs.h" |
6804 /* System header to define __stub macros and hopefully few prototypes, | 6814 /* System header to define __stub macros and hopefully few prototypes, |
6805 which can conflict with char $ac_func(); below. */ | 6815 which can conflict with char $ac_func(); below. */ |
6806 #include <assert.h> | 6816 #include <assert.h> |
6807 /* Override any gcc2 internal prototype to avoid an error. */ | 6817 /* Override any gcc2 internal prototype to avoid an error. */ |
6820 $ac_func(); | 6830 $ac_func(); |
6821 #endif | 6831 #endif |
6822 | 6832 |
6823 ; return 0; } | 6833 ; return 0; } |
6824 EOF | 6834 EOF |
6825 if { (eval echo configure:6826: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6835 if { (eval echo configure:6836: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6826 rm -rf conftest* | 6836 rm -rf conftest* |
6827 eval "ac_cv_func_$ac_func=yes" | 6837 eval "ac_cv_func_$ac_func=yes" |
6828 else | 6838 else |
6829 echo "configure: failed program was:" >&5 | 6839 echo "configure: failed program was:" >&5 |
6830 cat conftest.$ac_ext >&5 | 6840 cat conftest.$ac_ext >&5 |
6852 | 6862 |
6853 for ac_hdr in X11/Xlocale.h | 6863 for ac_hdr in X11/Xlocale.h |
6854 do | 6864 do |
6855 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 6865 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
6856 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 6866 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
6857 echo "configure:6858: checking for $ac_hdr" >&5 | 6867 echo "configure:6868: checking for $ac_hdr" >&5 |
6858 | 6868 |
6859 cat > conftest.$ac_ext <<EOF | 6869 cat > conftest.$ac_ext <<EOF |
6860 #line 6861 "configure" | 6870 #line 6871 "configure" |
6861 #include "confdefs.h" | 6871 #include "confdefs.h" |
6862 #include <$ac_hdr> | 6872 #include <$ac_hdr> |
6863 EOF | 6873 EOF |
6864 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6874 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6865 { (eval echo configure:6866: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6875 { (eval echo configure:6876: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6866 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6876 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6867 if test -z "$ac_err"; then | 6877 if test -z "$ac_err"; then |
6868 rm -rf conftest* | 6878 rm -rf conftest* |
6869 eval "ac_cv_header_$ac_safe=yes" | 6879 eval "ac_cv_header_$ac_safe=yes" |
6870 else | 6880 else |
6893 | 6903 |
6894 | 6904 |
6895 for ac_func in XRegisterIMInstantiateCallback | 6905 for ac_func in XRegisterIMInstantiateCallback |
6896 do | 6906 do |
6897 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 6907 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
6898 echo "configure:6899: checking for $ac_func" >&5 | 6908 echo "configure:6909: checking for $ac_func" >&5 |
6899 | 6909 |
6900 cat > conftest.$ac_ext <<EOF | 6910 cat > conftest.$ac_ext <<EOF |
6901 #line 6902 "configure" | 6911 #line 6912 "configure" |
6902 #include "confdefs.h" | 6912 #include "confdefs.h" |
6903 /* System header to define __stub macros and hopefully few prototypes, | 6913 /* System header to define __stub macros and hopefully few prototypes, |
6904 which can conflict with char $ac_func(); below. */ | 6914 which can conflict with char $ac_func(); below. */ |
6905 #include <assert.h> | 6915 #include <assert.h> |
6906 /* Override any gcc2 internal prototype to avoid an error. */ | 6916 /* Override any gcc2 internal prototype to avoid an error. */ |
6919 $ac_func(); | 6929 $ac_func(); |
6920 #endif | 6930 #endif |
6921 | 6931 |
6922 ; return 0; } | 6932 ; return 0; } |
6923 EOF | 6933 EOF |
6924 if { (eval echo configure:6925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6934 if { (eval echo configure:6935: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6925 rm -rf conftest* | 6935 rm -rf conftest* |
6926 eval "ac_cv_func_$ac_func=yes" | 6936 eval "ac_cv_func_$ac_func=yes" |
6927 else | 6937 else |
6928 echo "configure: failed program was:" >&5 | 6938 echo "configure: failed program was:" >&5 |
6929 cat conftest.$ac_ext >&5 | 6939 cat conftest.$ac_ext >&5 |
6947 echo "$ac_t""no" 1>&6 | 6957 echo "$ac_t""no" 1>&6 |
6948 fi | 6958 fi |
6949 done | 6959 done |
6950 | 6960 |
6951 echo $ac_n "checking for standard XRegisterIMInstantiateCallback prototype""... $ac_c" 1>&6 | 6961 echo $ac_n "checking for standard XRegisterIMInstantiateCallback prototype""... $ac_c" 1>&6 |
6952 echo "configure:6953: checking for standard XRegisterIMInstantiateCallback prototype" >&5 | 6962 echo "configure:6963: checking for standard XRegisterIMInstantiateCallback prototype" >&5 |
6953 cat > conftest.$ac_ext <<EOF | 6963 cat > conftest.$ac_ext <<EOF |
6954 #line 6955 "configure" | 6964 #line 6965 "configure" |
6955 #include "confdefs.h" | 6965 #include "confdefs.h" |
6956 | 6966 |
6957 #define NeedFunctionPrototypes 1 | 6967 #define NeedFunctionPrototypes 1 |
6958 #include <X11/Xlib.h> | 6968 #include <X11/Xlib.h> |
6959 extern Bool XRegisterIMInstantiateCallback( | 6969 extern Bool XRegisterIMInstantiateCallback( |
6961 | 6971 |
6962 int main() { | 6972 int main() { |
6963 | 6973 |
6964 ; return 0; } | 6974 ; return 0; } |
6965 EOF | 6975 EOF |
6966 if { (eval echo configure:6967: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 6976 if { (eval echo configure:6977: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
6967 rm -rf conftest* | 6977 rm -rf conftest* |
6968 echo "$ac_t""yes" 1>&6 | 6978 echo "$ac_t""yes" 1>&6 |
6969 else | 6979 else |
6970 echo "configure: failed program was:" >&5 | 6980 echo "configure: failed program was:" >&5 |
6971 cat conftest.$ac_ext >&5 | 6981 cat conftest.$ac_ext >&5 |
6982 fi | 6992 fi |
6983 rm -f conftest* | 6993 rm -f conftest* |
6984 | 6994 |
6985 test -z "$with_xmu" && { | 6995 test -z "$with_xmu" && { |
6986 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 | 6996 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 |
6987 echo "configure:6988: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 | 6997 echo "configure:6998: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 |
6988 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` | 6998 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` |
6989 | 6999 |
6990 xe_check_libs=" -lXmu " | 7000 xe_check_libs=" -lXmu " |
6991 cat > conftest.$ac_ext <<EOF | 7001 cat > conftest.$ac_ext <<EOF |
6992 #line 6993 "configure" | 7002 #line 7003 "configure" |
6993 #include "confdefs.h" | 7003 #include "confdefs.h" |
6994 /* Override any gcc2 internal prototype to avoid an error. */ | 7004 /* Override any gcc2 internal prototype to avoid an error. */ |
6995 /* We use char because int might match the return type of a gcc2 | 7005 /* We use char because int might match the return type of a gcc2 |
6996 builtin and then its argument prototype would still apply. */ | 7006 builtin and then its argument prototype would still apply. */ |
6997 char XmuReadBitmapDataFromFile(); | 7007 char XmuReadBitmapDataFromFile(); |
6998 | 7008 |
6999 int main() { | 7009 int main() { |
7000 XmuReadBitmapDataFromFile() | 7010 XmuReadBitmapDataFromFile() |
7001 ; return 0; } | 7011 ; return 0; } |
7002 EOF | 7012 EOF |
7003 if { (eval echo configure:7004: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7013 if { (eval echo configure:7014: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7004 rm -rf conftest* | 7014 rm -rf conftest* |
7005 eval "ac_cv_lib_$ac_lib_var=yes" | 7015 eval "ac_cv_lib_$ac_lib_var=yes" |
7006 else | 7016 else |
7007 echo "configure: failed program was:" >&5 | 7017 echo "configure: failed program was:" >&5 |
7008 cat conftest.$ac_ext >&5 | 7018 cat conftest.$ac_ext >&5 |
7037 | 7047 |
7038 fi | 7048 fi |
7039 | 7049 |
7040 | 7050 |
7041 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 | 7051 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 |
7042 echo "configure:7043: checking for main in -lXbsd" >&5 | 7052 echo "configure:7053: checking for main in -lXbsd" >&5 |
7043 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` | 7053 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` |
7044 | 7054 |
7045 xe_check_libs=" -lXbsd " | 7055 xe_check_libs=" -lXbsd " |
7046 cat > conftest.$ac_ext <<EOF | 7056 cat > conftest.$ac_ext <<EOF |
7047 #line 7048 "configure" | 7057 #line 7058 "configure" |
7048 #include "confdefs.h" | 7058 #include "confdefs.h" |
7049 | 7059 |
7050 int main() { | 7060 int main() { |
7051 main() | 7061 main() |
7052 ; return 0; } | 7062 ; return 0; } |
7053 EOF | 7063 EOF |
7054 if { (eval echo configure:7055: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7064 if { (eval echo configure:7065: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7055 rm -rf conftest* | 7065 rm -rf conftest* |
7056 eval "ac_cv_lib_$ac_lib_var=yes" | 7066 eval "ac_cv_lib_$ac_lib_var=yes" |
7057 else | 7067 else |
7058 echo "configure: failed program was:" >&5 | 7068 echo "configure: failed program was:" >&5 |
7059 cat conftest.$ac_ext >&5 | 7069 cat conftest.$ac_ext >&5 |
7086 fi | 7096 fi |
7087 | 7097 |
7088 fi | 7098 fi |
7089 if test "$with_msw" != "no"; then | 7099 if test "$with_msw" != "no"; then |
7090 echo "checking for MS-Windows" 1>&6 | 7100 echo "checking for MS-Windows" 1>&6 |
7091 echo "configure:7092: checking for MS-Windows" >&5 | 7101 echo "configure:7102: checking for MS-Windows" >&5 |
7092 | 7102 |
7093 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 | 7103 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 |
7094 echo "configure:7095: checking for main in -lgdi32" >&5 | 7104 echo "configure:7105: checking for main in -lgdi32" >&5 |
7095 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` | 7105 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` |
7096 | 7106 |
7097 xe_check_libs=" -lgdi32 " | 7107 xe_check_libs=" -lgdi32 " |
7098 cat > conftest.$ac_ext <<EOF | 7108 cat > conftest.$ac_ext <<EOF |
7099 #line 7100 "configure" | 7109 #line 7110 "configure" |
7100 #include "confdefs.h" | 7110 #include "confdefs.h" |
7101 | 7111 |
7102 int main() { | 7112 int main() { |
7103 main() | 7113 main() |
7104 ; return 0; } | 7114 ; return 0; } |
7105 EOF | 7115 EOF |
7106 if { (eval echo configure:7107: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7116 if { (eval echo configure:7117: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7107 rm -rf conftest* | 7117 rm -rf conftest* |
7108 eval "ac_cv_lib_$ac_lib_var=yes" | 7118 eval "ac_cv_lib_$ac_lib_var=yes" |
7109 else | 7119 else |
7110 echo "configure: failed program was:" >&5 | 7120 echo "configure: failed program was:" >&5 |
7111 cat conftest.$ac_ext >&5 | 7121 cat conftest.$ac_ext >&5 |
7152 test "$with_toolbars" != "no" && with_toolbars=msw | 7162 test "$with_toolbars" != "no" && with_toolbars=msw |
7153 test "$with_dialogs" != "no" && with_dialogs=msw | 7163 test "$with_dialogs" != "no" && with_dialogs=msw |
7154 test "$with_widgets" != "no" && with_widgets=msw | 7164 test "$with_widgets" != "no" && with_widgets=msw |
7155 fi | 7165 fi |
7156 cat > conftest.$ac_ext <<EOF | 7166 cat > conftest.$ac_ext <<EOF |
7157 #line 7158 "configure" | 7167 #line 7168 "configure" |
7158 #include "confdefs.h" | 7168 #include "confdefs.h" |
7159 #include <fcntl.h> | 7169 #include <fcntl.h> |
7160 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } | 7170 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } |
7161 EOF | 7171 EOF |
7162 if { (eval echo configure:7163: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 7172 if { (eval echo configure:7173: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
7163 then | 7173 then |
7164 { test "$extra_verbose" = "yes" && cat << \EOF | 7174 { test "$extra_verbose" = "yes" && cat << \EOF |
7165 Defining HAVE_MSG_SELECT | 7175 Defining HAVE_MSG_SELECT |
7166 EOF | 7176 EOF |
7167 cat >> confdefs.h <<\EOF | 7177 cat >> confdefs.h <<\EOF |
7218 fi | 7228 fi |
7219 | 7229 |
7220 if test "$with_x11" = "yes"; then | 7230 if test "$with_x11" = "yes"; then |
7221 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'` | 7231 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'` |
7222 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6 | 7232 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6 |
7223 echo "configure:7224: checking for X11/extensions/shape.h" >&5 | 7233 echo "configure:7234: checking for X11/extensions/shape.h" >&5 |
7224 | 7234 |
7225 cat > conftest.$ac_ext <<EOF | 7235 cat > conftest.$ac_ext <<EOF |
7226 #line 7227 "configure" | 7236 #line 7237 "configure" |
7227 #include "confdefs.h" | 7237 #include "confdefs.h" |
7228 #include <X11/extensions/shape.h> | 7238 #include <X11/extensions/shape.h> |
7229 EOF | 7239 EOF |
7230 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7240 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7231 { (eval echo configure:7232: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7241 { (eval echo configure:7242: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7232 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7242 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7233 if test -z "$ac_err"; then | 7243 if test -z "$ac_err"; then |
7234 rm -rf conftest* | 7244 rm -rf conftest* |
7235 eval "ac_cv_header_$ac_safe=yes" | 7245 eval "ac_cv_header_$ac_safe=yes" |
7236 else | 7246 else |
7276 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" | 7286 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" |
7277 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" | 7287 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" |
7278 esac | 7288 esac |
7279 | 7289 |
7280 echo "checking for WM_COMMAND option" 1>&6 | 7290 echo "checking for WM_COMMAND option" 1>&6 |
7281 echo "configure:7282: checking for WM_COMMAND option" >&5; | 7291 echo "configure:7292: checking for WM_COMMAND option" >&5; |
7282 if test "$with_wmcommand" != "no"; then | 7292 if test "$with_wmcommand" != "no"; then |
7283 { test "$extra_verbose" = "yes" && cat << \EOF | 7293 { test "$extra_verbose" = "yes" && cat << \EOF |
7284 Defining HAVE_WMCOMMAND | 7294 Defining HAVE_WMCOMMAND |
7285 EOF | 7295 EOF |
7286 cat >> confdefs.h <<\EOF | 7296 cat >> confdefs.h <<\EOF |
7291 fi | 7301 fi |
7292 | 7302 |
7293 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no | 7303 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no |
7294 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` | 7304 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` |
7295 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 | 7305 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 |
7296 echo "configure:7297: checking for X11/Xauth.h" >&5 | 7306 echo "configure:7307: checking for X11/Xauth.h" >&5 |
7297 | 7307 |
7298 cat > conftest.$ac_ext <<EOF | 7308 cat > conftest.$ac_ext <<EOF |
7299 #line 7300 "configure" | 7309 #line 7310 "configure" |
7300 #include "confdefs.h" | 7310 #include "confdefs.h" |
7301 #include <X11/Xauth.h> | 7311 #include <X11/Xauth.h> |
7302 EOF | 7312 EOF |
7303 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7313 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7304 { (eval echo configure:7305: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7314 { (eval echo configure:7315: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7305 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7315 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7306 if test -z "$ac_err"; then | 7316 if test -z "$ac_err"; then |
7307 rm -rf conftest* | 7317 rm -rf conftest* |
7308 eval "ac_cv_header_$ac_safe=yes" | 7318 eval "ac_cv_header_$ac_safe=yes" |
7309 else | 7319 else |
7322 with_xauth=no | 7332 with_xauth=no |
7323 fi | 7333 fi |
7324 } | 7334 } |
7325 test -z "$with_xauth" && { | 7335 test -z "$with_xauth" && { |
7326 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 | 7336 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 |
7327 echo "configure:7328: checking for XauGetAuthByAddr in -lXau" >&5 | 7337 echo "configure:7338: checking for XauGetAuthByAddr in -lXau" >&5 |
7328 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` | 7338 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` |
7329 | 7339 |
7330 xe_check_libs=" -lXau " | 7340 xe_check_libs=" -lXau " |
7331 cat > conftest.$ac_ext <<EOF | 7341 cat > conftest.$ac_ext <<EOF |
7332 #line 7333 "configure" | 7342 #line 7343 "configure" |
7333 #include "confdefs.h" | 7343 #include "confdefs.h" |
7334 /* Override any gcc2 internal prototype to avoid an error. */ | 7344 /* Override any gcc2 internal prototype to avoid an error. */ |
7335 /* We use char because int might match the return type of a gcc2 | 7345 /* We use char because int might match the return type of a gcc2 |
7336 builtin and then its argument prototype would still apply. */ | 7346 builtin and then its argument prototype would still apply. */ |
7337 char XauGetAuthByAddr(); | 7347 char XauGetAuthByAddr(); |
7338 | 7348 |
7339 int main() { | 7349 int main() { |
7340 XauGetAuthByAddr() | 7350 XauGetAuthByAddr() |
7341 ; return 0; } | 7351 ; return 0; } |
7342 EOF | 7352 EOF |
7343 if { (eval echo configure:7344: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7353 if { (eval echo configure:7354: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7344 rm -rf conftest* | 7354 rm -rf conftest* |
7345 eval "ac_cv_lib_$ac_lib_var=yes" | 7355 eval "ac_cv_lib_$ac_lib_var=yes" |
7346 else | 7356 else |
7347 echo "configure: failed program was:" >&5 | 7357 echo "configure: failed program was:" >&5 |
7348 cat conftest.$ac_ext >&5 | 7358 cat conftest.$ac_ext >&5 |
7383 | 7393 |
7384 if test "$with_tooltalk" != "no" ; then | 7394 if test "$with_tooltalk" != "no" ; then |
7385 for dir in "" "Tt/" "desktop/" ; do | 7395 for dir in "" "Tt/" "desktop/" ; do |
7386 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` | 7396 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` |
7387 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 | 7397 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 |
7388 echo "configure:7389: checking for ${dir}tt_c.h" >&5 | 7398 echo "configure:7399: checking for ${dir}tt_c.h" >&5 |
7389 | 7399 |
7390 cat > conftest.$ac_ext <<EOF | 7400 cat > conftest.$ac_ext <<EOF |
7391 #line 7392 "configure" | 7401 #line 7402 "configure" |
7392 #include "confdefs.h" | 7402 #include "confdefs.h" |
7393 #include <${dir}tt_c.h> | 7403 #include <${dir}tt_c.h> |
7394 EOF | 7404 EOF |
7395 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7405 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7396 { (eval echo configure:7397: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7406 { (eval echo configure:7407: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7397 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7407 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7398 if test -z "$ac_err"; then | 7408 if test -z "$ac_err"; then |
7399 rm -rf conftest* | 7409 rm -rf conftest* |
7400 eval "ac_cv_header_$ac_safe=yes" | 7410 eval "ac_cv_header_$ac_safe=yes" |
7401 else | 7411 else |
7427 for extra_libs in "" "-lI18N -lce" "-lcxx"; do | 7437 for extra_libs in "" "-lI18N -lce" "-lcxx"; do |
7428 | 7438 |
7429 xe_msg_checking="for tt_message_create in -ltt" | 7439 xe_msg_checking="for tt_message_create in -ltt" |
7430 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 7440 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
7431 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 7441 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
7432 echo "configure:7433: checking "$xe_msg_checking"" >&5 | 7442 echo "configure:7443: checking "$xe_msg_checking"" >&5 |
7433 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` | 7443 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` |
7434 | 7444 |
7435 xe_check_libs=" -ltt $extra_libs" | 7445 xe_check_libs=" -ltt $extra_libs" |
7436 cat > conftest.$ac_ext <<EOF | 7446 cat > conftest.$ac_ext <<EOF |
7437 #line 7438 "configure" | 7447 #line 7448 "configure" |
7438 #include "confdefs.h" | 7448 #include "confdefs.h" |
7439 /* Override any gcc2 internal prototype to avoid an error. */ | 7449 /* Override any gcc2 internal prototype to avoid an error. */ |
7440 /* We use char because int might match the return type of a gcc2 | 7450 /* We use char because int might match the return type of a gcc2 |
7441 builtin and then its argument prototype would still apply. */ | 7451 builtin and then its argument prototype would still apply. */ |
7442 char tt_message_create(); | 7452 char tt_message_create(); |
7443 | 7453 |
7444 int main() { | 7454 int main() { |
7445 tt_message_create() | 7455 tt_message_create() |
7446 ; return 0; } | 7456 ; return 0; } |
7447 EOF | 7457 EOF |
7448 if { (eval echo configure:7449: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7458 if { (eval echo configure:7459: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7449 rm -rf conftest* | 7459 rm -rf conftest* |
7450 eval "ac_cv_lib_$ac_lib_var=yes" | 7460 eval "ac_cv_lib_$ac_lib_var=yes" |
7451 else | 7461 else |
7452 echo "configure: failed program was:" >&5 | 7462 echo "configure: failed program was:" >&5 |
7453 cat conftest.$ac_ext >&5 | 7463 cat conftest.$ac_ext >&5 |
7497 libs_x="$tt_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$tt_libs\" to \$libs_x"; fi | 7507 libs_x="$tt_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$tt_libs\" to \$libs_x"; fi |
7498 fi | 7508 fi |
7499 | 7509 |
7500 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` | 7510 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` |
7501 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 | 7511 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 |
7502 echo "configure:7503: checking for Dt/Dt.h" >&5 | 7512 echo "configure:7513: checking for Dt/Dt.h" >&5 |
7503 | 7513 |
7504 cat > conftest.$ac_ext <<EOF | 7514 cat > conftest.$ac_ext <<EOF |
7505 #line 7506 "configure" | 7515 #line 7516 "configure" |
7506 #include "confdefs.h" | 7516 #include "confdefs.h" |
7507 #include <Dt/Dt.h> | 7517 #include <Dt/Dt.h> |
7508 EOF | 7518 EOF |
7509 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7519 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7510 { (eval echo configure:7511: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7520 { (eval echo configure:7521: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7511 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7521 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7512 if test -z "$ac_err"; then | 7522 if test -z "$ac_err"; then |
7513 rm -rf conftest* | 7523 rm -rf conftest* |
7514 eval "ac_cv_header_$ac_safe=yes" | 7524 eval "ac_cv_header_$ac_safe=yes" |
7515 else | 7525 else |
7528 with_cde=no | 7538 with_cde=no |
7529 fi | 7539 fi |
7530 } | 7540 } |
7531 test -z "$with_cde" && { | 7541 test -z "$with_cde" && { |
7532 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 | 7542 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 |
7533 echo "configure:7534: checking for DtDndDragStart in -lDtSvc" >&5 | 7543 echo "configure:7544: checking for DtDndDragStart in -lDtSvc" >&5 |
7534 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` | 7544 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` |
7535 | 7545 |
7536 xe_check_libs=" -lDtSvc " | 7546 xe_check_libs=" -lDtSvc " |
7537 cat > conftest.$ac_ext <<EOF | 7547 cat > conftest.$ac_ext <<EOF |
7538 #line 7539 "configure" | 7548 #line 7549 "configure" |
7539 #include "confdefs.h" | 7549 #include "confdefs.h" |
7540 /* Override any gcc2 internal prototype to avoid an error. */ | 7550 /* Override any gcc2 internal prototype to avoid an error. */ |
7541 /* We use char because int might match the return type of a gcc2 | 7551 /* We use char because int might match the return type of a gcc2 |
7542 builtin and then its argument prototype would still apply. */ | 7552 builtin and then its argument prototype would still apply. */ |
7543 char DtDndDragStart(); | 7553 char DtDndDragStart(); |
7544 | 7554 |
7545 int main() { | 7555 int main() { |
7546 DtDndDragStart() | 7556 DtDndDragStart() |
7547 ; return 0; } | 7557 ; return 0; } |
7548 EOF | 7558 EOF |
7549 if { (eval echo configure:7550: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7559 if { (eval echo configure:7560: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7550 rm -rf conftest* | 7560 rm -rf conftest* |
7551 eval "ac_cv_lib_$ac_lib_var=yes" | 7561 eval "ac_cv_lib_$ac_lib_var=yes" |
7552 else | 7562 else |
7553 echo "configure: failed program was:" >&5 | 7563 echo "configure: failed program was:" >&5 |
7554 cat conftest.$ac_ext >&5 | 7564 cat conftest.$ac_ext >&5 |
7625 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi | 7635 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi |
7626 fi | 7636 fi |
7627 | 7637 |
7628 if test "$with_dragndrop" != "no" ; then | 7638 if test "$with_dragndrop" != "no" ; then |
7629 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 | 7639 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 |
7630 echo "configure:7631: checking if drag and drop API is needed" >&5 | 7640 echo "configure:7641: checking if drag and drop API is needed" >&5 |
7631 if test -n "$dragndrop_proto" ; then | 7641 if test -n "$dragndrop_proto" ; then |
7632 with_dragndrop=yes | 7642 with_dragndrop=yes |
7633 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 | 7643 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 |
7634 { test "$extra_verbose" = "yes" && cat << \EOF | 7644 { test "$extra_verbose" = "yes" && cat << \EOF |
7635 Defining HAVE_DRAGNDROP | 7645 Defining HAVE_DRAGNDROP |
7645 echo "$ac_t""no" 1>&6 | 7655 echo "$ac_t""no" 1>&6 |
7646 fi | 7656 fi |
7647 fi | 7657 fi |
7648 | 7658 |
7649 echo "checking for LDAP" 1>&6 | 7659 echo "checking for LDAP" 1>&6 |
7650 echo "configure:7651: checking for LDAP" >&5 | 7660 echo "configure:7661: checking for LDAP" >&5 |
7651 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` | 7661 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` |
7652 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 | 7662 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 |
7653 echo "configure:7654: checking for ldap.h" >&5 | 7663 echo "configure:7664: checking for ldap.h" >&5 |
7654 | 7664 |
7655 cat > conftest.$ac_ext <<EOF | 7665 cat > conftest.$ac_ext <<EOF |
7656 #line 7657 "configure" | 7666 #line 7667 "configure" |
7657 #include "confdefs.h" | 7667 #include "confdefs.h" |
7658 #include <ldap.h> | 7668 #include <ldap.h> |
7659 EOF | 7669 EOF |
7660 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7670 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7661 { (eval echo configure:7662: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7671 { (eval echo configure:7672: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7662 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7672 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7663 if test -z "$ac_err"; then | 7673 if test -z "$ac_err"; then |
7664 rm -rf conftest* | 7674 rm -rf conftest* |
7665 eval "ac_cv_header_$ac_safe=yes" | 7675 eval "ac_cv_header_$ac_safe=yes" |
7666 else | 7676 else |
7679 with_ldap=no | 7689 with_ldap=no |
7680 fi | 7690 fi |
7681 } | 7691 } |
7682 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` | 7692 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` |
7683 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 | 7693 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 |
7684 echo "configure:7685: checking for lber.h" >&5 | 7694 echo "configure:7695: checking for lber.h" >&5 |
7685 | 7695 |
7686 cat > conftest.$ac_ext <<EOF | 7696 cat > conftest.$ac_ext <<EOF |
7687 #line 7688 "configure" | 7697 #line 7698 "configure" |
7688 #include "confdefs.h" | 7698 #include "confdefs.h" |
7689 #include <lber.h> | 7699 #include <lber.h> |
7690 EOF | 7700 EOF |
7691 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7701 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7692 { (eval echo configure:7693: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7702 { (eval echo configure:7703: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7693 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7703 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7694 if test -z "$ac_err"; then | 7704 if test -z "$ac_err"; then |
7695 rm -rf conftest* | 7705 rm -rf conftest* |
7696 eval "ac_cv_header_$ac_safe=yes" | 7706 eval "ac_cv_header_$ac_safe=yes" |
7697 else | 7707 else |
7711 fi | 7721 fi |
7712 } | 7722 } |
7713 if test "$with_ldap" != "no"; then | 7723 if test "$with_ldap" != "no"; then |
7714 | 7724 |
7715 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 | 7725 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 |
7716 echo "configure:7717: checking for ldap_search in -lldap" >&5 | 7726 echo "configure:7727: checking for ldap_search in -lldap" >&5 |
7717 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` | 7727 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` |
7718 | 7728 |
7719 xe_check_libs=" -lldap " | 7729 xe_check_libs=" -lldap " |
7720 cat > conftest.$ac_ext <<EOF | 7730 cat > conftest.$ac_ext <<EOF |
7721 #line 7722 "configure" | 7731 #line 7732 "configure" |
7722 #include "confdefs.h" | 7732 #include "confdefs.h" |
7723 /* Override any gcc2 internal prototype to avoid an error. */ | 7733 /* Override any gcc2 internal prototype to avoid an error. */ |
7724 /* We use char because int might match the return type of a gcc2 | 7734 /* We use char because int might match the return type of a gcc2 |
7725 builtin and then its argument prototype would still apply. */ | 7735 builtin and then its argument prototype would still apply. */ |
7726 char ldap_search(); | 7736 char ldap_search(); |
7727 | 7737 |
7728 int main() { | 7738 int main() { |
7729 ldap_search() | 7739 ldap_search() |
7730 ; return 0; } | 7740 ; return 0; } |
7731 EOF | 7741 EOF |
7732 if { (eval echo configure:7733: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7742 if { (eval echo configure:7743: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7733 rm -rf conftest* | 7743 rm -rf conftest* |
7734 eval "ac_cv_lib_$ac_lib_var=yes" | 7744 eval "ac_cv_lib_$ac_lib_var=yes" |
7735 else | 7745 else |
7736 echo "configure: failed program was:" >&5 | 7746 echo "configure: failed program was:" >&5 |
7737 cat conftest.$ac_ext >&5 | 7747 cat conftest.$ac_ext >&5 |
7752 | 7762 |
7753 test "$with_ldap_nolber" = "no" && { | 7763 test "$with_ldap_nolber" = "no" && { |
7754 xe_msg_checking="for ldap_open in -lldap" | 7764 xe_msg_checking="for ldap_open in -lldap" |
7755 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" | 7765 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" |
7756 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 7766 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
7757 echo "configure:7758: checking "$xe_msg_checking"" >&5 | 7767 echo "configure:7768: checking "$xe_msg_checking"" >&5 |
7758 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 7768 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
7759 | 7769 |
7760 xe_check_libs=" -lldap -llber" | 7770 xe_check_libs=" -lldap -llber" |
7761 cat > conftest.$ac_ext <<EOF | 7771 cat > conftest.$ac_ext <<EOF |
7762 #line 7763 "configure" | 7772 #line 7773 "configure" |
7763 #include "confdefs.h" | 7773 #include "confdefs.h" |
7764 /* Override any gcc2 internal prototype to avoid an error. */ | 7774 /* Override any gcc2 internal prototype to avoid an error. */ |
7765 /* We use char because int might match the return type of a gcc2 | 7775 /* We use char because int might match the return type of a gcc2 |
7766 builtin and then its argument prototype would still apply. */ | 7776 builtin and then its argument prototype would still apply. */ |
7767 char ldap_open(); | 7777 char ldap_open(); |
7768 | 7778 |
7769 int main() { | 7779 int main() { |
7770 ldap_open() | 7780 ldap_open() |
7771 ; return 0; } | 7781 ; return 0; } |
7772 EOF | 7782 EOF |
7773 if { (eval echo configure:7774: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7783 if { (eval echo configure:7784: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7774 rm -rf conftest* | 7784 rm -rf conftest* |
7775 eval "ac_cv_lib_$ac_lib_var=yes" | 7785 eval "ac_cv_lib_$ac_lib_var=yes" |
7776 else | 7786 else |
7777 echo "configure: failed program was:" >&5 | 7787 echo "configure: failed program was:" >&5 |
7778 cat conftest.$ac_ext >&5 | 7788 cat conftest.$ac_ext >&5 |
7793 } | 7803 } |
7794 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { | 7804 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { |
7795 xe_msg_checking="for ldap_open in -lldap" | 7805 xe_msg_checking="for ldap_open in -lldap" |
7796 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" | 7806 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" |
7797 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 7807 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
7798 echo "configure:7799: checking "$xe_msg_checking"" >&5 | 7808 echo "configure:7809: checking "$xe_msg_checking"" >&5 |
7799 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 7809 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
7800 | 7810 |
7801 xe_check_libs=" -lldap -llber -lkrb" | 7811 xe_check_libs=" -lldap -llber -lkrb" |
7802 cat > conftest.$ac_ext <<EOF | 7812 cat > conftest.$ac_ext <<EOF |
7803 #line 7804 "configure" | 7813 #line 7814 "configure" |
7804 #include "confdefs.h" | 7814 #include "confdefs.h" |
7805 /* Override any gcc2 internal prototype to avoid an error. */ | 7815 /* Override any gcc2 internal prototype to avoid an error. */ |
7806 /* We use char because int might match the return type of a gcc2 | 7816 /* We use char because int might match the return type of a gcc2 |
7807 builtin and then its argument prototype would still apply. */ | 7817 builtin and then its argument prototype would still apply. */ |
7808 char ldap_open(); | 7818 char ldap_open(); |
7809 | 7819 |
7810 int main() { | 7820 int main() { |
7811 ldap_open() | 7821 ldap_open() |
7812 ; return 0; } | 7822 ; return 0; } |
7813 EOF | 7823 EOF |
7814 if { (eval echo configure:7815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7824 if { (eval echo configure:7825: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7815 rm -rf conftest* | 7825 rm -rf conftest* |
7816 eval "ac_cv_lib_$ac_lib_var=yes" | 7826 eval "ac_cv_lib_$ac_lib_var=yes" |
7817 else | 7827 else |
7818 echo "configure: failed program was:" >&5 | 7828 echo "configure: failed program was:" >&5 |
7819 cat conftest.$ac_ext >&5 | 7829 cat conftest.$ac_ext >&5 |
7834 } | 7844 } |
7835 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { | 7845 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { |
7836 xe_msg_checking="for ldap_open in -lldap" | 7846 xe_msg_checking="for ldap_open in -lldap" |
7837 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" | 7847 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" |
7838 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 7848 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
7839 echo "configure:7840: checking "$xe_msg_checking"" >&5 | 7849 echo "configure:7850: checking "$xe_msg_checking"" >&5 |
7840 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 7850 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
7841 | 7851 |
7842 xe_check_libs=" -lldap -llber -lkrb -ldes" | 7852 xe_check_libs=" -lldap -llber -lkrb -ldes" |
7843 cat > conftest.$ac_ext <<EOF | 7853 cat > conftest.$ac_ext <<EOF |
7844 #line 7845 "configure" | 7854 #line 7855 "configure" |
7845 #include "confdefs.h" | 7855 #include "confdefs.h" |
7846 /* Override any gcc2 internal prototype to avoid an error. */ | 7856 /* Override any gcc2 internal prototype to avoid an error. */ |
7847 /* We use char because int might match the return type of a gcc2 | 7857 /* We use char because int might match the return type of a gcc2 |
7848 builtin and then its argument prototype would still apply. */ | 7858 builtin and then its argument prototype would still apply. */ |
7849 char ldap_open(); | 7859 char ldap_open(); |
7850 | 7860 |
7851 int main() { | 7861 int main() { |
7852 ldap_open() | 7862 ldap_open() |
7853 ; return 0; } | 7863 ; return 0; } |
7854 EOF | 7864 EOF |
7855 if { (eval echo configure:7856: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7865 if { (eval echo configure:7866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7856 rm -rf conftest* | 7866 rm -rf conftest* |
7857 eval "ac_cv_lib_$ac_lib_var=yes" | 7867 eval "ac_cv_lib_$ac_lib_var=yes" |
7858 else | 7868 else |
7859 echo "configure: failed program was:" >&5 | 7869 echo "configure: failed program was:" >&5 |
7860 cat conftest.$ac_ext >&5 | 7870 cat conftest.$ac_ext >&5 |
7898 LIBS="-lldap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap\" to \$LIBS"; fi | 7908 LIBS="-lldap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap\" to \$LIBS"; fi |
7899 fi | 7909 fi |
7900 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result | 7910 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result |
7901 do | 7911 do |
7902 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7912 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
7903 echo "configure:7904: checking for $ac_func" >&5 | 7913 echo "configure:7914: checking for $ac_func" >&5 |
7904 | 7914 |
7905 cat > conftest.$ac_ext <<EOF | 7915 cat > conftest.$ac_ext <<EOF |
7906 #line 7907 "configure" | 7916 #line 7917 "configure" |
7907 #include "confdefs.h" | 7917 #include "confdefs.h" |
7908 /* System header to define __stub macros and hopefully few prototypes, | 7918 /* System header to define __stub macros and hopefully few prototypes, |
7909 which can conflict with char $ac_func(); below. */ | 7919 which can conflict with char $ac_func(); below. */ |
7910 #include <assert.h> | 7920 #include <assert.h> |
7911 /* Override any gcc2 internal prototype to avoid an error. */ | 7921 /* Override any gcc2 internal prototype to avoid an error. */ |
7924 $ac_func(); | 7934 $ac_func(); |
7925 #endif | 7935 #endif |
7926 | 7936 |
7927 ; return 0; } | 7937 ; return 0; } |
7928 EOF | 7938 EOF |
7929 if { (eval echo configure:7930: \"$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 |
7930 rm -rf conftest* | 7940 rm -rf conftest* |
7931 eval "ac_cv_func_$ac_func=yes" | 7941 eval "ac_cv_func_$ac_func=yes" |
7932 else | 7942 else |
7933 echo "configure: failed program was:" >&5 | 7943 echo "configure: failed program was:" >&5 |
7934 cat conftest.$ac_ext >&5 | 7944 cat conftest.$ac_ext >&5 |
7955 | 7965 |
7956 fi | 7966 fi |
7957 | 7967 |
7958 if test "$with_postgresql" != "no"; then | 7968 if test "$with_postgresql" != "no"; then |
7959 echo "checking for PostgreSQL" 1>&6 | 7969 echo "checking for PostgreSQL" 1>&6 |
7960 echo "configure:7961: checking for PostgreSQL" >&5 | 7970 echo "configure:7971: checking for PostgreSQL" >&5 |
7961 | 7971 |
7962 for header_dir in "" "pgsql/" "postgresql/"; do | 7972 for header_dir in "" "pgsql/" "postgresql/"; do |
7963 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` | 7973 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` |
7964 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 | 7974 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 |
7965 echo "configure:7966: checking for ${header_dir}libpq-fe.h" >&5 | 7975 echo "configure:7976: checking for ${header_dir}libpq-fe.h" >&5 |
7966 | 7976 |
7967 cat > conftest.$ac_ext <<EOF | 7977 cat > conftest.$ac_ext <<EOF |
7968 #line 7969 "configure" | 7978 #line 7979 "configure" |
7969 #include "confdefs.h" | 7979 #include "confdefs.h" |
7970 #include <${header_dir}libpq-fe.h> | 7980 #include <${header_dir}libpq-fe.h> |
7971 EOF | 7981 EOF |
7972 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7982 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7973 { (eval echo configure:7974: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7983 { (eval echo configure:7984: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7974 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7984 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7975 if test -z "$ac_err"; then | 7985 if test -z "$ac_err"; then |
7976 rm -rf conftest* | 7986 rm -rf conftest* |
7977 eval "ac_cv_header_$ac_safe=yes" | 7987 eval "ac_cv_header_$ac_safe=yes" |
7978 else | 7988 else |
7992 | 8002 |
7993 done | 8003 done |
7994 | 8004 |
7995 test -n "$libpq_fe_h_file" && { | 8005 test -n "$libpq_fe_h_file" && { |
7996 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 | 8006 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 |
7997 echo "configure:7998: checking for PQconnectdb in -lpq" >&5 | 8007 echo "configure:8008: checking for PQconnectdb in -lpq" >&5 |
7998 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` | 8008 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` |
7999 | 8009 |
8000 xe_check_libs=" -lpq " | 8010 xe_check_libs=" -lpq " |
8001 cat > conftest.$ac_ext <<EOF | 8011 cat > conftest.$ac_ext <<EOF |
8002 #line 8003 "configure" | 8012 #line 8013 "configure" |
8003 #include "confdefs.h" | 8013 #include "confdefs.h" |
8004 /* Override any gcc2 internal prototype to avoid an error. */ | 8014 /* Override any gcc2 internal prototype to avoid an error. */ |
8005 /* We use char because int might match the return type of a gcc2 | 8015 /* We use char because int might match the return type of a gcc2 |
8006 builtin and then its argument prototype would still apply. */ | 8016 builtin and then its argument prototype would still apply. */ |
8007 char PQconnectdb(); | 8017 char PQconnectdb(); |
8008 | 8018 |
8009 int main() { | 8019 int main() { |
8010 PQconnectdb() | 8020 PQconnectdb() |
8011 ; return 0; } | 8021 ; return 0; } |
8012 EOF | 8022 EOF |
8013 if { (eval echo configure:8014: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8023 if { (eval echo configure:8024: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8014 rm -rf conftest* | 8024 rm -rf conftest* |
8015 eval "ac_cv_lib_$ac_lib_var=yes" | 8025 eval "ac_cv_lib_$ac_lib_var=yes" |
8016 else | 8026 else |
8017 echo "configure: failed program was:" >&5 | 8027 echo "configure: failed program was:" >&5 |
8018 cat conftest.$ac_ext >&5 | 8028 cat conftest.$ac_ext >&5 |
8041 EOF | 8051 EOF |
8042 } | 8052 } |
8043 | 8053 |
8044 | 8054 |
8045 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 | 8055 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 |
8046 echo "configure:8047: checking for PQconnectStart in -lpq" >&5 | 8056 echo "configure:8057: checking for PQconnectStart in -lpq" >&5 |
8047 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` | 8057 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` |
8048 | 8058 |
8049 xe_check_libs=" -lpq " | 8059 xe_check_libs=" -lpq " |
8050 cat > conftest.$ac_ext <<EOF | 8060 cat > conftest.$ac_ext <<EOF |
8051 #line 8052 "configure" | 8061 #line 8062 "configure" |
8052 #include "confdefs.h" | 8062 #include "confdefs.h" |
8053 /* Override any gcc2 internal prototype to avoid an error. */ | 8063 /* Override any gcc2 internal prototype to avoid an error. */ |
8054 /* We use char because int might match the return type of a gcc2 | 8064 /* We use char because int might match the return type of a gcc2 |
8055 builtin and then its argument prototype would still apply. */ | 8065 builtin and then its argument prototype would still apply. */ |
8056 char PQconnectStart(); | 8066 char PQconnectStart(); |
8057 | 8067 |
8058 int main() { | 8068 int main() { |
8059 PQconnectStart() | 8069 PQconnectStart() |
8060 ; return 0; } | 8070 ; return 0; } |
8061 EOF | 8071 EOF |
8062 if { (eval echo configure:8063: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8072 if { (eval echo configure:8073: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8063 rm -rf conftest* | 8073 rm -rf conftest* |
8064 eval "ac_cv_lib_$ac_lib_var=yes" | 8074 eval "ac_cv_lib_$ac_lib_var=yes" |
8065 else | 8075 else |
8066 echo "configure: failed program was:" >&5 | 8076 echo "configure: failed program was:" >&5 |
8067 cat conftest.$ac_ext >&5 | 8077 cat conftest.$ac_ext >&5 |
8102 fi | 8112 fi |
8103 | 8113 |
8104 | 8114 |
8105 if test "$window_system" != "none"; then | 8115 if test "$window_system" != "none"; then |
8106 echo "checking for graphics libraries" 1>&6 | 8116 echo "checking for graphics libraries" 1>&6 |
8107 echo "configure:8108: checking for graphics libraries" >&5 | 8117 echo "configure:8118: checking for graphics libraries" >&5 |
8108 | 8118 |
8109 libpath_xpm= | 8119 libpath_xpm= |
8110 incpath_xpm= | 8120 incpath_xpm= |
8111 case "$opsys" in | 8121 case "$opsys" in |
8112 cygwin*) | 8122 cygwin*) |
8128 xpm_problem="" | 8138 xpm_problem="" |
8129 if test -z "$with_xpm"; then | 8139 if test -z "$with_xpm"; then |
8130 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi | 8140 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi |
8131 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi | 8141 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi |
8132 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 | 8142 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 |
8133 echo "configure:8134: checking for Xpm - no older than 3.4f" >&5 | 8143 echo "configure:8144: checking for Xpm - no older than 3.4f" >&5 |
8134 xe_check_libs=-lXpm | 8144 xe_check_libs=-lXpm |
8135 cat > conftest.$ac_ext <<EOF | 8145 cat > conftest.$ac_ext <<EOF |
8136 #line 8137 "configure" | 8146 #line 8147 "configure" |
8137 #include "confdefs.h" | 8147 #include "confdefs.h" |
8138 #define XPM_NUMBERS | 8148 #define XPM_NUMBERS |
8139 #include <X11/xpm.h> | 8149 #include <X11/xpm.h> |
8140 int main(int c, char **v) { | 8150 int main(int c, char **v) { |
8141 return c == 1 ? 0 : | 8151 return c == 1 ? 0 : |
8142 XpmIncludeVersion != XpmLibraryVersion() ? 1 : | 8152 XpmIncludeVersion != XpmLibraryVersion() ? 1 : |
8143 XpmIncludeVersion < 30406 ? 2 : 0 ;} | 8153 XpmIncludeVersion < 30406 ? 2 : 0 ;} |
8144 EOF | 8154 EOF |
8145 if { (eval echo configure:8146: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 8155 if { (eval echo configure:8156: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
8146 then | 8156 then |
8147 ./conftest dummy_arg; xpm_status=$?; | 8157 ./conftest dummy_arg; xpm_status=$?; |
8148 if test "$xpm_status" = "0"; then | 8158 if test "$xpm_status" = "0"; then |
8149 with_xpm=yes; | 8159 with_xpm=yes; |
8150 else | 8160 else |
8184 | 8194 |
8185 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi | 8195 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi |
8186 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi | 8196 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi |
8187 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi | 8197 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi |
8188 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 | 8198 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 |
8189 echo "configure:8190: checking for \"FOR_MSW\" xpm" >&5 | 8199 echo "configure:8200: checking for \"FOR_MSW\" xpm" >&5 |
8190 xe_check_libs=-lXpm | 8200 xe_check_libs=-lXpm |
8191 cat > conftest.$ac_ext <<EOF | 8201 cat > conftest.$ac_ext <<EOF |
8192 #line 8193 "configure" | 8202 #line 8203 "configure" |
8193 #include "confdefs.h" | 8203 #include "confdefs.h" |
8194 | 8204 |
8195 int main() { | 8205 int main() { |
8196 XpmCreatePixmapFromData() | 8206 XpmCreatePixmapFromData() |
8197 ; return 0; } | 8207 ; return 0; } |
8198 EOF | 8208 EOF |
8199 if { (eval echo configure:8200: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8209 if { (eval echo configure:8210: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8200 rm -rf conftest* | 8210 rm -rf conftest* |
8201 xpm_for_msw=no | 8211 xpm_for_msw=no |
8202 else | 8212 else |
8203 echo "configure: failed program was:" >&5 | 8213 echo "configure: failed program was:" >&5 |
8204 cat conftest.$ac_ext >&5 | 8214 cat conftest.$ac_ext >&5 |
8220 fi | 8230 fi |
8221 fi | 8231 fi |
8222 | 8232 |
8223 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 8233 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
8224 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 8234 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
8225 echo "configure:8226: checking for compface.h" >&5 | 8235 echo "configure:8236: checking for compface.h" >&5 |
8226 | 8236 |
8227 cat > conftest.$ac_ext <<EOF | 8237 cat > conftest.$ac_ext <<EOF |
8228 #line 8229 "configure" | 8238 #line 8239 "configure" |
8229 #include "confdefs.h" | 8239 #include "confdefs.h" |
8230 #include <compface.h> | 8240 #include <compface.h> |
8231 EOF | 8241 EOF |
8232 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8242 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8233 { (eval echo configure:8234: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8243 { (eval echo configure:8244: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8234 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8244 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8235 if test -z "$ac_err"; then | 8245 if test -z "$ac_err"; then |
8236 rm -rf conftest* | 8246 rm -rf conftest* |
8237 eval "ac_cv_header_$ac_safe=yes" | 8247 eval "ac_cv_header_$ac_safe=yes" |
8238 else | 8248 else |
8251 with_xface=no | 8261 with_xface=no |
8252 fi | 8262 fi |
8253 } | 8263 } |
8254 test -z "$with_xface" && { | 8264 test -z "$with_xface" && { |
8255 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 8265 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
8256 echo "configure:8257: checking for UnGenFace in -lcompface" >&5 | 8266 echo "configure:8267: checking for UnGenFace in -lcompface" >&5 |
8257 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 8267 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
8258 | 8268 |
8259 xe_check_libs=" -lcompface " | 8269 xe_check_libs=" -lcompface " |
8260 cat > conftest.$ac_ext <<EOF | 8270 cat > conftest.$ac_ext <<EOF |
8261 #line 8262 "configure" | 8271 #line 8272 "configure" |
8262 #include "confdefs.h" | 8272 #include "confdefs.h" |
8263 /* Override any gcc2 internal prototype to avoid an error. */ | 8273 /* Override any gcc2 internal prototype to avoid an error. */ |
8264 /* We use char because int might match the return type of a gcc2 | 8274 /* We use char because int might match the return type of a gcc2 |
8265 builtin and then its argument prototype would still apply. */ | 8275 builtin and then its argument prototype would still apply. */ |
8266 char UnGenFace(); | 8276 char UnGenFace(); |
8267 | 8277 |
8268 int main() { | 8278 int main() { |
8269 UnGenFace() | 8279 UnGenFace() |
8270 ; return 0; } | 8280 ; return 0; } |
8271 EOF | 8281 EOF |
8272 if { (eval echo configure:8273: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8282 if { (eval echo configure:8283: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8273 rm -rf conftest* | 8283 rm -rf conftest* |
8274 eval "ac_cv_lib_$ac_lib_var=yes" | 8284 eval "ac_cv_lib_$ac_lib_var=yes" |
8275 else | 8285 else |
8276 echo "configure: failed program was:" >&5 | 8286 echo "configure: failed program was:" >&5 |
8277 cat conftest.$ac_ext >&5 | 8287 cat conftest.$ac_ext >&5 |
8316 fi | 8326 fi |
8317 | 8327 |
8318 if test "$with_png $with_tiff" != "no no"; then | 8328 if test "$with_png $with_tiff" != "no no"; then |
8319 | 8329 |
8320 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 | 8330 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 |
8321 echo "configure:8322: checking for inflate in -lc" >&5 | 8331 echo "configure:8332: checking for inflate in -lc" >&5 |
8322 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` | 8332 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` |
8323 | 8333 |
8324 xe_check_libs=" -lc " | 8334 xe_check_libs=" -lc " |
8325 cat > conftest.$ac_ext <<EOF | 8335 cat > conftest.$ac_ext <<EOF |
8326 #line 8327 "configure" | 8336 #line 8337 "configure" |
8327 #include "confdefs.h" | 8337 #include "confdefs.h" |
8328 /* Override any gcc2 internal prototype to avoid an error. */ | 8338 /* Override any gcc2 internal prototype to avoid an error. */ |
8329 /* We use char because int might match the return type of a gcc2 | 8339 /* We use char because int might match the return type of a gcc2 |
8330 builtin and then its argument prototype would still apply. */ | 8340 builtin and then its argument prototype would still apply. */ |
8331 char inflate(); | 8341 char inflate(); |
8332 | 8342 |
8333 int main() { | 8343 int main() { |
8334 inflate() | 8344 inflate() |
8335 ; return 0; } | 8345 ; return 0; } |
8336 EOF | 8346 EOF |
8337 if { (eval echo configure:8338: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8347 if { (eval echo configure:8348: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8338 rm -rf conftest* | 8348 rm -rf conftest* |
8339 eval "ac_cv_lib_$ac_lib_var=yes" | 8349 eval "ac_cv_lib_$ac_lib_var=yes" |
8340 else | 8350 else |
8341 echo "configure: failed program was:" >&5 | 8351 echo "configure: failed program was:" >&5 |
8342 cat conftest.$ac_ext >&5 | 8352 cat conftest.$ac_ext >&5 |
8351 : | 8361 : |
8352 else | 8362 else |
8353 echo "$ac_t""no" 1>&6 | 8363 echo "$ac_t""no" 1>&6 |
8354 | 8364 |
8355 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 | 8365 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 |
8356 echo "configure:8357: checking for inflate in -lz" >&5 | 8366 echo "configure:8367: checking for inflate in -lz" >&5 |
8357 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` | 8367 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` |
8358 | 8368 |
8359 xe_check_libs=" -lz " | 8369 xe_check_libs=" -lz " |
8360 cat > conftest.$ac_ext <<EOF | 8370 cat > conftest.$ac_ext <<EOF |
8361 #line 8362 "configure" | 8371 #line 8372 "configure" |
8362 #include "confdefs.h" | 8372 #include "confdefs.h" |
8363 /* Override any gcc2 internal prototype to avoid an error. */ | 8373 /* Override any gcc2 internal prototype to avoid an error. */ |
8364 /* We use char because int might match the return type of a gcc2 | 8374 /* We use char because int might match the return type of a gcc2 |
8365 builtin and then its argument prototype would still apply. */ | 8375 builtin and then its argument prototype would still apply. */ |
8366 char inflate(); | 8376 char inflate(); |
8367 | 8377 |
8368 int main() { | 8378 int main() { |
8369 inflate() | 8379 inflate() |
8370 ; return 0; } | 8380 ; return 0; } |
8371 EOF | 8381 EOF |
8372 if { (eval echo configure:8373: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8382 if { (eval echo configure:8383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8373 rm -rf conftest* | 8383 rm -rf conftest* |
8374 eval "ac_cv_lib_$ac_lib_var=yes" | 8384 eval "ac_cv_lib_$ac_lib_var=yes" |
8375 else | 8385 else |
8376 echo "configure: failed program was:" >&5 | 8386 echo "configure: failed program was:" >&5 |
8377 cat conftest.$ac_ext >&5 | 8387 cat conftest.$ac_ext >&5 |
8386 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi | 8396 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi |
8387 else | 8397 else |
8388 echo "$ac_t""no" 1>&6 | 8398 echo "$ac_t""no" 1>&6 |
8389 | 8399 |
8390 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 | 8400 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 |
8391 echo "configure:8392: checking for inflate in -lgz" >&5 | 8401 echo "configure:8402: checking for inflate in -lgz" >&5 |
8392 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` | 8402 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` |
8393 | 8403 |
8394 xe_check_libs=" -lgz " | 8404 xe_check_libs=" -lgz " |
8395 cat > conftest.$ac_ext <<EOF | 8405 cat > conftest.$ac_ext <<EOF |
8396 #line 8397 "configure" | 8406 #line 8407 "configure" |
8397 #include "confdefs.h" | 8407 #include "confdefs.h" |
8398 /* Override any gcc2 internal prototype to avoid an error. */ | 8408 /* Override any gcc2 internal prototype to avoid an error. */ |
8399 /* We use char because int might match the return type of a gcc2 | 8409 /* We use char because int might match the return type of a gcc2 |
8400 builtin and then its argument prototype would still apply. */ | 8410 builtin and then its argument prototype would still apply. */ |
8401 char inflate(); | 8411 char inflate(); |
8402 | 8412 |
8403 int main() { | 8413 int main() { |
8404 inflate() | 8414 inflate() |
8405 ; return 0; } | 8415 ; return 0; } |
8406 EOF | 8416 EOF |
8407 if { (eval echo configure:8408: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8417 if { (eval echo configure:8418: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8408 rm -rf conftest* | 8418 rm -rf conftest* |
8409 eval "ac_cv_lib_$ac_lib_var=yes" | 8419 eval "ac_cv_lib_$ac_lib_var=yes" |
8410 else | 8420 else |
8411 echo "configure: failed program was:" >&5 | 8421 echo "configure: failed program was:" >&5 |
8412 cat conftest.$ac_ext >&5 | 8422 cat conftest.$ac_ext >&5 |
8432 | 8442 |
8433 fi | 8443 fi |
8434 | 8444 |
8435 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` | 8445 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` |
8436 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 | 8446 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 |
8437 echo "configure:8438: checking for jpeglib.h" >&5 | 8447 echo "configure:8448: checking for jpeglib.h" >&5 |
8438 | 8448 |
8439 cat > conftest.$ac_ext <<EOF | 8449 cat > conftest.$ac_ext <<EOF |
8440 #line 8441 "configure" | 8450 #line 8451 "configure" |
8441 #include "confdefs.h" | 8451 #include "confdefs.h" |
8442 #include <jpeglib.h> | 8452 #include <jpeglib.h> |
8443 EOF | 8453 EOF |
8444 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8454 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8445 { (eval echo configure:8446: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8455 { (eval echo configure:8456: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8446 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8456 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8447 if test -z "$ac_err"; then | 8457 if test -z "$ac_err"; then |
8448 rm -rf conftest* | 8458 rm -rf conftest* |
8449 eval "ac_cv_header_$ac_safe=yes" | 8459 eval "ac_cv_header_$ac_safe=yes" |
8450 else | 8460 else |
8463 with_jpeg=no | 8473 with_jpeg=no |
8464 fi | 8474 fi |
8465 } | 8475 } |
8466 test -z "$with_jpeg" && { | 8476 test -z "$with_jpeg" && { |
8467 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 | 8477 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 |
8468 echo "configure:8469: checking for jpeg_destroy_decompress in -ljpeg" >&5 | 8478 echo "configure:8479: checking for jpeg_destroy_decompress in -ljpeg" >&5 |
8469 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` | 8479 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` |
8470 | 8480 |
8471 xe_check_libs=" -ljpeg " | 8481 xe_check_libs=" -ljpeg " |
8472 cat > conftest.$ac_ext <<EOF | 8482 cat > conftest.$ac_ext <<EOF |
8473 #line 8474 "configure" | 8483 #line 8484 "configure" |
8474 #include "confdefs.h" | 8484 #include "confdefs.h" |
8475 /* Override any gcc2 internal prototype to avoid an error. */ | 8485 /* Override any gcc2 internal prototype to avoid an error. */ |
8476 /* We use char because int might match the return type of a gcc2 | 8486 /* We use char because int might match the return type of a gcc2 |
8477 builtin and then its argument prototype would still apply. */ | 8487 builtin and then its argument prototype would still apply. */ |
8478 char jpeg_destroy_decompress(); | 8488 char jpeg_destroy_decompress(); |
8479 | 8489 |
8480 int main() { | 8490 int main() { |
8481 jpeg_destroy_decompress() | 8491 jpeg_destroy_decompress() |
8482 ; return 0; } | 8492 ; return 0; } |
8483 EOF | 8493 EOF |
8484 if { (eval echo configure:8485: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8494 if { (eval echo configure:8495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8485 rm -rf conftest* | 8495 rm -rf conftest* |
8486 eval "ac_cv_lib_$ac_lib_var=yes" | 8496 eval "ac_cv_lib_$ac_lib_var=yes" |
8487 else | 8497 else |
8488 echo "configure: failed program was:" >&5 | 8498 echo "configure: failed program was:" >&5 |
8489 cat conftest.$ac_ext >&5 | 8499 cat conftest.$ac_ext >&5 |
8515 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi | 8525 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi |
8516 fi | 8526 fi |
8517 | 8527 |
8518 png_problem="" | 8528 png_problem="" |
8519 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 | 8529 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 |
8520 echo "configure:8521: checking for pow" >&5 | 8530 echo "configure:8531: checking for pow" >&5 |
8521 | 8531 |
8522 cat > conftest.$ac_ext <<EOF | 8532 cat > conftest.$ac_ext <<EOF |
8523 #line 8524 "configure" | 8533 #line 8534 "configure" |
8524 #include "confdefs.h" | 8534 #include "confdefs.h" |
8525 /* System header to define __stub macros and hopefully few prototypes, | 8535 /* System header to define __stub macros and hopefully few prototypes, |
8526 which can conflict with char pow(); below. */ | 8536 which can conflict with char pow(); below. */ |
8527 #include <assert.h> | 8537 #include <assert.h> |
8528 /* Override any gcc2 internal prototype to avoid an error. */ | 8538 /* Override any gcc2 internal prototype to avoid an error. */ |
8541 pow(); | 8551 pow(); |
8542 #endif | 8552 #endif |
8543 | 8553 |
8544 ; return 0; } | 8554 ; return 0; } |
8545 EOF | 8555 EOF |
8546 if { (eval echo configure:8547: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8556 if { (eval echo configure:8557: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8547 rm -rf conftest* | 8557 rm -rf conftest* |
8548 eval "ac_cv_func_pow=yes" | 8558 eval "ac_cv_func_pow=yes" |
8549 else | 8559 else |
8550 echo "configure: failed program was:" >&5 | 8560 echo "configure: failed program was:" >&5 |
8551 cat conftest.$ac_ext >&5 | 8561 cat conftest.$ac_ext >&5 |
8562 with_png=no | 8572 with_png=no |
8563 fi | 8573 fi |
8564 } | 8574 } |
8565 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` | 8575 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` |
8566 echo $ac_n "checking for png.h""... $ac_c" 1>&6 | 8576 echo $ac_n "checking for png.h""... $ac_c" 1>&6 |
8567 echo "configure:8568: checking for png.h" >&5 | 8577 echo "configure:8578: checking for png.h" >&5 |
8568 | 8578 |
8569 cat > conftest.$ac_ext <<EOF | 8579 cat > conftest.$ac_ext <<EOF |
8570 #line 8571 "configure" | 8580 #line 8581 "configure" |
8571 #include "confdefs.h" | 8581 #include "confdefs.h" |
8572 #include <png.h> | 8582 #include <png.h> |
8573 EOF | 8583 EOF |
8574 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8584 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8575 { (eval echo configure:8576: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8585 { (eval echo configure:8586: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8576 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8586 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8577 if test -z "$ac_err"; then | 8587 if test -z "$ac_err"; then |
8578 rm -rf conftest* | 8588 rm -rf conftest* |
8579 eval "ac_cv_header_$ac_safe=yes" | 8589 eval "ac_cv_header_$ac_safe=yes" |
8580 else | 8590 else |
8593 with_png=no | 8603 with_png=no |
8594 fi | 8604 fi |
8595 } | 8605 } |
8596 test -z "$with_png" && { | 8606 test -z "$with_png" && { |
8597 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 | 8607 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 |
8598 echo "configure:8599: checking for png_read_image in -lpng" >&5 | 8608 echo "configure:8609: checking for png_read_image in -lpng" >&5 |
8599 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` | 8609 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` |
8600 | 8610 |
8601 xe_check_libs=" -lpng " | 8611 xe_check_libs=" -lpng " |
8602 cat > conftest.$ac_ext <<EOF | 8612 cat > conftest.$ac_ext <<EOF |
8603 #line 8604 "configure" | 8613 #line 8614 "configure" |
8604 #include "confdefs.h" | 8614 #include "confdefs.h" |
8605 /* Override any gcc2 internal prototype to avoid an error. */ | 8615 /* Override any gcc2 internal prototype to avoid an error. */ |
8606 /* We use char because int might match the return type of a gcc2 | 8616 /* We use char because int might match the return type of a gcc2 |
8607 builtin and then its argument prototype would still apply. */ | 8617 builtin and then its argument prototype would still apply. */ |
8608 char png_read_image(); | 8618 char png_read_image(); |
8609 | 8619 |
8610 int main() { | 8620 int main() { |
8611 png_read_image() | 8621 png_read_image() |
8612 ; return 0; } | 8622 ; return 0; } |
8613 EOF | 8623 EOF |
8614 if { (eval echo configure:8615: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8624 if { (eval echo configure:8625: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8615 rm -rf conftest* | 8625 rm -rf conftest* |
8616 eval "ac_cv_lib_$ac_lib_var=yes" | 8626 eval "ac_cv_lib_$ac_lib_var=yes" |
8617 else | 8627 else |
8618 echo "configure: failed program was:" >&5 | 8628 echo "configure: failed program was:" >&5 |
8619 cat conftest.$ac_ext >&5 | 8629 cat conftest.$ac_ext >&5 |
8632 fi | 8642 fi |
8633 | 8643 |
8634 } | 8644 } |
8635 if test -z "$with_png"; then | 8645 if test -z "$with_png"; then |
8636 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 | 8646 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 |
8637 echo "configure:8638: checking for workable png version information" >&5 | 8647 echo "configure:8648: checking for workable png version information" >&5 |
8638 xe_check_libs="-lpng -lz" | 8648 xe_check_libs="-lpng -lz" |
8639 cat > conftest.$ac_ext <<EOF | 8649 cat > conftest.$ac_ext <<EOF |
8640 #line 8641 "configure" | 8650 #line 8651 "configure" |
8641 #include "confdefs.h" | 8651 #include "confdefs.h" |
8642 #include <png.h> | 8652 #include <png.h> |
8643 int main(int c, char **v) { | 8653 int main(int c, char **v) { |
8644 if (c == 1) return 0; | 8654 if (c == 1) return 0; |
8645 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; | 8655 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; |
8646 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} | 8656 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} |
8647 EOF | 8657 EOF |
8648 if { (eval echo configure:8649: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 8658 if { (eval echo configure:8659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
8649 then | 8659 then |
8650 ./conftest dummy_arg; png_status=$?; | 8660 ./conftest dummy_arg; png_status=$?; |
8651 if test "$png_status" = "0"; then | 8661 if test "$png_status" = "0"; then |
8652 with_png=yes; | 8662 with_png=yes; |
8653 else | 8663 else |
8686 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi | 8696 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi |
8687 fi | 8697 fi |
8688 | 8698 |
8689 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` | 8699 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` |
8690 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 | 8700 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 |
8691 echo "configure:8692: checking for tiffio.h" >&5 | 8701 echo "configure:8702: checking for tiffio.h" >&5 |
8692 | 8702 |
8693 cat > conftest.$ac_ext <<EOF | 8703 cat > conftest.$ac_ext <<EOF |
8694 #line 8695 "configure" | 8704 #line 8705 "configure" |
8695 #include "confdefs.h" | 8705 #include "confdefs.h" |
8696 #include <tiffio.h> | 8706 #include <tiffio.h> |
8697 EOF | 8707 EOF |
8698 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8708 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8699 { (eval echo configure:8700: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8709 { (eval echo configure:8710: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8700 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8710 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8701 if test -z "$ac_err"; then | 8711 if test -z "$ac_err"; then |
8702 rm -rf conftest* | 8712 rm -rf conftest* |
8703 eval "ac_cv_header_$ac_safe=yes" | 8713 eval "ac_cv_header_$ac_safe=yes" |
8704 else | 8714 else |
8717 with_tiff=no | 8727 with_tiff=no |
8718 fi | 8728 fi |
8719 } | 8729 } |
8720 test -z "$with_tiff" && { | 8730 test -z "$with_tiff" && { |
8721 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 | 8731 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 |
8722 echo "configure:8723: checking for TIFFClientOpen in -ltiff" >&5 | 8732 echo "configure:8733: checking for TIFFClientOpen in -ltiff" >&5 |
8723 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` | 8733 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` |
8724 | 8734 |
8725 xe_check_libs=" -ltiff " | 8735 xe_check_libs=" -ltiff " |
8726 cat > conftest.$ac_ext <<EOF | 8736 cat > conftest.$ac_ext <<EOF |
8727 #line 8728 "configure" | 8737 #line 8738 "configure" |
8728 #include "confdefs.h" | 8738 #include "confdefs.h" |
8729 /* Override any gcc2 internal prototype to avoid an error. */ | 8739 /* Override any gcc2 internal prototype to avoid an error. */ |
8730 /* We use char because int might match the return type of a gcc2 | 8740 /* We use char because int might match the return type of a gcc2 |
8731 builtin and then its argument prototype would still apply. */ | 8741 builtin and then its argument prototype would still apply. */ |
8732 char TIFFClientOpen(); | 8742 char TIFFClientOpen(); |
8733 | 8743 |
8734 int main() { | 8744 int main() { |
8735 TIFFClientOpen() | 8745 TIFFClientOpen() |
8736 ; return 0; } | 8746 ; return 0; } |
8737 EOF | 8747 EOF |
8738 if { (eval echo configure:8739: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8748 if { (eval echo configure:8749: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8739 rm -rf conftest* | 8749 rm -rf conftest* |
8740 eval "ac_cv_lib_$ac_lib_var=yes" | 8750 eval "ac_cv_lib_$ac_lib_var=yes" |
8741 else | 8751 else |
8742 echo "configure: failed program was:" >&5 | 8752 echo "configure: failed program was:" >&5 |
8743 cat conftest.$ac_ext >&5 | 8753 cat conftest.$ac_ext >&5 |
8772 | 8782 |
8773 | 8783 |
8774 if test "$with_gtk" = "yes"; then | 8784 if test "$with_gtk" = "yes"; then |
8775 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 8785 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
8776 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 8786 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
8777 echo "configure:8778: checking for compface.h" >&5 | 8787 echo "configure:8788: checking for compface.h" >&5 |
8778 | 8788 |
8779 cat > conftest.$ac_ext <<EOF | 8789 cat > conftest.$ac_ext <<EOF |
8780 #line 8781 "configure" | 8790 #line 8791 "configure" |
8781 #include "confdefs.h" | 8791 #include "confdefs.h" |
8782 #include <compface.h> | 8792 #include <compface.h> |
8783 EOF | 8793 EOF |
8784 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8794 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8785 { (eval echo configure:8786: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8795 { (eval echo configure:8796: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8786 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8796 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8787 if test -z "$ac_err"; then | 8797 if test -z "$ac_err"; then |
8788 rm -rf conftest* | 8798 rm -rf conftest* |
8789 eval "ac_cv_header_$ac_safe=yes" | 8799 eval "ac_cv_header_$ac_safe=yes" |
8790 else | 8800 else |
8803 with_xface=no | 8813 with_xface=no |
8804 fi | 8814 fi |
8805 } | 8815 } |
8806 test -z "$with_xface" && { | 8816 test -z "$with_xface" && { |
8807 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 8817 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
8808 echo "configure:8809: checking for UnGenFace in -lcompface" >&5 | 8818 echo "configure:8819: checking for UnGenFace in -lcompface" >&5 |
8809 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 8819 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
8810 | 8820 |
8811 xe_check_libs=" -lcompface " | 8821 xe_check_libs=" -lcompface " |
8812 cat > conftest.$ac_ext <<EOF | 8822 cat > conftest.$ac_ext <<EOF |
8813 #line 8814 "configure" | 8823 #line 8824 "configure" |
8814 #include "confdefs.h" | 8824 #include "confdefs.h" |
8815 /* Override any gcc2 internal prototype to avoid an error. */ | 8825 /* Override any gcc2 internal prototype to avoid an error. */ |
8816 /* We use char because int might match the return type of a gcc2 | 8826 /* We use char because int might match the return type of a gcc2 |
8817 builtin and then its argument prototype would still apply. */ | 8827 builtin and then its argument prototype would still apply. */ |
8818 char UnGenFace(); | 8828 char UnGenFace(); |
8819 | 8829 |
8820 int main() { | 8830 int main() { |
8821 UnGenFace() | 8831 UnGenFace() |
8822 ; return 0; } | 8832 ; return 0; } |
8823 EOF | 8833 EOF |
8824 if { (eval echo configure:8825: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8834 if { (eval echo configure:8835: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8825 rm -rf conftest* | 8835 rm -rf conftest* |
8826 eval "ac_cv_lib_$ac_lib_var=yes" | 8836 eval "ac_cv_lib_$ac_lib_var=yes" |
8827 else | 8837 else |
8828 echo "configure: failed program was:" >&5 | 8838 echo "configure: failed program was:" >&5 |
8829 cat conftest.$ac_ext >&5 | 8839 cat conftest.$ac_ext >&5 |
8858 | 8868 |
8859 | 8869 |
8860 | 8870 |
8861 if test "$with_x11" = "yes"; then | 8871 if test "$with_x11" = "yes"; then |
8862 echo "checking for X11 graphics libraries" 1>&6 | 8872 echo "checking for X11 graphics libraries" 1>&6 |
8863 echo "configure:8864: checking for X11 graphics libraries" >&5 | 8873 echo "configure:8874: checking for X11 graphics libraries" >&5 |
8864 fi | 8874 fi |
8865 | 8875 |
8866 case "$with_widgets" in | 8876 case "$with_widgets" in |
8867 "yes" | "athena") detect_athena=yes ;; | 8877 "yes" | "athena") detect_athena=yes ;; |
8868 *) detect_athena=no ;; | 8878 *) detect_athena=no ;; |
8869 esac | 8879 esac |
8870 | 8880 |
8871 if test "$with_x11" = "yes" -a "$detect_athena" = "yes" ; then | 8881 if test "$with_x11" = "yes" -a "$detect_athena" = "yes" ; then |
8872 echo "checking for the Athena widgets" 1>&6 | 8882 echo "checking for the Athena widgets" 1>&6 |
8873 echo "configure:8874: checking for the Athena widgets" >&5 | 8883 echo "configure:8884: checking for the Athena widgets" >&5 |
8874 | 8884 |
8875 case "$with_athena" in | 8885 case "$with_athena" in |
8876 "xaw" | "") athena_variant=Xaw athena_3d=no ;; | 8886 "xaw" | "") athena_variant=Xaw athena_3d=no ;; |
8877 "3d") athena_variant=Xaw3d athena_3d=yes ;; | 8887 "3d") athena_variant=Xaw3d athena_3d=yes ;; |
8878 "next") athena_variant=neXtaw athena_3d=yes ;; | 8888 "next") athena_variant=neXtaw athena_3d=yes ;; |
8882 esac | 8892 esac |
8883 | 8893 |
8884 if test "$athena_3d" = "no"; then | 8894 if test "$athena_3d" = "no"; then |
8885 | 8895 |
8886 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 | 8896 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 |
8887 echo "configure:8888: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 | 8897 echo "configure:8898: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 |
8888 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 8898 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
8889 | 8899 |
8890 xe_check_libs=" -l$athena_variant " | 8900 xe_check_libs=" -l$athena_variant " |
8891 cat > conftest.$ac_ext <<EOF | 8901 cat > conftest.$ac_ext <<EOF |
8892 #line 8893 "configure" | 8902 #line 8903 "configure" |
8893 #include "confdefs.h" | 8903 #include "confdefs.h" |
8894 /* Override any gcc2 internal prototype to avoid an error. */ | 8904 /* Override any gcc2 internal prototype to avoid an error. */ |
8895 /* We use char because int might match the return type of a gcc2 | 8905 /* We use char because int might match the return type of a gcc2 |
8896 builtin and then its argument prototype would still apply. */ | 8906 builtin and then its argument prototype would still apply. */ |
8897 char XawScrollbarSetThumb(); | 8907 char XawScrollbarSetThumb(); |
8898 | 8908 |
8899 int main() { | 8909 int main() { |
8900 XawScrollbarSetThumb() | 8910 XawScrollbarSetThumb() |
8901 ; return 0; } | 8911 ; return 0; } |
8902 EOF | 8912 EOF |
8903 if { (eval echo configure:8904: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8913 if { (eval echo configure:8914: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8904 rm -rf conftest* | 8914 rm -rf conftest* |
8905 eval "ac_cv_lib_$ac_lib_var=yes" | 8915 eval "ac_cv_lib_$ac_lib_var=yes" |
8906 else | 8916 else |
8907 echo "configure: failed program was:" >&5 | 8917 echo "configure: failed program was:" >&5 |
8908 cat conftest.$ac_ext >&5 | 8918 cat conftest.$ac_ext >&5 |
8914 | 8924 |
8915 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | 8925 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then |
8916 echo "$ac_t""yes" 1>&6 | 8926 echo "$ac_t""yes" 1>&6 |
8917 | 8927 |
8918 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 | 8928 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 |
8919 echo "configure:8920: checking for threeDClassRec in -l$athena_variant" >&5 | 8929 echo "configure:8930: checking for threeDClassRec in -l$athena_variant" >&5 |
8920 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` | 8930 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` |
8921 | 8931 |
8922 xe_check_libs=" -l$athena_variant " | 8932 xe_check_libs=" -l$athena_variant " |
8923 cat > conftest.$ac_ext <<EOF | 8933 cat > conftest.$ac_ext <<EOF |
8924 #line 8925 "configure" | 8934 #line 8935 "configure" |
8925 #include "confdefs.h" | 8935 #include "confdefs.h" |
8926 /* Override any gcc2 internal prototype to avoid an error. */ | 8936 /* Override any gcc2 internal prototype to avoid an error. */ |
8927 /* We use char because int might match the return type of a gcc2 | 8937 /* We use char because int might match the return type of a gcc2 |
8928 builtin and then its argument prototype would still apply. */ | 8938 builtin and then its argument prototype would still apply. */ |
8929 char threeDClassRec(); | 8939 char threeDClassRec(); |
8930 | 8940 |
8931 int main() { | 8941 int main() { |
8932 threeDClassRec() | 8942 threeDClassRec() |
8933 ; return 0; } | 8943 ; return 0; } |
8934 EOF | 8944 EOF |
8935 if { (eval echo configure:8936: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8945 if { (eval echo configure:8946: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8936 rm -rf conftest* | 8946 rm -rf conftest* |
8937 eval "ac_cv_lib_$ac_lib_var=yes" | 8947 eval "ac_cv_lib_$ac_lib_var=yes" |
8938 else | 8948 else |
8939 echo "configure: failed program was:" >&5 | 8949 echo "configure: failed program was:" >&5 |
8940 cat conftest.$ac_ext >&5 | 8950 cat conftest.$ac_ext >&5 |
8961 | 8971 |
8962 | 8972 |
8963 else | 8973 else |
8964 | 8974 |
8965 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 | 8975 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 |
8966 echo "configure:8967: checking for threeDClassRec in -l$athena_variant" >&5 | 8976 echo "configure:8977: checking for threeDClassRec in -l$athena_variant" >&5 |
8967 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` | 8977 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` |
8968 | 8978 |
8969 xe_check_libs=" -l$athena_variant " | 8979 xe_check_libs=" -l$athena_variant " |
8970 cat > conftest.$ac_ext <<EOF | 8980 cat > conftest.$ac_ext <<EOF |
8971 #line 8972 "configure" | 8981 #line 8982 "configure" |
8972 #include "confdefs.h" | 8982 #include "confdefs.h" |
8973 /* Override any gcc2 internal prototype to avoid an error. */ | 8983 /* Override any gcc2 internal prototype to avoid an error. */ |
8974 /* We use char because int might match the return type of a gcc2 | 8984 /* We use char because int might match the return type of a gcc2 |
8975 builtin and then its argument prototype would still apply. */ | 8985 builtin and then its argument prototype would still apply. */ |
8976 char threeDClassRec(); | 8986 char threeDClassRec(); |
8977 | 8987 |
8978 int main() { | 8988 int main() { |
8979 threeDClassRec() | 8989 threeDClassRec() |
8980 ; return 0; } | 8990 ; return 0; } |
8981 EOF | 8991 EOF |
8982 if { (eval echo configure:8983: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8992 if { (eval echo configure:8993: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8983 rm -rf conftest* | 8993 rm -rf conftest* |
8984 eval "ac_cv_lib_$ac_lib_var=yes" | 8994 eval "ac_cv_lib_$ac_lib_var=yes" |
8985 else | 8995 else |
8986 echo "configure: failed program was:" >&5 | 8996 echo "configure: failed program was:" >&5 |
8987 cat conftest.$ac_ext >&5 | 8997 cat conftest.$ac_ext >&5 |
8995 echo "$ac_t""yes" 1>&6 | 9005 echo "$ac_t""yes" 1>&6 |
8996 athena_lib=$athena_variant | 9006 athena_lib=$athena_variant |
8997 else | 9007 else |
8998 echo "$ac_t""no" 1>&6 | 9008 echo "$ac_t""no" 1>&6 |
8999 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 | 9009 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 |
9000 echo "configure:9001: checking for threeDClassRec in -lXaw" >&5 | 9010 echo "configure:9011: checking for threeDClassRec in -lXaw" >&5 |
9001 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` | 9011 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` |
9002 | 9012 |
9003 xe_check_libs=" -lXaw " | 9013 xe_check_libs=" -lXaw " |
9004 cat > conftest.$ac_ext <<EOF | 9014 cat > conftest.$ac_ext <<EOF |
9005 #line 9006 "configure" | 9015 #line 9016 "configure" |
9006 #include "confdefs.h" | 9016 #include "confdefs.h" |
9007 /* Override any gcc2 internal prototype to avoid an error. */ | 9017 /* Override any gcc2 internal prototype to avoid an error. */ |
9008 /* We use char because int might match the return type of a gcc2 | 9018 /* We use char because int might match the return type of a gcc2 |
9009 builtin and then its argument prototype would still apply. */ | 9019 builtin and then its argument prototype would still apply. */ |
9010 char threeDClassRec(); | 9020 char threeDClassRec(); |
9011 | 9021 |
9012 int main() { | 9022 int main() { |
9013 threeDClassRec() | 9023 threeDClassRec() |
9014 ; return 0; } | 9024 ; return 0; } |
9015 EOF | 9025 EOF |
9016 if { (eval echo configure:9017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9026 if { (eval echo configure:9027: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9017 rm -rf conftest* | 9027 rm -rf conftest* |
9018 eval "ac_cv_lib_$ac_lib_var=yes" | 9028 eval "ac_cv_lib_$ac_lib_var=yes" |
9019 else | 9029 else |
9020 echo "configure: failed program was:" >&5 | 9030 echo "configure: failed program was:" >&5 |
9021 cat conftest.$ac_ext >&5 | 9031 cat conftest.$ac_ext >&5 |
9042 fi | 9052 fi |
9043 | 9053 |
9044 if test "$athena_3d" = "no"; then | 9054 if test "$athena_3d" = "no"; then |
9045 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | 9055 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` |
9046 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | 9056 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 |
9047 echo "configure:9048: checking for X11/Xaw/ThreeD.h" >&5 | 9057 echo "configure:9058: checking for X11/Xaw/ThreeD.h" >&5 |
9048 | 9058 |
9049 cat > conftest.$ac_ext <<EOF | 9059 cat > conftest.$ac_ext <<EOF |
9050 #line 9051 "configure" | 9060 #line 9061 "configure" |
9051 #include "confdefs.h" | 9061 #include "confdefs.h" |
9052 #include <X11/Xaw/ThreeD.h> | 9062 #include <X11/Xaw/ThreeD.h> |
9053 EOF | 9063 EOF |
9054 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9064 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9055 { (eval echo configure:9056: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9065 { (eval echo configure:9066: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9056 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9066 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9057 if test -z "$ac_err"; then | 9067 if test -z "$ac_err"; then |
9058 rm -rf conftest* | 9068 rm -rf conftest* |
9059 eval "ac_cv_header_$ac_safe=yes" | 9069 eval "ac_cv_header_$ac_safe=yes" |
9060 else | 9070 else |
9070 echo "configure: warning: Could not find a non-3d Athena header set." 1>&2 | 9080 echo "configure: warning: Could not find a non-3d Athena header set." 1>&2 |
9071 else | 9081 else |
9072 echo "$ac_t""no" 1>&6 | 9082 echo "$ac_t""no" 1>&6 |
9073 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` | 9083 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` |
9074 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 | 9084 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 |
9075 echo "configure:9076: checking for X11/Xaw/XawInit.h" >&5 | 9085 echo "configure:9086: checking for X11/Xaw/XawInit.h" >&5 |
9076 | 9086 |
9077 cat > conftest.$ac_ext <<EOF | 9087 cat > conftest.$ac_ext <<EOF |
9078 #line 9079 "configure" | 9088 #line 9089 "configure" |
9079 #include "confdefs.h" | 9089 #include "confdefs.h" |
9080 #include <X11/Xaw/XawInit.h> | 9090 #include <X11/Xaw/XawInit.h> |
9081 EOF | 9091 EOF |
9082 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9092 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9083 { (eval echo configure:9084: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9093 { (eval echo configure:9094: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9084 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9094 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9085 if test -z "$ac_err"; then | 9095 if test -z "$ac_err"; then |
9086 rm -rf conftest* | 9096 rm -rf conftest* |
9087 eval "ac_cv_header_$ac_safe=yes" | 9097 eval "ac_cv_header_$ac_safe=yes" |
9088 else | 9098 else |
9104 fi | 9114 fi |
9105 | 9115 |
9106 else | 9116 else |
9107 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` | 9117 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` |
9108 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 | 9118 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 |
9109 echo "configure:9110: checking for X11/$athena_variant/XawInit.h" >&5 | 9119 echo "configure:9120: checking for X11/$athena_variant/XawInit.h" >&5 |
9110 | 9120 |
9111 cat > conftest.$ac_ext <<EOF | 9121 cat > conftest.$ac_ext <<EOF |
9112 #line 9113 "configure" | 9122 #line 9123 "configure" |
9113 #include "confdefs.h" | 9123 #include "confdefs.h" |
9114 #include <X11/$athena_variant/XawInit.h> | 9124 #include <X11/$athena_variant/XawInit.h> |
9115 EOF | 9125 EOF |
9116 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9126 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9117 { (eval echo configure:9118: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9127 { (eval echo configure:9128: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9118 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9128 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9119 if test -z "$ac_err"; then | 9129 if test -z "$ac_err"; then |
9120 rm -rf conftest* | 9130 rm -rf conftest* |
9121 eval "ac_cv_header_$ac_safe=yes" | 9131 eval "ac_cv_header_$ac_safe=yes" |
9122 else | 9132 else |
9129 rm -f conftest* | 9139 rm -f conftest* |
9130 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9140 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9131 echo "$ac_t""yes" 1>&6 | 9141 echo "$ac_t""yes" 1>&6 |
9132 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` | 9142 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` |
9133 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 | 9143 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 |
9134 echo "configure:9135: checking for X11/$athena_variant/ThreeD.h" >&5 | 9144 echo "configure:9145: checking for X11/$athena_variant/ThreeD.h" >&5 |
9135 | 9145 |
9136 cat > conftest.$ac_ext <<EOF | 9146 cat > conftest.$ac_ext <<EOF |
9137 #line 9138 "configure" | 9147 #line 9148 "configure" |
9138 #include "confdefs.h" | 9148 #include "confdefs.h" |
9139 #include <X11/$athena_variant/ThreeD.h> | 9149 #include <X11/$athena_variant/ThreeD.h> |
9140 EOF | 9150 EOF |
9141 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9151 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9142 { (eval echo configure:9143: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9152 { (eval echo configure:9153: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9143 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9153 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9144 if test -z "$ac_err"; then | 9154 if test -z "$ac_err"; then |
9145 rm -rf conftest* | 9155 rm -rf conftest* |
9146 eval "ac_cv_header_$ac_safe=yes" | 9156 eval "ac_cv_header_$ac_safe=yes" |
9147 else | 9157 else |
9165 | 9175 |
9166 | 9176 |
9167 if test -z "$athena_h_path"; then | 9177 if test -z "$athena_h_path"; then |
9168 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` | 9178 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` |
9169 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 | 9179 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 |
9170 echo "configure:9171: checking for $athena_variant/XawInit.h" >&5 | 9180 echo "configure:9181: checking for $athena_variant/XawInit.h" >&5 |
9171 | 9181 |
9172 cat > conftest.$ac_ext <<EOF | 9182 cat > conftest.$ac_ext <<EOF |
9173 #line 9174 "configure" | 9183 #line 9184 "configure" |
9174 #include "confdefs.h" | 9184 #include "confdefs.h" |
9175 #include <$athena_variant/XawInit.h> | 9185 #include <$athena_variant/XawInit.h> |
9176 EOF | 9186 EOF |
9177 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9187 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9178 { (eval echo configure:9179: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9188 { (eval echo configure:9189: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9179 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9189 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9180 if test -z "$ac_err"; then | 9190 if test -z "$ac_err"; then |
9181 rm -rf conftest* | 9191 rm -rf conftest* |
9182 eval "ac_cv_header_$ac_safe=yes" | 9192 eval "ac_cv_header_$ac_safe=yes" |
9183 else | 9193 else |
9190 rm -f conftest* | 9200 rm -f conftest* |
9191 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9201 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9192 echo "$ac_t""yes" 1>&6 | 9202 echo "$ac_t""yes" 1>&6 |
9193 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` | 9203 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` |
9194 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 | 9204 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 |
9195 echo "configure:9196: checking for $athena_variant/ThreeD.h" >&5 | 9205 echo "configure:9206: checking for $athena_variant/ThreeD.h" >&5 |
9196 | 9206 |
9197 cat > conftest.$ac_ext <<EOF | 9207 cat > conftest.$ac_ext <<EOF |
9198 #line 9199 "configure" | 9208 #line 9209 "configure" |
9199 #include "confdefs.h" | 9209 #include "confdefs.h" |
9200 #include <$athena_variant/ThreeD.h> | 9210 #include <$athena_variant/ThreeD.h> |
9201 EOF | 9211 EOF |
9202 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9212 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9203 { (eval echo configure:9204: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9213 { (eval echo configure:9214: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9204 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9214 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9205 if test -z "$ac_err"; then | 9215 if test -z "$ac_err"; then |
9206 rm -rf conftest* | 9216 rm -rf conftest* |
9207 eval "ac_cv_header_$ac_safe=yes" | 9217 eval "ac_cv_header_$ac_safe=yes" |
9208 else | 9218 else |
9227 fi | 9237 fi |
9228 | 9238 |
9229 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then | 9239 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then |
9230 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` | 9240 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` |
9231 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 | 9241 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 |
9232 echo "configure:9233: checking for X11/Xaw3d/XawInit.h" >&5 | 9242 echo "configure:9243: checking for X11/Xaw3d/XawInit.h" >&5 |
9233 | 9243 |
9234 cat > conftest.$ac_ext <<EOF | 9244 cat > conftest.$ac_ext <<EOF |
9235 #line 9236 "configure" | 9245 #line 9246 "configure" |
9236 #include "confdefs.h" | 9246 #include "confdefs.h" |
9237 #include <X11/Xaw3d/XawInit.h> | 9247 #include <X11/Xaw3d/XawInit.h> |
9238 EOF | 9248 EOF |
9239 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9249 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9240 { (eval echo configure:9241: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9250 { (eval echo configure:9251: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9241 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9251 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9242 if test -z "$ac_err"; then | 9252 if test -z "$ac_err"; then |
9243 rm -rf conftest* | 9253 rm -rf conftest* |
9244 eval "ac_cv_header_$ac_safe=yes" | 9254 eval "ac_cv_header_$ac_safe=yes" |
9245 else | 9255 else |
9252 rm -f conftest* | 9262 rm -f conftest* |
9253 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9263 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9254 echo "$ac_t""yes" 1>&6 | 9264 echo "$ac_t""yes" 1>&6 |
9255 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` | 9265 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` |
9256 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 | 9266 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 |
9257 echo "configure:9258: checking for X11/Xaw3d/ThreeD.h" >&5 | 9267 echo "configure:9268: checking for X11/Xaw3d/ThreeD.h" >&5 |
9258 | 9268 |
9259 cat > conftest.$ac_ext <<EOF | 9269 cat > conftest.$ac_ext <<EOF |
9260 #line 9261 "configure" | 9270 #line 9271 "configure" |
9261 #include "confdefs.h" | 9271 #include "confdefs.h" |
9262 #include <X11/Xaw3d/ThreeD.h> | 9272 #include <X11/Xaw3d/ThreeD.h> |
9263 EOF | 9273 EOF |
9264 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9274 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9265 { (eval echo configure:9266: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9275 { (eval echo configure:9276: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9266 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9276 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9267 if test -z "$ac_err"; then | 9277 if test -z "$ac_err"; then |
9268 rm -rf conftest* | 9278 rm -rf conftest* |
9269 eval "ac_cv_header_$ac_safe=yes" | 9279 eval "ac_cv_header_$ac_safe=yes" |
9270 else | 9280 else |
9292 fi | 9302 fi |
9293 | 9303 |
9294 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then | 9304 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then |
9295 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` | 9305 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` |
9296 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 | 9306 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 |
9297 echo "configure:9298: checking for Xaw3d/XawInit.h" >&5 | 9307 echo "configure:9308: checking for Xaw3d/XawInit.h" >&5 |
9298 | 9308 |
9299 cat > conftest.$ac_ext <<EOF | 9309 cat > conftest.$ac_ext <<EOF |
9300 #line 9301 "configure" | 9310 #line 9311 "configure" |
9301 #include "confdefs.h" | 9311 #include "confdefs.h" |
9302 #include <Xaw3d/XawInit.h> | 9312 #include <Xaw3d/XawInit.h> |
9303 EOF | 9313 EOF |
9304 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9314 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9305 { (eval echo configure:9306: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9315 { (eval echo configure:9316: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9306 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9316 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9307 if test -z "$ac_err"; then | 9317 if test -z "$ac_err"; then |
9308 rm -rf conftest* | 9318 rm -rf conftest* |
9309 eval "ac_cv_header_$ac_safe=yes" | 9319 eval "ac_cv_header_$ac_safe=yes" |
9310 else | 9320 else |
9317 rm -f conftest* | 9327 rm -f conftest* |
9318 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9328 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9319 echo "$ac_t""yes" 1>&6 | 9329 echo "$ac_t""yes" 1>&6 |
9320 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` | 9330 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` |
9321 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 | 9331 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 |
9322 echo "configure:9323: checking for Xaw3d/ThreeD.h" >&5 | 9332 echo "configure:9333: checking for Xaw3d/ThreeD.h" >&5 |
9323 | 9333 |
9324 cat > conftest.$ac_ext <<EOF | 9334 cat > conftest.$ac_ext <<EOF |
9325 #line 9326 "configure" | 9335 #line 9336 "configure" |
9326 #include "confdefs.h" | 9336 #include "confdefs.h" |
9327 #include <Xaw3d/ThreeD.h> | 9337 #include <Xaw3d/ThreeD.h> |
9328 EOF | 9338 EOF |
9329 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9339 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9330 { (eval echo configure:9331: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9340 { (eval echo configure:9341: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9331 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9341 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9332 if test -z "$ac_err"; then | 9342 if test -z "$ac_err"; then |
9333 rm -rf conftest* | 9343 rm -rf conftest* |
9334 eval "ac_cv_header_$ac_safe=yes" | 9344 eval "ac_cv_header_$ac_safe=yes" |
9335 else | 9345 else |
9357 fi | 9367 fi |
9358 | 9368 |
9359 if test -z "$athena_h_path"; then | 9369 if test -z "$athena_h_path"; then |
9360 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | 9370 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` |
9361 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | 9371 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 |
9362 echo "configure:9363: checking for X11/Xaw/ThreeD.h" >&5 | 9372 echo "configure:9373: checking for X11/Xaw/ThreeD.h" >&5 |
9363 | 9373 |
9364 cat > conftest.$ac_ext <<EOF | 9374 cat > conftest.$ac_ext <<EOF |
9365 #line 9366 "configure" | 9375 #line 9376 "configure" |
9366 #include "confdefs.h" | 9376 #include "confdefs.h" |
9367 #include <X11/Xaw/ThreeD.h> | 9377 #include <X11/Xaw/ThreeD.h> |
9368 EOF | 9378 EOF |
9369 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9379 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9370 { (eval echo configure:9371: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9380 { (eval echo configure:9381: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9371 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9381 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9372 if test -z "$ac_err"; then | 9382 if test -z "$ac_err"; then |
9373 rm -rf conftest* | 9383 rm -rf conftest* |
9374 eval "ac_cv_header_$ac_safe=yes" | 9384 eval "ac_cv_header_$ac_safe=yes" |
9375 else | 9385 else |
9404 have_xaw=no | 9414 have_xaw=no |
9405 fi | 9415 fi |
9406 if test "$with_x11" = "yes"; then | 9416 if test "$with_x11" = "yes"; then |
9407 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 9417 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
9408 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 9418 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
9409 echo "configure:9410: checking for Xm/Xm.h" >&5 | 9419 echo "configure:9420: checking for Xm/Xm.h" >&5 |
9410 | 9420 |
9411 cat > conftest.$ac_ext <<EOF | 9421 cat > conftest.$ac_ext <<EOF |
9412 #line 9413 "configure" | 9422 #line 9423 "configure" |
9413 #include "confdefs.h" | 9423 #include "confdefs.h" |
9414 #include <Xm/Xm.h> | 9424 #include <Xm/Xm.h> |
9415 EOF | 9425 EOF |
9416 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9426 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9417 { (eval echo configure:9418: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9427 { (eval echo configure:9428: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9418 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9428 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9419 if test -z "$ac_err"; then | 9429 if test -z "$ac_err"; then |
9420 rm -rf conftest* | 9430 rm -rf conftest* |
9421 eval "ac_cv_header_$ac_safe=yes" | 9431 eval "ac_cv_header_$ac_safe=yes" |
9422 else | 9432 else |
9429 rm -f conftest* | 9439 rm -f conftest* |
9430 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9440 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9431 echo "$ac_t""yes" 1>&6 | 9441 echo "$ac_t""yes" 1>&6 |
9432 | 9442 |
9433 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 9443 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
9434 echo "configure:9435: checking for XmStringFree in -lXm" >&5 | 9444 echo "configure:9445: checking for XmStringFree in -lXm" >&5 |
9435 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 9445 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
9436 | 9446 |
9437 xe_check_libs=" -lXm " | 9447 xe_check_libs=" -lXm " |
9438 cat > conftest.$ac_ext <<EOF | 9448 cat > conftest.$ac_ext <<EOF |
9439 #line 9440 "configure" | 9449 #line 9450 "configure" |
9440 #include "confdefs.h" | 9450 #include "confdefs.h" |
9441 /* Override any gcc2 internal prototype to avoid an error. */ | 9451 /* Override any gcc2 internal prototype to avoid an error. */ |
9442 /* We use char because int might match the return type of a gcc2 | 9452 /* We use char because int might match the return type of a gcc2 |
9443 builtin and then its argument prototype would still apply. */ | 9453 builtin and then its argument prototype would still apply. */ |
9444 char XmStringFree(); | 9454 char XmStringFree(); |
9445 | 9455 |
9446 int main() { | 9456 int main() { |
9447 XmStringFree() | 9457 XmStringFree() |
9448 ; return 0; } | 9458 ; return 0; } |
9449 EOF | 9459 EOF |
9450 if { (eval echo configure:9451: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9460 if { (eval echo configure:9461: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9451 rm -rf conftest* | 9461 rm -rf conftest* |
9452 eval "ac_cv_lib_$ac_lib_var=yes" | 9462 eval "ac_cv_lib_$ac_lib_var=yes" |
9453 else | 9463 else |
9454 echo "configure: failed program was:" >&5 | 9464 echo "configure: failed program was:" >&5 |
9455 cat conftest.$ac_ext >&5 | 9465 cat conftest.$ac_ext >&5 |
9474 fi | 9484 fi |
9475 | 9485 |
9476 | 9486 |
9477 if test "$have_motif" = "yes"; then | 9487 if test "$have_motif" = "yes"; then |
9478 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 | 9488 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 |
9479 echo "configure:9480: checking for Lesstif" >&5 | 9489 echo "configure:9490: checking for Lesstif" >&5 |
9480 cat > conftest.$ac_ext <<EOF | 9490 cat > conftest.$ac_ext <<EOF |
9481 #line 9482 "configure" | 9491 #line 9492 "configure" |
9482 #include "confdefs.h" | 9492 #include "confdefs.h" |
9483 #include <Xm/Xm.h> | 9493 #include <Xm/Xm.h> |
9484 #ifdef LESSTIF_VERSION | 9494 #ifdef LESSTIF_VERSION |
9485 yes | 9495 yes |
9486 #endif | 9496 #endif |
9849 | 9859 |
9850 fi | 9860 fi |
9851 | 9861 |
9852 if test "$with_mule" = "yes" ; then | 9862 if test "$with_mule" = "yes" ; then |
9853 echo "checking for Mule-related features" 1>&6 | 9863 echo "checking for Mule-related features" 1>&6 |
9854 echo "configure:9855: checking for Mule-related features" >&5 | 9864 echo "configure:9865: checking for Mule-related features" >&5 |
9855 { test "$extra_verbose" = "yes" && cat << \EOF | 9865 { test "$extra_verbose" = "yes" && cat << \EOF |
9856 Defining MULE | 9866 Defining MULE |
9857 EOF | 9867 EOF |
9858 cat >> confdefs.h <<\EOF | 9868 cat >> confdefs.h <<\EOF |
9859 #define MULE 1 | 9869 #define MULE 1 |
9863 | 9873 |
9864 for ac_hdr in libintl.h | 9874 for ac_hdr in libintl.h |
9865 do | 9875 do |
9866 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 9876 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
9867 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 9877 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
9868 echo "configure:9869: checking for $ac_hdr" >&5 | 9878 echo "configure:9879: checking for $ac_hdr" >&5 |
9869 | 9879 |
9870 cat > conftest.$ac_ext <<EOF | 9880 cat > conftest.$ac_ext <<EOF |
9871 #line 9872 "configure" | 9881 #line 9882 "configure" |
9872 #include "confdefs.h" | 9882 #include "confdefs.h" |
9873 #include <$ac_hdr> | 9883 #include <$ac_hdr> |
9874 EOF | 9884 EOF |
9875 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9885 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9876 { (eval echo configure:9877: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9886 { (eval echo configure:9887: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9877 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9887 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9878 if test -z "$ac_err"; then | 9888 if test -z "$ac_err"; then |
9879 rm -rf conftest* | 9889 rm -rf conftest* |
9880 eval "ac_cv_header_$ac_safe=yes" | 9890 eval "ac_cv_header_$ac_safe=yes" |
9881 else | 9891 else |
9902 fi | 9912 fi |
9903 done | 9913 done |
9904 | 9914 |
9905 | 9915 |
9906 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 | 9916 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 |
9907 echo "configure:9908: checking for strerror in -lintl" >&5 | 9917 echo "configure:9918: checking for strerror in -lintl" >&5 |
9908 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` | 9918 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` |
9909 | 9919 |
9910 xe_check_libs=" -lintl " | 9920 xe_check_libs=" -lintl " |
9911 cat > conftest.$ac_ext <<EOF | 9921 cat > conftest.$ac_ext <<EOF |
9912 #line 9913 "configure" | 9922 #line 9923 "configure" |
9913 #include "confdefs.h" | 9923 #include "confdefs.h" |
9914 /* Override any gcc2 internal prototype to avoid an error. */ | 9924 /* Override any gcc2 internal prototype to avoid an error. */ |
9915 /* We use char because int might match the return type of a gcc2 | 9925 /* We use char because int might match the return type of a gcc2 |
9916 builtin and then its argument prototype would still apply. */ | 9926 builtin and then its argument prototype would still apply. */ |
9917 char strerror(); | 9927 char strerror(); |
9918 | 9928 |
9919 int main() { | 9929 int main() { |
9920 strerror() | 9930 strerror() |
9921 ; return 0; } | 9931 ; return 0; } |
9922 EOF | 9932 EOF |
9923 if { (eval echo configure:9924: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9933 if { (eval echo configure:9934: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9924 rm -rf conftest* | 9934 rm -rf conftest* |
9925 eval "ac_cv_lib_$ac_lib_var=yes" | 9935 eval "ac_cv_lib_$ac_lib_var=yes" |
9926 else | 9936 else |
9927 echo "configure: failed program was:" >&5 | 9937 echo "configure: failed program was:" >&5 |
9928 cat conftest.$ac_ext >&5 | 9938 cat conftest.$ac_ext >&5 |
9951 fi | 9961 fi |
9952 | 9962 |
9953 | 9963 |
9954 | 9964 |
9955 echo "checking for Mule input methods" 1>&6 | 9965 echo "checking for Mule input methods" 1>&6 |
9956 echo "configure:9957: checking for Mule input methods" >&5 | 9966 echo "configure:9967: checking for Mule input methods" >&5 |
9957 case "$with_xim" in "" | "yes" ) | 9967 case "$with_xim" in "" | "yes" ) |
9958 echo "checking for XIM" 1>&6 | 9968 echo "checking for XIM" 1>&6 |
9959 echo "configure:9960: checking for XIM" >&5 | 9969 echo "configure:9970: checking for XIM" >&5 |
9960 | 9970 |
9961 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 | 9971 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 |
9962 echo "configure:9963: checking for XOpenIM in -lX11" >&5 | 9972 echo "configure:9973: checking for XOpenIM in -lX11" >&5 |
9963 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` | 9973 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` |
9964 | 9974 |
9965 xe_check_libs=" -lX11 " | 9975 xe_check_libs=" -lX11 " |
9966 cat > conftest.$ac_ext <<EOF | 9976 cat > conftest.$ac_ext <<EOF |
9967 #line 9968 "configure" | 9977 #line 9978 "configure" |
9968 #include "confdefs.h" | 9978 #include "confdefs.h" |
9969 /* Override any gcc2 internal prototype to avoid an error. */ | 9979 /* Override any gcc2 internal prototype to avoid an error. */ |
9970 /* We use char because int might match the return type of a gcc2 | 9980 /* We use char because int might match the return type of a gcc2 |
9971 builtin and then its argument prototype would still apply. */ | 9981 builtin and then its argument prototype would still apply. */ |
9972 char XOpenIM(); | 9982 char XOpenIM(); |
9973 | 9983 |
9974 int main() { | 9984 int main() { |
9975 XOpenIM() | 9985 XOpenIM() |
9976 ; return 0; } | 9986 ; return 0; } |
9977 EOF | 9987 EOF |
9978 if { (eval echo configure:9979: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9988 if { (eval echo configure:9989: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9979 rm -rf conftest* | 9989 rm -rf conftest* |
9980 eval "ac_cv_lib_$ac_lib_var=yes" | 9990 eval "ac_cv_lib_$ac_lib_var=yes" |
9981 else | 9991 else |
9982 echo "configure: failed program was:" >&5 | 9992 echo "configure: failed program was:" >&5 |
9983 cat conftest.$ac_ext >&5 | 9993 cat conftest.$ac_ext >&5 |
9997 | 10007 |
9998 | 10008 |
9999 if test "$have_motif $have_lesstif" = "yes no"; then | 10009 if test "$have_motif $have_lesstif" = "yes no"; then |
10000 | 10010 |
10001 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 | 10011 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 |
10002 echo "configure:10003: checking for XmImMbLookupString in -lXm" >&5 | 10012 echo "configure:10013: checking for XmImMbLookupString in -lXm" >&5 |
10003 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` | 10013 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` |
10004 | 10014 |
10005 xe_check_libs=" -lXm " | 10015 xe_check_libs=" -lXm " |
10006 cat > conftest.$ac_ext <<EOF | 10016 cat > conftest.$ac_ext <<EOF |
10007 #line 10008 "configure" | 10017 #line 10018 "configure" |
10008 #include "confdefs.h" | 10018 #include "confdefs.h" |
10009 /* Override any gcc2 internal prototype to avoid an error. */ | 10019 /* Override any gcc2 internal prototype to avoid an error. */ |
10010 /* We use char because int might match the return type of a gcc2 | 10020 /* We use char because int might match the return type of a gcc2 |
10011 builtin and then its argument prototype would still apply. */ | 10021 builtin and then its argument prototype would still apply. */ |
10012 char XmImMbLookupString(); | 10022 char XmImMbLookupString(); |
10013 | 10023 |
10014 int main() { | 10024 int main() { |
10015 XmImMbLookupString() | 10025 XmImMbLookupString() |
10016 ; return 0; } | 10026 ; return 0; } |
10017 EOF | 10027 EOF |
10018 if { (eval echo configure:10019: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10028 if { (eval echo configure:10029: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10019 rm -rf conftest* | 10029 rm -rf conftest* |
10020 eval "ac_cv_lib_$ac_lib_var=yes" | 10030 eval "ac_cv_lib_$ac_lib_var=yes" |
10021 else | 10031 else |
10022 echo "configure: failed program was:" >&5 | 10032 echo "configure: failed program was:" >&5 |
10023 cat conftest.$ac_ext >&5 | 10033 cat conftest.$ac_ext >&5 |
10078 fi | 10088 fi |
10079 fi | 10089 fi |
10080 | 10090 |
10081 if test "$with_xfs" = "yes" ; then | 10091 if test "$with_xfs" = "yes" ; then |
10082 echo "checking for XFontSet" 1>&6 | 10092 echo "checking for XFontSet" 1>&6 |
10083 echo "configure:10084: checking for XFontSet" >&5 | 10093 echo "configure:10094: checking for XFontSet" >&5 |
10084 | 10094 |
10085 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 | 10095 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 |
10086 echo "configure:10087: checking for XmbDrawString in -lX11" >&5 | 10096 echo "configure:10097: checking for XmbDrawString in -lX11" >&5 |
10087 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` | 10097 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` |
10088 | 10098 |
10089 xe_check_libs=" -lX11 " | 10099 xe_check_libs=" -lX11 " |
10090 cat > conftest.$ac_ext <<EOF | 10100 cat > conftest.$ac_ext <<EOF |
10091 #line 10092 "configure" | 10101 #line 10102 "configure" |
10092 #include "confdefs.h" | 10102 #include "confdefs.h" |
10093 /* Override any gcc2 internal prototype to avoid an error. */ | 10103 /* Override any gcc2 internal prototype to avoid an error. */ |
10094 /* We use char because int might match the return type of a gcc2 | 10104 /* We use char because int might match the return type of a gcc2 |
10095 builtin and then its argument prototype would still apply. */ | 10105 builtin and then its argument prototype would still apply. */ |
10096 char XmbDrawString(); | 10106 char XmbDrawString(); |
10097 | 10107 |
10098 int main() { | 10108 int main() { |
10099 XmbDrawString() | 10109 XmbDrawString() |
10100 ; return 0; } | 10110 ; return 0; } |
10101 EOF | 10111 EOF |
10102 if { (eval echo configure:10103: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10112 if { (eval echo configure:10113: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10103 rm -rf conftest* | 10113 rm -rf conftest* |
10104 eval "ac_cv_lib_$ac_lib_var=yes" | 10114 eval "ac_cv_lib_$ac_lib_var=yes" |
10105 else | 10115 else |
10106 echo "configure: failed program was:" >&5 | 10116 echo "configure: failed program was:" >&5 |
10107 cat conftest.$ac_ext >&5 | 10117 cat conftest.$ac_ext >&5 |
10137 fi | 10147 fi |
10138 fi | 10148 fi |
10139 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support | 10149 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support |
10140 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` | 10150 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` |
10141 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 | 10151 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 |
10142 echo "configure:10143: checking for wnn/jllib.h" >&5 | 10152 echo "configure:10153: checking for wnn/jllib.h" >&5 |
10143 | 10153 |
10144 cat > conftest.$ac_ext <<EOF | 10154 cat > conftest.$ac_ext <<EOF |
10145 #line 10146 "configure" | 10155 #line 10156 "configure" |
10146 #include "confdefs.h" | 10156 #include "confdefs.h" |
10147 #include <wnn/jllib.h> | 10157 #include <wnn/jllib.h> |
10148 EOF | 10158 EOF |
10149 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10159 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10150 { (eval echo configure:10151: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10160 { (eval echo configure:10161: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10151 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10161 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10152 if test -z "$ac_err"; then | 10162 if test -z "$ac_err"; then |
10153 rm -rf conftest* | 10163 rm -rf conftest* |
10154 eval "ac_cv_header_$ac_safe=yes" | 10164 eval "ac_cv_header_$ac_safe=yes" |
10155 else | 10165 else |
10168 with_wnn=no | 10178 with_wnn=no |
10169 fi | 10179 fi |
10170 } | 10180 } |
10171 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'` | 10181 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'` |
10172 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6 | 10182 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6 |
10173 echo "configure:10174: checking for wnn/commonhd.h" >&5 | 10183 echo "configure:10184: checking for wnn/commonhd.h" >&5 |
10174 | 10184 |
10175 cat > conftest.$ac_ext <<EOF | 10185 cat > conftest.$ac_ext <<EOF |
10176 #line 10177 "configure" | 10186 #line 10187 "configure" |
10177 #include "confdefs.h" | 10187 #include "confdefs.h" |
10178 #include <wnn/commonhd.h> | 10188 #include <wnn/commonhd.h> |
10179 EOF | 10189 EOF |
10180 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10190 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10181 { (eval echo configure:10182: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10191 { (eval echo configure:10192: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10182 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10192 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10183 if test -z "$ac_err"; then | 10193 if test -z "$ac_err"; then |
10184 rm -rf conftest* | 10194 rm -rf conftest* |
10185 eval "ac_cv_header_$ac_safe=yes" | 10195 eval "ac_cv_header_$ac_safe=yes" |
10186 else | 10196 else |
10201 } | 10211 } |
10202 if test "$with_wnn" != "no"; then | 10212 if test "$with_wnn" != "no"; then |
10203 for ac_func in crypt | 10213 for ac_func in crypt |
10204 do | 10214 do |
10205 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 10215 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
10206 echo "configure:10207: checking for $ac_func" >&5 | 10216 echo "configure:10217: checking for $ac_func" >&5 |
10207 | 10217 |
10208 cat > conftest.$ac_ext <<EOF | 10218 cat > conftest.$ac_ext <<EOF |
10209 #line 10210 "configure" | 10219 #line 10220 "configure" |
10210 #include "confdefs.h" | 10220 #include "confdefs.h" |
10211 /* System header to define __stub macros and hopefully few prototypes, | 10221 /* System header to define __stub macros and hopefully few prototypes, |
10212 which can conflict with char $ac_func(); below. */ | 10222 which can conflict with char $ac_func(); below. */ |
10213 #include <assert.h> | 10223 #include <assert.h> |
10214 /* Override any gcc2 internal prototype to avoid an error. */ | 10224 /* Override any gcc2 internal prototype to avoid an error. */ |
10227 $ac_func(); | 10237 $ac_func(); |
10228 #endif | 10238 #endif |
10229 | 10239 |
10230 ; return 0; } | 10240 ; return 0; } |
10231 EOF | 10241 EOF |
10232 if { (eval echo configure:10233: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10242 if { (eval echo configure:10243: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10233 rm -rf conftest* | 10243 rm -rf conftest* |
10234 eval "ac_cv_func_$ac_func=yes" | 10244 eval "ac_cv_func_$ac_func=yes" |
10235 else | 10245 else |
10236 echo "configure: failed program was:" >&5 | 10246 echo "configure: failed program was:" >&5 |
10237 cat conftest.$ac_ext >&5 | 10247 cat conftest.$ac_ext >&5 |
10256 fi | 10266 fi |
10257 done | 10267 done |
10258 | 10268 |
10259 test "$ac_cv_func_crypt" != "yes" && { | 10269 test "$ac_cv_func_crypt" != "yes" && { |
10260 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 | 10270 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 |
10261 echo "configure:10262: checking for crypt in -lcrypt" >&5 | 10271 echo "configure:10272: checking for crypt in -lcrypt" >&5 |
10262 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` | 10272 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` |
10263 | 10273 |
10264 xe_check_libs=" -lcrypt " | 10274 xe_check_libs=" -lcrypt " |
10265 cat > conftest.$ac_ext <<EOF | 10275 cat > conftest.$ac_ext <<EOF |
10266 #line 10267 "configure" | 10276 #line 10277 "configure" |
10267 #include "confdefs.h" | 10277 #include "confdefs.h" |
10268 /* Override any gcc2 internal prototype to avoid an error. */ | 10278 /* Override any gcc2 internal prototype to avoid an error. */ |
10269 /* We use char because int might match the return type of a gcc2 | 10279 /* We use char because int might match the return type of a gcc2 |
10270 builtin and then its argument prototype would still apply. */ | 10280 builtin and then its argument prototype would still apply. */ |
10271 char crypt(); | 10281 char crypt(); |
10272 | 10282 |
10273 int main() { | 10283 int main() { |
10274 crypt() | 10284 crypt() |
10275 ; return 0; } | 10285 ; return 0; } |
10276 EOF | 10286 EOF |
10277 if { (eval echo configure:10278: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10287 if { (eval echo configure:10288: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10278 rm -rf conftest* | 10288 rm -rf conftest* |
10279 eval "ac_cv_lib_$ac_lib_var=yes" | 10289 eval "ac_cv_lib_$ac_lib_var=yes" |
10280 else | 10290 else |
10281 echo "configure: failed program was:" >&5 | 10291 echo "configure: failed program was:" >&5 |
10282 cat conftest.$ac_ext >&5 | 10292 cat conftest.$ac_ext >&5 |
10307 } | 10317 } |
10308 fi | 10318 fi |
10309 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then | 10319 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then |
10310 | 10320 |
10311 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 | 10321 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 |
10312 echo "configure:10313: checking for jl_dic_list_e in -lwnn" >&5 | 10322 echo "configure:10323: checking for jl_dic_list_e in -lwnn" >&5 |
10313 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 10323 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
10314 | 10324 |
10315 xe_check_libs=" -lwnn " | 10325 xe_check_libs=" -lwnn " |
10316 cat > conftest.$ac_ext <<EOF | 10326 cat > conftest.$ac_ext <<EOF |
10317 #line 10318 "configure" | 10327 #line 10328 "configure" |
10318 #include "confdefs.h" | 10328 #include "confdefs.h" |
10319 /* Override any gcc2 internal prototype to avoid an error. */ | 10329 /* Override any gcc2 internal prototype to avoid an error. */ |
10320 /* We use char because int might match the return type of a gcc2 | 10330 /* We use char because int might match the return type of a gcc2 |
10321 builtin and then its argument prototype would still apply. */ | 10331 builtin and then its argument prototype would still apply. */ |
10322 char jl_dic_list_e(); | 10332 char jl_dic_list_e(); |
10323 | 10333 |
10324 int main() { | 10334 int main() { |
10325 jl_dic_list_e() | 10335 jl_dic_list_e() |
10326 ; return 0; } | 10336 ; return 0; } |
10327 EOF | 10337 EOF |
10328 if { (eval echo configure:10329: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10338 if { (eval echo configure:10339: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10329 rm -rf conftest* | 10339 rm -rf conftest* |
10330 eval "ac_cv_lib_$ac_lib_var=yes" | 10340 eval "ac_cv_lib_$ac_lib_var=yes" |
10331 else | 10341 else |
10332 echo "configure: failed program was:" >&5 | 10342 echo "configure: failed program was:" >&5 |
10333 cat conftest.$ac_ext >&5 | 10343 cat conftest.$ac_ext >&5 |
10341 echo "$ac_t""yes" 1>&6 | 10351 echo "$ac_t""yes" 1>&6 |
10342 libwnn=wnn | 10352 libwnn=wnn |
10343 else | 10353 else |
10344 echo "$ac_t""no" 1>&6 | 10354 echo "$ac_t""no" 1>&6 |
10345 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 | 10355 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 |
10346 echo "configure:10347: checking for jl_dic_list_e in -lwnn4" >&5 | 10356 echo "configure:10357: checking for jl_dic_list_e in -lwnn4" >&5 |
10347 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 10357 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
10348 | 10358 |
10349 xe_check_libs=" -lwnn4 " | 10359 xe_check_libs=" -lwnn4 " |
10350 cat > conftest.$ac_ext <<EOF | 10360 cat > conftest.$ac_ext <<EOF |
10351 #line 10352 "configure" | 10361 #line 10362 "configure" |
10352 #include "confdefs.h" | 10362 #include "confdefs.h" |
10353 /* Override any gcc2 internal prototype to avoid an error. */ | 10363 /* Override any gcc2 internal prototype to avoid an error. */ |
10354 /* We use char because int might match the return type of a gcc2 | 10364 /* We use char because int might match the return type of a gcc2 |
10355 builtin and then its argument prototype would still apply. */ | 10365 builtin and then its argument prototype would still apply. */ |
10356 char jl_dic_list_e(); | 10366 char jl_dic_list_e(); |
10357 | 10367 |
10358 int main() { | 10368 int main() { |
10359 jl_dic_list_e() | 10369 jl_dic_list_e() |
10360 ; return 0; } | 10370 ; return 0; } |
10361 EOF | 10371 EOF |
10362 if { (eval echo configure:10363: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10372 if { (eval echo configure:10373: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10363 rm -rf conftest* | 10373 rm -rf conftest* |
10364 eval "ac_cv_lib_$ac_lib_var=yes" | 10374 eval "ac_cv_lib_$ac_lib_var=yes" |
10365 else | 10375 else |
10366 echo "configure: failed program was:" >&5 | 10376 echo "configure: failed program was:" >&5 |
10367 cat conftest.$ac_ext >&5 | 10377 cat conftest.$ac_ext >&5 |
10375 echo "$ac_t""yes" 1>&6 | 10385 echo "$ac_t""yes" 1>&6 |
10376 libwnn=wnn4 | 10386 libwnn=wnn4 |
10377 else | 10387 else |
10378 echo "$ac_t""no" 1>&6 | 10388 echo "$ac_t""no" 1>&6 |
10379 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 | 10389 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 |
10380 echo "configure:10381: checking for jl_dic_list_e in -lwnn6" >&5 | 10390 echo "configure:10391: checking for jl_dic_list_e in -lwnn6" >&5 |
10381 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 10391 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
10382 | 10392 |
10383 xe_check_libs=" -lwnn6 " | 10393 xe_check_libs=" -lwnn6 " |
10384 cat > conftest.$ac_ext <<EOF | 10394 cat > conftest.$ac_ext <<EOF |
10385 #line 10386 "configure" | 10395 #line 10396 "configure" |
10386 #include "confdefs.h" | 10396 #include "confdefs.h" |
10387 /* Override any gcc2 internal prototype to avoid an error. */ | 10397 /* Override any gcc2 internal prototype to avoid an error. */ |
10388 /* We use char because int might match the return type of a gcc2 | 10398 /* We use char because int might match the return type of a gcc2 |
10389 builtin and then its argument prototype would still apply. */ | 10399 builtin and then its argument prototype would still apply. */ |
10390 char jl_dic_list_e(); | 10400 char jl_dic_list_e(); |
10391 | 10401 |
10392 int main() { | 10402 int main() { |
10393 jl_dic_list_e() | 10403 jl_dic_list_e() |
10394 ; return 0; } | 10404 ; return 0; } |
10395 EOF | 10405 EOF |
10396 if { (eval echo configure:10397: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10406 if { (eval echo configure:10407: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10397 rm -rf conftest* | 10407 rm -rf conftest* |
10398 eval "ac_cv_lib_$ac_lib_var=yes" | 10408 eval "ac_cv_lib_$ac_lib_var=yes" |
10399 else | 10409 else |
10400 echo "configure: failed program was:" >&5 | 10410 echo "configure: failed program was:" >&5 |
10401 cat conftest.$ac_ext >&5 | 10411 cat conftest.$ac_ext >&5 |
10409 echo "$ac_t""yes" 1>&6 | 10419 echo "$ac_t""yes" 1>&6 |
10410 libwnn=wnn6 | 10420 libwnn=wnn6 |
10411 else | 10421 else |
10412 echo "$ac_t""no" 1>&6 | 10422 echo "$ac_t""no" 1>&6 |
10413 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 | 10423 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 |
10414 echo "configure:10415: checking for dic_list_e in -lwnn6_fromsrc" >&5 | 10424 echo "configure:10425: checking for dic_list_e in -lwnn6_fromsrc" >&5 |
10415 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` | 10425 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` |
10416 | 10426 |
10417 xe_check_libs=" -lwnn6_fromsrc " | 10427 xe_check_libs=" -lwnn6_fromsrc " |
10418 cat > conftest.$ac_ext <<EOF | 10428 cat > conftest.$ac_ext <<EOF |
10419 #line 10420 "configure" | 10429 #line 10430 "configure" |
10420 #include "confdefs.h" | 10430 #include "confdefs.h" |
10421 /* Override any gcc2 internal prototype to avoid an error. */ | 10431 /* Override any gcc2 internal prototype to avoid an error. */ |
10422 /* We use char because int might match the return type of a gcc2 | 10432 /* We use char because int might match the return type of a gcc2 |
10423 builtin and then its argument prototype would still apply. */ | 10433 builtin and then its argument prototype would still apply. */ |
10424 char dic_list_e(); | 10434 char dic_list_e(); |
10425 | 10435 |
10426 int main() { | 10436 int main() { |
10427 dic_list_e() | 10437 dic_list_e() |
10428 ; return 0; } | 10438 ; return 0; } |
10429 EOF | 10439 EOF |
10430 if { (eval echo configure:10431: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10440 if { (eval echo configure:10441: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10431 rm -rf conftest* | 10441 rm -rf conftest* |
10432 eval "ac_cv_lib_$ac_lib_var=yes" | 10442 eval "ac_cv_lib_$ac_lib_var=yes" |
10433 else | 10443 else |
10434 echo "configure: failed program was:" >&5 | 10444 echo "configure: failed program was:" >&5 |
10435 cat conftest.$ac_ext >&5 | 10445 cat conftest.$ac_ext >&5 |
10470 | 10480 |
10471 libs_x="-l$libwnn $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l$libwnn\" to \$libs_x"; fi | 10481 libs_x="-l$libwnn $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l$libwnn\" to \$libs_x"; fi |
10472 if test "$with_wnn6" != "no"; then | 10482 if test "$with_wnn6" != "no"; then |
10473 | 10483 |
10474 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 | 10484 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 |
10475 echo "configure:10476: checking for jl_fi_dic_list in -l$libwnn" >&5 | 10485 echo "configure:10486: checking for jl_fi_dic_list in -l$libwnn" >&5 |
10476 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` | 10486 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` |
10477 | 10487 |
10478 xe_check_libs=" -l$libwnn " | 10488 xe_check_libs=" -l$libwnn " |
10479 cat > conftest.$ac_ext <<EOF | 10489 cat > conftest.$ac_ext <<EOF |
10480 #line 10481 "configure" | 10490 #line 10491 "configure" |
10481 #include "confdefs.h" | 10491 #include "confdefs.h" |
10482 /* Override any gcc2 internal prototype to avoid an error. */ | 10492 /* Override any gcc2 internal prototype to avoid an error. */ |
10483 /* We use char because int might match the return type of a gcc2 | 10493 /* We use char because int might match the return type of a gcc2 |
10484 builtin and then its argument prototype would still apply. */ | 10494 builtin and then its argument prototype would still apply. */ |
10485 char jl_fi_dic_list(); | 10495 char jl_fi_dic_list(); |
10486 | 10496 |
10487 int main() { | 10497 int main() { |
10488 jl_fi_dic_list() | 10498 jl_fi_dic_list() |
10489 ; return 0; } | 10499 ; return 0; } |
10490 EOF | 10500 EOF |
10491 if { (eval echo configure:10492: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10501 if { (eval echo configure:10502: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10492 rm -rf conftest* | 10502 rm -rf conftest* |
10493 eval "ac_cv_lib_$ac_lib_var=yes" | 10503 eval "ac_cv_lib_$ac_lib_var=yes" |
10494 else | 10504 else |
10495 echo "configure: failed program was:" >&5 | 10505 echo "configure: failed program was:" >&5 |
10496 cat conftest.$ac_ext >&5 | 10506 cat conftest.$ac_ext >&5 |
10521 | 10531 |
10522 canna_includes_found=no | 10532 canna_includes_found=no |
10523 if test "$with_canna" != "no"; then | 10533 if test "$with_canna" != "no"; then |
10524 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 10534 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
10525 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 10535 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
10526 echo "configure:10527: checking for canna/jrkanji.h" >&5 | 10536 echo "configure:10537: checking for canna/jrkanji.h" >&5 |
10527 | 10537 |
10528 cat > conftest.$ac_ext <<EOF | 10538 cat > conftest.$ac_ext <<EOF |
10529 #line 10530 "configure" | 10539 #line 10540 "configure" |
10530 #include "confdefs.h" | 10540 #include "confdefs.h" |
10531 #include <canna/jrkanji.h> | 10541 #include <canna/jrkanji.h> |
10532 EOF | 10542 EOF |
10533 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10543 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10534 { (eval echo configure:10535: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10544 { (eval echo configure:10545: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10535 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10545 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10536 if test -z "$ac_err"; then | 10546 if test -z "$ac_err"; then |
10537 rm -rf conftest* | 10547 rm -rf conftest* |
10538 eval "ac_cv_header_$ac_safe=yes" | 10548 eval "ac_cv_header_$ac_safe=yes" |
10539 else | 10549 else |
10556 -d "/usr/local/canna/include"; then | 10566 -d "/usr/local/canna/include"; then |
10557 save_c_switch_site="$c_switch_site" | 10567 save_c_switch_site="$c_switch_site" |
10558 c_switch_site="$c_switch_site -I/usr/local/canna/include" | 10568 c_switch_site="$c_switch_site -I/usr/local/canna/include" |
10559 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 10569 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
10560 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 10570 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
10561 echo "configure:10562: checking for canna/jrkanji.h" >&5 | 10571 echo "configure:10572: checking for canna/jrkanji.h" >&5 |
10562 | 10572 |
10563 cat > conftest.$ac_ext <<EOF | 10573 cat > conftest.$ac_ext <<EOF |
10564 #line 10565 "configure" | 10574 #line 10575 "configure" |
10565 #include "confdefs.h" | 10575 #include "confdefs.h" |
10566 #include <canna/jrkanji.h> | 10576 #include <canna/jrkanji.h> |
10567 EOF | 10577 EOF |
10568 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10578 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10569 { (eval echo configure:10570: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10579 { (eval echo configure:10580: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10570 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10580 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10571 if test -z "$ac_err"; then | 10581 if test -z "$ac_err"; then |
10572 rm -rf conftest* | 10582 rm -rf conftest* |
10573 eval "ac_cv_header_$ac_safe=yes" | 10583 eval "ac_cv_header_$ac_safe=yes" |
10574 else | 10584 else |
10592 fi | 10602 fi |
10593 fi | 10603 fi |
10594 | 10604 |
10595 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` | 10605 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` |
10596 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 | 10606 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 |
10597 echo "configure:10598: checking for canna/RK.h" >&5 | 10607 echo "configure:10608: checking for canna/RK.h" >&5 |
10598 | 10608 |
10599 cat > conftest.$ac_ext <<EOF | 10609 cat > conftest.$ac_ext <<EOF |
10600 #line 10601 "configure" | 10610 #line 10611 "configure" |
10601 #include "confdefs.h" | 10611 #include "confdefs.h" |
10602 #include <canna/RK.h> | 10612 #include <canna/RK.h> |
10603 EOF | 10613 EOF |
10604 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10614 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10605 { (eval echo configure:10606: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10615 { (eval echo configure:10616: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10606 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10616 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10607 if test -z "$ac_err"; then | 10617 if test -z "$ac_err"; then |
10608 rm -rf conftest* | 10618 rm -rf conftest* |
10609 eval "ac_cv_header_$ac_safe=yes" | 10619 eval "ac_cv_header_$ac_safe=yes" |
10610 else | 10620 else |
10623 with_canna=no | 10633 with_canna=no |
10624 fi | 10634 fi |
10625 } | 10635 } |
10626 test -z "$with_canna" && { | 10636 test -z "$with_canna" && { |
10627 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 | 10637 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 |
10628 echo "configure:10629: checking for RkBgnBun in -lRKC" >&5 | 10638 echo "configure:10639: checking for RkBgnBun in -lRKC" >&5 |
10629 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` | 10639 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` |
10630 | 10640 |
10631 xe_check_libs=" -lRKC " | 10641 xe_check_libs=" -lRKC " |
10632 cat > conftest.$ac_ext <<EOF | 10642 cat > conftest.$ac_ext <<EOF |
10633 #line 10634 "configure" | 10643 #line 10644 "configure" |
10634 #include "confdefs.h" | 10644 #include "confdefs.h" |
10635 /* Override any gcc2 internal prototype to avoid an error. */ | 10645 /* Override any gcc2 internal prototype to avoid an error. */ |
10636 /* We use char because int might match the return type of a gcc2 | 10646 /* We use char because int might match the return type of a gcc2 |
10637 builtin and then its argument prototype would still apply. */ | 10647 builtin and then its argument prototype would still apply. */ |
10638 char RkBgnBun(); | 10648 char RkBgnBun(); |
10639 | 10649 |
10640 int main() { | 10650 int main() { |
10641 RkBgnBun() | 10651 RkBgnBun() |
10642 ; return 0; } | 10652 ; return 0; } |
10643 EOF | 10653 EOF |
10644 if { (eval echo configure:10645: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10654 if { (eval echo configure:10655: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10645 rm -rf conftest* | 10655 rm -rf conftest* |
10646 eval "ac_cv_lib_$ac_lib_var=yes" | 10656 eval "ac_cv_lib_$ac_lib_var=yes" |
10647 else | 10657 else |
10648 echo "configure: failed program was:" >&5 | 10658 echo "configure: failed program was:" >&5 |
10649 cat conftest.$ac_ext >&5 | 10659 cat conftest.$ac_ext >&5 |
10662 fi | 10672 fi |
10663 | 10673 |
10664 } | 10674 } |
10665 test -z "$with_canna" && { | 10675 test -z "$with_canna" && { |
10666 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 | 10676 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 |
10667 echo "configure:10668: checking for jrKanjiControl in -lcanna" >&5 | 10677 echo "configure:10678: checking for jrKanjiControl in -lcanna" >&5 |
10668 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` | 10678 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` |
10669 | 10679 |
10670 xe_check_libs=" -lcanna " | 10680 xe_check_libs=" -lcanna " |
10671 cat > conftest.$ac_ext <<EOF | 10681 cat > conftest.$ac_ext <<EOF |
10672 #line 10673 "configure" | 10682 #line 10683 "configure" |
10673 #include "confdefs.h" | 10683 #include "confdefs.h" |
10674 /* Override any gcc2 internal prototype to avoid an error. */ | 10684 /* Override any gcc2 internal prototype to avoid an error. */ |
10675 /* We use char because int might match the return type of a gcc2 | 10685 /* We use char because int might match the return type of a gcc2 |
10676 builtin and then its argument prototype would still apply. */ | 10686 builtin and then its argument prototype would still apply. */ |
10677 char jrKanjiControl(); | 10687 char jrKanjiControl(); |
10678 | 10688 |
10679 int main() { | 10689 int main() { |
10680 jrKanjiControl() | 10690 jrKanjiControl() |
10681 ; return 0; } | 10691 ; return 0; } |
10682 EOF | 10692 EOF |
10683 if { (eval echo configure:10684: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10693 if { (eval echo configure:10694: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10684 rm -rf conftest* | 10694 rm -rf conftest* |
10685 eval "ac_cv_lib_$ac_lib_var=yes" | 10695 eval "ac_cv_lib_$ac_lib_var=yes" |
10686 else | 10696 else |
10687 echo "configure: failed program was:" >&5 | 10697 echo "configure: failed program was:" >&5 |
10688 cat conftest.$ac_ext >&5 | 10698 cat conftest.$ac_ext >&5 |
10724 | 10734 |
10725 if test "$need_motif" = "yes" ; then | 10735 if test "$need_motif" = "yes" ; then |
10726 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi | 10736 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi |
10727 | 10737 |
10728 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 | 10738 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 |
10729 echo "configure:10730: checking for layout_object_getvalue in -li18n" >&5 | 10739 echo "configure:10740: checking for layout_object_getvalue in -li18n" >&5 |
10730 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` | 10740 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` |
10731 | 10741 |
10732 xe_check_libs=" -li18n " | 10742 xe_check_libs=" -li18n " |
10733 cat > conftest.$ac_ext <<EOF | 10743 cat > conftest.$ac_ext <<EOF |
10734 #line 10735 "configure" | 10744 #line 10745 "configure" |
10735 #include "confdefs.h" | 10745 #include "confdefs.h" |
10736 /* Override any gcc2 internal prototype to avoid an error. */ | 10746 /* Override any gcc2 internal prototype to avoid an error. */ |
10737 /* We use char because int might match the return type of a gcc2 | 10747 /* We use char because int might match the return type of a gcc2 |
10738 builtin and then its argument prototype would still apply. */ | 10748 builtin and then its argument prototype would still apply. */ |
10739 char layout_object_getvalue(); | 10749 char layout_object_getvalue(); |
10740 | 10750 |
10741 int main() { | 10751 int main() { |
10742 layout_object_getvalue() | 10752 layout_object_getvalue() |
10743 ; return 0; } | 10753 ; return 0; } |
10744 EOF | 10754 EOF |
10745 if { (eval echo configure:10746: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10755 if { (eval echo configure:10756: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10746 rm -rf conftest* | 10756 rm -rf conftest* |
10747 eval "ac_cv_lib_$ac_lib_var=yes" | 10757 eval "ac_cv_lib_$ac_lib_var=yes" |
10748 else | 10758 else |
10749 echo "configure: failed program was:" >&5 | 10759 echo "configure: failed program was:" >&5 |
10750 cat conftest.$ac_ext >&5 | 10760 cat conftest.$ac_ext >&5 |
10826 fi | 10836 fi |
10827 | 10837 |
10828 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime getaddrinfo gethostname getnameinfo getpagesize gettimeofday getcwd getwd link logb lrand48 matherr mkdir mktime perror poll random readlink rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask snprintf stpcpy strerror symlink tzset ulimit usleep waitpid vsnprintf fsync ftruncate umask | 10838 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime getaddrinfo gethostname getnameinfo getpagesize gettimeofday getcwd getwd link logb lrand48 matherr mkdir mktime perror poll random readlink rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask snprintf stpcpy strerror symlink tzset ulimit usleep waitpid vsnprintf fsync ftruncate umask |
10829 do | 10839 do |
10830 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 10840 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
10831 echo "configure:10832: checking for $ac_func" >&5 | 10841 echo "configure:10842: checking for $ac_func" >&5 |
10832 | 10842 |
10833 cat > conftest.$ac_ext <<EOF | 10843 cat > conftest.$ac_ext <<EOF |
10834 #line 10835 "configure" | 10844 #line 10845 "configure" |
10835 #include "confdefs.h" | 10845 #include "confdefs.h" |
10836 /* System header to define __stub macros and hopefully few prototypes, | 10846 /* System header to define __stub macros and hopefully few prototypes, |
10837 which can conflict with char $ac_func(); below. */ | 10847 which can conflict with char $ac_func(); below. */ |
10838 #include <assert.h> | 10848 #include <assert.h> |
10839 /* Override any gcc2 internal prototype to avoid an error. */ | 10849 /* Override any gcc2 internal prototype to avoid an error. */ |
10852 $ac_func(); | 10862 $ac_func(); |
10853 #endif | 10863 #endif |
10854 | 10864 |
10855 ; return 0; } | 10865 ; return 0; } |
10856 EOF | 10866 EOF |
10857 if { (eval echo configure:10858: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10867 if { (eval echo configure:10868: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10858 rm -rf conftest* | 10868 rm -rf conftest* |
10859 eval "ac_cv_func_$ac_func=yes" | 10869 eval "ac_cv_func_$ac_func=yes" |
10860 else | 10870 else |
10861 echo "configure: failed program was:" >&5 | 10871 echo "configure: failed program was:" >&5 |
10862 cat conftest.$ac_ext >&5 | 10872 cat conftest.$ac_ext >&5 |
10884 | 10894 |
10885 | 10895 |
10886 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp | 10896 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp |
10887 do | 10897 do |
10888 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 10898 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
10889 echo "configure:10890: checking for $ac_func" >&5 | 10899 echo "configure:10900: checking for $ac_func" >&5 |
10890 | 10900 |
10891 cat > conftest.$ac_ext <<EOF | 10901 cat > conftest.$ac_ext <<EOF |
10892 #line 10893 "configure" | 10902 #line 10903 "configure" |
10893 #include "confdefs.h" | 10903 #include "confdefs.h" |
10894 /* System header to define __stub macros and hopefully few prototypes, | 10904 /* System header to define __stub macros and hopefully few prototypes, |
10895 which can conflict with char $ac_func(); below. */ | 10905 which can conflict with char $ac_func(); below. */ |
10896 #include <assert.h> | 10906 #include <assert.h> |
10897 /* Override any gcc2 internal prototype to avoid an error. */ | 10907 /* Override any gcc2 internal prototype to avoid an error. */ |
10910 $ac_func(); | 10920 $ac_func(); |
10911 #endif | 10921 #endif |
10912 | 10922 |
10913 ; return 0; } | 10923 ; return 0; } |
10914 EOF | 10924 EOF |
10915 if { (eval echo configure:10916: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10925 if { (eval echo configure:10926: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10916 rm -rf conftest* | 10926 rm -rf conftest* |
10917 eval "ac_cv_func_$ac_func=yes" | 10927 eval "ac_cv_func_$ac_func=yes" |
10918 else | 10928 else |
10919 echo "configure: failed program was:" >&5 | 10929 echo "configure: failed program was:" >&5 |
10920 cat conftest.$ac_ext >&5 | 10930 cat conftest.$ac_ext >&5 |
10939 fi | 10949 fi |
10940 done | 10950 done |
10941 | 10951 |
10942 | 10952 |
10943 echo $ac_n "checking for openpty""... $ac_c" 1>&6 | 10953 echo $ac_n "checking for openpty""... $ac_c" 1>&6 |
10944 echo "configure:10945: checking for openpty" >&5 | 10954 echo "configure:10955: checking for openpty" >&5 |
10945 | 10955 |
10946 cat > conftest.$ac_ext <<EOF | 10956 cat > conftest.$ac_ext <<EOF |
10947 #line 10948 "configure" | 10957 #line 10958 "configure" |
10948 #include "confdefs.h" | 10958 #include "confdefs.h" |
10949 /* System header to define __stub macros and hopefully few prototypes, | 10959 /* System header to define __stub macros and hopefully few prototypes, |
10950 which can conflict with char openpty(); below. */ | 10960 which can conflict with char openpty(); below. */ |
10951 #include <assert.h> | 10961 #include <assert.h> |
10952 /* Override any gcc2 internal prototype to avoid an error. */ | 10962 /* Override any gcc2 internal prototype to avoid an error. */ |
10965 openpty(); | 10975 openpty(); |
10966 #endif | 10976 #endif |
10967 | 10977 |
10968 ; return 0; } | 10978 ; return 0; } |
10969 EOF | 10979 EOF |
10970 if { (eval echo configure:10971: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10980 if { (eval echo configure:10981: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10971 rm -rf conftest* | 10981 rm -rf conftest* |
10972 eval "ac_cv_func_openpty=yes" | 10982 eval "ac_cv_func_openpty=yes" |
10973 else | 10983 else |
10974 echo "configure: failed program was:" >&5 | 10984 echo "configure: failed program was:" >&5 |
10975 cat conftest.$ac_ext >&5 | 10985 cat conftest.$ac_ext >&5 |
10984 else | 10994 else |
10985 echo "$ac_t""no" 1>&6 | 10995 echo "$ac_t""no" 1>&6 |
10986 | 10996 |
10987 | 10997 |
10988 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 | 10998 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 |
10989 echo "configure:10990: checking for openpty in -lutil" >&5 | 10999 echo "configure:11000: checking for openpty in -lutil" >&5 |
10990 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` | 11000 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` |
10991 | 11001 |
10992 xe_check_libs=" -lutil " | 11002 xe_check_libs=" -lutil " |
10993 cat > conftest.$ac_ext <<EOF | 11003 cat > conftest.$ac_ext <<EOF |
10994 #line 10995 "configure" | 11004 #line 11005 "configure" |
10995 #include "confdefs.h" | 11005 #include "confdefs.h" |
10996 /* Override any gcc2 internal prototype to avoid an error. */ | 11006 /* Override any gcc2 internal prototype to avoid an error. */ |
10997 /* We use char because int might match the return type of a gcc2 | 11007 /* We use char because int might match the return type of a gcc2 |
10998 builtin and then its argument prototype would still apply. */ | 11008 builtin and then its argument prototype would still apply. */ |
10999 char openpty(); | 11009 char openpty(); |
11000 | 11010 |
11001 int main() { | 11011 int main() { |
11002 openpty() | 11012 openpty() |
11003 ; return 0; } | 11013 ; return 0; } |
11004 EOF | 11014 EOF |
11005 if { (eval echo configure:11006: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11015 if { (eval echo configure:11016: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11006 rm -rf conftest* | 11016 rm -rf conftest* |
11007 eval "ac_cv_lib_$ac_lib_var=yes" | 11017 eval "ac_cv_lib_$ac_lib_var=yes" |
11008 else | 11018 else |
11009 echo "configure: failed program was:" >&5 | 11019 echo "configure: failed program was:" >&5 |
11010 cat conftest.$ac_ext >&5 | 11020 cat conftest.$ac_ext >&5 |
11035 | 11045 |
11036 for ac_hdr in libutil.h util.h | 11046 for ac_hdr in libutil.h util.h |
11037 do | 11047 do |
11038 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11048 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11039 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11049 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11040 echo "configure:11041: checking for $ac_hdr" >&5 | 11050 echo "configure:11051: checking for $ac_hdr" >&5 |
11041 | 11051 |
11042 cat > conftest.$ac_ext <<EOF | 11052 cat > conftest.$ac_ext <<EOF |
11043 #line 11044 "configure" | 11053 #line 11054 "configure" |
11044 #include "confdefs.h" | 11054 #include "confdefs.h" |
11045 #include <$ac_hdr> | 11055 #include <$ac_hdr> |
11046 EOF | 11056 EOF |
11047 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11057 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11048 { (eval echo configure:11049: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11058 { (eval echo configure:11059: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11049 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11059 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11050 if test -z "$ac_err"; then | 11060 if test -z "$ac_err"; then |
11051 rm -rf conftest* | 11061 rm -rf conftest* |
11052 eval "ac_cv_header_$ac_safe=yes" | 11062 eval "ac_cv_header_$ac_safe=yes" |
11053 else | 11063 else |
11080 case "$opsys" in | 11090 case "$opsys" in |
11081 hpux*) for ac_hdr in sys/ptyio.h | 11091 hpux*) for ac_hdr in sys/ptyio.h |
11082 do | 11092 do |
11083 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11093 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11084 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11094 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11085 echo "configure:11086: checking for $ac_hdr" >&5 | 11095 echo "configure:11096: checking for $ac_hdr" >&5 |
11086 | 11096 |
11087 cat > conftest.$ac_ext <<EOF | 11097 cat > conftest.$ac_ext <<EOF |
11088 #line 11089 "configure" | 11098 #line 11099 "configure" |
11089 #include "confdefs.h" | 11099 #include "confdefs.h" |
11090 #include <$ac_hdr> | 11100 #include <$ac_hdr> |
11091 EOF | 11101 EOF |
11092 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11102 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11093 { (eval echo configure:11094: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11103 { (eval echo configure:11104: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11094 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11104 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11095 if test -z "$ac_err"; then | 11105 if test -z "$ac_err"; then |
11096 rm -rf conftest* | 11106 rm -rf conftest* |
11097 eval "ac_cv_header_$ac_safe=yes" | 11107 eval "ac_cv_header_$ac_safe=yes" |
11098 else | 11108 else |
11121 ;; | 11131 ;; |
11122 *) for ac_hdr in pty.h | 11132 *) for ac_hdr in pty.h |
11123 do | 11133 do |
11124 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11134 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11125 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11135 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11126 echo "configure:11127: checking for $ac_hdr" >&5 | 11136 echo "configure:11137: checking for $ac_hdr" >&5 |
11127 | 11137 |
11128 cat > conftest.$ac_ext <<EOF | 11138 cat > conftest.$ac_ext <<EOF |
11129 #line 11130 "configure" | 11139 #line 11140 "configure" |
11130 #include "confdefs.h" | 11140 #include "confdefs.h" |
11131 #include <$ac_hdr> | 11141 #include <$ac_hdr> |
11132 EOF | 11142 EOF |
11133 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11143 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11134 { (eval echo configure:11135: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11144 { (eval echo configure:11145: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11135 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11145 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11136 if test -z "$ac_err"; then | 11146 if test -z "$ac_err"; then |
11137 rm -rf conftest* | 11147 rm -rf conftest* |
11138 eval "ac_cv_header_$ac_safe=yes" | 11148 eval "ac_cv_header_$ac_safe=yes" |
11139 else | 11149 else |
11162 | 11172 |
11163 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h | 11173 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h |
11164 do | 11174 do |
11165 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11175 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11166 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11176 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11167 echo "configure:11168: checking for $ac_hdr" >&5 | 11177 echo "configure:11178: checking for $ac_hdr" >&5 |
11168 | 11178 |
11169 cat > conftest.$ac_ext <<EOF | 11179 cat > conftest.$ac_ext <<EOF |
11170 #line 11171 "configure" | 11180 #line 11181 "configure" |
11171 #include "confdefs.h" | 11181 #include "confdefs.h" |
11172 #include <$ac_hdr> | 11182 #include <$ac_hdr> |
11173 EOF | 11183 EOF |
11174 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11184 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11175 { (eval echo configure:11176: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11185 { (eval echo configure:11186: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11176 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11186 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11177 if test -z "$ac_err"; then | 11187 if test -z "$ac_err"; then |
11178 rm -rf conftest* | 11188 rm -rf conftest* |
11179 eval "ac_cv_header_$ac_safe=yes" | 11189 eval "ac_cv_header_$ac_safe=yes" |
11180 else | 11190 else |
11206 | 11216 |
11207 for ac_hdr in stropts.h | 11217 for ac_hdr in stropts.h |
11208 do | 11218 do |
11209 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11219 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11210 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11220 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11211 echo "configure:11212: checking for $ac_hdr" >&5 | 11221 echo "configure:11222: checking for $ac_hdr" >&5 |
11212 | 11222 |
11213 cat > conftest.$ac_ext <<EOF | 11223 cat > conftest.$ac_ext <<EOF |
11214 #line 11215 "configure" | 11224 #line 11225 "configure" |
11215 #include "confdefs.h" | 11225 #include "confdefs.h" |
11216 #include <$ac_hdr> | 11226 #include <$ac_hdr> |
11217 EOF | 11227 EOF |
11218 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11228 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11219 { (eval echo configure:11220: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11229 { (eval echo configure:11230: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11220 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11230 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11221 if test -z "$ac_err"; then | 11231 if test -z "$ac_err"; then |
11222 rm -rf conftest* | 11232 rm -rf conftest* |
11223 eval "ac_cv_header_$ac_safe=yes" | 11233 eval "ac_cv_header_$ac_safe=yes" |
11224 else | 11234 else |
11247 | 11257 |
11248 if test "$ac_cv_header_stropts_h" = "yes"; then | 11258 if test "$ac_cv_header_stropts_h" = "yes"; then |
11249 for ac_func in isastream | 11259 for ac_func in isastream |
11250 do | 11260 do |
11251 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11261 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11252 echo "configure:11253: checking for $ac_func" >&5 | 11262 echo "configure:11263: checking for $ac_func" >&5 |
11253 | 11263 |
11254 cat > conftest.$ac_ext <<EOF | 11264 cat > conftest.$ac_ext <<EOF |
11255 #line 11256 "configure" | 11265 #line 11266 "configure" |
11256 #include "confdefs.h" | 11266 #include "confdefs.h" |
11257 /* System header to define __stub macros and hopefully few prototypes, | 11267 /* System header to define __stub macros and hopefully few prototypes, |
11258 which can conflict with char $ac_func(); below. */ | 11268 which can conflict with char $ac_func(); below. */ |
11259 #include <assert.h> | 11269 #include <assert.h> |
11260 /* Override any gcc2 internal prototype to avoid an error. */ | 11270 /* Override any gcc2 internal prototype to avoid an error. */ |
11273 $ac_func(); | 11283 $ac_func(); |
11274 #endif | 11284 #endif |
11275 | 11285 |
11276 ; return 0; } | 11286 ; return 0; } |
11277 EOF | 11287 EOF |
11278 if { (eval echo configure:11279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11288 if { (eval echo configure:11289: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11279 rm -rf conftest* | 11289 rm -rf conftest* |
11280 eval "ac_cv_func_$ac_func=yes" | 11290 eval "ac_cv_func_$ac_func=yes" |
11281 else | 11291 else |
11282 echo "configure: failed program was:" >&5 | 11292 echo "configure: failed program was:" >&5 |
11283 cat conftest.$ac_ext >&5 | 11293 cat conftest.$ac_ext >&5 |
11304 | 11314 |
11305 for ac_hdr in strtio.h | 11315 for ac_hdr in strtio.h |
11306 do | 11316 do |
11307 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11317 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11308 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11318 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11309 echo "configure:11310: checking for $ac_hdr" >&5 | 11319 echo "configure:11320: checking for $ac_hdr" >&5 |
11310 | 11320 |
11311 cat > conftest.$ac_ext <<EOF | 11321 cat > conftest.$ac_ext <<EOF |
11312 #line 11313 "configure" | 11322 #line 11323 "configure" |
11313 #include "confdefs.h" | 11323 #include "confdefs.h" |
11314 #include <$ac_hdr> | 11324 #include <$ac_hdr> |
11315 EOF | 11325 EOF |
11316 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11326 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11317 { (eval echo configure:11318: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11327 { (eval echo configure:11328: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11318 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11328 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11319 if test -z "$ac_err"; then | 11329 if test -z "$ac_err"; then |
11320 rm -rf conftest* | 11330 rm -rf conftest* |
11321 eval "ac_cv_header_$ac_safe=yes" | 11331 eval "ac_cv_header_$ac_safe=yes" |
11322 else | 11332 else |
11345 fi | 11355 fi |
11346 | 11356 |
11347 for ac_func in getloadavg | 11357 for ac_func in getloadavg |
11348 do | 11358 do |
11349 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11359 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11350 echo "configure:11351: checking for $ac_func" >&5 | 11360 echo "configure:11361: checking for $ac_func" >&5 |
11351 | 11361 |
11352 cat > conftest.$ac_ext <<EOF | 11362 cat > conftest.$ac_ext <<EOF |
11353 #line 11354 "configure" | 11363 #line 11364 "configure" |
11354 #include "confdefs.h" | 11364 #include "confdefs.h" |
11355 /* System header to define __stub macros and hopefully few prototypes, | 11365 /* System header to define __stub macros and hopefully few prototypes, |
11356 which can conflict with char $ac_func(); below. */ | 11366 which can conflict with char $ac_func(); below. */ |
11357 #include <assert.h> | 11367 #include <assert.h> |
11358 /* Override any gcc2 internal prototype to avoid an error. */ | 11368 /* Override any gcc2 internal prototype to avoid an error. */ |
11371 $ac_func(); | 11381 $ac_func(); |
11372 #endif | 11382 #endif |
11373 | 11383 |
11374 ; return 0; } | 11384 ; return 0; } |
11375 EOF | 11385 EOF |
11376 if { (eval echo configure:11377: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11386 if { (eval echo configure:11387: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11377 rm -rf conftest* | 11387 rm -rf conftest* |
11378 eval "ac_cv_func_$ac_func=yes" | 11388 eval "ac_cv_func_$ac_func=yes" |
11379 else | 11389 else |
11380 echo "configure: failed program was:" >&5 | 11390 echo "configure: failed program was:" >&5 |
11381 cat conftest.$ac_ext >&5 | 11391 cat conftest.$ac_ext >&5 |
11404 if test "$ac_cv_func_getloadavg" = "yes"; then | 11414 if test "$ac_cv_func_getloadavg" = "yes"; then |
11405 for ac_hdr in sys/loadavg.h | 11415 for ac_hdr in sys/loadavg.h |
11406 do | 11416 do |
11407 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11417 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11408 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11418 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11409 echo "configure:11410: checking for $ac_hdr" >&5 | 11419 echo "configure:11420: checking for $ac_hdr" >&5 |
11410 | 11420 |
11411 cat > conftest.$ac_ext <<EOF | 11421 cat > conftest.$ac_ext <<EOF |
11412 #line 11413 "configure" | 11422 #line 11423 "configure" |
11413 #include "confdefs.h" | 11423 #include "confdefs.h" |
11414 #include <$ac_hdr> | 11424 #include <$ac_hdr> |
11415 EOF | 11425 EOF |
11416 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11426 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11417 { (eval echo configure:11418: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11427 { (eval echo configure:11428: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11418 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11428 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11419 if test -z "$ac_err"; then | 11429 if test -z "$ac_err"; then |
11420 rm -rf conftest* | 11430 rm -rf conftest* |
11421 eval "ac_cv_header_$ac_safe=yes" | 11431 eval "ac_cv_header_$ac_safe=yes" |
11422 else | 11432 else |
11448 echo " xemacs will be linked with \"getloadavg.o\"" | 11458 echo " xemacs will be linked with \"getloadavg.o\"" |
11449 fi | 11459 fi |
11450 | 11460 |
11451 | 11461 |
11452 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 | 11462 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 |
11453 echo "configure:11454: checking for kstat_open in -lkstat" >&5 | 11463 echo "configure:11464: checking for kstat_open in -lkstat" >&5 |
11454 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` | 11464 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` |
11455 | 11465 |
11456 xe_check_libs=" -lkstat " | 11466 xe_check_libs=" -lkstat " |
11457 cat > conftest.$ac_ext <<EOF | 11467 cat > conftest.$ac_ext <<EOF |
11458 #line 11459 "configure" | 11468 #line 11469 "configure" |
11459 #include "confdefs.h" | 11469 #include "confdefs.h" |
11460 /* Override any gcc2 internal prototype to avoid an error. */ | 11470 /* Override any gcc2 internal prototype to avoid an error. */ |
11461 /* We use char because int might match the return type of a gcc2 | 11471 /* We use char because int might match the return type of a gcc2 |
11462 builtin and then its argument prototype would still apply. */ | 11472 builtin and then its argument prototype would still apply. */ |
11463 char kstat_open(); | 11473 char kstat_open(); |
11464 | 11474 |
11465 int main() { | 11475 int main() { |
11466 kstat_open() | 11476 kstat_open() |
11467 ; return 0; } | 11477 ; return 0; } |
11468 EOF | 11478 EOF |
11469 if { (eval echo configure:11470: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11479 if { (eval echo configure:11480: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11470 rm -rf conftest* | 11480 rm -rf conftest* |
11471 eval "ac_cv_lib_$ac_lib_var=yes" | 11481 eval "ac_cv_lib_$ac_lib_var=yes" |
11472 else | 11482 else |
11473 echo "configure: failed program was:" >&5 | 11483 echo "configure: failed program was:" >&5 |
11474 cat conftest.$ac_ext >&5 | 11484 cat conftest.$ac_ext >&5 |
11499 | 11509 |
11500 for ac_hdr in kstat.h | 11510 for ac_hdr in kstat.h |
11501 do | 11511 do |
11502 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11512 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11503 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11513 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11504 echo "configure:11505: checking for $ac_hdr" >&5 | 11514 echo "configure:11515: checking for $ac_hdr" >&5 |
11505 | 11515 |
11506 cat > conftest.$ac_ext <<EOF | 11516 cat > conftest.$ac_ext <<EOF |
11507 #line 11508 "configure" | 11517 #line 11518 "configure" |
11508 #include "confdefs.h" | 11518 #include "confdefs.h" |
11509 #include <$ac_hdr> | 11519 #include <$ac_hdr> |
11510 EOF | 11520 EOF |
11511 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11521 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11512 { (eval echo configure:11513: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11522 { (eval echo configure:11523: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11513 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11523 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11514 if test -z "$ac_err"; then | 11524 if test -z "$ac_err"; then |
11515 rm -rf conftest* | 11525 rm -rf conftest* |
11516 eval "ac_cv_header_$ac_safe=yes" | 11526 eval "ac_cv_header_$ac_safe=yes" |
11517 else | 11527 else |
11539 done | 11549 done |
11540 | 11550 |
11541 | 11551 |
11542 | 11552 |
11543 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 | 11553 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 |
11544 echo "configure:11545: checking for kvm_read in -lkvm" >&5 | 11554 echo "configure:11555: checking for kvm_read in -lkvm" >&5 |
11545 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` | 11555 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` |
11546 | 11556 |
11547 xe_check_libs=" -lkvm " | 11557 xe_check_libs=" -lkvm " |
11548 cat > conftest.$ac_ext <<EOF | 11558 cat > conftest.$ac_ext <<EOF |
11549 #line 11550 "configure" | 11559 #line 11560 "configure" |
11550 #include "confdefs.h" | 11560 #include "confdefs.h" |
11551 /* Override any gcc2 internal prototype to avoid an error. */ | 11561 /* Override any gcc2 internal prototype to avoid an error. */ |
11552 /* We use char because int might match the return type of a gcc2 | 11562 /* We use char because int might match the return type of a gcc2 |
11553 builtin and then its argument prototype would still apply. */ | 11563 builtin and then its argument prototype would still apply. */ |
11554 char kvm_read(); | 11564 char kvm_read(); |
11555 | 11565 |
11556 int main() { | 11566 int main() { |
11557 kvm_read() | 11567 kvm_read() |
11558 ; return 0; } | 11568 ; return 0; } |
11559 EOF | 11569 EOF |
11560 if { (eval echo configure:11561: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11570 if { (eval echo configure:11571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11561 rm -rf conftest* | 11571 rm -rf conftest* |
11562 eval "ac_cv_lib_$ac_lib_var=yes" | 11572 eval "ac_cv_lib_$ac_lib_var=yes" |
11563 else | 11573 else |
11564 echo "configure: failed program was:" >&5 | 11574 echo "configure: failed program was:" >&5 |
11565 cat conftest.$ac_ext >&5 | 11575 cat conftest.$ac_ext >&5 |
11589 | 11599 |
11590 | 11600 |
11591 fi | 11601 fi |
11592 | 11602 |
11593 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 11603 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
11594 echo "configure:11595: checking whether netdb declares h_errno" >&5 | 11604 echo "configure:11605: checking whether netdb declares h_errno" >&5 |
11595 cat > conftest.$ac_ext <<EOF | 11605 cat > conftest.$ac_ext <<EOF |
11596 #line 11597 "configure" | 11606 #line 11607 "configure" |
11597 #include "confdefs.h" | 11607 #include "confdefs.h" |
11598 #include <netdb.h> | 11608 #include <netdb.h> |
11599 int main() { | 11609 int main() { |
11600 return h_errno; | 11610 return h_errno; |
11601 ; return 0; } | 11611 ; return 0; } |
11602 EOF | 11612 EOF |
11603 if { (eval echo configure:11604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11613 if { (eval echo configure:11614: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11604 rm -rf conftest* | 11614 rm -rf conftest* |
11605 echo "$ac_t""yes" 1>&6 | 11615 echo "$ac_t""yes" 1>&6 |
11606 { test "$extra_verbose" = "yes" && cat << \EOF | 11616 { test "$extra_verbose" = "yes" && cat << \EOF |
11607 Defining HAVE_H_ERRNO | 11617 Defining HAVE_H_ERRNO |
11608 EOF | 11618 EOF |
11618 echo "$ac_t""no" 1>&6 | 11628 echo "$ac_t""no" 1>&6 |
11619 fi | 11629 fi |
11620 rm -f conftest* | 11630 rm -f conftest* |
11621 | 11631 |
11622 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 | 11632 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 |
11623 echo "configure:11624: checking for sigsetjmp" >&5 | 11633 echo "configure:11634: checking for sigsetjmp" >&5 |
11624 cat > conftest.$ac_ext <<EOF | 11634 cat > conftest.$ac_ext <<EOF |
11625 #line 11626 "configure" | 11635 #line 11636 "configure" |
11626 #include "confdefs.h" | 11636 #include "confdefs.h" |
11627 #include <setjmp.h> | 11637 #include <setjmp.h> |
11628 int main() { | 11638 int main() { |
11629 sigjmp_buf bar; sigsetjmp (bar, 0); | 11639 sigjmp_buf bar; sigsetjmp (bar, 0); |
11630 ; return 0; } | 11640 ; return 0; } |
11631 EOF | 11641 EOF |
11632 if { (eval echo configure:11633: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 11642 if { (eval echo configure:11643: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
11633 rm -rf conftest* | 11643 rm -rf conftest* |
11634 echo "$ac_t""yes" 1>&6 | 11644 echo "$ac_t""yes" 1>&6 |
11635 { test "$extra_verbose" = "yes" && cat << \EOF | 11645 { test "$extra_verbose" = "yes" && cat << \EOF |
11636 Defining HAVE_SIGSETJMP | 11646 Defining HAVE_SIGSETJMP |
11637 EOF | 11647 EOF |
11647 echo "$ac_t""no" 1>&6 | 11657 echo "$ac_t""no" 1>&6 |
11648 fi | 11658 fi |
11649 rm -f conftest* | 11659 rm -f conftest* |
11650 | 11660 |
11651 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 11661 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
11652 echo "configure:11653: checking whether localtime caches TZ" >&5 | 11662 echo "configure:11663: checking whether localtime caches TZ" >&5 |
11653 | 11663 |
11654 if test "$ac_cv_func_tzset" = "yes"; then | 11664 if test "$ac_cv_func_tzset" = "yes"; then |
11655 cat > conftest.$ac_ext <<EOF | 11665 cat > conftest.$ac_ext <<EOF |
11656 #line 11657 "configure" | 11666 #line 11667 "configure" |
11657 #include "confdefs.h" | 11667 #include "confdefs.h" |
11658 #include <time.h> | 11668 #include <time.h> |
11659 #if STDC_HEADERS | 11669 #if STDC_HEADERS |
11660 # include <stdlib.h> | 11670 # include <stdlib.h> |
11661 #endif | 11671 #endif |
11686 if (localtime (&now)->tm_hour != hour_unset) | 11696 if (localtime (&now)->tm_hour != hour_unset) |
11687 exit (1); | 11697 exit (1); |
11688 exit (0); | 11698 exit (0); |
11689 } | 11699 } |
11690 EOF | 11700 EOF |
11691 if { (eval echo configure:11692: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 11701 if { (eval echo configure:11702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
11692 then | 11702 then |
11693 emacs_cv_localtime_cache=no | 11703 emacs_cv_localtime_cache=no |
11694 else | 11704 else |
11695 conftest_rc="$?" | 11705 conftest_rc="$?" |
11696 echo "configure: failed program was:" >&5 | 11706 echo "configure: failed program was:" >&5 |
11716 | 11726 |
11717 fi | 11727 fi |
11718 | 11728 |
11719 if test "$HAVE_TIMEVAL" = "yes"; then | 11729 if test "$HAVE_TIMEVAL" = "yes"; then |
11720 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 | 11730 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 |
11721 echo "configure:11722: checking whether gettimeofday accepts one or two arguments" >&5 | 11731 echo "configure:11732: checking whether gettimeofday accepts one or two arguments" >&5 |
11722 cat > conftest.$ac_ext <<EOF | 11732 cat > conftest.$ac_ext <<EOF |
11723 #line 11724 "configure" | 11733 #line 11734 "configure" |
11724 #include "confdefs.h" | 11734 #include "confdefs.h" |
11725 | 11735 |
11726 #ifdef TIME_WITH_SYS_TIME | 11736 #ifdef TIME_WITH_SYS_TIME |
11727 #include <sys/time.h> | 11737 #include <sys/time.h> |
11728 #include <time.h> | 11738 #include <time.h> |
11739 struct timeval time; | 11749 struct timeval time; |
11740 gettimeofday (&time, 0); | 11750 gettimeofday (&time, 0); |
11741 | 11751 |
11742 ; return 0; } | 11752 ; return 0; } |
11743 EOF | 11753 EOF |
11744 if { (eval echo configure:11745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11754 if { (eval echo configure:11755: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11745 rm -rf conftest* | 11755 rm -rf conftest* |
11746 echo "$ac_t""two" 1>&6 | 11756 echo "$ac_t""two" 1>&6 |
11747 else | 11757 else |
11748 echo "configure: failed program was:" >&5 | 11758 echo "configure: failed program was:" >&5 |
11749 cat conftest.$ac_ext >&5 | 11759 cat conftest.$ac_ext >&5 |
11761 rm -f conftest* | 11771 rm -f conftest* |
11762 fi | 11772 fi |
11763 | 11773 |
11764 | 11774 |
11765 echo $ac_n "checking for inline""... $ac_c" 1>&6 | 11775 echo $ac_n "checking for inline""... $ac_c" 1>&6 |
11766 echo "configure:11767: checking for inline" >&5 | 11776 echo "configure:11777: checking for inline" >&5 |
11767 | 11777 |
11768 ac_cv_c_inline=no | 11778 ac_cv_c_inline=no |
11769 for ac_kw in inline __inline__ __inline; do | 11779 for ac_kw in inline __inline__ __inline; do |
11770 cat > conftest.$ac_ext <<EOF | 11780 cat > conftest.$ac_ext <<EOF |
11771 #line 11772 "configure" | 11781 #line 11782 "configure" |
11772 #include "confdefs.h" | 11782 #include "confdefs.h" |
11773 | 11783 |
11774 int main() { | 11784 int main() { |
11775 } $ac_kw foo() { | 11785 } $ac_kw foo() { |
11776 ; return 0; } | 11786 ; return 0; } |
11777 EOF | 11787 EOF |
11778 if { (eval echo configure:11779: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 11788 if { (eval echo configure:11789: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
11779 rm -rf conftest* | 11789 rm -rf conftest* |
11780 ac_cv_c_inline=$ac_kw; break | 11790 ac_cv_c_inline=$ac_kw; break |
11781 else | 11791 else |
11782 echo "configure: failed program was:" >&5 | 11792 echo "configure: failed program was:" >&5 |
11783 cat conftest.$ac_ext >&5 | 11793 cat conftest.$ac_ext >&5 |
11814 | 11824 |
11815 if test "$__DECC" != "yes"; then | 11825 if test "$__DECC" != "yes"; then |
11816 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 11826 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
11817 # for constant arguments. Useless! | 11827 # for constant arguments. Useless! |
11818 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 11828 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
11819 echo "configure:11820: checking for working alloca.h" >&5 | 11829 echo "configure:11830: checking for working alloca.h" >&5 |
11820 | 11830 |
11821 cat > conftest.$ac_ext <<EOF | 11831 cat > conftest.$ac_ext <<EOF |
11822 #line 11823 "configure" | 11832 #line 11833 "configure" |
11823 #include "confdefs.h" | 11833 #include "confdefs.h" |
11824 #include <alloca.h> | 11834 #include <alloca.h> |
11825 int main() { | 11835 int main() { |
11826 char *p = alloca(2 * sizeof(int)); | 11836 char *p = alloca(2 * sizeof(int)); |
11827 ; return 0; } | 11837 ; return 0; } |
11828 EOF | 11838 EOF |
11829 if { (eval echo configure:11830: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11839 if { (eval echo configure:11840: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11830 rm -rf conftest* | 11840 rm -rf conftest* |
11831 ac_cv_header_alloca_h=yes | 11841 ac_cv_header_alloca_h=yes |
11832 else | 11842 else |
11833 echo "configure: failed program was:" >&5 | 11843 echo "configure: failed program was:" >&5 |
11834 cat conftest.$ac_ext >&5 | 11844 cat conftest.$ac_ext >&5 |
11848 } | 11858 } |
11849 | 11859 |
11850 fi | 11860 fi |
11851 | 11861 |
11852 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 11862 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
11853 echo "configure:11854: checking for alloca" >&5 | 11863 echo "configure:11864: checking for alloca" >&5 |
11854 | 11864 |
11855 cat > conftest.$ac_ext <<EOF | 11865 cat > conftest.$ac_ext <<EOF |
11856 #line 11857 "configure" | 11866 #line 11867 "configure" |
11857 #include "confdefs.h" | 11867 #include "confdefs.h" |
11858 | 11868 |
11859 #ifdef __GNUC__ | 11869 #ifdef __GNUC__ |
11860 # define alloca __builtin_alloca | 11870 # define alloca __builtin_alloca |
11861 #else | 11871 #else |
11879 | 11889 |
11880 int main() { | 11890 int main() { |
11881 char *p = (char *) alloca(1); | 11891 char *p = (char *) alloca(1); |
11882 ; return 0; } | 11892 ; return 0; } |
11883 EOF | 11893 EOF |
11884 if { (eval echo configure:11885: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11894 if { (eval echo configure:11895: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11885 rm -rf conftest* | 11895 rm -rf conftest* |
11886 ac_cv_func_alloca_works=yes | 11896 ac_cv_func_alloca_works=yes |
11887 else | 11897 else |
11888 echo "configure: failed program was:" >&5 | 11898 echo "configure: failed program was:" >&5 |
11889 cat conftest.$ac_ext >&5 | 11899 cat conftest.$ac_ext >&5 |
11918 EOF | 11928 EOF |
11919 } | 11929 } |
11920 | 11930 |
11921 | 11931 |
11922 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 11932 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
11923 echo "configure:11924: checking whether alloca needs Cray hooks" >&5 | 11933 echo "configure:11934: checking whether alloca needs Cray hooks" >&5 |
11924 | 11934 |
11925 cat > conftest.$ac_ext <<EOF | 11935 cat > conftest.$ac_ext <<EOF |
11926 #line 11927 "configure" | 11936 #line 11937 "configure" |
11927 #include "confdefs.h" | 11937 #include "confdefs.h" |
11928 #if defined(CRAY) && ! defined(CRAY2) | 11938 #if defined(CRAY) && ! defined(CRAY2) |
11929 webecray | 11939 webecray |
11930 #else | 11940 #else |
11931 wenotbecray | 11941 wenotbecray |
11945 | 11955 |
11946 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 11956 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
11947 if test $ac_cv_os_cray = yes; then | 11957 if test $ac_cv_os_cray = yes; then |
11948 for ac_func in _getb67 GETB67 getb67; do | 11958 for ac_func in _getb67 GETB67 getb67; do |
11949 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11959 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11950 echo "configure:11951: checking for $ac_func" >&5 | 11960 echo "configure:11961: checking for $ac_func" >&5 |
11951 | 11961 |
11952 cat > conftest.$ac_ext <<EOF | 11962 cat > conftest.$ac_ext <<EOF |
11953 #line 11954 "configure" | 11963 #line 11964 "configure" |
11954 #include "confdefs.h" | 11964 #include "confdefs.h" |
11955 /* System header to define __stub macros and hopefully few prototypes, | 11965 /* System header to define __stub macros and hopefully few prototypes, |
11956 which can conflict with char $ac_func(); below. */ | 11966 which can conflict with char $ac_func(); below. */ |
11957 #include <assert.h> | 11967 #include <assert.h> |
11958 /* Override any gcc2 internal prototype to avoid an error. */ | 11968 /* Override any gcc2 internal prototype to avoid an error. */ |
11971 $ac_func(); | 11981 $ac_func(); |
11972 #endif | 11982 #endif |
11973 | 11983 |
11974 ; return 0; } | 11984 ; return 0; } |
11975 EOF | 11985 EOF |
11976 if { (eval echo configure:11977: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11986 if { (eval echo configure:11987: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11977 rm -rf conftest* | 11987 rm -rf conftest* |
11978 eval "ac_cv_func_$ac_func=yes" | 11988 eval "ac_cv_func_$ac_func=yes" |
11979 else | 11989 else |
11980 echo "configure: failed program was:" >&5 | 11990 echo "configure: failed program was:" >&5 |
11981 cat conftest.$ac_ext >&5 | 11991 cat conftest.$ac_ext >&5 |
12001 | 12011 |
12002 done | 12012 done |
12003 fi | 12013 fi |
12004 | 12014 |
12005 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 12015 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
12006 echo "configure:12007: checking stack direction for C alloca" >&5 | 12016 echo "configure:12017: checking stack direction for C alloca" >&5 |
12007 | 12017 |
12008 cat > conftest.$ac_ext <<EOF | 12018 cat > conftest.$ac_ext <<EOF |
12009 #line 12010 "configure" | 12019 #line 12020 "configure" |
12010 #include "confdefs.h" | 12020 #include "confdefs.h" |
12011 find_stack_direction () | 12021 find_stack_direction () |
12012 { | 12022 { |
12013 static char *addr = 0; | 12023 static char *addr = 0; |
12014 auto char dummy; | 12024 auto char dummy; |
12023 main () | 12033 main () |
12024 { | 12034 { |
12025 exit (find_stack_direction() < 0); | 12035 exit (find_stack_direction() < 0); |
12026 } | 12036 } |
12027 EOF | 12037 EOF |
12028 if { (eval echo configure:12029: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12038 if { (eval echo configure:12039: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12029 then | 12039 then |
12030 ac_cv_c_stack_direction=1 | 12040 ac_cv_c_stack_direction=1 |
12031 else | 12041 else |
12032 conftest_rc="$?" | 12042 conftest_rc="$?" |
12033 echo "configure: failed program was:" >&5 | 12043 echo "configure: failed program was:" >&5 |
12052 echo " xemacs will be linked with \"$ALLOCA\"" | 12062 echo " xemacs will be linked with \"$ALLOCA\"" |
12053 fi | 12063 fi |
12054 fi | 12064 fi |
12055 | 12065 |
12056 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 | 12066 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 |
12057 echo "configure:12058: checking for working strcoll" >&5 | 12067 echo "configure:12068: checking for working strcoll" >&5 |
12058 | 12068 |
12059 cat > conftest.$ac_ext <<EOF | 12069 cat > conftest.$ac_ext <<EOF |
12060 #line 12061 "configure" | 12070 #line 12071 "configure" |
12061 #include "confdefs.h" | 12071 #include "confdefs.h" |
12062 #include <string.h> | 12072 #include <string.h> |
12063 main () | 12073 main () |
12064 { | 12074 { |
12065 exit (strcoll ("abc", "def") >= 0 || | 12075 exit (strcoll ("abc", "def") >= 0 || |
12066 strcoll ("ABC", "DEF") >= 0 || | 12076 strcoll ("ABC", "DEF") >= 0 || |
12067 strcoll ("123", "456") >= 0); | 12077 strcoll ("123", "456") >= 0); |
12068 } | 12078 } |
12069 EOF | 12079 EOF |
12070 if { (eval echo configure:12071: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12080 if { (eval echo configure:12081: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12071 then | 12081 then |
12072 ac_cv_func_strcoll_works=yes | 12082 ac_cv_func_strcoll_works=yes |
12073 else | 12083 else |
12074 conftest_rc="$?" | 12084 conftest_rc="$?" |
12075 echo "configure: failed program was:" >&5 | 12085 echo "configure: failed program was:" >&5 |
12093 | 12103 |
12094 | 12104 |
12095 for ac_func in getpgrp | 12105 for ac_func in getpgrp |
12096 do | 12106 do |
12097 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12107 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
12098 echo "configure:12099: checking for $ac_func" >&5 | 12108 echo "configure:12109: checking for $ac_func" >&5 |
12099 | 12109 |
12100 cat > conftest.$ac_ext <<EOF | 12110 cat > conftest.$ac_ext <<EOF |
12101 #line 12102 "configure" | 12111 #line 12112 "configure" |
12102 #include "confdefs.h" | 12112 #include "confdefs.h" |
12103 /* System header to define __stub macros and hopefully few prototypes, | 12113 /* System header to define __stub macros and hopefully few prototypes, |
12104 which can conflict with char $ac_func(); below. */ | 12114 which can conflict with char $ac_func(); below. */ |
12105 #include <assert.h> | 12115 #include <assert.h> |
12106 /* Override any gcc2 internal prototype to avoid an error. */ | 12116 /* Override any gcc2 internal prototype to avoid an error. */ |
12119 $ac_func(); | 12129 $ac_func(); |
12120 #endif | 12130 #endif |
12121 | 12131 |
12122 ; return 0; } | 12132 ; return 0; } |
12123 EOF | 12133 EOF |
12124 if { (eval echo configure:12125: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12134 if { (eval echo configure:12135: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12125 rm -rf conftest* | 12135 rm -rf conftest* |
12126 eval "ac_cv_func_$ac_func=yes" | 12136 eval "ac_cv_func_$ac_func=yes" |
12127 else | 12137 else |
12128 echo "configure: failed program was:" >&5 | 12138 echo "configure: failed program was:" >&5 |
12129 cat conftest.$ac_ext >&5 | 12139 cat conftest.$ac_ext >&5 |
12147 echo "$ac_t""no" 1>&6 | 12157 echo "$ac_t""no" 1>&6 |
12148 fi | 12158 fi |
12149 done | 12159 done |
12150 | 12160 |
12151 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 | 12161 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 |
12152 echo "configure:12153: checking whether getpgrp takes no argument" >&5 | 12162 echo "configure:12163: checking whether getpgrp takes no argument" >&5 |
12153 | 12163 |
12154 cat > conftest.$ac_ext <<EOF | 12164 cat > conftest.$ac_ext <<EOF |
12155 #line 12156 "configure" | 12165 #line 12166 "configure" |
12156 #include "confdefs.h" | 12166 #include "confdefs.h" |
12157 | 12167 |
12158 /* | 12168 /* |
12159 * If this system has a BSD-style getpgrp(), | 12169 * If this system has a BSD-style getpgrp(), |
12160 * which takes a pid argument, exit unsuccessfully. | 12170 * which takes a pid argument, exit unsuccessfully. |
12205 exit(s>>8); | 12215 exit(s>>8); |
12206 } | 12216 } |
12207 } | 12217 } |
12208 | 12218 |
12209 EOF | 12219 EOF |
12210 if { (eval echo configure:12211: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12220 if { (eval echo configure:12221: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12211 then | 12221 then |
12212 ac_cv_func_getpgrp_void=yes | 12222 ac_cv_func_getpgrp_void=yes |
12213 else | 12223 else |
12214 conftest_rc="$?" | 12224 conftest_rc="$?" |
12215 echo "configure: failed program was:" >&5 | 12225 echo "configure: failed program was:" >&5 |
12232 | 12242 |
12233 fi | 12243 fi |
12234 | 12244 |
12235 | 12245 |
12236 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 12246 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
12237 echo "configure:12238: checking for working mmap" >&5 | 12247 echo "configure:12248: checking for working mmap" >&5 |
12238 case "$opsys" in ultrix* ) have_mmap=no ;; *) | 12248 case "$opsys" in ultrix* ) have_mmap=no ;; *) |
12239 cat > conftest.$ac_ext <<EOF | 12249 cat > conftest.$ac_ext <<EOF |
12240 #line 12241 "configure" | 12250 #line 12251 "configure" |
12241 #include "confdefs.h" | 12251 #include "confdefs.h" |
12242 #include <stdio.h> | 12252 #include <stdio.h> |
12243 #include <unistd.h> | 12253 #include <unistd.h> |
12244 #include <fcntl.h> | 12254 #include <fcntl.h> |
12245 #include <sys/mman.h> | 12255 #include <sys/mman.h> |
12268 return 0; | 12278 return 0; |
12269 perror ("conftest: mmap failed"); | 12279 perror ("conftest: mmap failed"); |
12270 return 1; | 12280 return 1; |
12271 } | 12281 } |
12272 EOF | 12282 EOF |
12273 if { (eval echo configure:12274: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12283 if { (eval echo configure:12284: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12274 then | 12284 then |
12275 have_mmap=yes | 12285 have_mmap=yes |
12276 else | 12286 else |
12277 conftest_rc="$?" | 12287 conftest_rc="$?" |
12278 echo "configure: failed program was:" >&5 | 12288 echo "configure: failed program was:" >&5 |
12297 esac | 12307 esac |
12298 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no | 12308 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no |
12299 if test "$rel_alloc $have_mmap" = "default yes"; then | 12309 if test "$rel_alloc $have_mmap" = "default yes"; then |
12300 if test "$doug_lea_malloc" = "yes"; then | 12310 if test "$doug_lea_malloc" = "yes"; then |
12301 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 | 12311 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 |
12302 echo "configure:12303: checking for M_MMAP_THRESHOLD" >&5 | 12312 echo "configure:12313: checking for M_MMAP_THRESHOLD" >&5 |
12303 cat > conftest.$ac_ext <<EOF | 12313 cat > conftest.$ac_ext <<EOF |
12304 #line 12305 "configure" | 12314 #line 12315 "configure" |
12305 #include "confdefs.h" | 12315 #include "confdefs.h" |
12306 #include <malloc.h> | 12316 #include <malloc.h> |
12307 int main() { | 12317 int main() { |
12308 | 12318 |
12309 #ifndef M_MMAP_THRESHOLD | 12319 #ifndef M_MMAP_THRESHOLD |
12311 !@+$%^&*_)(_ - unlikely to compile... | 12321 !@+$%^&*_)(_ - unlikely to compile... |
12312 #endif | 12322 #endif |
12313 | 12323 |
12314 ; return 0; } | 12324 ; return 0; } |
12315 EOF | 12325 EOF |
12316 if { (eval echo configure:12317: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 12326 if { (eval echo configure:12327: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
12317 rm -rf conftest* | 12327 rm -rf conftest* |
12318 rel_alloc=no; echo "$ac_t""yes" 1>&6; | 12328 rel_alloc=no; echo "$ac_t""yes" 1>&6; |
12319 else | 12329 else |
12320 echo "configure: failed program was:" >&5 | 12330 echo "configure: failed program was:" >&5 |
12321 cat conftest.$ac_ext >&5 | 12331 cat conftest.$ac_ext >&5 |
12336 } | 12346 } |
12337 | 12347 |
12338 | 12348 |
12339 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` | 12349 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` |
12340 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 | 12350 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 |
12341 echo "configure:12342: checking for termios.h" >&5 | 12351 echo "configure:12352: checking for termios.h" >&5 |
12342 | 12352 |
12343 cat > conftest.$ac_ext <<EOF | 12353 cat > conftest.$ac_ext <<EOF |
12344 #line 12345 "configure" | 12354 #line 12355 "configure" |
12345 #include "confdefs.h" | 12355 #include "confdefs.h" |
12346 #include <termios.h> | 12356 #include <termios.h> |
12347 EOF | 12357 EOF |
12348 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12358 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12349 { (eval echo configure:12350: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12359 { (eval echo configure:12360: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12350 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12360 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12351 if test -z "$ac_err"; then | 12361 if test -z "$ac_err"; then |
12352 rm -rf conftest* | 12362 rm -rf conftest* |
12353 eval "ac_cv_header_$ac_safe=yes" | 12363 eval "ac_cv_header_$ac_safe=yes" |
12354 else | 12364 else |
12387 | 12397 |
12388 else | 12398 else |
12389 echo "$ac_t""no" 1>&6 | 12399 echo "$ac_t""no" 1>&6 |
12390 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` | 12400 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` |
12391 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 | 12401 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 |
12392 echo "configure:12393: checking for termio.h" >&5 | 12402 echo "configure:12403: checking for termio.h" >&5 |
12393 | 12403 |
12394 cat > conftest.$ac_ext <<EOF | 12404 cat > conftest.$ac_ext <<EOF |
12395 #line 12396 "configure" | 12405 #line 12406 "configure" |
12396 #include "confdefs.h" | 12406 #include "confdefs.h" |
12397 #include <termio.h> | 12407 #include <termio.h> |
12398 EOF | 12408 EOF |
12399 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12409 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12400 { (eval echo configure:12401: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12410 { (eval echo configure:12411: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12401 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12411 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12402 if test -z "$ac_err"; then | 12412 if test -z "$ac_err"; then |
12403 rm -rf conftest* | 12413 rm -rf conftest* |
12404 eval "ac_cv_header_$ac_safe=yes" | 12414 eval "ac_cv_header_$ac_safe=yes" |
12405 else | 12415 else |
12427 fi | 12437 fi |
12428 | 12438 |
12429 | 12439 |
12430 | 12440 |
12431 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 12441 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
12432 echo "configure:12433: checking for socket" >&5 | 12442 echo "configure:12443: checking for socket" >&5 |
12433 | 12443 |
12434 cat > conftest.$ac_ext <<EOF | 12444 cat > conftest.$ac_ext <<EOF |
12435 #line 12436 "configure" | 12445 #line 12446 "configure" |
12436 #include "confdefs.h" | 12446 #include "confdefs.h" |
12437 /* System header to define __stub macros and hopefully few prototypes, | 12447 /* System header to define __stub macros and hopefully few prototypes, |
12438 which can conflict with char socket(); below. */ | 12448 which can conflict with char socket(); below. */ |
12439 #include <assert.h> | 12449 #include <assert.h> |
12440 /* Override any gcc2 internal prototype to avoid an error. */ | 12450 /* Override any gcc2 internal prototype to avoid an error. */ |
12453 socket(); | 12463 socket(); |
12454 #endif | 12464 #endif |
12455 | 12465 |
12456 ; return 0; } | 12466 ; return 0; } |
12457 EOF | 12467 EOF |
12458 if { (eval echo configure:12459: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12468 if { (eval echo configure:12469: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12459 rm -rf conftest* | 12469 rm -rf conftest* |
12460 eval "ac_cv_func_socket=yes" | 12470 eval "ac_cv_func_socket=yes" |
12461 else | 12471 else |
12462 echo "configure: failed program was:" >&5 | 12472 echo "configure: failed program was:" >&5 |
12463 cat conftest.$ac_ext >&5 | 12473 cat conftest.$ac_ext >&5 |
12468 | 12478 |
12469 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then | 12479 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then |
12470 echo "$ac_t""yes" 1>&6 | 12480 echo "$ac_t""yes" 1>&6 |
12471 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 12481 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
12472 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 12482 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
12473 echo "configure:12474: checking for netinet/in.h" >&5 | 12483 echo "configure:12484: checking for netinet/in.h" >&5 |
12474 | 12484 |
12475 cat > conftest.$ac_ext <<EOF | 12485 cat > conftest.$ac_ext <<EOF |
12476 #line 12477 "configure" | 12486 #line 12487 "configure" |
12477 #include "confdefs.h" | 12487 #include "confdefs.h" |
12478 #include <netinet/in.h> | 12488 #include <netinet/in.h> |
12479 EOF | 12489 EOF |
12480 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12490 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12481 { (eval echo configure:12482: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12491 { (eval echo configure:12492: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12482 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12492 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12483 if test -z "$ac_err"; then | 12493 if test -z "$ac_err"; then |
12484 rm -rf conftest* | 12494 rm -rf conftest* |
12485 eval "ac_cv_header_$ac_safe=yes" | 12495 eval "ac_cv_header_$ac_safe=yes" |
12486 else | 12496 else |
12493 rm -f conftest* | 12503 rm -f conftest* |
12494 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 12504 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
12495 echo "$ac_t""yes" 1>&6 | 12505 echo "$ac_t""yes" 1>&6 |
12496 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 12506 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
12497 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 12507 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
12498 echo "configure:12499: checking for arpa/inet.h" >&5 | 12508 echo "configure:12509: checking for arpa/inet.h" >&5 |
12499 | 12509 |
12500 cat > conftest.$ac_ext <<EOF | 12510 cat > conftest.$ac_ext <<EOF |
12501 #line 12502 "configure" | 12511 #line 12512 "configure" |
12502 #include "confdefs.h" | 12512 #include "confdefs.h" |
12503 #include <arpa/inet.h> | 12513 #include <arpa/inet.h> |
12504 EOF | 12514 EOF |
12505 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12515 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12506 { (eval echo configure:12507: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12516 { (eval echo configure:12517: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12507 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12517 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12508 if test -z "$ac_err"; then | 12518 if test -z "$ac_err"; then |
12509 rm -rf conftest* | 12519 rm -rf conftest* |
12510 eval "ac_cv_header_$ac_safe=yes" | 12520 eval "ac_cv_header_$ac_safe=yes" |
12511 else | 12521 else |
12526 #define HAVE_SOCKETS 1 | 12536 #define HAVE_SOCKETS 1 |
12527 EOF | 12537 EOF |
12528 } | 12538 } |
12529 | 12539 |
12530 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 | 12540 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 |
12531 echo "configure:12532: checking "for sun_len member in struct sockaddr_un"" >&5 | 12541 echo "configure:12542: checking "for sun_len member in struct sockaddr_un"" >&5 |
12532 cat > conftest.$ac_ext <<EOF | 12542 cat > conftest.$ac_ext <<EOF |
12533 #line 12534 "configure" | 12543 #line 12544 "configure" |
12534 #include "confdefs.h" | 12544 #include "confdefs.h" |
12535 | 12545 |
12536 #include <sys/types.h> | 12546 #include <sys/types.h> |
12537 #include <sys/socket.h> | 12547 #include <sys/socket.h> |
12538 #include <sys/un.h> | 12548 #include <sys/un.h> |
12539 | 12549 |
12540 int main() { | 12550 int main() { |
12541 static struct sockaddr_un x; x.sun_len = 1; | 12551 static struct sockaddr_un x; x.sun_len = 1; |
12542 ; return 0; } | 12552 ; return 0; } |
12543 EOF | 12553 EOF |
12544 if { (eval echo configure:12545: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12554 if { (eval echo configure:12555: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12545 rm -rf conftest* | 12555 rm -rf conftest* |
12546 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 12556 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
12547 Defining HAVE_SOCKADDR_SUN_LEN | 12557 Defining HAVE_SOCKADDR_SUN_LEN |
12548 EOF | 12558 EOF |
12549 cat >> confdefs.h <<\EOF | 12559 cat >> confdefs.h <<\EOF |
12557 rm -rf conftest* | 12567 rm -rf conftest* |
12558 echo "$ac_t""no" 1>&6 | 12568 echo "$ac_t""no" 1>&6 |
12559 fi | 12569 fi |
12560 rm -f conftest* | 12570 rm -f conftest* |
12561 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 | 12571 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 |
12562 echo "configure:12563: checking "for ip_mreq struct in netinet/in.h"" >&5 | 12572 echo "configure:12573: checking "for ip_mreq struct in netinet/in.h"" >&5 |
12563 cat > conftest.$ac_ext <<EOF | 12573 cat > conftest.$ac_ext <<EOF |
12564 #line 12565 "configure" | 12574 #line 12575 "configure" |
12565 #include "confdefs.h" | 12575 #include "confdefs.h" |
12566 | 12576 |
12567 #include <sys/types.h> | 12577 #include <sys/types.h> |
12568 #include <netinet/in.h> | 12578 #include <netinet/in.h> |
12569 | 12579 |
12570 int main() { | 12580 int main() { |
12571 static struct ip_mreq x; | 12581 static struct ip_mreq x; |
12572 ; return 0; } | 12582 ; return 0; } |
12573 EOF | 12583 EOF |
12574 if { (eval echo configure:12575: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12584 if { (eval echo configure:12585: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12575 rm -rf conftest* | 12585 rm -rf conftest* |
12576 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 12586 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
12577 Defining HAVE_MULTICAST | 12587 Defining HAVE_MULTICAST |
12578 EOF | 12588 EOF |
12579 cat >> confdefs.h <<\EOF | 12589 cat >> confdefs.h <<\EOF |
12600 echo "$ac_t""no" 1>&6 | 12610 echo "$ac_t""no" 1>&6 |
12601 fi | 12611 fi |
12602 | 12612 |
12603 | 12613 |
12604 echo $ac_n "checking for msgget""... $ac_c" 1>&6 | 12614 echo $ac_n "checking for msgget""... $ac_c" 1>&6 |
12605 echo "configure:12606: checking for msgget" >&5 | 12615 echo "configure:12616: checking for msgget" >&5 |
12606 | 12616 |
12607 cat > conftest.$ac_ext <<EOF | 12617 cat > conftest.$ac_ext <<EOF |
12608 #line 12609 "configure" | 12618 #line 12619 "configure" |
12609 #include "confdefs.h" | 12619 #include "confdefs.h" |
12610 /* System header to define __stub macros and hopefully few prototypes, | 12620 /* System header to define __stub macros and hopefully few prototypes, |
12611 which can conflict with char msgget(); below. */ | 12621 which can conflict with char msgget(); below. */ |
12612 #include <assert.h> | 12622 #include <assert.h> |
12613 /* Override any gcc2 internal prototype to avoid an error. */ | 12623 /* Override any gcc2 internal prototype to avoid an error. */ |
12626 msgget(); | 12636 msgget(); |
12627 #endif | 12637 #endif |
12628 | 12638 |
12629 ; return 0; } | 12639 ; return 0; } |
12630 EOF | 12640 EOF |
12631 if { (eval echo configure:12632: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12641 if { (eval echo configure:12642: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12632 rm -rf conftest* | 12642 rm -rf conftest* |
12633 eval "ac_cv_func_msgget=yes" | 12643 eval "ac_cv_func_msgget=yes" |
12634 else | 12644 else |
12635 echo "configure: failed program was:" >&5 | 12645 echo "configure: failed program was:" >&5 |
12636 cat conftest.$ac_ext >&5 | 12646 cat conftest.$ac_ext >&5 |
12641 | 12651 |
12642 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then | 12652 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then |
12643 echo "$ac_t""yes" 1>&6 | 12653 echo "$ac_t""yes" 1>&6 |
12644 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` | 12654 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` |
12645 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 | 12655 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 |
12646 echo "configure:12647: checking for sys/ipc.h" >&5 | 12656 echo "configure:12657: checking for sys/ipc.h" >&5 |
12647 | 12657 |
12648 cat > conftest.$ac_ext <<EOF | 12658 cat > conftest.$ac_ext <<EOF |
12649 #line 12650 "configure" | 12659 #line 12660 "configure" |
12650 #include "confdefs.h" | 12660 #include "confdefs.h" |
12651 #include <sys/ipc.h> | 12661 #include <sys/ipc.h> |
12652 EOF | 12662 EOF |
12653 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12663 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12654 { (eval echo configure:12655: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12664 { (eval echo configure:12665: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12655 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12665 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12656 if test -z "$ac_err"; then | 12666 if test -z "$ac_err"; then |
12657 rm -rf conftest* | 12667 rm -rf conftest* |
12658 eval "ac_cv_header_$ac_safe=yes" | 12668 eval "ac_cv_header_$ac_safe=yes" |
12659 else | 12669 else |
12666 rm -f conftest* | 12676 rm -f conftest* |
12667 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 12677 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
12668 echo "$ac_t""yes" 1>&6 | 12678 echo "$ac_t""yes" 1>&6 |
12669 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` | 12679 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` |
12670 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 | 12680 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 |
12671 echo "configure:12672: checking for sys/msg.h" >&5 | 12681 echo "configure:12682: checking for sys/msg.h" >&5 |
12672 | 12682 |
12673 cat > conftest.$ac_ext <<EOF | 12683 cat > conftest.$ac_ext <<EOF |
12674 #line 12675 "configure" | 12684 #line 12685 "configure" |
12675 #include "confdefs.h" | 12685 #include "confdefs.h" |
12676 #include <sys/msg.h> | 12686 #include <sys/msg.h> |
12677 EOF | 12687 EOF |
12678 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12688 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12679 { (eval echo configure:12680: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12689 { (eval echo configure:12690: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12680 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12690 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12681 if test -z "$ac_err"; then | 12691 if test -z "$ac_err"; then |
12682 rm -rf conftest* | 12692 rm -rf conftest* |
12683 eval "ac_cv_header_$ac_safe=yes" | 12693 eval "ac_cv_header_$ac_safe=yes" |
12684 else | 12694 else |
12712 fi | 12722 fi |
12713 | 12723 |
12714 | 12724 |
12715 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` | 12725 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` |
12716 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 | 12726 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 |
12717 echo "configure:12718: checking for dirent.h" >&5 | 12727 echo "configure:12728: checking for dirent.h" >&5 |
12718 | 12728 |
12719 cat > conftest.$ac_ext <<EOF | 12729 cat > conftest.$ac_ext <<EOF |
12720 #line 12721 "configure" | 12730 #line 12731 "configure" |
12721 #include "confdefs.h" | 12731 #include "confdefs.h" |
12722 #include <dirent.h> | 12732 #include <dirent.h> |
12723 EOF | 12733 EOF |
12724 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12734 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12725 { (eval echo configure:12726: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12735 { (eval echo configure:12736: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12726 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12736 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12727 if test -z "$ac_err"; then | 12737 if test -z "$ac_err"; then |
12728 rm -rf conftest* | 12738 rm -rf conftest* |
12729 eval "ac_cv_header_$ac_safe=yes" | 12739 eval "ac_cv_header_$ac_safe=yes" |
12730 else | 12740 else |
12747 | 12757 |
12748 else | 12758 else |
12749 echo "$ac_t""no" 1>&6 | 12759 echo "$ac_t""no" 1>&6 |
12750 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` | 12760 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` |
12751 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 | 12761 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 |
12752 echo "configure:12753: checking for sys/dir.h" >&5 | 12762 echo "configure:12763: checking for sys/dir.h" >&5 |
12753 | 12763 |
12754 cat > conftest.$ac_ext <<EOF | 12764 cat > conftest.$ac_ext <<EOF |
12755 #line 12756 "configure" | 12765 #line 12766 "configure" |
12756 #include "confdefs.h" | 12766 #include "confdefs.h" |
12757 #include <sys/dir.h> | 12767 #include <sys/dir.h> |
12758 EOF | 12768 EOF |
12759 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12769 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12760 { (eval echo configure:12761: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12770 { (eval echo configure:12771: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12761 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12771 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12762 if test -z "$ac_err"; then | 12772 if test -z "$ac_err"; then |
12763 rm -rf conftest* | 12773 rm -rf conftest* |
12764 eval "ac_cv_header_$ac_safe=yes" | 12774 eval "ac_cv_header_$ac_safe=yes" |
12765 else | 12775 else |
12788 fi | 12798 fi |
12789 | 12799 |
12790 | 12800 |
12791 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 12801 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
12792 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 12802 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
12793 echo "configure:12794: checking for nlist.h" >&5 | 12803 echo "configure:12804: checking for nlist.h" >&5 |
12794 | 12804 |
12795 cat > conftest.$ac_ext <<EOF | 12805 cat > conftest.$ac_ext <<EOF |
12796 #line 12797 "configure" | 12806 #line 12807 "configure" |
12797 #include "confdefs.h" | 12807 #include "confdefs.h" |
12798 #include <nlist.h> | 12808 #include <nlist.h> |
12799 EOF | 12809 EOF |
12800 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12810 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12801 { (eval echo configure:12802: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12811 { (eval echo configure:12812: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12802 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12812 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12803 if test -z "$ac_err"; then | 12813 if test -z "$ac_err"; then |
12804 rm -rf conftest* | 12814 rm -rf conftest* |
12805 eval "ac_cv_header_$ac_safe=yes" | 12815 eval "ac_cv_header_$ac_safe=yes" |
12806 else | 12816 else |
12826 fi | 12836 fi |
12827 | 12837 |
12828 | 12838 |
12829 | 12839 |
12830 echo "checking "for sound support"" 1>&6 | 12840 echo "checking "for sound support"" 1>&6 |
12831 echo "configure:12832: checking "for sound support"" >&5 | 12841 echo "configure:12842: checking "for sound support"" >&5 |
12832 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes | 12842 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes |
12833 | 12843 |
12834 if test "$with_native_sound" != "no"; then | 12844 if test "$with_native_sound" != "no"; then |
12835 if test -n "$native_sound_lib"; then | 12845 if test -n "$native_sound_lib"; then |
12836 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` | 12846 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` |
12837 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 | 12847 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 |
12838 echo "configure:12839: checking for multimedia/audio_device.h" >&5 | 12848 echo "configure:12849: checking for multimedia/audio_device.h" >&5 |
12839 | 12849 |
12840 cat > conftest.$ac_ext <<EOF | 12850 cat > conftest.$ac_ext <<EOF |
12841 #line 12842 "configure" | 12851 #line 12852 "configure" |
12842 #include "confdefs.h" | 12852 #include "confdefs.h" |
12843 #include <multimedia/audio_device.h> | 12853 #include <multimedia/audio_device.h> |
12844 EOF | 12854 EOF |
12845 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12855 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12846 { (eval echo configure:12847: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12856 { (eval echo configure:12857: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12847 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12857 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12848 if test -z "$ac_err"; then | 12858 if test -z "$ac_err"; then |
12849 rm -rf conftest* | 12859 rm -rf conftest* |
12850 eval "ac_cv_header_$ac_safe=yes" | 12860 eval "ac_cv_header_$ac_safe=yes" |
12851 else | 12861 else |
12889 case "$canonical" in | 12899 case "$canonical" in |
12890 *-sgi-* ) | 12900 *-sgi-* ) |
12891 if test -z "$native_sound_lib"; then | 12901 if test -z "$native_sound_lib"; then |
12892 | 12902 |
12893 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 | 12903 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 |
12894 echo "configure:12895: checking for ALopenport in -laudio" >&5 | 12904 echo "configure:12905: checking for ALopenport in -laudio" >&5 |
12895 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` | 12905 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` |
12896 | 12906 |
12897 xe_check_libs=" -laudio " | 12907 xe_check_libs=" -laudio " |
12898 cat > conftest.$ac_ext <<EOF | 12908 cat > conftest.$ac_ext <<EOF |
12899 #line 12900 "configure" | 12909 #line 12910 "configure" |
12900 #include "confdefs.h" | 12910 #include "confdefs.h" |
12901 /* Override any gcc2 internal prototype to avoid an error. */ | 12911 /* Override any gcc2 internal prototype to avoid an error. */ |
12902 /* We use char because int might match the return type of a gcc2 | 12912 /* We use char because int might match the return type of a gcc2 |
12903 builtin and then its argument prototype would still apply. */ | 12913 builtin and then its argument prototype would still apply. */ |
12904 char ALopenport(); | 12914 char ALopenport(); |
12905 | 12915 |
12906 int main() { | 12916 int main() { |
12907 ALopenport() | 12917 ALopenport() |
12908 ; return 0; } | 12918 ; return 0; } |
12909 EOF | 12919 EOF |
12910 if { (eval echo configure:12911: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12920 if { (eval echo configure:12921: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12911 rm -rf conftest* | 12921 rm -rf conftest* |
12912 eval "ac_cv_lib_$ac_lib_var=yes" | 12922 eval "ac_cv_lib_$ac_lib_var=yes" |
12913 else | 12923 else |
12914 echo "configure: failed program was:" >&5 | 12924 echo "configure: failed program was:" >&5 |
12915 cat conftest.$ac_ext >&5 | 12925 cat conftest.$ac_ext >&5 |
12936 fi ;; | 12946 fi ;; |
12937 hppa*-hp-hpux* ) | 12947 hppa*-hp-hpux* ) |
12938 if test -z "$native_sound_lib"; then | 12948 if test -z "$native_sound_lib"; then |
12939 | 12949 |
12940 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 | 12950 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 |
12941 echo "configure:12942: checking for AOpenAudio in -lAlib" >&5 | 12951 echo "configure:12952: checking for AOpenAudio in -lAlib" >&5 |
12942 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` | 12952 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` |
12943 | 12953 |
12944 xe_check_libs=" -lAlib " | 12954 xe_check_libs=" -lAlib " |
12945 cat > conftest.$ac_ext <<EOF | 12955 cat > conftest.$ac_ext <<EOF |
12946 #line 12947 "configure" | 12956 #line 12957 "configure" |
12947 #include "confdefs.h" | 12957 #include "confdefs.h" |
12948 /* Override any gcc2 internal prototype to avoid an error. */ | 12958 /* Override any gcc2 internal prototype to avoid an error. */ |
12949 /* We use char because int might match the return type of a gcc2 | 12959 /* We use char because int might match the return type of a gcc2 |
12950 builtin and then its argument prototype would still apply. */ | 12960 builtin and then its argument prototype would still apply. */ |
12951 char AOpenAudio(); | 12961 char AOpenAudio(); |
12952 | 12962 |
12953 int main() { | 12963 int main() { |
12954 AOpenAudio() | 12964 AOpenAudio() |
12955 ; return 0; } | 12965 ; return 0; } |
12956 EOF | 12966 EOF |
12957 if { (eval echo configure:12958: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12967 if { (eval echo configure:12968: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12958 rm -rf conftest* | 12968 rm -rf conftest* |
12959 eval "ac_cv_lib_$ac_lib_var=yes" | 12969 eval "ac_cv_lib_$ac_lib_var=yes" |
12960 else | 12970 else |
12961 echo "configure: failed program was:" >&5 | 12971 echo "configure: failed program was:" >&5 |
12962 cat conftest.$ac_ext >&5 | 12972 cat conftest.$ac_ext >&5 |
13000 | 13010 |
13001 if test -z "$sound_found"; then | 13011 if test -z "$sound_found"; then |
13002 for dir in "machine" "sys" "linux"; do | 13012 for dir in "machine" "sys" "linux"; do |
13003 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` | 13013 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` |
13004 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 | 13014 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 |
13005 echo "configure:13006: checking for ${dir}/soundcard.h" >&5 | 13015 echo "configure:13016: checking for ${dir}/soundcard.h" >&5 |
13006 | 13016 |
13007 cat > conftest.$ac_ext <<EOF | 13017 cat > conftest.$ac_ext <<EOF |
13008 #line 13009 "configure" | 13018 #line 13019 "configure" |
13009 #include "confdefs.h" | 13019 #include "confdefs.h" |
13010 #include <${dir}/soundcard.h> | 13020 #include <${dir}/soundcard.h> |
13011 EOF | 13021 EOF |
13012 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13022 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13013 { (eval echo configure:13014: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13023 { (eval echo configure:13024: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13014 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13024 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13015 if test -z "$ac_err"; then | 13025 if test -z "$ac_err"; then |
13016 rm -rf conftest* | 13026 rm -rf conftest* |
13017 eval "ac_cv_header_$ac_safe=yes" | 13027 eval "ac_cv_header_$ac_safe=yes" |
13018 else | 13028 else |
13062 fi | 13072 fi |
13063 | 13073 |
13064 if test "$with_nas_sound" != "no"; then | 13074 if test "$with_nas_sound" != "no"; then |
13065 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` | 13075 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` |
13066 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 | 13076 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 |
13067 echo "configure:13068: checking for audio/audiolib.h" >&5 | 13077 echo "configure:13078: checking for audio/audiolib.h" >&5 |
13068 | 13078 |
13069 cat > conftest.$ac_ext <<EOF | 13079 cat > conftest.$ac_ext <<EOF |
13070 #line 13071 "configure" | 13080 #line 13081 "configure" |
13071 #include "confdefs.h" | 13081 #include "confdefs.h" |
13072 #include <audio/audiolib.h> | 13082 #include <audio/audiolib.h> |
13073 EOF | 13083 EOF |
13074 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13084 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13075 { (eval echo configure:13076: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13085 { (eval echo configure:13086: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13076 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13086 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13077 if test -z "$ac_err"; then | 13087 if test -z "$ac_err"; then |
13078 rm -rf conftest* | 13088 rm -rf conftest* |
13079 eval "ac_cv_header_$ac_safe=yes" | 13089 eval "ac_cv_header_$ac_safe=yes" |
13080 else | 13090 else |
13088 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 13098 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
13089 echo "$ac_t""yes" 1>&6 | 13099 echo "$ac_t""yes" 1>&6 |
13090 | 13100 |
13091 | 13101 |
13092 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 | 13102 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 |
13093 echo "configure:13094: checking for AuOpenServer in -laudio" >&5 | 13103 echo "configure:13104: checking for AuOpenServer in -laudio" >&5 |
13094 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` | 13104 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` |
13095 | 13105 |
13096 xe_check_libs=" -laudio " | 13106 xe_check_libs=" -laudio " |
13097 cat > conftest.$ac_ext <<EOF | 13107 cat > conftest.$ac_ext <<EOF |
13098 #line 13099 "configure" | 13108 #line 13109 "configure" |
13099 #include "confdefs.h" | 13109 #include "confdefs.h" |
13100 /* Override any gcc2 internal prototype to avoid an error. */ | 13110 /* Override any gcc2 internal prototype to avoid an error. */ |
13101 /* We use char because int might match the return type of a gcc2 | 13111 /* We use char because int might match the return type of a gcc2 |
13102 builtin and then its argument prototype would still apply. */ | 13112 builtin and then its argument prototype would still apply. */ |
13103 char AuOpenServer(); | 13113 char AuOpenServer(); |
13104 | 13114 |
13105 int main() { | 13115 int main() { |
13106 AuOpenServer() | 13116 AuOpenServer() |
13107 ; return 0; } | 13117 ; return 0; } |
13108 EOF | 13118 EOF |
13109 if { (eval echo configure:13110: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13119 if { (eval echo configure:13120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13110 rm -rf conftest* | 13120 rm -rf conftest* |
13111 eval "ac_cv_lib_$ac_lib_var=yes" | 13121 eval "ac_cv_lib_$ac_lib_var=yes" |
13112 else | 13122 else |
13113 echo "configure: failed program was:" >&5 | 13123 echo "configure: failed program was:" >&5 |
13114 cat conftest.$ac_ext >&5 | 13124 cat conftest.$ac_ext >&5 |
13143 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then | 13153 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then |
13144 echo " xemacs will be linked with \"nas.o\"" | 13154 echo " xemacs will be linked with \"nas.o\"" |
13145 fi | 13155 fi |
13146 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi | 13156 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi |
13147 cat > conftest.$ac_ext <<EOF | 13157 cat > conftest.$ac_ext <<EOF |
13148 #line 13149 "configure" | 13158 #line 13159 "configure" |
13149 #include "confdefs.h" | 13159 #include "confdefs.h" |
13150 #include <audio/Xtutil.h> | 13160 #include <audio/Xtutil.h> |
13151 EOF | 13161 EOF |
13152 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 13162 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
13153 egrep "AuXtErrorJump" >/dev/null 2>&1; then | 13163 egrep "AuXtErrorJump" >/dev/null 2>&1; then |
13174 | 13184 |
13175 if test "$with_esd_sound" != "no"; then | 13185 if test "$with_esd_sound" != "no"; then |
13176 # Extract the first word of "esd-config", so it can be a program name with args. | 13186 # Extract the first word of "esd-config", so it can be a program name with args. |
13177 set dummy esd-config; ac_word=$2 | 13187 set dummy esd-config; ac_word=$2 |
13178 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 13188 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
13179 echo "configure:13180: checking for $ac_word" >&5 | 13189 echo "configure:13190: checking for $ac_word" >&5 |
13180 | 13190 |
13181 if test -n "$have_esd_config"; then | 13191 if test -n "$have_esd_config"; then |
13182 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. | 13192 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. |
13183 else | 13193 else |
13184 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 13194 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
13203 if test "$have_esd_config" = "yes"; then | 13213 if test "$have_esd_config" = "yes"; then |
13204 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" | 13214 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" |
13205 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 | 13215 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 |
13206 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi | 13216 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi |
13207 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 | 13217 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 |
13208 echo "configure:13209: checking for esd_play_stream" >&5 | 13218 echo "configure:13219: checking for esd_play_stream" >&5 |
13209 | 13219 |
13210 cat > conftest.$ac_ext <<EOF | 13220 cat > conftest.$ac_ext <<EOF |
13211 #line 13212 "configure" | 13221 #line 13222 "configure" |
13212 #include "confdefs.h" | 13222 #include "confdefs.h" |
13213 /* System header to define __stub macros and hopefully few prototypes, | 13223 /* System header to define __stub macros and hopefully few prototypes, |
13214 which can conflict with char esd_play_stream(); below. */ | 13224 which can conflict with char esd_play_stream(); below. */ |
13215 #include <assert.h> | 13225 #include <assert.h> |
13216 /* Override any gcc2 internal prototype to avoid an error. */ | 13226 /* Override any gcc2 internal prototype to avoid an error. */ |
13229 esd_play_stream(); | 13239 esd_play_stream(); |
13230 #endif | 13240 #endif |
13231 | 13241 |
13232 ; return 0; } | 13242 ; return 0; } |
13233 EOF | 13243 EOF |
13234 if { (eval echo configure:13235: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13244 if { (eval echo configure:13245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13235 rm -rf conftest* | 13245 rm -rf conftest* |
13236 eval "ac_cv_func_esd_play_stream=yes" | 13246 eval "ac_cv_func_esd_play_stream=yes" |
13237 else | 13247 else |
13238 echo "configure: failed program was:" >&5 | 13248 echo "configure: failed program was:" >&5 |
13239 cat conftest.$ac_ext >&5 | 13249 cat conftest.$ac_ext >&5 |
13280 | 13290 |
13281 test -z "$with_tty" && with_tty=yes | 13291 test -z "$with_tty" && with_tty=yes |
13282 | 13292 |
13283 if test "$with_tty" = "yes" ; then | 13293 if test "$with_tty" = "yes" ; then |
13284 echo "checking for TTY-related features" 1>&6 | 13294 echo "checking for TTY-related features" 1>&6 |
13285 echo "configure:13286: checking for TTY-related features" >&5 | 13295 echo "configure:13296: checking for TTY-related features" >&5 |
13286 { test "$extra_verbose" = "yes" && cat << \EOF | 13296 { test "$extra_verbose" = "yes" && cat << \EOF |
13287 Defining HAVE_TTY | 13297 Defining HAVE_TTY |
13288 EOF | 13298 EOF |
13289 cat >> confdefs.h <<\EOF | 13299 cat >> confdefs.h <<\EOF |
13290 #define HAVE_TTY 1 | 13300 #define HAVE_TTY 1 |
13293 | 13303 |
13294 | 13304 |
13295 if test -z "$with_ncurses"; then | 13305 if test -z "$with_ncurses"; then |
13296 | 13306 |
13297 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 | 13307 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 |
13298 echo "configure:13299: checking for tgetent in -lncurses" >&5 | 13308 echo "configure:13309: checking for tgetent in -lncurses" >&5 |
13299 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` | 13309 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` |
13300 | 13310 |
13301 xe_check_libs=" -lncurses " | 13311 xe_check_libs=" -lncurses " |
13302 cat > conftest.$ac_ext <<EOF | 13312 cat > conftest.$ac_ext <<EOF |
13303 #line 13304 "configure" | 13313 #line 13314 "configure" |
13304 #include "confdefs.h" | 13314 #include "confdefs.h" |
13305 /* Override any gcc2 internal prototype to avoid an error. */ | 13315 /* Override any gcc2 internal prototype to avoid an error. */ |
13306 /* We use char because int might match the return type of a gcc2 | 13316 /* We use char because int might match the return type of a gcc2 |
13307 builtin and then its argument prototype would still apply. */ | 13317 builtin and then its argument prototype would still apply. */ |
13308 char tgetent(); | 13318 char tgetent(); |
13309 | 13319 |
13310 int main() { | 13320 int main() { |
13311 tgetent() | 13321 tgetent() |
13312 ; return 0; } | 13322 ; return 0; } |
13313 EOF | 13323 EOF |
13314 if { (eval echo configure:13315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13324 if { (eval echo configure:13325: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13315 rm -rf conftest* | 13325 rm -rf conftest* |
13316 eval "ac_cv_lib_$ac_lib_var=yes" | 13326 eval "ac_cv_lib_$ac_lib_var=yes" |
13317 else | 13327 else |
13318 echo "configure: failed program was:" >&5 | 13328 echo "configure: failed program was:" >&5 |
13319 cat conftest.$ac_ext >&5 | 13329 cat conftest.$ac_ext >&5 |
13342 EOF | 13352 EOF |
13343 } | 13353 } |
13344 | 13354 |
13345 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 13355 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
13346 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 13356 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
13347 echo "configure:13348: checking for ncurses/curses.h" >&5 | 13357 echo "configure:13358: checking for ncurses/curses.h" >&5 |
13348 | 13358 |
13349 cat > conftest.$ac_ext <<EOF | 13359 cat > conftest.$ac_ext <<EOF |
13350 #line 13351 "configure" | 13360 #line 13361 "configure" |
13351 #include "confdefs.h" | 13361 #include "confdefs.h" |
13352 #include <ncurses/curses.h> | 13362 #include <ncurses/curses.h> |
13353 EOF | 13363 EOF |
13354 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13364 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13355 { (eval echo configure:13356: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13365 { (eval echo configure:13366: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13356 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13366 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13357 if test -z "$ac_err"; then | 13367 if test -z "$ac_err"; then |
13358 rm -rf conftest* | 13368 rm -rf conftest* |
13359 eval "ac_cv_header_$ac_safe=yes" | 13369 eval "ac_cv_header_$ac_safe=yes" |
13360 else | 13370 else |
13372 echo "$ac_t""no" 1>&6 | 13382 echo "$ac_t""no" 1>&6 |
13373 fi | 13383 fi |
13374 | 13384 |
13375 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` | 13385 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` |
13376 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 | 13386 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 |
13377 echo "configure:13378: checking for ncurses/term.h" >&5 | 13387 echo "configure:13388: checking for ncurses/term.h" >&5 |
13378 | 13388 |
13379 cat > conftest.$ac_ext <<EOF | 13389 cat > conftest.$ac_ext <<EOF |
13380 #line 13381 "configure" | 13390 #line 13391 "configure" |
13381 #include "confdefs.h" | 13391 #include "confdefs.h" |
13382 #include <ncurses/term.h> | 13392 #include <ncurses/term.h> |
13383 EOF | 13393 EOF |
13384 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13394 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13385 { (eval echo configure:13386: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13395 { (eval echo configure:13396: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13386 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13396 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13387 if test -z "$ac_err"; then | 13397 if test -z "$ac_err"; then |
13388 rm -rf conftest* | 13398 rm -rf conftest* |
13389 eval "ac_cv_header_$ac_safe=yes" | 13399 eval "ac_cv_header_$ac_safe=yes" |
13390 else | 13400 else |
13410 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then | 13420 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then |
13411 save_c_switch_site="$c_switch_site" | 13421 save_c_switch_site="$c_switch_site" |
13412 c_switch_site="$c_switch_site -I/usr/include/ncurses" | 13422 c_switch_site="$c_switch_site -I/usr/include/ncurses" |
13413 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 13423 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
13414 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 13424 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
13415 echo "configure:13416: checking for ncurses/curses.h" >&5 | 13425 echo "configure:13426: checking for ncurses/curses.h" >&5 |
13416 | 13426 |
13417 cat > conftest.$ac_ext <<EOF | 13427 cat > conftest.$ac_ext <<EOF |
13418 #line 13419 "configure" | 13428 #line 13429 "configure" |
13419 #include "confdefs.h" | 13429 #include "confdefs.h" |
13420 #include <ncurses/curses.h> | 13430 #include <ncurses/curses.h> |
13421 EOF | 13431 EOF |
13422 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13432 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13423 { (eval echo configure:13424: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13433 { (eval echo configure:13434: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13424 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13434 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13425 if test -z "$ac_err"; then | 13435 if test -z "$ac_err"; then |
13426 rm -rf conftest* | 13436 rm -rf conftest* |
13427 eval "ac_cv_header_$ac_safe=yes" | 13437 eval "ac_cv_header_$ac_safe=yes" |
13428 else | 13438 else |
13453 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 13463 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
13454 else | 13464 else |
13455 for lib in curses termlib termcap; do | 13465 for lib in curses termlib termcap; do |
13456 | 13466 |
13457 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 | 13467 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 |
13458 echo "configure:13459: checking for tgetent in -l$lib" >&5 | 13468 echo "configure:13469: checking for tgetent in -l$lib" >&5 |
13459 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` | 13469 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` |
13460 | 13470 |
13461 xe_check_libs=" -l$lib " | 13471 xe_check_libs=" -l$lib " |
13462 cat > conftest.$ac_ext <<EOF | 13472 cat > conftest.$ac_ext <<EOF |
13463 #line 13464 "configure" | 13473 #line 13474 "configure" |
13464 #include "confdefs.h" | 13474 #include "confdefs.h" |
13465 /* Override any gcc2 internal prototype to avoid an error. */ | 13475 /* Override any gcc2 internal prototype to avoid an error. */ |
13466 /* We use char because int might match the return type of a gcc2 | 13476 /* We use char because int might match the return type of a gcc2 |
13467 builtin and then its argument prototype would still apply. */ | 13477 builtin and then its argument prototype would still apply. */ |
13468 char tgetent(); | 13478 char tgetent(); |
13469 | 13479 |
13470 int main() { | 13480 int main() { |
13471 tgetent() | 13481 tgetent() |
13472 ; return 0; } | 13482 ; return 0; } |
13473 EOF | 13483 EOF |
13474 if { (eval echo configure:13475: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13484 if { (eval echo configure:13485: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13475 rm -rf conftest* | 13485 rm -rf conftest* |
13476 eval "ac_cv_lib_$ac_lib_var=yes" | 13486 eval "ac_cv_lib_$ac_lib_var=yes" |
13477 else | 13487 else |
13478 echo "configure: failed program was:" >&5 | 13488 echo "configure: failed program was:" >&5 |
13479 cat conftest.$ac_ext >&5 | 13489 cat conftest.$ac_ext >&5 |
13500 if test -n "$libs_termcap"; then | 13510 if test -n "$libs_termcap"; then |
13501 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 13511 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
13502 else | 13512 else |
13503 | 13513 |
13504 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 | 13514 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 |
13505 echo "configure:13506: checking for tgetent in -lcurses" >&5 | 13515 echo "configure:13516: checking for tgetent in -lcurses" >&5 |
13506 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` | 13516 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` |
13507 | 13517 |
13508 xe_check_libs=" -lcurses " | 13518 xe_check_libs=" -lcurses " |
13509 cat > conftest.$ac_ext <<EOF | 13519 cat > conftest.$ac_ext <<EOF |
13510 #line 13511 "configure" | 13520 #line 13521 "configure" |
13511 #include "confdefs.h" | 13521 #include "confdefs.h" |
13512 /* Override any gcc2 internal prototype to avoid an error. */ | 13522 /* Override any gcc2 internal prototype to avoid an error. */ |
13513 /* We use char because int might match the return type of a gcc2 | 13523 /* We use char because int might match the return type of a gcc2 |
13514 builtin and then its argument prototype would still apply. */ | 13524 builtin and then its argument prototype would still apply. */ |
13515 char tgetent(); | 13525 char tgetent(); |
13516 | 13526 |
13517 int main() { | 13527 int main() { |
13518 tgetent() | 13528 tgetent() |
13519 ; return 0; } | 13529 ; return 0; } |
13520 EOF | 13530 EOF |
13521 if { (eval echo configure:13522: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13531 if { (eval echo configure:13532: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13522 rm -rf conftest* | 13532 rm -rf conftest* |
13523 eval "ac_cv_lib_$ac_lib_var=yes" | 13533 eval "ac_cv_lib_$ac_lib_var=yes" |
13524 else | 13534 else |
13525 echo "configure: failed program was:" >&5 | 13535 echo "configure: failed program was:" >&5 |
13526 cat conftest.$ac_ext >&5 | 13536 cat conftest.$ac_ext >&5 |
13534 echo "$ac_t""yes" 1>&6 | 13544 echo "$ac_t""yes" 1>&6 |
13535 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi | 13545 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi |
13536 else | 13546 else |
13537 echo "$ac_t""no" 1>&6 | 13547 echo "$ac_t""no" 1>&6 |
13538 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 | 13548 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 |
13539 echo "configure:13540: checking for tgetent in -ltermcap" >&5 | 13549 echo "configure:13550: checking for tgetent in -ltermcap" >&5 |
13540 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` | 13550 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` |
13541 | 13551 |
13542 xe_check_libs=" -ltermcap " | 13552 xe_check_libs=" -ltermcap " |
13543 cat > conftest.$ac_ext <<EOF | 13553 cat > conftest.$ac_ext <<EOF |
13544 #line 13545 "configure" | 13554 #line 13555 "configure" |
13545 #include "confdefs.h" | 13555 #include "confdefs.h" |
13546 /* Override any gcc2 internal prototype to avoid an error. */ | 13556 /* Override any gcc2 internal prototype to avoid an error. */ |
13547 /* We use char because int might match the return type of a gcc2 | 13557 /* We use char because int might match the return type of a gcc2 |
13548 builtin and then its argument prototype would still apply. */ | 13558 builtin and then its argument prototype would still apply. */ |
13549 char tgetent(); | 13559 char tgetent(); |
13550 | 13560 |
13551 int main() { | 13561 int main() { |
13552 tgetent() | 13562 tgetent() |
13553 ; return 0; } | 13563 ; return 0; } |
13554 EOF | 13564 EOF |
13555 if { (eval echo configure:13556: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13565 if { (eval echo configure:13566: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13556 rm -rf conftest* | 13566 rm -rf conftest* |
13557 eval "ac_cv_lib_$ac_lib_var=yes" | 13567 eval "ac_cv_lib_$ac_lib_var=yes" |
13558 else | 13568 else |
13559 echo "configure: failed program was:" >&5 | 13569 echo "configure: failed program was:" >&5 |
13560 cat conftest.$ac_ext >&5 | 13570 cat conftest.$ac_ext >&5 |
13598 } | 13608 } |
13599 | 13609 |
13600 | 13610 |
13601 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` | 13611 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` |
13602 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 | 13612 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 |
13603 echo "configure:13604: checking for gpm.h" >&5 | 13613 echo "configure:13614: checking for gpm.h" >&5 |
13604 | 13614 |
13605 cat > conftest.$ac_ext <<EOF | 13615 cat > conftest.$ac_ext <<EOF |
13606 #line 13607 "configure" | 13616 #line 13617 "configure" |
13607 #include "confdefs.h" | 13617 #include "confdefs.h" |
13608 #include <gpm.h> | 13618 #include <gpm.h> |
13609 EOF | 13619 EOF |
13610 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13620 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13611 { (eval echo configure:13612: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13621 { (eval echo configure:13622: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13612 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13622 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13613 if test -z "$ac_err"; then | 13623 if test -z "$ac_err"; then |
13614 rm -rf conftest* | 13624 rm -rf conftest* |
13615 eval "ac_cv_header_$ac_safe=yes" | 13625 eval "ac_cv_header_$ac_safe=yes" |
13616 else | 13626 else |
13629 with_gpm=no | 13639 with_gpm=no |
13630 fi | 13640 fi |
13631 } | 13641 } |
13632 test -z "$with_gpm" && { | 13642 test -z "$with_gpm" && { |
13633 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 | 13643 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 |
13634 echo "configure:13635: checking for Gpm_Open in -lgpm" >&5 | 13644 echo "configure:13645: checking for Gpm_Open in -lgpm" >&5 |
13635 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` | 13645 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` |
13636 | 13646 |
13637 xe_check_libs=" -lgpm " | 13647 xe_check_libs=" -lgpm " |
13638 cat > conftest.$ac_ext <<EOF | 13648 cat > conftest.$ac_ext <<EOF |
13639 #line 13640 "configure" | 13649 #line 13650 "configure" |
13640 #include "confdefs.h" | 13650 #include "confdefs.h" |
13641 /* Override any gcc2 internal prototype to avoid an error. */ | 13651 /* Override any gcc2 internal prototype to avoid an error. */ |
13642 /* We use char because int might match the return type of a gcc2 | 13652 /* We use char because int might match the return type of a gcc2 |
13643 builtin and then its argument prototype would still apply. */ | 13653 builtin and then its argument prototype would still apply. */ |
13644 char Gpm_Open(); | 13654 char Gpm_Open(); |
13645 | 13655 |
13646 int main() { | 13656 int main() { |
13647 Gpm_Open() | 13657 Gpm_Open() |
13648 ; return 0; } | 13658 ; return 0; } |
13649 EOF | 13659 EOF |
13650 if { (eval echo configure:13651: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13660 if { (eval echo configure:13661: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13651 rm -rf conftest* | 13661 rm -rf conftest* |
13652 eval "ac_cv_lib_$ac_lib_var=yes" | 13662 eval "ac_cv_lib_$ac_lib_var=yes" |
13653 else | 13663 else |
13654 echo "configure: failed program was:" >&5 | 13664 echo "configure: failed program was:" >&5 |
13655 cat conftest.$ac_ext >&5 | 13665 cat conftest.$ac_ext >&5 |
13688 done | 13698 done |
13689 fi | 13699 fi |
13690 | 13700 |
13691 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ | 13701 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ |
13692 != "no no no" && echo "checking for database support" 1>&6 | 13702 != "no no no" && echo "checking for database support" 1>&6 |
13693 echo "configure:13694: checking for database support" >&5 | 13703 echo "configure:13704: checking for database support" >&5 |
13694 | 13704 |
13695 if test "$with_database_gdbm $with_database_dbm" != "no no"; then | 13705 if test "$with_database_gdbm $with_database_dbm" != "no no"; then |
13696 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` | 13706 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` |
13697 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 | 13707 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 |
13698 echo "configure:13699: checking for ndbm.h" >&5 | 13708 echo "configure:13709: checking for ndbm.h" >&5 |
13699 | 13709 |
13700 cat > conftest.$ac_ext <<EOF | 13710 cat > conftest.$ac_ext <<EOF |
13701 #line 13702 "configure" | 13711 #line 13712 "configure" |
13702 #include "confdefs.h" | 13712 #include "confdefs.h" |
13703 #include <ndbm.h> | 13713 #include <ndbm.h> |
13704 EOF | 13714 EOF |
13705 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13715 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13706 { (eval echo configure:13707: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13716 { (eval echo configure:13717: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13707 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13717 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13708 if test -z "$ac_err"; then | 13718 if test -z "$ac_err"; then |
13709 rm -rf conftest* | 13719 rm -rf conftest* |
13710 eval "ac_cv_header_$ac_safe=yes" | 13720 eval "ac_cv_header_$ac_safe=yes" |
13711 else | 13721 else |
13731 fi | 13741 fi |
13732 | 13742 |
13733 if test "$with_database_gdbm" != "no"; then | 13743 if test "$with_database_gdbm" != "no"; then |
13734 | 13744 |
13735 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 | 13745 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 |
13736 echo "configure:13737: checking for dbm_open in -lgdbm" >&5 | 13746 echo "configure:13747: checking for dbm_open in -lgdbm" >&5 |
13737 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` | 13747 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` |
13738 | 13748 |
13739 xe_check_libs=" -lgdbm " | 13749 xe_check_libs=" -lgdbm " |
13740 cat > conftest.$ac_ext <<EOF | 13750 cat > conftest.$ac_ext <<EOF |
13741 #line 13742 "configure" | 13751 #line 13752 "configure" |
13742 #include "confdefs.h" | 13752 #include "confdefs.h" |
13743 /* Override any gcc2 internal prototype to avoid an error. */ | 13753 /* Override any gcc2 internal prototype to avoid an error. */ |
13744 /* We use char because int might match the return type of a gcc2 | 13754 /* We use char because int might match the return type of a gcc2 |
13745 builtin and then its argument prototype would still apply. */ | 13755 builtin and then its argument prototype would still apply. */ |
13746 char dbm_open(); | 13756 char dbm_open(); |
13747 | 13757 |
13748 int main() { | 13758 int main() { |
13749 dbm_open() | 13759 dbm_open() |
13750 ; return 0; } | 13760 ; return 0; } |
13751 EOF | 13761 EOF |
13752 if { (eval echo configure:13753: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13762 if { (eval echo configure:13763: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13753 rm -rf conftest* | 13763 rm -rf conftest* |
13754 eval "ac_cv_lib_$ac_lib_var=yes" | 13764 eval "ac_cv_lib_$ac_lib_var=yes" |
13755 else | 13765 else |
13756 echo "configure: failed program was:" >&5 | 13766 echo "configure: failed program was:" >&5 |
13757 cat conftest.$ac_ext >&5 | 13767 cat conftest.$ac_ext >&5 |
13775 | 13785 |
13776 fi | 13786 fi |
13777 | 13787 |
13778 if test "$with_database_dbm" != "no"; then | 13788 if test "$with_database_dbm" != "no"; then |
13779 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 13789 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
13780 echo "configure:13781: checking for dbm_open" >&5 | 13790 echo "configure:13791: checking for dbm_open" >&5 |
13781 | 13791 |
13782 cat > conftest.$ac_ext <<EOF | 13792 cat > conftest.$ac_ext <<EOF |
13783 #line 13784 "configure" | 13793 #line 13794 "configure" |
13784 #include "confdefs.h" | 13794 #include "confdefs.h" |
13785 /* System header to define __stub macros and hopefully few prototypes, | 13795 /* System header to define __stub macros and hopefully few prototypes, |
13786 which can conflict with char dbm_open(); below. */ | 13796 which can conflict with char dbm_open(); below. */ |
13787 #include <assert.h> | 13797 #include <assert.h> |
13788 /* Override any gcc2 internal prototype to avoid an error. */ | 13798 /* Override any gcc2 internal prototype to avoid an error. */ |
13801 dbm_open(); | 13811 dbm_open(); |
13802 #endif | 13812 #endif |
13803 | 13813 |
13804 ; return 0; } | 13814 ; return 0; } |
13805 EOF | 13815 EOF |
13806 if { (eval echo configure:13807: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13816 if { (eval echo configure:13817: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13807 rm -rf conftest* | 13817 rm -rf conftest* |
13808 eval "ac_cv_func_dbm_open=yes" | 13818 eval "ac_cv_func_dbm_open=yes" |
13809 else | 13819 else |
13810 echo "configure: failed program was:" >&5 | 13820 echo "configure: failed program was:" >&5 |
13811 cat conftest.$ac_ext >&5 | 13821 cat conftest.$ac_ext >&5 |
13820 else | 13830 else |
13821 echo "$ac_t""no" 1>&6 | 13831 echo "$ac_t""no" 1>&6 |
13822 | 13832 |
13823 | 13833 |
13824 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 | 13834 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 |
13825 echo "configure:13826: checking for dbm_open in -ldbm" >&5 | 13835 echo "configure:13836: checking for dbm_open in -ldbm" >&5 |
13826 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` | 13836 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` |
13827 | 13837 |
13828 xe_check_libs=" -ldbm " | 13838 xe_check_libs=" -ldbm " |
13829 cat > conftest.$ac_ext <<EOF | 13839 cat > conftest.$ac_ext <<EOF |
13830 #line 13831 "configure" | 13840 #line 13841 "configure" |
13831 #include "confdefs.h" | 13841 #include "confdefs.h" |
13832 /* Override any gcc2 internal prototype to avoid an error. */ | 13842 /* Override any gcc2 internal prototype to avoid an error. */ |
13833 /* We use char because int might match the return type of a gcc2 | 13843 /* We use char because int might match the return type of a gcc2 |
13834 builtin and then its argument prototype would still apply. */ | 13844 builtin and then its argument prototype would still apply. */ |
13835 char dbm_open(); | 13845 char dbm_open(); |
13836 | 13846 |
13837 int main() { | 13847 int main() { |
13838 dbm_open() | 13848 dbm_open() |
13839 ; return 0; } | 13849 ; return 0; } |
13840 EOF | 13850 EOF |
13841 if { (eval echo configure:13842: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13851 if { (eval echo configure:13852: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13842 rm -rf conftest* | 13852 rm -rf conftest* |
13843 eval "ac_cv_lib_$ac_lib_var=yes" | 13853 eval "ac_cv_lib_$ac_lib_var=yes" |
13844 else | 13854 else |
13845 echo "configure: failed program was:" >&5 | 13855 echo "configure: failed program was:" >&5 |
13846 cat conftest.$ac_ext >&5 | 13856 cat conftest.$ac_ext >&5 |
13877 } | 13887 } |
13878 | 13888 |
13879 | 13889 |
13880 if test "$with_database_berkdb" != "no"; then | 13890 if test "$with_database_berkdb" != "no"; then |
13881 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 | 13891 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 |
13882 echo "configure:13883: checking for Berkeley db.h" >&5 | 13892 echo "configure:13893: checking for Berkeley db.h" >&5 |
13883 for header in "db/db.h" "db.h"; do | 13893 for header in "db/db.h" "db.h"; do |
13884 cat > conftest.$ac_ext <<EOF | 13894 cat > conftest.$ac_ext <<EOF |
13885 #line 13886 "configure" | 13895 #line 13896 "configure" |
13886 #include "confdefs.h" | 13896 #include "confdefs.h" |
13887 | 13897 |
13888 #include <stdlib.h> | 13898 #include <stdlib.h> |
13889 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) | 13899 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) |
13890 #ifdef HAVE_INTTYPES_H | 13900 #ifdef HAVE_INTTYPES_H |
13902 | 13912 |
13903 int main() { | 13913 int main() { |
13904 | 13914 |
13905 ; return 0; } | 13915 ; return 0; } |
13906 EOF | 13916 EOF |
13907 if { (eval echo configure:13908: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 13917 if { (eval echo configure:13918: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
13908 rm -rf conftest* | 13918 rm -rf conftest* |
13909 db_h_file="$header"; break | 13919 db_h_file="$header"; break |
13910 else | 13920 else |
13911 echo "configure: failed program was:" >&5 | 13921 echo "configure: failed program was:" >&5 |
13912 cat conftest.$ac_ext >&5 | 13922 cat conftest.$ac_ext >&5 |
13918 else echo "$ac_t""$db_h_file" 1>&6 | 13928 else echo "$ac_t""$db_h_file" 1>&6 |
13919 fi | 13929 fi |
13920 | 13930 |
13921 if test "$with_database_berkdb" != "no"; then | 13931 if test "$with_database_berkdb" != "no"; then |
13922 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 | 13932 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 |
13923 echo "configure:13924: checking for Berkeley DB version" >&5 | 13933 echo "configure:13934: checking for Berkeley DB version" >&5 |
13924 cat > conftest.$ac_ext <<EOF | 13934 cat > conftest.$ac_ext <<EOF |
13925 #line 13926 "configure" | 13935 #line 13936 "configure" |
13926 #include "confdefs.h" | 13936 #include "confdefs.h" |
13927 #include <$db_h_file> | 13937 #include <$db_h_file> |
13928 #if DB_VERSION_MAJOR > 1 | 13938 #if DB_VERSION_MAJOR > 1 |
13929 yes | 13939 yes |
13930 #endif | 13940 #endif |
13932 EOF | 13942 EOF |
13933 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 13943 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
13934 egrep "yes" >/dev/null 2>&1; then | 13944 egrep "yes" >/dev/null 2>&1; then |
13935 rm -rf conftest* | 13945 rm -rf conftest* |
13936 cat > conftest.$ac_ext <<EOF | 13946 cat > conftest.$ac_ext <<EOF |
13937 #line 13938 "configure" | 13947 #line 13948 "configure" |
13938 #include "confdefs.h" | 13948 #include "confdefs.h" |
13939 #include <$db_h_file> | 13949 #include <$db_h_file> |
13940 #if DB_VERSION_MAJOR > 2 | 13950 #if DB_VERSION_MAJOR > 2 |
13941 yes | 13951 yes |
13942 #endif | 13952 #endif |
13959 echo "$ac_t""1" 1>&6; dbfunc=dbopen | 13969 echo "$ac_t""1" 1>&6; dbfunc=dbopen |
13960 fi | 13970 fi |
13961 rm -f conftest* | 13971 rm -f conftest* |
13962 | 13972 |
13963 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 | 13973 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 |
13964 echo "configure:13965: checking for $dbfunc" >&5 | 13974 echo "configure:13975: checking for $dbfunc" >&5 |
13965 | 13975 |
13966 cat > conftest.$ac_ext <<EOF | 13976 cat > conftest.$ac_ext <<EOF |
13967 #line 13968 "configure" | 13977 #line 13978 "configure" |
13968 #include "confdefs.h" | 13978 #include "confdefs.h" |
13969 /* System header to define __stub macros and hopefully few prototypes, | 13979 /* System header to define __stub macros and hopefully few prototypes, |
13970 which can conflict with char $dbfunc(); below. */ | 13980 which can conflict with char $dbfunc(); below. */ |
13971 #include <assert.h> | 13981 #include <assert.h> |
13972 /* Override any gcc2 internal prototype to avoid an error. */ | 13982 /* Override any gcc2 internal prototype to avoid an error. */ |
13985 $dbfunc(); | 13995 $dbfunc(); |
13986 #endif | 13996 #endif |
13987 | 13997 |
13988 ; return 0; } | 13998 ; return 0; } |
13989 EOF | 13999 EOF |
13990 if { (eval echo configure:13991: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14000 if { (eval echo configure:14001: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13991 rm -rf conftest* | 14001 rm -rf conftest* |
13992 eval "ac_cv_func_$dbfunc=yes" | 14002 eval "ac_cv_func_$dbfunc=yes" |
13993 else | 14003 else |
13994 echo "configure: failed program was:" >&5 | 14004 echo "configure: failed program was:" >&5 |
13995 cat conftest.$ac_ext >&5 | 14005 cat conftest.$ac_ext >&5 |
14004 else | 14014 else |
14005 echo "$ac_t""no" 1>&6 | 14015 echo "$ac_t""no" 1>&6 |
14006 | 14016 |
14007 | 14017 |
14008 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 | 14018 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 |
14009 echo "configure:14010: checking for $dbfunc in -ldb" >&5 | 14019 echo "configure:14020: checking for $dbfunc in -ldb" >&5 |
14010 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` | 14020 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` |
14011 | 14021 |
14012 xe_check_libs=" -ldb " | 14022 xe_check_libs=" -ldb " |
14013 cat > conftest.$ac_ext <<EOF | 14023 cat > conftest.$ac_ext <<EOF |
14014 #line 14015 "configure" | 14024 #line 14025 "configure" |
14015 #include "confdefs.h" | 14025 #include "confdefs.h" |
14016 /* Override any gcc2 internal prototype to avoid an error. */ | 14026 /* Override any gcc2 internal prototype to avoid an error. */ |
14017 /* We use char because int might match the return type of a gcc2 | 14027 /* We use char because int might match the return type of a gcc2 |
14018 builtin and then its argument prototype would still apply. */ | 14028 builtin and then its argument prototype would still apply. */ |
14019 char $dbfunc(); | 14029 char $dbfunc(); |
14020 | 14030 |
14021 int main() { | 14031 int main() { |
14022 $dbfunc() | 14032 $dbfunc() |
14023 ; return 0; } | 14033 ; return 0; } |
14024 EOF | 14034 EOF |
14025 if { (eval echo configure:14026: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14035 if { (eval echo configure:14036: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14026 rm -rf conftest* | 14036 rm -rf conftest* |
14027 eval "ac_cv_lib_$ac_lib_var=yes" | 14037 eval "ac_cv_lib_$ac_lib_var=yes" |
14028 else | 14038 else |
14029 echo "configure: failed program was:" >&5 | 14039 echo "configure: failed program was:" >&5 |
14030 cat conftest.$ac_ext >&5 | 14040 cat conftest.$ac_ext >&5 |
14081 fi | 14091 fi |
14082 | 14092 |
14083 if test "$with_socks" = "yes"; then | 14093 if test "$with_socks" = "yes"; then |
14084 | 14094 |
14085 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 | 14095 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 |
14086 echo "configure:14087: checking for SOCKSinit in -lsocks" >&5 | 14096 echo "configure:14097: checking for SOCKSinit in -lsocks" >&5 |
14087 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` | 14097 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` |
14088 | 14098 |
14089 xe_check_libs=" -lsocks " | 14099 xe_check_libs=" -lsocks " |
14090 cat > conftest.$ac_ext <<EOF | 14100 cat > conftest.$ac_ext <<EOF |
14091 #line 14092 "configure" | 14101 #line 14102 "configure" |
14092 #include "confdefs.h" | 14102 #include "confdefs.h" |
14093 /* Override any gcc2 internal prototype to avoid an error. */ | 14103 /* Override any gcc2 internal prototype to avoid an error. */ |
14094 /* We use char because int might match the return type of a gcc2 | 14104 /* We use char because int might match the return type of a gcc2 |
14095 builtin and then its argument prototype would still apply. */ | 14105 builtin and then its argument prototype would still apply. */ |
14096 char SOCKSinit(); | 14106 char SOCKSinit(); |
14097 | 14107 |
14098 int main() { | 14108 int main() { |
14099 SOCKSinit() | 14109 SOCKSinit() |
14100 ; return 0; } | 14110 ; return 0; } |
14101 EOF | 14111 EOF |
14102 if { (eval echo configure:14103: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14112 if { (eval echo configure:14113: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14103 rm -rf conftest* | 14113 rm -rf conftest* |
14104 eval "ac_cv_lib_$ac_lib_var=yes" | 14114 eval "ac_cv_lib_$ac_lib_var=yes" |
14105 else | 14115 else |
14106 echo "configure: failed program was:" >&5 | 14116 echo "configure: failed program was:" >&5 |
14107 cat conftest.$ac_ext >&5 | 14117 cat conftest.$ac_ext >&5 |
14152 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi | 14162 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi |
14153 fi | 14163 fi |
14154 | 14164 |
14155 if test "$with_modules" != "no"; then | 14165 if test "$with_modules" != "no"; then |
14156 echo "checking for module support" 1>&6 | 14166 echo "checking for module support" 1>&6 |
14157 echo "configure:14158: checking for module support" >&5 | 14167 echo "configure:14168: checking for module support" >&5 |
14158 | 14168 |
14159 if test "$with_msw" = "yes"; then | 14169 if test "$with_msw" = "yes"; then |
14160 have_dl=yes; | 14170 have_dl=yes; |
14161 else | 14171 else |
14162 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` | 14172 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` |
14163 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 | 14173 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 |
14164 echo "configure:14165: checking for dlfcn.h" >&5 | 14174 echo "configure:14175: checking for dlfcn.h" >&5 |
14165 | 14175 |
14166 cat > conftest.$ac_ext <<EOF | 14176 cat > conftest.$ac_ext <<EOF |
14167 #line 14168 "configure" | 14177 #line 14178 "configure" |
14168 #include "confdefs.h" | 14178 #include "confdefs.h" |
14169 #include <dlfcn.h> | 14179 #include <dlfcn.h> |
14170 EOF | 14180 EOF |
14171 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14181 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14172 { (eval echo configure:14173: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14182 { (eval echo configure:14183: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14173 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14183 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14174 if test -z "$ac_err"; then | 14184 if test -z "$ac_err"; then |
14175 rm -rf conftest* | 14185 rm -rf conftest* |
14176 eval "ac_cv_header_$ac_safe=yes" | 14186 eval "ac_cv_header_$ac_safe=yes" |
14177 else | 14187 else |
14184 rm -f conftest* | 14194 rm -f conftest* |
14185 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 14195 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
14186 echo "$ac_t""yes" 1>&6 | 14196 echo "$ac_t""yes" 1>&6 |
14187 | 14197 |
14188 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 | 14198 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 |
14189 echo "configure:14190: checking for dlopen in -lc" >&5 | 14199 echo "configure:14200: checking for dlopen in -lc" >&5 |
14190 cat > conftest.$ac_ext <<EOF | 14200 cat > conftest.$ac_ext <<EOF |
14191 #line 14192 "configure" | 14201 #line 14202 "configure" |
14192 #include "confdefs.h" | 14202 #include "confdefs.h" |
14193 #include <dlfcn.h> | 14203 #include <dlfcn.h> |
14194 int main() { | 14204 int main() { |
14195 dlopen ("", 0); | 14205 dlopen ("", 0); |
14196 ; return 0; } | 14206 ; return 0; } |
14197 EOF | 14207 EOF |
14198 if { (eval echo configure:14199: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14208 if { (eval echo configure:14209: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14199 rm -rf conftest* | 14209 rm -rf conftest* |
14200 have_dl=yes | 14210 have_dl=yes |
14201 else | 14211 else |
14202 echo "configure: failed program was:" >&5 | 14212 echo "configure: failed program was:" >&5 |
14203 cat conftest.$ac_ext >&5 | 14213 cat conftest.$ac_ext >&5 |
14204 rm -rf conftest* | 14214 rm -rf conftest* |
14205 | 14215 |
14206 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 | 14216 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
14207 echo "configure:14208: checking for dlopen in -ldl" >&5 | 14217 echo "configure:14218: checking for dlopen in -ldl" >&5 |
14208 ac_save_LIBS="$LIBS" | 14218 ac_save_LIBS="$LIBS" |
14209 LIBS="-ldl $LIBS" | 14219 LIBS="-ldl $LIBS" |
14210 cat > conftest.$ac_ext <<EOF | 14220 cat > conftest.$ac_ext <<EOF |
14211 #line 14212 "configure" | 14221 #line 14222 "configure" |
14212 #include "confdefs.h" | 14222 #include "confdefs.h" |
14213 #include <dlfcn.h> | 14223 #include <dlfcn.h> |
14214 int main() { | 14224 int main() { |
14215 dlopen ("", 0); | 14225 dlopen ("", 0); |
14216 ; return 0; } | 14226 ; return 0; } |
14217 EOF | 14227 EOF |
14218 if { (eval echo configure:14219: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14228 if { (eval echo configure:14229: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14219 rm -rf conftest* | 14229 rm -rf conftest* |
14220 have_dl=yes | 14230 have_dl=yes |
14221 else | 14231 else |
14222 echo "configure: failed program was:" >&5 | 14232 echo "configure: failed program was:" >&5 |
14223 cat conftest.$ac_ext >&5 | 14233 cat conftest.$ac_ext >&5 |
14242 } | 14252 } |
14243 | 14253 |
14244 else | 14254 else |
14245 | 14255 |
14246 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 | 14256 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 |
14247 echo "configure:14248: checking for shl_load in -ldld" >&5 | 14257 echo "configure:14258: checking for shl_load in -ldld" >&5 |
14248 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` | 14258 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` |
14249 | 14259 |
14250 xe_check_libs=" -ldld " | 14260 xe_check_libs=" -ldld " |
14251 cat > conftest.$ac_ext <<EOF | 14261 cat > conftest.$ac_ext <<EOF |
14252 #line 14253 "configure" | 14262 #line 14263 "configure" |
14253 #include "confdefs.h" | 14263 #include "confdefs.h" |
14254 /* Override any gcc2 internal prototype to avoid an error. */ | 14264 /* Override any gcc2 internal prototype to avoid an error. */ |
14255 /* We use char because int might match the return type of a gcc2 | 14265 /* We use char because int might match the return type of a gcc2 |
14256 builtin and then its argument prototype would still apply. */ | 14266 builtin and then its argument prototype would still apply. */ |
14257 char shl_load(); | 14267 char shl_load(); |
14258 | 14268 |
14259 int main() { | 14269 int main() { |
14260 shl_load() | 14270 shl_load() |
14261 ; return 0; } | 14271 ; return 0; } |
14262 EOF | 14272 EOF |
14263 if { (eval echo configure:14264: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14273 if { (eval echo configure:14274: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14264 rm -rf conftest* | 14274 rm -rf conftest* |
14265 eval "ac_cv_lib_$ac_lib_var=yes" | 14275 eval "ac_cv_lib_$ac_lib_var=yes" |
14266 else | 14276 else |
14267 echo "configure: failed program was:" >&5 | 14277 echo "configure: failed program was:" >&5 |
14268 cat conftest.$ac_ext >&5 | 14278 cat conftest.$ac_ext >&5 |
14285 | 14295 |
14286 else | 14296 else |
14287 echo "$ac_t""no" 1>&6 | 14297 echo "$ac_t""no" 1>&6 |
14288 | 14298 |
14289 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 | 14299 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 |
14290 echo "configure:14291: checking for dld_init in -ldld" >&5 | 14300 echo "configure:14301: checking for dld_init in -ldld" >&5 |
14291 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` | 14301 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` |
14292 | 14302 |
14293 xe_check_libs=" -ldld " | 14303 xe_check_libs=" -ldld " |
14294 cat > conftest.$ac_ext <<EOF | 14304 cat > conftest.$ac_ext <<EOF |
14295 #line 14296 "configure" | 14305 #line 14306 "configure" |
14296 #include "confdefs.h" | 14306 #include "confdefs.h" |
14297 /* Override any gcc2 internal prototype to avoid an error. */ | 14307 /* Override any gcc2 internal prototype to avoid an error. */ |
14298 /* We use char because int might match the return type of a gcc2 | 14308 /* We use char because int might match the return type of a gcc2 |
14299 builtin and then its argument prototype would still apply. */ | 14309 builtin and then its argument prototype would still apply. */ |
14300 char dld_init(); | 14310 char dld_init(); |
14301 | 14311 |
14302 int main() { | 14312 int main() { |
14303 dld_init() | 14313 dld_init() |
14304 ; return 0; } | 14314 ; return 0; } |
14305 EOF | 14315 EOF |
14306 if { (eval echo configure:14307: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14316 if { (eval echo configure:14317: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14307 rm -rf conftest* | 14317 rm -rf conftest* |
14308 eval "ac_cv_lib_$ac_lib_var=yes" | 14318 eval "ac_cv_lib_$ac_lib_var=yes" |
14309 else | 14319 else |
14310 echo "configure: failed program was:" >&5 | 14320 echo "configure: failed program was:" >&5 |
14311 cat conftest.$ac_ext >&5 | 14321 cat conftest.$ac_ext >&5 |
14346 ld_dynamic_link_flags= | 14356 ld_dynamic_link_flags= |
14347 xehost=$canonical | 14357 xehost=$canonical |
14348 xealias=$internal_configuration | 14358 xealias=$internal_configuration |
14349 | 14359 |
14350 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 | 14360 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 |
14351 echo "configure:14352: checking how to build dynamic libraries for ${xehost}" >&5 | 14361 echo "configure:14362: checking how to build dynamic libraries for ${xehost}" >&5 |
14352 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. | 14362 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. |
14353 case "$xehost" in | 14363 case "$xehost" in |
14354 *-*-linux-gnu*) ;; | 14364 *-*-linux-gnu*) ;; |
14355 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` | 14365 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` |
14356 esac | 14366 esac |
14374 # Now see if the compiler is really GCC. | 14384 # Now see if the compiler is really GCC. |
14375 if test "$GCC" = "yes"; then | 14385 if test "$GCC" = "yes"; then |
14376 XEGCC=yes | 14386 XEGCC=yes |
14377 else | 14387 else |
14378 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 | 14388 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 |
14379 echo "configure:14380: checking checking whether we are using GNU C" >&5 | 14389 echo "configure:14390: checking checking whether we are using GNU C" >&5 |
14380 cat > conftest.$ac_ext <<EOF | 14390 cat > conftest.$ac_ext <<EOF |
14381 #line 14382 "configure" | 14391 #line 14392 "configure" |
14382 #include "confdefs.h" | 14392 #include "confdefs.h" |
14383 | 14393 |
14384 #ifdef __GNUC__ | 14394 #ifdef __GNUC__ |
14385 yes; | 14395 yes; |
14386 #endif | 14396 #endif |
14398 | 14408 |
14399 echo "$ac_t""${XEGCC}" 1>&6 | 14409 echo "$ac_t""${XEGCC}" 1>&6 |
14400 fi | 14410 fi |
14401 | 14411 |
14402 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 | 14412 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 |
14403 echo "configure:14404: checking how to produce PIC code" >&5 | 14413 echo "configure:14414: checking how to produce PIC code" >&5 |
14404 wl= | 14414 wl= |
14405 | 14415 |
14406 can_build_shared=yes | 14416 can_build_shared=yes |
14407 if test "$XEGCC" = yes; then | 14417 if test "$XEGCC" = yes; then |
14408 wl='-Wl,' | 14418 wl='-Wl,' |
14499 if test -n "$dll_cflags"; then | 14509 if test -n "$dll_cflags"; then |
14500 echo "$ac_t""${dll_cflags}" 1>&6 | 14510 echo "$ac_t""${dll_cflags}" 1>&6 |
14501 | 14511 |
14502 # Check to make sure the dll_cflags actually works. | 14512 # Check to make sure the dll_cflags actually works. |
14503 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 | 14513 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 |
14504 echo "configure:14505: checking if PIC flag ${dll_cflags} really works" >&5 | 14514 echo "configure:14515: checking if PIC flag ${dll_cflags} really works" >&5 |
14505 save_CFLAGS="$CFLAGS" | 14515 save_CFLAGS="$CFLAGS" |
14506 CFLAGS="$CFLAGS $dll_cflags -DPIC" | 14516 CFLAGS="$CFLAGS $dll_cflags -DPIC" |
14507 cat > conftest.$ac_ext <<EOF | 14517 cat > conftest.$ac_ext <<EOF |
14508 #line 14509 "configure" | 14518 #line 14519 "configure" |
14509 #include "confdefs.h" | 14519 #include "confdefs.h" |
14510 | 14520 |
14511 int main() { | 14521 int main() { |
14512 int x=0; | 14522 int x=0; |
14513 ; return 0; } | 14523 ; return 0; } |
14514 EOF | 14524 EOF |
14515 if { (eval echo configure:14516: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 14525 if { (eval echo configure:14526: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
14516 rm -rf conftest* | 14526 rm -rf conftest* |
14517 | 14527 |
14518 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also | 14528 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also |
14519 # reports no error. So, we need to grep stderr for (Bundled). | 14529 # reports no error. So, we need to grep stderr for (Bundled). |
14520 if grep '(Bundled)' config.log >/dev/null; then | 14530 if grep '(Bundled)' config.log >/dev/null; then |
14541 if test "$can_build_shared" = "yes"; then | 14551 if test "$can_build_shared" = "yes"; then |
14542 cc_produces_so=no | 14552 cc_produces_so=no |
14543 xldf= | 14553 xldf= |
14544 xcldf= | 14554 xcldf= |
14545 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 | 14555 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 |
14546 echo "configure:14547: checking if C compiler can produce shared libraries" >&5 | 14556 echo "configure:14557: checking if C compiler can produce shared libraries" >&5 |
14547 if test "$XEGCC" = yes; then | 14557 if test "$XEGCC" = yes; then |
14548 xcldf="-shared" | 14558 xcldf="-shared" |
14549 xldf="-shared" | 14559 xldf="-shared" |
14550 else # Not using GCC | 14560 else # Not using GCC |
14551 case "$xehost_os" in | 14561 case "$xehost_os" in |
14592 LDFLAGS="$xcldf $LDFLAGS" | 14602 LDFLAGS="$xcldf $LDFLAGS" |
14593 LIBS= | 14603 LIBS= |
14594 xe_libs= | 14604 xe_libs= |
14595 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 14605 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
14596 cat > conftest.$ac_ext <<EOF | 14606 cat > conftest.$ac_ext <<EOF |
14597 #line 14598 "configure" | 14607 #line 14608 "configure" |
14598 #include "confdefs.h" | 14608 #include "confdefs.h" |
14599 | 14609 |
14600 int main() { | 14610 int main() { |
14601 int x=0; | 14611 int x=0; |
14602 ; return 0; } | 14612 ; return 0; } |
14603 EOF | 14613 EOF |
14604 if { (eval echo configure:14605: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14614 if { (eval echo configure:14615: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14605 rm -rf conftest* | 14615 rm -rf conftest* |
14606 cc_produces_so=yes | 14616 cc_produces_so=yes |
14607 else | 14617 else |
14608 echo "configure: failed program was:" >&5 | 14618 echo "configure: failed program was:" >&5 |
14609 cat conftest.$ac_ext >&5 | 14619 cat conftest.$ac_ext >&5 |
14624 if test -z "$LTLD"; then | 14634 if test -z "$LTLD"; then |
14625 ac_prog=ld | 14635 ac_prog=ld |
14626 if test "$XEGCC" = yes; then | 14636 if test "$XEGCC" = yes; then |
14627 # Check if gcc -print-prog-name=ld gives a path. | 14637 # Check if gcc -print-prog-name=ld gives a path. |
14628 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 | 14638 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 |
14629 echo "configure:14630: checking for ld used by GCC" >&5 | 14639 echo "configure:14640: checking for ld used by GCC" >&5 |
14630 ac_prog=`($CC -print-prog-name=ld) 2>&5` | 14640 ac_prog=`($CC -print-prog-name=ld) 2>&5` |
14631 case "$ac_prog" in | 14641 case "$ac_prog" in |
14632 # Accept absolute paths. | 14642 # Accept absolute paths. |
14633 /*) | 14643 /*) |
14634 if test -z "$LTLD"; then | 14644 if test -z "$LTLD"; then |
14650 with_gnu_ld=unknown | 14660 with_gnu_ld=unknown |
14651 ;; | 14661 ;; |
14652 esac | 14662 esac |
14653 else | 14663 else |
14654 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 | 14664 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 |
14655 echo "configure:14656: checking for GNU ld" >&5 | 14665 echo "configure:14666: checking for GNU ld" >&5 |
14656 fi | 14666 fi |
14657 | 14667 |
14658 if test -z "$LTLD"; then | 14668 if test -z "$LTLD"; then |
14659 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 14669 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
14660 for ac_dir in $PATH; do | 14670 for ac_dir in $PATH; do |
14688 | 14698 |
14689 ld_dynamic_link_flags= | 14699 ld_dynamic_link_flags= |
14690 | 14700 |
14691 # Check to see if it really is or isn't GNU ld. | 14701 # Check to see if it really is or isn't GNU ld. |
14692 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 | 14702 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 |
14693 echo "configure:14694: checking if the linker is GNU ld" >&5 | 14703 echo "configure:14704: checking if the linker is GNU ld" >&5 |
14694 # I'd rather use --version here, but apparently some GNU ld's only accept -v. | 14704 # I'd rather use --version here, but apparently some GNU ld's only accept -v. |
14695 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then | 14705 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then |
14696 xe_gnu_ld=yes | 14706 xe_gnu_ld=yes |
14697 else | 14707 else |
14698 xe_gnu_ld=no | 14708 xe_gnu_ld=no |
14716 ld_shlibs=yes | 14726 ld_shlibs=yes |
14717 else | 14727 else |
14718 # OK - only NOW do we futz about with ld. | 14728 # OK - only NOW do we futz about with ld. |
14719 # See if the linker supports building shared libraries. | 14729 # See if the linker supports building shared libraries. |
14720 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 | 14730 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 |
14721 echo "configure:14722: checking whether the linker supports shared libraries" >&5 | 14731 echo "configure:14732: checking whether the linker supports shared libraries" >&5 |
14722 dll_ld=$CC | 14732 dll_ld=$CC |
14723 dll_ldflags=$LDFLAGS | 14733 dll_ldflags=$LDFLAGS |
14724 ld_shlibs=yes | 14734 ld_shlibs=yes |
14725 can_build_shared=yes | 14735 can_build_shared=yes |
14726 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then | 14736 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then |
14924 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi | 14934 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi |
14925 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi | 14935 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi |
14926 for ac_func in dlerror _dlerror | 14936 for ac_func in dlerror _dlerror |
14927 do | 14937 do |
14928 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 14938 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
14929 echo "configure:14930: checking for $ac_func" >&5 | 14939 echo "configure:14940: checking for $ac_func" >&5 |
14930 | 14940 |
14931 cat > conftest.$ac_ext <<EOF | 14941 cat > conftest.$ac_ext <<EOF |
14932 #line 14933 "configure" | 14942 #line 14943 "configure" |
14933 #include "confdefs.h" | 14943 #include "confdefs.h" |
14934 /* System header to define __stub macros and hopefully few prototypes, | 14944 /* System header to define __stub macros and hopefully few prototypes, |
14935 which can conflict with char $ac_func(); below. */ | 14945 which can conflict with char $ac_func(); below. */ |
14936 #include <assert.h> | 14946 #include <assert.h> |
14937 /* Override any gcc2 internal prototype to avoid an error. */ | 14947 /* Override any gcc2 internal prototype to avoid an error. */ |
14950 $ac_func(); | 14960 $ac_func(); |
14951 #endif | 14961 #endif |
14952 | 14962 |
14953 ; return 0; } | 14963 ; return 0; } |
14954 EOF | 14964 EOF |
14955 if { (eval echo configure:14956: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14965 if { (eval echo configure:14966: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14956 rm -rf conftest* | 14966 rm -rf conftest* |
14957 eval "ac_cv_func_$ac_func=yes" | 14967 eval "ac_cv_func_$ac_func=yes" |
14958 else | 14968 else |
14959 echo "configure: failed program was:" >&5 | 14969 echo "configure: failed program was:" >&5 |
14960 cat conftest.$ac_ext >&5 | 14970 cat conftest.$ac_ext >&5 |
14989 with_modules=no | 14999 with_modules=no |
14990 fi | 15000 fi |
14991 fi | 15001 fi |
14992 | 15002 |
14993 cat > conftest.$ac_ext <<EOF | 15003 cat > conftest.$ac_ext <<EOF |
14994 #line 14995 "configure" | 15004 #line 15005 "configure" |
14995 #include "confdefs.h" | 15005 #include "confdefs.h" |
14996 int main(int c,char *v[]){return 0;} | 15006 int main(int c,char *v[]){return 0;} |
14997 EOF | 15007 EOF |
14998 if { (eval echo configure:14999: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 15008 if { (eval echo configure:15009: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
14999 then | 15009 then |
15000 : | 15010 : |
15001 else | 15011 else |
15002 conftest_rc="$?" | 15012 conftest_rc="$?" |
15003 echo "configure: failed program was:" >&5 | 15013 echo "configure: failed program was:" >&5 |
15585 fi | 15595 fi |
15586 | 15596 |
15587 ( | 15597 ( |
15588 echo " | 15598 echo " |
15589 | 15599 |
15590 XEmacs ${emacs_major_version}.${emacs_minor_version}${xemacs_betaname} \"$xemacs_codename\" configured for \`$canonical'. | 15600 XEmacs ${emacs_major_version}.${emacs_minor_version}${xemacs_betaname} \"$xemacs_codename\" $xemacs_extra_name configured for \`$canonical'. |
15591 " | 15601 " |
15592 echo " | 15602 echo " |
15593 Compilation / Installation:" | 15603 Compilation / Installation:" |
15594 echo " Source code location: $srcdir" | 15604 echo " Source code location: $srcdir" |
15595 echo " Installation prefix: $prefix" | 15605 echo " Installation prefix: $prefix" |