Mercurial > hg > xemacs-beta
comparison configure @ 2625:f2bd34928a0f
[xemacs-hg @ 2005-03-01 22:43:31 by aidan]
(Slightly Revised) Add configure check for XtRegisterDrawable
No feedback yet from Vin on whether this works, but I want to sleep now :-) .
author | aidan |
---|---|
date | Tue, 01 Mar 2005 22:43:41 +0000 |
parents | bafa01f3cb06 |
children | 3580ae2ce979 |
comparison
equal
deleted
inserted
replaced
2624:8174a45f637c | 2625:f2bd34928a0f |
---|---|
985 #define XEMACS_EXTRA_NAME "$xemacs_extra_name" | 985 #define XEMACS_EXTRA_NAME "$xemacs_extra_name" |
986 EOF | 986 EOF |
987 } | 987 } |
988 | 988 |
989 fi | 989 fi |
990 if test "$xemacs_release_date" != ""; then | |
991 { test "$extra_verbose" = "yes" && cat << EOF | |
992 Defining XEMACS_RELEASE_DATE = "$xemacs_release_date" | |
993 EOF | |
994 cat >> confdefs.h <<EOF | |
995 #define XEMACS_RELEASE_DATE "$xemacs_release_date" | |
996 EOF | |
997 } | |
998 | |
999 fi | |
990 { test "$extra_verbose" = "yes" && cat << EOF | 1000 { test "$extra_verbose" = "yes" && cat << EOF |
991 Defining EMACS_VERSION = "$version" | 1001 Defining EMACS_VERSION = "$version" |
992 EOF | 1002 EOF |
993 cat >> confdefs.h <<EOF | 1003 cat >> confdefs.h <<EOF |
994 #define EMACS_VERSION "$version" | 1004 #define EMACS_VERSION "$version" |
1146 } | 1156 } |
1147 | 1157 |
1148 | 1158 |
1149 | 1159 |
1150 echo $ac_n "checking "host system type"""... $ac_c" 1>&6 | 1160 echo $ac_n "checking "host system type"""... $ac_c" 1>&6 |
1151 echo "configure:1152: checking "host system type"" >&5 | 1161 echo "configure:1162: checking "host system type"" >&5 |
1152 internal_configuration=`echo $configuration | sed 's/-\(workshop\)//'` | 1162 internal_configuration=`echo $configuration | sed 's/-\(workshop\)//'` |
1153 canonical=`${CONFIG_SHELL-/bin/sh} $srcdir/config.sub "$internal_configuration"` | 1163 canonical=`${CONFIG_SHELL-/bin/sh} $srcdir/config.sub "$internal_configuration"` |
1154 configuration=`echo "$configuration" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` | 1164 configuration=`echo "$configuration" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` |
1155 canonical=`echo "$canonical" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` | 1165 canonical=`echo "$canonical" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` |
1156 echo "$ac_t""$configuration" 1>&6 | 1166 echo "$ac_t""$configuration" 1>&6 |
1694 xe_save_CFLAGS="$CFLAGS" | 1704 xe_save_CFLAGS="$CFLAGS" |
1695 | 1705 |
1696 # Extract the first word of "gcc", so it can be a program name with args. | 1706 # Extract the first word of "gcc", so it can be a program name with args. |
1697 set dummy gcc; ac_word=$2 | 1707 set dummy gcc; ac_word=$2 |
1698 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1708 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1699 echo "configure:1700: checking for $ac_word" >&5 | 1709 echo "configure:1710: checking for $ac_word" >&5 |
1700 | 1710 |
1701 if test -n "$CC"; then | 1711 if test -n "$CC"; then |
1702 ac_cv_prog_CC="$CC" # Let the user override the test. | 1712 ac_cv_prog_CC="$CC" # Let the user override the test. |
1703 else | 1713 else |
1704 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1714 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1721 | 1731 |
1722 if test -z "$CC"; then | 1732 if test -z "$CC"; then |
1723 # Extract the first word of "cc", so it can be a program name with args. | 1733 # Extract the first word of "cc", so it can be a program name with args. |
1724 set dummy cc; ac_word=$2 | 1734 set dummy cc; ac_word=$2 |
1725 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1735 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1726 echo "configure:1727: checking for $ac_word" >&5 | 1736 echo "configure:1737: checking for $ac_word" >&5 |
1727 | 1737 |
1728 if test -n "$CC"; then | 1738 if test -n "$CC"; then |
1729 ac_cv_prog_CC="$CC" # Let the user override the test. | 1739 ac_cv_prog_CC="$CC" # Let the user override the test. |
1730 else | 1740 else |
1731 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1741 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1769 case "`uname -s`" in | 1779 case "`uname -s`" in |
1770 *win32* | *WIN32*) | 1780 *win32* | *WIN32*) |
1771 # Extract the first word of "cl", so it can be a program name with args. | 1781 # Extract the first word of "cl", so it can be a program name with args. |
1772 set dummy cl; ac_word=$2 | 1782 set dummy cl; ac_word=$2 |
1773 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1783 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1774 echo "configure:1775: checking for $ac_word" >&5 | 1784 echo "configure:1785: checking for $ac_word" >&5 |
1775 | 1785 |
1776 if test -n "$CC"; then | 1786 if test -n "$CC"; then |
1777 ac_cv_prog_CC="$CC" # Let the user override the test. | 1787 ac_cv_prog_CC="$CC" # Let the user override the test. |
1778 else | 1788 else |
1779 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1789 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1798 fi | 1808 fi |
1799 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1809 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
1800 fi | 1810 fi |
1801 | 1811 |
1802 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1812 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
1803 echo "configure:1804: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1813 echo "configure:1814: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
1804 | 1814 |
1805 ac_ext=c | 1815 ac_ext=c |
1806 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1816 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
1807 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1817 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
1808 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' | 1818 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' |
1811 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1821 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
1812 cross_compiling=no | 1822 cross_compiling=no |
1813 | 1823 |
1814 cat > conftest.$ac_ext << EOF | 1824 cat > conftest.$ac_ext << EOF |
1815 | 1825 |
1816 #line 1817 "configure" | 1826 #line 1827 "configure" |
1817 #include "confdefs.h" | 1827 #include "confdefs.h" |
1818 | 1828 |
1819 main(){return(0);} | 1829 main(){return(0);} |
1820 EOF | 1830 EOF |
1821 if { (eval echo configure:1822: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1831 if { (eval echo configure:1832: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1822 ac_cv_prog_cc_works=yes | 1832 ac_cv_prog_cc_works=yes |
1823 # If we can't run a trivial program, we are probably using a cross compiler. | 1833 # If we can't run a trivial program, we are probably using a cross compiler. |
1824 if (./conftest; exit) 2>/dev/null; then | 1834 if (./conftest; exit) 2>/dev/null; then |
1825 ac_cv_prog_cc_cross=no | 1835 ac_cv_prog_cc_cross=no |
1826 else | 1836 else |
1844 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1854 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
1845 if test $ac_cv_prog_cc_works = no; then | 1855 if test $ac_cv_prog_cc_works = no; then |
1846 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1856 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
1847 fi | 1857 fi |
1848 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1858 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
1849 echo "configure:1850: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1859 echo "configure:1860: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
1850 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1860 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
1851 cross_compiling=$ac_cv_prog_cc_cross | 1861 cross_compiling=$ac_cv_prog_cc_cross |
1852 | 1862 |
1853 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1863 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
1854 echo "configure:1855: checking whether we are using GNU C" >&5 | 1864 echo "configure:1865: checking whether we are using GNU C" >&5 |
1855 | 1865 |
1856 cat > conftest.c <<EOF | 1866 cat > conftest.c <<EOF |
1857 #ifdef __GNUC__ | 1867 #ifdef __GNUC__ |
1858 yes; | 1868 yes; |
1859 #endif | 1869 #endif |
1860 EOF | 1870 EOF |
1861 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1862: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1871 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1872: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
1862 ac_cv_prog_gcc=yes | 1872 ac_cv_prog_gcc=yes |
1863 else | 1873 else |
1864 ac_cv_prog_gcc=no | 1874 ac_cv_prog_gcc=no |
1865 fi | 1875 fi |
1866 | 1876 |
1874 | 1884 |
1875 ac_test_CFLAGS="${CFLAGS+set}" | 1885 ac_test_CFLAGS="${CFLAGS+set}" |
1876 ac_save_CFLAGS="$CFLAGS" | 1886 ac_save_CFLAGS="$CFLAGS" |
1877 CFLAGS= | 1887 CFLAGS= |
1878 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1888 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
1879 echo "configure:1880: checking whether ${CC-cc} accepts -g" >&5 | 1889 echo "configure:1890: checking whether ${CC-cc} accepts -g" >&5 |
1880 | 1890 |
1881 echo 'void f(){}' > conftest.c | 1891 echo 'void f(){}' > conftest.c |
1882 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1892 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
1883 ac_cv_prog_cc_g=yes | 1893 ac_cv_prog_cc_g=yes |
1884 else | 1894 else |
1907 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then | 1917 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then |
1908 CC=${NON_GNU_CC-cc} | 1918 CC=${NON_GNU_CC-cc} |
1909 # Extract the first word of "gcc", so it can be a program name with args. | 1919 # Extract the first word of "gcc", so it can be a program name with args. |
1910 set dummy gcc; ac_word=$2 | 1920 set dummy gcc; ac_word=$2 |
1911 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1921 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1912 echo "configure:1913: checking for $ac_word" >&5 | 1922 echo "configure:1923: checking for $ac_word" >&5 |
1913 | 1923 |
1914 if test -n "$CC"; then | 1924 if test -n "$CC"; then |
1915 ac_cv_prog_CC="$CC" # Let the user override the test. | 1925 ac_cv_prog_CC="$CC" # Let the user override the test. |
1916 else | 1926 else |
1917 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1927 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1934 | 1944 |
1935 if test -z "$CC"; then | 1945 if test -z "$CC"; then |
1936 # Extract the first word of "cc", so it can be a program name with args. | 1946 # Extract the first word of "cc", so it can be a program name with args. |
1937 set dummy cc; ac_word=$2 | 1947 set dummy cc; ac_word=$2 |
1938 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1948 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1939 echo "configure:1940: checking for $ac_word" >&5 | 1949 echo "configure:1950: checking for $ac_word" >&5 |
1940 | 1950 |
1941 if test -n "$CC"; then | 1951 if test -n "$CC"; then |
1942 ac_cv_prog_CC="$CC" # Let the user override the test. | 1952 ac_cv_prog_CC="$CC" # Let the user override the test. |
1943 else | 1953 else |
1944 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1954 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1982 case "`uname -s`" in | 1992 case "`uname -s`" in |
1983 *win32* | *WIN32*) | 1993 *win32* | *WIN32*) |
1984 # Extract the first word of "cl", so it can be a program name with args. | 1994 # Extract the first word of "cl", so it can be a program name with args. |
1985 set dummy cl; ac_word=$2 | 1995 set dummy cl; ac_word=$2 |
1986 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1996 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1987 echo "configure:1988: checking for $ac_word" >&5 | 1997 echo "configure:1998: checking for $ac_word" >&5 |
1988 | 1998 |
1989 if test -n "$CC"; then | 1999 if test -n "$CC"; then |
1990 ac_cv_prog_CC="$CC" # Let the user override the test. | 2000 ac_cv_prog_CC="$CC" # Let the user override the test. |
1991 else | 2001 else |
1992 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 2002 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
2011 fi | 2021 fi |
2012 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 2022 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
2013 fi | 2023 fi |
2014 | 2024 |
2015 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 2025 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
2016 echo "configure:2017: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 2026 echo "configure:2027: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
2017 | 2027 |
2018 ac_ext=c | 2028 ac_ext=c |
2019 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 2029 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
2020 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 2030 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
2021 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' | 2031 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' |
2024 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 2034 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
2025 cross_compiling=no | 2035 cross_compiling=no |
2026 | 2036 |
2027 cat > conftest.$ac_ext << EOF | 2037 cat > conftest.$ac_ext << EOF |
2028 | 2038 |
2029 #line 2030 "configure" | 2039 #line 2040 "configure" |
2030 #include "confdefs.h" | 2040 #include "confdefs.h" |
2031 | 2041 |
2032 main(){return(0);} | 2042 main(){return(0);} |
2033 EOF | 2043 EOF |
2034 if { (eval echo configure:2035: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2044 if { (eval echo configure:2045: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2035 ac_cv_prog_cc_works=yes | 2045 ac_cv_prog_cc_works=yes |
2036 # If we can't run a trivial program, we are probably using a cross compiler. | 2046 # If we can't run a trivial program, we are probably using a cross compiler. |
2037 if (./conftest; exit) 2>/dev/null; then | 2047 if (./conftest; exit) 2>/dev/null; then |
2038 ac_cv_prog_cc_cross=no | 2048 ac_cv_prog_cc_cross=no |
2039 else | 2049 else |
2057 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 2067 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
2058 if test $ac_cv_prog_cc_works = no; then | 2068 if test $ac_cv_prog_cc_works = no; then |
2059 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 2069 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
2060 fi | 2070 fi |
2061 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 2071 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
2062 echo "configure:2063: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 2072 echo "configure:2073: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
2063 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 2073 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
2064 cross_compiling=$ac_cv_prog_cc_cross | 2074 cross_compiling=$ac_cv_prog_cc_cross |
2065 | 2075 |
2066 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 2076 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
2067 echo "configure:2068: checking whether we are using GNU C" >&5 | 2077 echo "configure:2078: checking whether we are using GNU C" >&5 |
2068 | 2078 |
2069 cat > conftest.c <<EOF | 2079 cat > conftest.c <<EOF |
2070 #ifdef __GNUC__ | 2080 #ifdef __GNUC__ |
2071 yes; | 2081 yes; |
2072 #endif | 2082 #endif |
2073 EOF | 2083 EOF |
2074 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2075: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 2084 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2085: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
2075 ac_cv_prog_gcc=yes | 2085 ac_cv_prog_gcc=yes |
2076 else | 2086 else |
2077 ac_cv_prog_gcc=no | 2087 ac_cv_prog_gcc=no |
2078 fi | 2088 fi |
2079 | 2089 |
2087 | 2097 |
2088 ac_test_CFLAGS="${CFLAGS+set}" | 2098 ac_test_CFLAGS="${CFLAGS+set}" |
2089 ac_save_CFLAGS="$CFLAGS" | 2099 ac_save_CFLAGS="$CFLAGS" |
2090 CFLAGS= | 2100 CFLAGS= |
2091 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 2101 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
2092 echo "configure:2093: checking whether ${CC-cc} accepts -g" >&5 | 2102 echo "configure:2103: checking whether ${CC-cc} accepts -g" >&5 |
2093 | 2103 |
2094 echo 'void f(){}' > conftest.c | 2104 echo 'void f(){}' > conftest.c |
2095 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 2105 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
2096 ac_cv_prog_cc_g=yes | 2106 ac_cv_prog_cc_g=yes |
2097 else | 2107 else |
2120 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then | 2130 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then |
2121 CC=gcc | 2131 CC=gcc |
2122 # Extract the first word of "gcc", so it can be a program name with args. | 2132 # Extract the first word of "gcc", so it can be a program name with args. |
2123 set dummy gcc; ac_word=$2 | 2133 set dummy gcc; ac_word=$2 |
2124 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2134 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2125 echo "configure:2126: checking for $ac_word" >&5 | 2135 echo "configure:2136: checking for $ac_word" >&5 |
2126 | 2136 |
2127 if test -n "$CC"; then | 2137 if test -n "$CC"; then |
2128 ac_cv_prog_CC="$CC" # Let the user override the test. | 2138 ac_cv_prog_CC="$CC" # Let the user override the test. |
2129 else | 2139 else |
2130 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 2140 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
2147 | 2157 |
2148 if test -z "$CC"; then | 2158 if test -z "$CC"; then |
2149 # Extract the first word of "cc", so it can be a program name with args. | 2159 # Extract the first word of "cc", so it can be a program name with args. |
2150 set dummy cc; ac_word=$2 | 2160 set dummy cc; ac_word=$2 |
2151 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2161 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2152 echo "configure:2153: checking for $ac_word" >&5 | 2162 echo "configure:2163: checking for $ac_word" >&5 |
2153 | 2163 |
2154 if test -n "$CC"; then | 2164 if test -n "$CC"; then |
2155 ac_cv_prog_CC="$CC" # Let the user override the test. | 2165 ac_cv_prog_CC="$CC" # Let the user override the test. |
2156 else | 2166 else |
2157 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 2167 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
2195 case "`uname -s`" in | 2205 case "`uname -s`" in |
2196 *win32* | *WIN32*) | 2206 *win32* | *WIN32*) |
2197 # Extract the first word of "cl", so it can be a program name with args. | 2207 # Extract the first word of "cl", so it can be a program name with args. |
2198 set dummy cl; ac_word=$2 | 2208 set dummy cl; ac_word=$2 |
2199 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2209 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2200 echo "configure:2201: checking for $ac_word" >&5 | 2210 echo "configure:2211: checking for $ac_word" >&5 |
2201 | 2211 |
2202 if test -n "$CC"; then | 2212 if test -n "$CC"; then |
2203 ac_cv_prog_CC="$CC" # Let the user override the test. | 2213 ac_cv_prog_CC="$CC" # Let the user override the test. |
2204 else | 2214 else |
2205 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 2215 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
2224 fi | 2234 fi |
2225 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 2235 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
2226 fi | 2236 fi |
2227 | 2237 |
2228 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 2238 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
2229 echo "configure:2230: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 2239 echo "configure:2240: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
2230 | 2240 |
2231 ac_ext=c | 2241 ac_ext=c |
2232 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 2242 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
2233 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 2243 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
2234 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' | 2244 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' |
2237 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 2247 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
2238 cross_compiling=no | 2248 cross_compiling=no |
2239 | 2249 |
2240 cat > conftest.$ac_ext << EOF | 2250 cat > conftest.$ac_ext << EOF |
2241 | 2251 |
2242 #line 2243 "configure" | 2252 #line 2253 "configure" |
2243 #include "confdefs.h" | 2253 #include "confdefs.h" |
2244 | 2254 |
2245 main(){return(0);} | 2255 main(){return(0);} |
2246 EOF | 2256 EOF |
2247 if { (eval echo configure:2248: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2257 if { (eval echo configure:2258: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2248 ac_cv_prog_cc_works=yes | 2258 ac_cv_prog_cc_works=yes |
2249 # If we can't run a trivial program, we are probably using a cross compiler. | 2259 # If we can't run a trivial program, we are probably using a cross compiler. |
2250 if (./conftest; exit) 2>/dev/null; then | 2260 if (./conftest; exit) 2>/dev/null; then |
2251 ac_cv_prog_cc_cross=no | 2261 ac_cv_prog_cc_cross=no |
2252 else | 2262 else |
2270 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 2280 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
2271 if test $ac_cv_prog_cc_works = no; then | 2281 if test $ac_cv_prog_cc_works = no; then |
2272 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 2282 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
2273 fi | 2283 fi |
2274 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 2284 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
2275 echo "configure:2276: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 2285 echo "configure:2286: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
2276 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 2286 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
2277 cross_compiling=$ac_cv_prog_cc_cross | 2287 cross_compiling=$ac_cv_prog_cc_cross |
2278 | 2288 |
2279 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 2289 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
2280 echo "configure:2281: checking whether we are using GNU C" >&5 | 2290 echo "configure:2291: checking whether we are using GNU C" >&5 |
2281 | 2291 |
2282 cat > conftest.c <<EOF | 2292 cat > conftest.c <<EOF |
2283 #ifdef __GNUC__ | 2293 #ifdef __GNUC__ |
2284 yes; | 2294 yes; |
2285 #endif | 2295 #endif |
2286 EOF | 2296 EOF |
2287 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2288: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 2297 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2298: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
2288 ac_cv_prog_gcc=yes | 2298 ac_cv_prog_gcc=yes |
2289 else | 2299 else |
2290 ac_cv_prog_gcc=no | 2300 ac_cv_prog_gcc=no |
2291 fi | 2301 fi |
2292 | 2302 |
2300 | 2310 |
2301 ac_test_CFLAGS="${CFLAGS+set}" | 2311 ac_test_CFLAGS="${CFLAGS+set}" |
2302 ac_save_CFLAGS="$CFLAGS" | 2312 ac_save_CFLAGS="$CFLAGS" |
2303 CFLAGS= | 2313 CFLAGS= |
2304 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 2314 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
2305 echo "configure:2306: checking whether ${CC-cc} accepts -g" >&5 | 2315 echo "configure:2316: checking whether ${CC-cc} accepts -g" >&5 |
2306 | 2316 |
2307 echo 'void f(){}' > conftest.c | 2317 echo 'void f(){}' > conftest.c |
2308 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 2318 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
2309 ac_cv_prog_cc_g=yes | 2319 ac_cv_prog_cc_g=yes |
2310 else | 2320 else |
2333 fi | 2343 fi |
2334 CFLAGS="$xe_save_CFLAGS" | 2344 CFLAGS="$xe_save_CFLAGS" |
2335 | 2345 |
2336 if test "$GCC" = "yes"; then | 2346 if test "$GCC" = "yes"; then |
2337 cat > conftest.$ac_ext <<EOF | 2347 cat > conftest.$ac_ext <<EOF |
2338 #line 2339 "configure" | 2348 #line 2349 "configure" |
2339 #include "confdefs.h" | 2349 #include "confdefs.h" |
2340 int main () { | 2350 int main () { |
2341 #if __GNUC__ >= 3 | 2351 #if __GNUC__ >= 3 |
2342 return 11; | 2352 return 11; |
2343 #else | 2353 #else |
2344 return 0; | 2354 return 0; |
2345 #endif | 2355 #endif |
2346 } | 2356 } |
2347 EOF | 2357 EOF |
2348 if { (eval echo configure:2349: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 2358 if { (eval echo configure:2359: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
2349 then | 2359 then |
2350 : | 2360 : |
2351 else | 2361 else |
2352 conftest_rc="$?" | 2362 conftest_rc="$?" |
2353 echo "configure: failed program was:" >&5 | 2363 echo "configure: failed program was:" >&5 |
2369 test -n "$CPP" -a -d "$CPP" && CPP= | 2379 test -n "$CPP" -a -d "$CPP" && CPP= |
2370 | 2380 |
2371 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" | 2381 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" |
2372 | 2382 |
2373 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 | 2383 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
2374 echo "configure:2375: checking how to run the C preprocessor" >&5 | 2384 echo "configure:2385: checking how to run the C preprocessor" >&5 |
2375 # On Suns, sometimes $CPP names a directory. | 2385 # On Suns, sometimes $CPP names a directory. |
2376 if test -n "$CPP" && test -d "$CPP"; then | 2386 if test -n "$CPP" && test -d "$CPP"; then |
2377 CPP= | 2387 CPP= |
2378 fi | 2388 fi |
2379 if test -z "$CPP"; then | 2389 if test -z "$CPP"; then |
2382 # substituted into the Makefile and "${CC-cc}" will confuse make. | 2392 # substituted into the Makefile and "${CC-cc}" will confuse make. |
2383 CPP="${CC-cc} -E" | 2393 CPP="${CC-cc} -E" |
2384 # On the NeXT, cc -E runs the code through the compiler's parser, | 2394 # On the NeXT, cc -E runs the code through the compiler's parser, |
2385 # not just through cpp. | 2395 # not just through cpp. |
2386 cat > conftest.$ac_ext <<EOF | 2396 cat > conftest.$ac_ext <<EOF |
2387 #line 2388 "configure" | 2397 #line 2398 "configure" |
2388 #include "confdefs.h" | 2398 #include "confdefs.h" |
2389 #include <assert.h> | 2399 #include <assert.h> |
2390 Syntax Error | 2400 Syntax Error |
2391 EOF | 2401 EOF |
2392 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2402 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2393 { (eval echo configure:2394: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2403 { (eval echo configure:2404: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2394 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2404 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2395 if test -z "$ac_err"; then | 2405 if test -z "$ac_err"; then |
2396 : | 2406 : |
2397 else | 2407 else |
2398 echo "$ac_err" >&5 | 2408 echo "$ac_err" >&5 |
2399 echo "configure: failed program was:" >&5 | 2409 echo "configure: failed program was:" >&5 |
2400 cat conftest.$ac_ext >&5 | 2410 cat conftest.$ac_ext >&5 |
2401 rm -rf conftest* | 2411 rm -rf conftest* |
2402 CPP="${CC-cc} -E -traditional-cpp" | 2412 CPP="${CC-cc} -E -traditional-cpp" |
2403 cat > conftest.$ac_ext <<EOF | 2413 cat > conftest.$ac_ext <<EOF |
2404 #line 2405 "configure" | 2414 #line 2415 "configure" |
2405 #include "confdefs.h" | 2415 #include "confdefs.h" |
2406 #include <assert.h> | 2416 #include <assert.h> |
2407 Syntax Error | 2417 Syntax Error |
2408 EOF | 2418 EOF |
2409 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2419 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2410 { (eval echo configure:2411: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2420 { (eval echo configure:2421: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2411 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2421 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2412 if test -z "$ac_err"; then | 2422 if test -z "$ac_err"; then |
2413 : | 2423 : |
2414 else | 2424 else |
2415 echo "$ac_err" >&5 | 2425 echo "$ac_err" >&5 |
2416 echo "configure: failed program was:" >&5 | 2426 echo "configure: failed program was:" >&5 |
2417 cat conftest.$ac_ext >&5 | 2427 cat conftest.$ac_ext >&5 |
2418 rm -rf conftest* | 2428 rm -rf conftest* |
2419 CPP="${CC-cc} -nologo -E" | 2429 CPP="${CC-cc} -nologo -E" |
2420 cat > conftest.$ac_ext <<EOF | 2430 cat > conftest.$ac_ext <<EOF |
2421 #line 2422 "configure" | 2431 #line 2432 "configure" |
2422 #include "confdefs.h" | 2432 #include "confdefs.h" |
2423 #include <assert.h> | 2433 #include <assert.h> |
2424 Syntax Error | 2434 Syntax Error |
2425 EOF | 2435 EOF |
2426 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2436 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2427 { (eval echo configure:2428: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2437 { (eval echo configure:2438: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2428 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2438 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2429 if test -z "$ac_err"; then | 2439 if test -z "$ac_err"; then |
2430 : | 2440 : |
2431 else | 2441 else |
2432 echo "$ac_err" >&5 | 2442 echo "$ac_err" >&5 |
2448 echo "$ac_t""$CPP" 1>&6 | 2458 echo "$ac_t""$CPP" 1>&6 |
2449 | 2459 |
2450 | 2460 |
2451 | 2461 |
2452 echo $ac_n "checking for AIX""... $ac_c" 1>&6 | 2462 echo $ac_n "checking for AIX""... $ac_c" 1>&6 |
2453 echo "configure:2454: checking for AIX" >&5 | 2463 echo "configure:2464: checking for AIX" >&5 |
2454 cat > conftest.$ac_ext <<EOF | 2464 cat > conftest.$ac_ext <<EOF |
2455 #line 2456 "configure" | 2465 #line 2466 "configure" |
2456 #include "confdefs.h" | 2466 #include "confdefs.h" |
2457 #ifdef _AIX | 2467 #ifdef _AIX |
2458 yes | 2468 yes |
2459 #endif | 2469 #endif |
2460 | 2470 |
2477 rm -f conftest* | 2487 rm -f conftest* |
2478 | 2488 |
2479 | 2489 |
2480 | 2490 |
2481 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6 | 2491 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6 |
2482 echo "configure:2483: checking for GNU libc" >&5 | 2492 echo "configure:2493: checking for GNU libc" >&5 |
2483 cat > conftest.$ac_ext <<EOF | 2493 cat > conftest.$ac_ext <<EOF |
2484 #line 2485 "configure" | 2494 #line 2495 "configure" |
2485 #include "confdefs.h" | 2495 #include "confdefs.h" |
2486 #include <features.h> | 2496 #include <features.h> |
2487 int main() { | 2497 int main() { |
2488 | 2498 |
2489 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) | 2499 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) |
2491 ******* ======= ******** &&&&&&&& | 2501 ******* ======= ******** &&&&&&&& |
2492 #endif | 2502 #endif |
2493 | 2503 |
2494 ; return 0; } | 2504 ; return 0; } |
2495 EOF | 2505 EOF |
2496 if { (eval echo configure:2497: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2506 if { (eval echo configure:2507: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2497 rm -rf conftest* | 2507 rm -rf conftest* |
2498 have_glibc=yes | 2508 have_glibc=yes |
2499 else | 2509 else |
2500 echo "configure: failed program was:" >&5 | 2510 echo "configure: failed program was:" >&5 |
2501 cat conftest.$ac_ext >&5 | 2511 cat conftest.$ac_ext >&5 |
2586 | 2596 |
2587 ;; | 2597 ;; |
2588 esac | 2598 esac |
2589 | 2599 |
2590 cat > conftest.$ac_ext <<EOF | 2600 cat > conftest.$ac_ext <<EOF |
2591 #line 2592 "configure" | 2601 #line 2602 "configure" |
2592 #include "confdefs.h" | 2602 #include "confdefs.h" |
2593 int main () { | 2603 int main () { |
2594 #if defined __SUNPRO_C | 2604 #if defined __SUNPRO_C |
2595 return 11; | 2605 return 11; |
2596 #elif defined __DECC | 2606 #elif defined __DECC |
2602 #else | 2612 #else |
2603 return 0; | 2613 return 0; |
2604 #endif | 2614 #endif |
2605 } | 2615 } |
2606 EOF | 2616 EOF |
2607 if { (eval echo configure:2608: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 2617 if { (eval echo configure:2618: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
2608 then | 2618 then |
2609 : | 2619 : |
2610 else | 2620 else |
2611 conftest_rc="$?" | 2621 conftest_rc="$?" |
2612 echo "configure: failed program was:" >&5 | 2622 echo "configure: failed program was:" >&5 |
2856 | 2866 |
2857 test "$__DECC" = "yes" && c_switch_site="$c_switch_site -std1" && if test "$extra_verbose" = "yes"; then echo " Appending \"-std1\" to \$c_switch_site"; fi | 2867 test "$__DECC" = "yes" && c_switch_site="$c_switch_site -std1" && if test "$extra_verbose" = "yes"; then echo " Appending \"-std1\" to \$c_switch_site"; fi |
2858 | 2868 |
2859 if test "$__USLC__" = yes; then | 2869 if test "$__USLC__" = yes; then |
2860 echo $ac_n "checking for whether the -Kalloca compiler flag is needed""... $ac_c" 1>&6 | 2870 echo $ac_n "checking for whether the -Kalloca compiler flag is needed""... $ac_c" 1>&6 |
2861 echo "configure:2862: checking for whether the -Kalloca compiler flag is needed" >&5 | 2871 echo "configure:2872: checking for whether the -Kalloca compiler flag is needed" >&5 |
2862 need_kalloca=no | 2872 need_kalloca=no |
2863 cat > conftest.$ac_ext <<EOF | 2873 cat > conftest.$ac_ext <<EOF |
2864 #line 2865 "configure" | 2874 #line 2875 "configure" |
2865 #include "confdefs.h" | 2875 #include "confdefs.h" |
2866 | 2876 |
2867 int main() { | 2877 int main() { |
2868 void *x = alloca(4); | 2878 void *x = alloca(4); |
2869 ; return 0; } | 2879 ; return 0; } |
2870 EOF | 2880 EOF |
2871 if { (eval echo configure:2872: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2881 if { (eval echo configure:2882: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2872 rm -rf conftest* | 2882 rm -rf conftest* |
2873 : | 2883 : |
2874 else | 2884 else |
2875 echo "configure: failed program was:" >&5 | 2885 echo "configure: failed program was:" >&5 |
2876 cat conftest.$ac_ext >&5 | 2886 cat conftest.$ac_ext >&5 |
2877 rm -rf conftest* | 2887 rm -rf conftest* |
2878 | 2888 |
2879 xe_save_c_switch_system="$c_switch_system" | 2889 xe_save_c_switch_system="$c_switch_system" |
2880 c_switch_system="$c_switch_system -Kalloca" | 2890 c_switch_system="$c_switch_system -Kalloca" |
2881 cat > conftest.$ac_ext <<EOF | 2891 cat > conftest.$ac_ext <<EOF |
2882 #line 2883 "configure" | 2892 #line 2893 "configure" |
2883 #include "confdefs.h" | 2893 #include "confdefs.h" |
2884 | 2894 |
2885 int main() { | 2895 int main() { |
2886 void *x = alloca(4); | 2896 void *x = alloca(4); |
2887 ; return 0; } | 2897 ; return 0; } |
2888 EOF | 2898 EOF |
2889 if { (eval echo configure:2890: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2899 if { (eval echo configure:2900: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2890 rm -rf conftest* | 2900 rm -rf conftest* |
2891 need_kalloca=yes | 2901 need_kalloca=yes |
2892 else | 2902 else |
2893 echo "configure: failed program was:" >&5 | 2903 echo "configure: failed program was:" >&5 |
2894 cat conftest.$ac_ext >&5 | 2904 cat conftest.$ac_ext >&5 |
2922 fi | 2932 fi |
2923 fi | 2933 fi |
2924 | 2934 |
2925 | 2935 |
2926 echo $ac_n "checking for preferred optimization flags""... $ac_c" 1>&6 | 2936 echo $ac_n "checking for preferred optimization flags""... $ac_c" 1>&6 |
2927 echo "configure:2928: checking for preferred optimization flags" >&5 | 2937 echo "configure:2938: checking for preferred optimization flags" >&5 |
2928 if test "$with_optimization" = "yes" ; then | 2938 if test "$with_optimization" = "yes" ; then |
2929 if test "$cflags_optimization_specified" = "no"; then | 2939 if test "$cflags_optimization_specified" = "no"; then |
2930 if test "$GCC" = "yes"; then | 2940 if test "$GCC" = "yes"; then |
2931 cflags_optimization="-O3" | 2941 cflags_optimization="-O3" |
2932 elif test "$__SUNPRO_C" = "yes"; then | 2942 elif test "$__SUNPRO_C" = "yes"; then |
2949 | 2959 |
2950 echo "$ac_t""${cflags_optimization}" 1>&6 | 2960 echo "$ac_t""${cflags_optimization}" 1>&6 |
2951 | 2961 |
2952 | 2962 |
2953 echo $ac_n "checking for preferred debugging flags""... $ac_c" 1>&6 | 2963 echo $ac_n "checking for preferred debugging flags""... $ac_c" 1>&6 |
2954 echo "configure:2955: checking for preferred debugging flags" >&5 | 2964 echo "configure:2965: checking for preferred debugging flags" >&5 |
2955 if test "$cflags_debugging_specified" = "no"; then | 2965 if test "$cflags_debugging_specified" = "no"; then |
2956 cflags_debugging="-g" | 2966 cflags_debugging="-g" |
2957 | 2967 |
2958 debugging_ok_with_optimization=no | 2968 debugging_ok_with_optimization=no |
2959 if test "$GCC" = "yes" -o "$CC" = "xlc" -o "$__ICC" = "yes"; then | 2969 if test "$GCC" = "yes" -o "$CC" = "xlc" -o "$__ICC" = "yes"; then |
2966 fi | 2976 fi |
2967 echo "$ac_t""${cflags_debugging}" 1>&6 | 2977 echo "$ac_t""${cflags_debugging}" 1>&6 |
2968 | 2978 |
2969 | 2979 |
2970 echo $ac_n "checking for preferred warning flags for XEMACS_CC""... $ac_c" 1>&6 | 2980 echo $ac_n "checking for preferred warning flags for XEMACS_CC""... $ac_c" 1>&6 |
2971 echo "configure:2972: checking for preferred warning flags for XEMACS_CC" >&5 | 2981 echo "configure:2982: checking for preferred warning flags for XEMACS_CC" >&5 |
2972 | 2982 |
2973 xe_cflags_warning="" | 2983 xe_cflags_warning="" |
2974 | 2984 |
2975 if test "$cflags_warning_specified" = "no"; then | 2985 if test "$cflags_warning_specified" = "no"; then |
2976 if test "$__SUNPRO_C" = "yes"; then | 2986 if test "$__SUNPRO_C" = "yes"; then |
2999 fi | 3009 fi |
3000 test -z "$xe_cflags_warning" && xe_cflags_warning="$cflags_warning" | 3010 test -z "$xe_cflags_warning" && xe_cflags_warning="$cflags_warning" |
3001 echo "$ac_t""${xe_cflags_warning}" 1>&6 | 3011 echo "$ac_t""${xe_cflags_warning}" 1>&6 |
3002 | 3012 |
3003 echo $ac_n "checking for preferred warning flags for CC""... $ac_c" 1>&6 | 3013 echo $ac_n "checking for preferred warning flags for CC""... $ac_c" 1>&6 |
3004 echo "configure:3005: checking for preferred warning flags for CC" >&5 | 3014 echo "configure:3015: checking for preferred warning flags for CC" >&5 |
3005 echo "$ac_t""${cflags_warning}" 1>&6 | 3015 echo "$ac_t""${cflags_warning}" 1>&6 |
3006 | 3016 |
3007 | 3017 |
3008 echo $ac_n "checking for remaining CFLAGS""... $ac_c" 1>&6 | 3018 echo $ac_n "checking for remaining CFLAGS""... $ac_c" 1>&6 |
3009 echo "configure:3010: checking for remaining CFLAGS" >&5 | 3019 echo "configure:3020: checking for remaining CFLAGS" >&5 |
3010 | 3020 |
3011 if test "$cflags_specified" = "no"; then | 3021 if test "$cflags_specified" = "no"; then |
3012 if test "$CC" = "xlc"; then | 3022 if test "$CC" = "xlc"; then |
3013 CFLAGS="-qro" | 3023 CFLAGS="-qro" |
3014 fi | 3024 fi |
3018 | 3028 |
3019 XE_CFLAGS="$xe_cflags_warning $cflags_debugging $cflags_optimization $CFLAGS" | 3029 XE_CFLAGS="$xe_cflags_warning $cflags_debugging $cflags_optimization $CFLAGS" |
3020 CFLAGS="$cflags_warning $cflags_debugging $cflags_optimization $CFLAGS" | 3030 CFLAGS="$cflags_warning $cflags_debugging $cflags_optimization $CFLAGS" |
3021 | 3031 |
3022 echo $ac_n "checking total value of XE_CFLAGS""... $ac_c" 1>&6 | 3032 echo $ac_n "checking total value of XE_CFLAGS""... $ac_c" 1>&6 |
3023 echo "configure:3024: checking total value of XE_CFLAGS" >&5 | 3033 echo "configure:3034: checking total value of XE_CFLAGS" >&5 |
3024 echo "$ac_t""${XE_CFLAGS}" 1>&6 | 3034 echo "$ac_t""${XE_CFLAGS}" 1>&6 |
3025 echo $ac_n "checking total value of CFLAGS""... $ac_c" 1>&6 | 3035 echo $ac_n "checking total value of CFLAGS""... $ac_c" 1>&6 |
3026 echo "configure:3027: checking total value of CFLAGS" >&5 | 3036 echo "configure:3037: checking total value of CFLAGS" >&5 |
3027 echo "$ac_t""${CFLAGS}" 1>&6 | 3037 echo "$ac_t""${CFLAGS}" 1>&6 |
3028 | 3038 |
3029 if test "$GCC" = "yes"; then | 3039 if test "$GCC" = "yes"; then |
3030 echo $ac_n "checking for buggy gcc versions""... $ac_c" 1>&6 | 3040 echo $ac_n "checking for buggy gcc versions""... $ac_c" 1>&6 |
3031 echo "configure:3032: checking for buggy gcc versions" >&5 | 3041 echo "configure:3042: checking for buggy gcc versions" >&5 |
3032 GCC_VERSION=`$CC --version` | 3042 GCC_VERSION=`$CC --version` |
3033 case `uname -s`:`uname -m`:$GCC_VERSION in | 3043 case `uname -s`:`uname -m`:$GCC_VERSION in |
3034 *:sun4*:2.8.1|*:sun4*:egcs-2.90.*) | 3044 *:sun4*:2.8.1|*:sun4*:egcs-2.90.*) |
3035 case "$CFLAGS" in | 3045 case "$CFLAGS" in |
3036 *-O2*|*-O3*) | 3046 *-O2*|*-O3*) |
3084 echo "$ac_t""no" 1>&6 | 3094 echo "$ac_t""no" 1>&6 |
3085 fi | 3095 fi |
3086 | 3096 |
3087 if test "$pdump" != "yes"; then | 3097 if test "$pdump" != "yes"; then |
3088 echo $ac_n "checking for \"-z nocombreloc\" linker flag""... $ac_c" 1>&6 | 3098 echo $ac_n "checking for \"-z nocombreloc\" linker flag""... $ac_c" 1>&6 |
3089 echo "configure:3090: checking for \"-z nocombreloc\" linker flag" >&5 | 3099 echo "configure:3100: checking for \"-z nocombreloc\" linker flag" >&5 |
3090 case "`ld --help 2>&1`" in | 3100 case "`ld --help 2>&1`" in |
3091 *-z\ nocombreloc* ) echo "$ac_t""yes" 1>&6 | 3101 *-z\ nocombreloc* ) echo "$ac_t""yes" 1>&6 |
3092 ld_switch_site="-z nocombreloc $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z nocombreloc\" to \$ld_switch_site"; fi ;; | 3102 ld_switch_site="-z nocombreloc $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z nocombreloc\" to \$ld_switch_site"; fi ;; |
3093 *) echo "$ac_t""no" 1>&6 ;; | 3103 *) echo "$ac_t""no" 1>&6 ;; |
3094 esac | 3104 esac |
3173 test "$pdump" = "yes" && extra_objs="$extra_objs dumper.o" && if test "$extra_verbose" = "yes"; then | 3183 test "$pdump" = "yes" && extra_objs="$extra_objs dumper.o" && if test "$extra_verbose" = "yes"; then |
3174 echo " xemacs will be linked with \"dumper.o\"" | 3184 echo " xemacs will be linked with \"dumper.o\"" |
3175 fi | 3185 fi |
3176 | 3186 |
3177 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 | 3187 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 |
3178 echo "configure:3179: checking for dynodump" >&5 | 3188 echo "configure:3189: checking for dynodump" >&5 |
3179 if test "$unexec" != "unexsol2.o"; then | 3189 if test "$unexec" != "unexsol2.o"; then |
3180 echo "$ac_t""no" 1>&6 | 3190 echo "$ac_t""no" 1>&6 |
3181 else | 3191 else |
3182 echo "$ac_t""yes" 1>&6 | 3192 echo "$ac_t""yes" 1>&6 |
3183 { test "$extra_verbose" = "yes" && cat << \EOF | 3193 { test "$extra_verbose" = "yes" && cat << \EOF |
3210 for f in "/usr/lpp/X11/bin/smt.exp" "/usr/bin/X11/smt.exp"; do | 3220 for f in "/usr/lpp/X11/bin/smt.exp" "/usr/bin/X11/smt.exp"; do |
3211 if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; break; fi | 3221 if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; break; fi |
3212 done | 3222 done |
3213 | 3223 |
3214 echo $ac_n "checking for terminateAndUnload in -lC""... $ac_c" 1>&6 | 3224 echo $ac_n "checking for terminateAndUnload in -lC""... $ac_c" 1>&6 |
3215 echo "configure:3216: checking for terminateAndUnload in -lC" >&5 | 3225 echo "configure:3226: checking for terminateAndUnload in -lC" >&5 |
3216 ac_lib_var=`echo C'_'terminateAndUnload | sed 'y%./+-%__p_%'` | 3226 ac_lib_var=`echo C'_'terminateAndUnload | sed 'y%./+-%__p_%'` |
3217 | 3227 |
3218 xe_check_libs=" -lC " | 3228 xe_check_libs=" -lC " |
3219 cat > conftest.$ac_ext <<EOF | 3229 cat > conftest.$ac_ext <<EOF |
3220 #line 3221 "configure" | 3230 #line 3231 "configure" |
3221 #include "confdefs.h" | 3231 #include "confdefs.h" |
3222 /* Override any gcc2 internal prototype to avoid an error. */ | 3232 /* Override any gcc2 internal prototype to avoid an error. */ |
3223 /* We use char because int might match the return type of a gcc2 | 3233 /* We use char because int might match the return type of a gcc2 |
3224 builtin and then its argument prototype would still apply. */ | 3234 builtin and then its argument prototype would still apply. */ |
3225 char terminateAndUnload(); | 3235 char terminateAndUnload(); |
3226 | 3236 |
3227 int main() { | 3237 int main() { |
3228 terminateAndUnload() | 3238 terminateAndUnload() |
3229 ; return 0; } | 3239 ; return 0; } |
3230 EOF | 3240 EOF |
3231 if { (eval echo configure:3232: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3241 if { (eval echo configure:3242: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3232 rm -rf conftest* | 3242 rm -rf conftest* |
3233 eval "ac_cv_lib_$ac_lib_var=yes" | 3243 eval "ac_cv_lib_$ac_lib_var=yes" |
3234 else | 3244 else |
3235 echo "configure: failed program was:" >&5 | 3245 echo "configure: failed program was:" >&5 |
3236 cat conftest.$ac_ext >&5 | 3246 cat conftest.$ac_ext >&5 |
3268 compiler_version="" | 3278 compiler_version="" |
3269 gcc_compiler_specs="" | 3279 gcc_compiler_specs="" |
3270 libc_version="" | 3280 libc_version="" |
3271 | 3281 |
3272 echo $ac_n "checking for compiler version information""... $ac_c" 1>&6 | 3282 echo $ac_n "checking for compiler version information""... $ac_c" 1>&6 |
3273 echo "configure:3274: checking for compiler version information" >&5 | 3283 echo "configure:3284: checking for compiler version information" >&5 |
3274 | 3284 |
3275 if test "$GCC" = "yes"; then | 3285 if test "$GCC" = "yes"; then |
3276 compiler_version=`$XEMACS_CC --version | head -1` | 3286 compiler_version=`$XEMACS_CC --version | head -1` |
3277 gcc_compiler_specs=`$XEMACS_CC -v 2>&1 | sed 's/.* \([^ ]\)/\1/' | head -1` | 3287 gcc_compiler_specs=`$XEMACS_CC -v 2>&1 | sed 's/.* \([^ ]\)/\1/' | head -1` |
3278 else case "$XEMACS_CC" in | 3288 else case "$XEMACS_CC" in |
3319 if test -z "$compiler_version"; then | 3329 if test -z "$compiler_version"; then |
3320 compiler_version="detection failed (please report this)" | 3330 compiler_version="detection failed (please report this)" |
3321 fi | 3331 fi |
3322 | 3332 |
3323 echo $ac_n "checking for standard C library version information""... $ac_c" 1>&6 | 3333 echo $ac_n "checking for standard C library version information""... $ac_c" 1>&6 |
3324 echo "configure:3325: checking for standard C library version information" >&5 | 3334 echo "configure:3335: checking for standard C library version information" >&5 |
3325 | 3335 |
3326 case "$canonical" in | 3336 case "$canonical" in |
3327 *-*-linux*) | 3337 *-*-linux*) |
3328 if test -f /etc/redhat-release ; then | 3338 if test -f /etc/redhat-release ; then |
3329 libc_version=`rpm -q glibc` | 3339 libc_version=`rpm -q glibc` |
3431 esac | 3441 esac |
3432 fi | 3442 fi |
3433 | 3443 |
3434 if test "$add_runtime_path" = "yes"; then | 3444 if test "$add_runtime_path" = "yes"; then |
3435 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 | 3445 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 |
3436 echo "configure:3437: checking "for runtime libraries flag"" >&5 | 3446 echo "configure:3447: checking "for runtime libraries flag"" >&5 |
3437 case "$opsys" in | 3447 case "$opsys" in |
3438 sol2 ) dash_r="-R" ;; | 3448 sol2 ) dash_r="-R" ;; |
3439 decosf* | linux* | irix*) dash_r="-rpath " ;; | 3449 decosf* | linux* | irix*) dash_r="-rpath " ;; |
3440 *) | 3450 *) |
3441 dash_r="" | 3451 dash_r="" |
3453 esac | 3463 esac |
3454 shift | 3464 shift |
3455 done | 3465 done |
3456 fi | 3466 fi |
3457 cat > conftest.$ac_ext <<EOF | 3467 cat > conftest.$ac_ext <<EOF |
3458 #line 3459 "configure" | 3468 #line 3469 "configure" |
3459 #include "confdefs.h" | 3469 #include "confdefs.h" |
3460 | 3470 |
3461 int main() { | 3471 int main() { |
3462 | 3472 |
3463 ; return 0; } | 3473 ; return 0; } |
3464 EOF | 3474 EOF |
3465 if { (eval echo configure:3466: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3475 if { (eval echo configure:3476: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3466 rm -rf conftest* | 3476 rm -rf conftest* |
3467 dash_r="$try_dash_r" | 3477 dash_r="$try_dash_r" |
3468 else | 3478 else |
3469 echo "configure: failed program was:" >&5 | 3479 echo "configure: failed program was:" >&5 |
3470 cat conftest.$ac_ext >&5 | 3480 cat conftest.$ac_ext >&5 |
3561 else | 3571 else |
3562 doug_lea_malloc=no | 3572 doug_lea_malloc=no |
3563 fi | 3573 fi |
3564 after_morecore_hook_exists=yes | 3574 after_morecore_hook_exists=yes |
3565 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 | 3575 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 |
3566 echo "configure:3567: checking for malloc_set_state" >&5 | 3576 echo "configure:3577: checking for malloc_set_state" >&5 |
3567 | 3577 |
3568 cat > conftest.$ac_ext <<EOF | 3578 cat > conftest.$ac_ext <<EOF |
3569 #line 3570 "configure" | 3579 #line 3580 "configure" |
3570 #include "confdefs.h" | 3580 #include "confdefs.h" |
3571 /* System header to define __stub macros and hopefully few prototypes, | 3581 /* System header to define __stub macros and hopefully few prototypes, |
3572 which can conflict with char malloc_set_state(); below. */ | 3582 which can conflict with char malloc_set_state(); below. */ |
3573 #include <assert.h> | 3583 #include <assert.h> |
3574 /* Override any gcc2 internal prototype to avoid an error. */ | 3584 /* Override any gcc2 internal prototype to avoid an error. */ |
3587 malloc_set_state(); | 3597 malloc_set_state(); |
3588 #endif | 3598 #endif |
3589 | 3599 |
3590 ; return 0; } | 3600 ; return 0; } |
3591 EOF | 3601 EOF |
3592 if { (eval echo configure:3593: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3602 if { (eval echo configure:3603: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3593 rm -rf conftest* | 3603 rm -rf conftest* |
3594 eval "ac_cv_func_malloc_set_state=yes" | 3604 eval "ac_cv_func_malloc_set_state=yes" |
3595 else | 3605 else |
3596 echo "configure: failed program was:" >&5 | 3606 echo "configure: failed program was:" >&5 |
3597 cat conftest.$ac_ext >&5 | 3607 cat conftest.$ac_ext >&5 |
3607 echo "$ac_t""no" 1>&6 | 3617 echo "$ac_t""no" 1>&6 |
3608 doug_lea_malloc=no | 3618 doug_lea_malloc=no |
3609 fi | 3619 fi |
3610 | 3620 |
3611 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 | 3621 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 |
3612 echo "configure:3613: checking whether __after_morecore_hook exists" >&5 | 3622 echo "configure:3623: checking whether __after_morecore_hook exists" >&5 |
3613 cat > conftest.$ac_ext <<EOF | 3623 cat > conftest.$ac_ext <<EOF |
3614 #line 3615 "configure" | 3624 #line 3625 "configure" |
3615 #include "confdefs.h" | 3625 #include "confdefs.h" |
3616 extern void (* __after_morecore_hook)(); | 3626 extern void (* __after_morecore_hook)(); |
3617 int main() { | 3627 int main() { |
3618 __after_morecore_hook = 0 | 3628 __after_morecore_hook = 0 |
3619 ; return 0; } | 3629 ; return 0; } |
3620 EOF | 3630 EOF |
3621 if { (eval echo configure:3622: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3631 if { (eval echo configure:3632: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3622 rm -rf conftest* | 3632 rm -rf conftest* |
3623 echo "$ac_t""yes" 1>&6 | 3633 echo "$ac_t""yes" 1>&6 |
3624 else | 3634 else |
3625 echo "configure: failed program was:" >&5 | 3635 echo "configure: failed program was:" >&5 |
3626 cat conftest.$ac_ext >&5 | 3636 cat conftest.$ac_ext >&5 |
3672 | 3682 |
3673 | 3683 |
3674 # Extract the first word of "ranlib", so it can be a program name with args. | 3684 # Extract the first word of "ranlib", so it can be a program name with args. |
3675 set dummy ranlib; ac_word=$2 | 3685 set dummy ranlib; ac_word=$2 |
3676 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 3686 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3677 echo "configure:3678: checking for $ac_word" >&5 | 3687 echo "configure:3688: checking for $ac_word" >&5 |
3678 | 3688 |
3679 if test -n "$RANLIB"; then | 3689 if test -n "$RANLIB"; then |
3680 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 3690 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
3681 else | 3691 else |
3682 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 3692 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
3727 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | 3737 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
3728 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 3738 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
3729 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 3739 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
3730 # ./install, which can be erroneously created by make from ./install.sh. | 3740 # ./install, which can be erroneously created by make from ./install.sh. |
3731 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | 3741 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
3732 echo "configure:3733: checking for a BSD compatible install" >&5 | 3742 echo "configure:3743: checking for a BSD compatible install" >&5 |
3733 if test -z "$INSTALL"; then | 3743 if test -z "$INSTALL"; then |
3734 | 3744 |
3735 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" | 3745 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" |
3736 for ac_dir in $PATH; do | 3746 for ac_dir in $PATH; do |
3737 # Account for people who put trailing slashes in PATH elements. | 3747 # Account for people who put trailing slashes in PATH elements. |
3781 for ac_prog in 'bison -y' byacc | 3791 for ac_prog in 'bison -y' byacc |
3782 do | 3792 do |
3783 # Extract the first word of "$ac_prog", so it can be a program name with args. | 3793 # Extract the first word of "$ac_prog", so it can be a program name with args. |
3784 set dummy $ac_prog; ac_word=$2 | 3794 set dummy $ac_prog; ac_word=$2 |
3785 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 3795 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3786 echo "configure:3787: checking for $ac_word" >&5 | 3796 echo "configure:3797: checking for $ac_word" >&5 |
3787 | 3797 |
3788 if test -n "$YACC"; then | 3798 if test -n "$YACC"; then |
3789 ac_cv_prog_YACC="$YACC" # Let the user override the test. | 3799 ac_cv_prog_YACC="$YACC" # Let the user override the test. |
3790 else | 3800 else |
3791 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 3801 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
3813 | 3823 |
3814 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/resource.h sys/time.h sys/timeb.h sys/times.h sys/un.h sys/vlimit.h ulimit.h unistd.h | 3824 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/resource.h sys/time.h sys/timeb.h sys/times.h sys/un.h sys/vlimit.h ulimit.h unistd.h |
3815 do | 3825 do |
3816 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 3826 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
3817 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 3827 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
3818 echo "configure:3819: checking for $ac_hdr" >&5 | 3828 echo "configure:3829: checking for $ac_hdr" >&5 |
3819 | 3829 |
3820 cat > conftest.$ac_ext <<EOF | 3830 cat > conftest.$ac_ext <<EOF |
3821 #line 3822 "configure" | 3831 #line 3832 "configure" |
3822 #include "confdefs.h" | 3832 #include "confdefs.h" |
3823 #include <$ac_hdr> | 3833 #include <$ac_hdr> |
3824 EOF | 3834 EOF |
3825 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3835 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3826 { (eval echo configure:3827: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3836 { (eval echo configure:3837: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3827 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 3837 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3828 if test -z "$ac_err"; then | 3838 if test -z "$ac_err"; then |
3829 rm -rf conftest* | 3839 rm -rf conftest* |
3830 eval "ac_cv_header_$ac_safe=yes" | 3840 eval "ac_cv_header_$ac_safe=yes" |
3831 else | 3841 else |
3851 echo "$ac_t""no" 1>&6 | 3861 echo "$ac_t""no" 1>&6 |
3852 fi | 3862 fi |
3853 done | 3863 done |
3854 | 3864 |
3855 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 | 3865 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 |
3856 echo "configure:3857: checking for sys/wait.h that is POSIX.1 compatible" >&5 | 3866 echo "configure:3867: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
3857 | 3867 |
3858 cat > conftest.$ac_ext <<EOF | 3868 cat > conftest.$ac_ext <<EOF |
3859 #line 3860 "configure" | 3869 #line 3870 "configure" |
3860 #include "confdefs.h" | 3870 #include "confdefs.h" |
3861 #include <sys/types.h> | 3871 #include <sys/types.h> |
3862 #include <sys/wait.h> | 3872 #include <sys/wait.h> |
3863 #ifndef WEXITSTATUS | 3873 #ifndef WEXITSTATUS |
3864 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) | 3874 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) |
3870 int s; | 3880 int s; |
3871 wait (&s); | 3881 wait (&s); |
3872 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; | 3882 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; |
3873 ; return 0; } | 3883 ; return 0; } |
3874 EOF | 3884 EOF |
3875 if { (eval echo configure:3876: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3885 if { (eval echo configure:3886: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3876 rm -rf conftest* | 3886 rm -rf conftest* |
3877 ac_cv_header_sys_wait_h=yes | 3887 ac_cv_header_sys_wait_h=yes |
3878 else | 3888 else |
3879 echo "configure: failed program was:" >&5 | 3889 echo "configure: failed program was:" >&5 |
3880 cat conftest.$ac_ext >&5 | 3890 cat conftest.$ac_ext >&5 |
3894 } | 3904 } |
3895 | 3905 |
3896 fi | 3906 fi |
3897 | 3907 |
3898 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | 3908 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
3899 echo "configure:3900: checking for ANSI C header files" >&5 | 3909 echo "configure:3910: checking for ANSI C header files" >&5 |
3900 | 3910 |
3901 cat > conftest.$ac_ext <<EOF | 3911 cat > conftest.$ac_ext <<EOF |
3902 #line 3903 "configure" | 3912 #line 3913 "configure" |
3903 #include "confdefs.h" | 3913 #include "confdefs.h" |
3904 #include <stdlib.h> | 3914 #include <stdlib.h> |
3905 #include <stdarg.h> | 3915 #include <stdarg.h> |
3906 #include <string.h> | 3916 #include <string.h> |
3907 #include <float.h> | 3917 #include <float.h> |
3908 EOF | 3918 EOF |
3909 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3919 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3910 { (eval echo configure:3911: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3920 { (eval echo configure:3921: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3911 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 3921 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3912 if test -z "$ac_err"; then | 3922 if test -z "$ac_err"; then |
3913 rm -rf conftest* | 3923 rm -rf conftest* |
3914 ac_cv_header_stdc=yes | 3924 ac_cv_header_stdc=yes |
3915 else | 3925 else |
3922 rm -f conftest* | 3932 rm -f conftest* |
3923 | 3933 |
3924 if test $ac_cv_header_stdc = yes; then | 3934 if test $ac_cv_header_stdc = yes; then |
3925 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 3935 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
3926 cat > conftest.$ac_ext <<EOF | 3936 cat > conftest.$ac_ext <<EOF |
3927 #line 3928 "configure" | 3937 #line 3938 "configure" |
3928 #include "confdefs.h" | 3938 #include "confdefs.h" |
3929 #include <string.h> | 3939 #include <string.h> |
3930 EOF | 3940 EOF |
3931 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3941 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3932 egrep "memchr" >/dev/null 2>&1; then | 3942 egrep "memchr" >/dev/null 2>&1; then |
3940 fi | 3950 fi |
3941 | 3951 |
3942 if test $ac_cv_header_stdc = yes; then | 3952 if test $ac_cv_header_stdc = yes; then |
3943 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 3953 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
3944 cat > conftest.$ac_ext <<EOF | 3954 cat > conftest.$ac_ext <<EOF |
3945 #line 3946 "configure" | 3955 #line 3956 "configure" |
3946 #include "confdefs.h" | 3956 #include "confdefs.h" |
3947 #include <stdlib.h> | 3957 #include <stdlib.h> |
3948 EOF | 3958 EOF |
3949 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3959 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3950 egrep "free" >/dev/null 2>&1; then | 3960 egrep "free" >/dev/null 2>&1; then |
3958 fi | 3968 fi |
3959 | 3969 |
3960 if test $ac_cv_header_stdc = yes; then | 3970 if test $ac_cv_header_stdc = yes; then |
3961 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 3971 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
3962 cat > conftest.$ac_ext <<EOF | 3972 cat > conftest.$ac_ext <<EOF |
3963 #line 3964 "configure" | 3973 #line 3974 "configure" |
3964 #include "confdefs.h" | 3974 #include "confdefs.h" |
3965 #include <ctype.h> | 3975 #include <ctype.h> |
3966 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 3976 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
3967 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 3977 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
3968 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 3978 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
3969 int main () { int i; for (i = 0; i < 256; i++) | 3979 int main () { int i; for (i = 0; i < 256; i++) |
3970 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); | 3980 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); |
3971 exit (0); } | 3981 exit (0); } |
3972 | 3982 |
3973 EOF | 3983 EOF |
3974 if { (eval echo configure:3975: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 3984 if { (eval echo configure:3985: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
3975 then | 3985 then |
3976 : | 3986 : |
3977 else | 3987 else |
3978 conftest_rc="$?" | 3988 conftest_rc="$?" |
3979 echo "configure: failed program was:" >&5 | 3989 echo "configure: failed program was:" >&5 |
3995 } | 4005 } |
3996 | 4006 |
3997 fi | 4007 fi |
3998 | 4008 |
3999 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 | 4009 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 |
4000 echo "configure:4001: checking whether time.h and sys/time.h may both be included" >&5 | 4010 echo "configure:4011: checking whether time.h and sys/time.h may both be included" >&5 |
4001 | 4011 |
4002 cat > conftest.$ac_ext <<EOF | 4012 cat > conftest.$ac_ext <<EOF |
4003 #line 4004 "configure" | 4013 #line 4014 "configure" |
4004 #include "confdefs.h" | 4014 #include "confdefs.h" |
4005 #include <sys/types.h> | 4015 #include <sys/types.h> |
4006 #include <sys/time.h> | 4016 #include <sys/time.h> |
4007 #include <time.h> | 4017 #include <time.h> |
4008 int main() { | 4018 int main() { |
4009 struct tm *tp; | 4019 struct tm *tp; |
4010 ; return 0; } | 4020 ; return 0; } |
4011 EOF | 4021 EOF |
4012 if { (eval echo configure:4013: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4022 if { (eval echo configure:4023: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4013 rm -rf conftest* | 4023 rm -rf conftest* |
4014 ac_cv_header_time=yes | 4024 ac_cv_header_time=yes |
4015 else | 4025 else |
4016 echo "configure: failed program was:" >&5 | 4026 echo "configure: failed program was:" >&5 |
4017 cat conftest.$ac_ext >&5 | 4027 cat conftest.$ac_ext >&5 |
4031 } | 4041 } |
4032 | 4042 |
4033 fi | 4043 fi |
4034 | 4044 |
4035 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 | 4045 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 |
4036 echo "configure:4037: checking for sys_siglist declaration in signal.h or unistd.h" >&5 | 4046 echo "configure:4047: checking for sys_siglist declaration in signal.h or unistd.h" >&5 |
4037 | 4047 |
4038 cat > conftest.$ac_ext <<EOF | 4048 cat > conftest.$ac_ext <<EOF |
4039 #line 4040 "configure" | 4049 #line 4050 "configure" |
4040 #include "confdefs.h" | 4050 #include "confdefs.h" |
4041 #include <sys/types.h> | 4051 #include <sys/types.h> |
4042 #include <signal.h> | 4052 #include <signal.h> |
4043 /* NetBSD declares sys_siglist in unistd.h. */ | 4053 /* NetBSD declares sys_siglist in unistd.h. */ |
4044 #ifdef HAVE_UNISTD_H | 4054 #ifdef HAVE_UNISTD_H |
4046 #endif | 4056 #endif |
4047 int main() { | 4057 int main() { |
4048 char *msg = *(sys_siglist + 1); | 4058 char *msg = *(sys_siglist + 1); |
4049 ; return 0; } | 4059 ; return 0; } |
4050 EOF | 4060 EOF |
4051 if { (eval echo configure:4052: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4061 if { (eval echo configure:4062: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4052 rm -rf conftest* | 4062 rm -rf conftest* |
4053 ac_cv_decl_sys_siglist=yes | 4063 ac_cv_decl_sys_siglist=yes |
4054 else | 4064 else |
4055 echo "configure: failed program was:" >&5 | 4065 echo "configure: failed program was:" >&5 |
4056 cat conftest.$ac_ext >&5 | 4066 cat conftest.$ac_ext >&5 |
4072 fi | 4082 fi |
4073 | 4083 |
4074 | 4084 |
4075 | 4085 |
4076 echo $ac_n "checking for utime""... $ac_c" 1>&6 | 4086 echo $ac_n "checking for utime""... $ac_c" 1>&6 |
4077 echo "configure:4078: checking for utime" >&5 | 4087 echo "configure:4088: checking for utime" >&5 |
4078 cat > conftest.$ac_ext <<EOF | 4088 cat > conftest.$ac_ext <<EOF |
4079 #line 4080 "configure" | 4089 #line 4090 "configure" |
4080 #include "confdefs.h" | 4090 #include "confdefs.h" |
4081 #include <sys/types.h> | 4091 #include <sys/types.h> |
4082 #include <utime.h> | 4092 #include <utime.h> |
4083 int main() { | 4093 int main() { |
4084 struct utimbuf x; x.actime = x.modtime = 0; utime ("/", &x); | 4094 struct utimbuf x; x.actime = x.modtime = 0; utime ("/", &x); |
4085 ; return 0; } | 4095 ; return 0; } |
4086 EOF | 4096 EOF |
4087 if { (eval echo configure:4088: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4097 if { (eval echo configure:4098: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4088 rm -rf conftest* | 4098 rm -rf conftest* |
4089 echo "$ac_t""yes" 1>&6 | 4099 echo "$ac_t""yes" 1>&6 |
4090 { test "$extra_verbose" = "yes" && cat << \EOF | 4100 { test "$extra_verbose" = "yes" && cat << \EOF |
4091 Defining HAVE_UTIME | 4101 Defining HAVE_UTIME |
4092 EOF | 4102 EOF |
4101 rm -rf conftest* | 4111 rm -rf conftest* |
4102 echo "$ac_t""no" 1>&6 | 4112 echo "$ac_t""no" 1>&6 |
4103 for ac_func in utimes | 4113 for ac_func in utimes |
4104 do | 4114 do |
4105 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 4115 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
4106 echo "configure:4107: checking for $ac_func" >&5 | 4116 echo "configure:4117: checking for $ac_func" >&5 |
4107 | 4117 |
4108 cat > conftest.$ac_ext <<EOF | 4118 cat > conftest.$ac_ext <<EOF |
4109 #line 4110 "configure" | 4119 #line 4120 "configure" |
4110 #include "confdefs.h" | 4120 #include "confdefs.h" |
4111 /* System header to define __stub macros and hopefully few prototypes, | 4121 /* System header to define __stub macros and hopefully few prototypes, |
4112 which can conflict with char $ac_func(); below. */ | 4122 which can conflict with char $ac_func(); below. */ |
4113 #include <assert.h> | 4123 #include <assert.h> |
4114 /* Override any gcc2 internal prototype to avoid an error. */ | 4124 /* Override any gcc2 internal prototype to avoid an error. */ |
4127 $ac_func(); | 4137 $ac_func(); |
4128 #endif | 4138 #endif |
4129 | 4139 |
4130 ; return 0; } | 4140 ; return 0; } |
4131 EOF | 4141 EOF |
4132 if { (eval echo configure:4133: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4142 if { (eval echo configure:4143: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4133 rm -rf conftest* | 4143 rm -rf conftest* |
4134 eval "ac_cv_func_$ac_func=yes" | 4144 eval "ac_cv_func_$ac_func=yes" |
4135 else | 4145 else |
4136 echo "configure: failed program was:" >&5 | 4146 echo "configure: failed program was:" >&5 |
4137 cat conftest.$ac_ext >&5 | 4147 cat conftest.$ac_ext >&5 |
4159 fi | 4169 fi |
4160 rm -f conftest* | 4170 rm -f conftest* |
4161 | 4171 |
4162 | 4172 |
4163 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 | 4173 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
4164 echo "configure:4165: checking return type of signal handlers" >&5 | 4174 echo "configure:4175: checking return type of signal handlers" >&5 |
4165 | 4175 |
4166 cat > conftest.$ac_ext <<EOF | 4176 cat > conftest.$ac_ext <<EOF |
4167 #line 4168 "configure" | 4177 #line 4178 "configure" |
4168 #include "confdefs.h" | 4178 #include "confdefs.h" |
4169 #include <sys/types.h> | 4179 #include <sys/types.h> |
4170 #include <signal.h> | 4180 #include <signal.h> |
4171 #ifdef signal | 4181 #ifdef signal |
4172 #undef signal | 4182 #undef signal |
4179 | 4189 |
4180 int main() { | 4190 int main() { |
4181 int i; | 4191 int i; |
4182 ; return 0; } | 4192 ; return 0; } |
4183 EOF | 4193 EOF |
4184 if { (eval echo configure:4185: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4194 if { (eval echo configure:4195: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4185 rm -rf conftest* | 4195 rm -rf conftest* |
4186 ac_cv_type_signal=void | 4196 ac_cv_type_signal=void |
4187 else | 4197 else |
4188 echo "configure: failed program was:" >&5 | 4198 echo "configure: failed program was:" >&5 |
4189 cat conftest.$ac_ext >&5 | 4199 cat conftest.$ac_ext >&5 |
4201 EOF | 4211 EOF |
4202 } | 4212 } |
4203 | 4213 |
4204 | 4214 |
4205 echo $ac_n "checking for size_t""... $ac_c" 1>&6 | 4215 echo $ac_n "checking for size_t""... $ac_c" 1>&6 |
4206 echo "configure:4207: checking for size_t" >&5 | 4216 echo "configure:4217: checking for size_t" >&5 |
4207 | 4217 |
4208 cat > conftest.$ac_ext <<EOF | 4218 cat > conftest.$ac_ext <<EOF |
4209 #line 4210 "configure" | 4219 #line 4220 "configure" |
4210 #include "confdefs.h" | 4220 #include "confdefs.h" |
4211 #include <sys/types.h> | 4221 #include <sys/types.h> |
4212 #if STDC_HEADERS | 4222 #if STDC_HEADERS |
4213 #include <stdlib.h> | 4223 #include <stdlib.h> |
4214 #include <stddef.h> | 4224 #include <stddef.h> |
4235 } | 4245 } |
4236 | 4246 |
4237 fi | 4247 fi |
4238 | 4248 |
4239 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 | 4249 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 |
4240 echo "configure:4241: checking for pid_t" >&5 | 4250 echo "configure:4251: checking for pid_t" >&5 |
4241 | 4251 |
4242 cat > conftest.$ac_ext <<EOF | 4252 cat > conftest.$ac_ext <<EOF |
4243 #line 4244 "configure" | 4253 #line 4254 "configure" |
4244 #include "confdefs.h" | 4254 #include "confdefs.h" |
4245 #include <sys/types.h> | 4255 #include <sys/types.h> |
4246 #if STDC_HEADERS | 4256 #if STDC_HEADERS |
4247 #include <stdlib.h> | 4257 #include <stdlib.h> |
4248 #include <stddef.h> | 4258 #include <stddef.h> |
4269 } | 4279 } |
4270 | 4280 |
4271 fi | 4281 fi |
4272 | 4282 |
4273 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 | 4283 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 |
4274 echo "configure:4275: checking for uid_t in sys/types.h" >&5 | 4284 echo "configure:4285: checking for uid_t in sys/types.h" >&5 |
4275 | 4285 |
4276 cat > conftest.$ac_ext <<EOF | 4286 cat > conftest.$ac_ext <<EOF |
4277 #line 4278 "configure" | 4287 #line 4288 "configure" |
4278 #include "confdefs.h" | 4288 #include "confdefs.h" |
4279 #include <sys/types.h> | 4289 #include <sys/types.h> |
4280 EOF | 4290 EOF |
4281 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 4291 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
4282 egrep "uid_t" >/dev/null 2>&1; then | 4292 egrep "uid_t" >/dev/null 2>&1; then |
4308 } | 4318 } |
4309 | 4319 |
4310 fi | 4320 fi |
4311 | 4321 |
4312 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 | 4322 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 |
4313 echo "configure:4314: checking for mode_t" >&5 | 4323 echo "configure:4324: checking for mode_t" >&5 |
4314 | 4324 |
4315 cat > conftest.$ac_ext <<EOF | 4325 cat > conftest.$ac_ext <<EOF |
4316 #line 4317 "configure" | 4326 #line 4327 "configure" |
4317 #include "confdefs.h" | 4327 #include "confdefs.h" |
4318 #include <sys/types.h> | 4328 #include <sys/types.h> |
4319 #if STDC_HEADERS | 4329 #if STDC_HEADERS |
4320 #include <stdlib.h> | 4330 #include <stdlib.h> |
4321 #include <stddef.h> | 4331 #include <stddef.h> |
4342 } | 4352 } |
4343 | 4353 |
4344 fi | 4354 fi |
4345 | 4355 |
4346 echo $ac_n "checking for off_t""... $ac_c" 1>&6 | 4356 echo $ac_n "checking for off_t""... $ac_c" 1>&6 |
4347 echo "configure:4348: checking for off_t" >&5 | 4357 echo "configure:4358: checking for off_t" >&5 |
4348 | 4358 |
4349 cat > conftest.$ac_ext <<EOF | 4359 cat > conftest.$ac_ext <<EOF |
4350 #line 4351 "configure" | 4360 #line 4361 "configure" |
4351 #include "confdefs.h" | 4361 #include "confdefs.h" |
4352 #include <sys/types.h> | 4362 #include <sys/types.h> |
4353 #if STDC_HEADERS | 4363 #if STDC_HEADERS |
4354 #include <stdlib.h> | 4364 #include <stdlib.h> |
4355 #include <stddef.h> | 4365 #include <stddef.h> |
4376 } | 4386 } |
4377 | 4387 |
4378 fi | 4388 fi |
4379 | 4389 |
4380 echo $ac_n "checking for ssize_t""... $ac_c" 1>&6 | 4390 echo $ac_n "checking for ssize_t""... $ac_c" 1>&6 |
4381 echo "configure:4382: checking for ssize_t" >&5 | 4391 echo "configure:4392: checking for ssize_t" >&5 |
4382 | 4392 |
4383 cat > conftest.$ac_ext <<EOF | 4393 cat > conftest.$ac_ext <<EOF |
4384 #line 4385 "configure" | 4394 #line 4395 "configure" |
4385 #include "confdefs.h" | 4395 #include "confdefs.h" |
4386 #include <sys/types.h> | 4396 #include <sys/types.h> |
4387 #if STDC_HEADERS | 4397 #if STDC_HEADERS |
4388 #include <stdlib.h> | 4398 #include <stdlib.h> |
4389 #include <stddef.h> | 4399 #include <stddef.h> |
4412 fi | 4422 fi |
4413 | 4423 |
4414 | 4424 |
4415 if test "$ac_cv_header_inttypes_h" != "yes"; then | 4425 if test "$ac_cv_header_inttypes_h" != "yes"; then |
4416 echo $ac_n "checking for intptr_t in sys/types.h""... $ac_c" 1>&6 | 4426 echo $ac_n "checking for intptr_t in sys/types.h""... $ac_c" 1>&6 |
4417 echo "configure:4418: checking for intptr_t in sys/types.h" >&5 | 4427 echo "configure:4428: checking for intptr_t in sys/types.h" >&5 |
4418 cat > conftest.$ac_ext <<EOF | 4428 cat > conftest.$ac_ext <<EOF |
4419 #line 4420 "configure" | 4429 #line 4430 "configure" |
4420 #include "confdefs.h" | 4430 #include "confdefs.h" |
4421 #include <sys/types.h> | 4431 #include <sys/types.h> |
4422 intptr_t x; | 4432 intptr_t x; |
4423 | 4433 |
4424 int main() { | 4434 int main() { |
4425 | 4435 |
4426 ; return 0; } | 4436 ; return 0; } |
4427 EOF | 4437 EOF |
4428 if { (eval echo configure:4429: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4438 if { (eval echo configure:4439: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4429 rm -rf conftest* | 4439 rm -rf conftest* |
4430 echo "$ac_t""yes" 1>&6 | 4440 echo "$ac_t""yes" 1>&6 |
4431 { test "$extra_verbose" = "yes" && cat << \EOF | 4441 { test "$extra_verbose" = "yes" && cat << \EOF |
4432 Defining HAVE_INTPTR_T_IN_SYS_TYPES_H = 1 | 4442 Defining HAVE_INTPTR_T_IN_SYS_TYPES_H = 1 |
4433 EOF | 4443 EOF |
4444 fi | 4454 fi |
4445 rm -f conftest* | 4455 rm -f conftest* |
4446 fi | 4456 fi |
4447 | 4457 |
4448 echo $ac_n "checking for socklen_t""... $ac_c" 1>&6 | 4458 echo $ac_n "checking for socklen_t""... $ac_c" 1>&6 |
4449 echo "configure:4450: checking for socklen_t" >&5 | 4459 echo "configure:4460: checking for socklen_t" >&5 |
4450 cat > conftest.$ac_ext <<EOF | 4460 cat > conftest.$ac_ext <<EOF |
4451 #line 4452 "configure" | 4461 #line 4462 "configure" |
4452 #include "confdefs.h" | 4462 #include "confdefs.h" |
4453 #include <sys/types.h> | 4463 #include <sys/types.h> |
4454 #include <sys/socket.h> | 4464 #include <sys/socket.h> |
4455 socklen_t x; | 4465 socklen_t x; |
4456 | 4466 |
4457 int main() { | 4467 int main() { |
4458 | 4468 |
4459 ; return 0; } | 4469 ; return 0; } |
4460 EOF | 4470 EOF |
4461 if { (eval echo configure:4462: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4471 if { (eval echo configure:4472: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4462 rm -rf conftest* | 4472 rm -rf conftest* |
4463 echo "$ac_t""yes" 1>&6 | 4473 echo "$ac_t""yes" 1>&6 |
4464 else | 4474 else |
4465 echo "configure: failed program was:" >&5 | 4475 echo "configure: failed program was:" >&5 |
4466 cat conftest.$ac_ext >&5 | 4476 cat conftest.$ac_ext >&5 |
4467 rm -rf conftest* | 4477 rm -rf conftest* |
4468 | 4478 |
4469 cat > conftest.$ac_ext <<EOF | 4479 cat > conftest.$ac_ext <<EOF |
4470 #line 4471 "configure" | 4480 #line 4481 "configure" |
4471 #include "confdefs.h" | 4481 #include "confdefs.h" |
4472 #include <sys/types.h> | 4482 #include <sys/types.h> |
4473 #include <sys/socket.h> | 4483 #include <sys/socket.h> |
4474 int accept (int, struct sockaddr *, size_t *); | 4484 int accept (int, struct sockaddr *, size_t *); |
4475 | 4485 |
4476 int main() { | 4486 int main() { |
4477 | 4487 |
4478 ; return 0; } | 4488 ; return 0; } |
4479 EOF | 4489 EOF |
4480 if { (eval echo configure:4481: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4490 if { (eval echo configure:4491: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4481 rm -rf conftest* | 4491 rm -rf conftest* |
4482 | 4492 |
4483 echo "$ac_t""size_t" 1>&6 | 4493 echo "$ac_t""size_t" 1>&6 |
4484 { test "$extra_verbose" = "yes" && cat << \EOF | 4494 { test "$extra_verbose" = "yes" && cat << \EOF |
4485 Defining socklen_t = size_t | 4495 Defining socklen_t = size_t |
4507 rm -f conftest* | 4517 rm -f conftest* |
4508 fi | 4518 fi |
4509 rm -f conftest* | 4519 rm -f conftest* |
4510 | 4520 |
4511 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 | 4521 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 |
4512 echo "configure:4513: checking for struct timeval" >&5 | 4522 echo "configure:4523: checking for struct timeval" >&5 |
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 #ifdef TIME_WITH_SYS_TIME | 4526 #ifdef TIME_WITH_SYS_TIME |
4517 #include <sys/time.h> | 4527 #include <sys/time.h> |
4518 #include <time.h> | 4528 #include <time.h> |
4519 #else | 4529 #else |
4525 #endif | 4535 #endif |
4526 int main() { | 4536 int main() { |
4527 static struct timeval x; x.tv_sec = x.tv_usec; | 4537 static struct timeval x; x.tv_sec = x.tv_usec; |
4528 ; return 0; } | 4538 ; return 0; } |
4529 EOF | 4539 EOF |
4530 if { (eval echo configure:4531: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4540 if { (eval echo configure:4541: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4531 rm -rf conftest* | 4541 rm -rf conftest* |
4532 echo "$ac_t""yes" 1>&6 | 4542 echo "$ac_t""yes" 1>&6 |
4533 HAVE_TIMEVAL=yes | 4543 HAVE_TIMEVAL=yes |
4534 { test "$extra_verbose" = "yes" && cat << \EOF | 4544 { test "$extra_verbose" = "yes" && cat << \EOF |
4535 Defining HAVE_TIMEVAL | 4545 Defining HAVE_TIMEVAL |
4547 HAVE_TIMEVAL=no | 4557 HAVE_TIMEVAL=no |
4548 fi | 4558 fi |
4549 rm -f conftest* | 4559 rm -f conftest* |
4550 | 4560 |
4551 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 | 4561 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 |
4552 echo "configure:4553: checking whether struct tm is in sys/time.h or time.h" >&5 | 4562 echo "configure:4563: checking whether struct tm is in sys/time.h or time.h" >&5 |
4553 | 4563 |
4554 cat > conftest.$ac_ext <<EOF | 4564 cat > conftest.$ac_ext <<EOF |
4555 #line 4556 "configure" | 4565 #line 4566 "configure" |
4556 #include "confdefs.h" | 4566 #include "confdefs.h" |
4557 #include <sys/types.h> | 4567 #include <sys/types.h> |
4558 #include <time.h> | 4568 #include <time.h> |
4559 int main() { | 4569 int main() { |
4560 struct tm *tp; tp->tm_sec; | 4570 struct tm *tp; tp->tm_sec; |
4561 ; return 0; } | 4571 ; return 0; } |
4562 EOF | 4572 EOF |
4563 if { (eval echo configure:4564: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4573 if { (eval echo configure:4574: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4564 rm -rf conftest* | 4574 rm -rf conftest* |
4565 ac_cv_struct_tm=time.h | 4575 ac_cv_struct_tm=time.h |
4566 else | 4576 else |
4567 echo "configure: failed program was:" >&5 | 4577 echo "configure: failed program was:" >&5 |
4568 cat conftest.$ac_ext >&5 | 4578 cat conftest.$ac_ext >&5 |
4582 } | 4592 } |
4583 | 4593 |
4584 fi | 4594 fi |
4585 | 4595 |
4586 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 | 4596 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 |
4587 echo "configure:4588: checking for tm_zone in struct tm" >&5 | 4597 echo "configure:4598: checking for tm_zone in struct tm" >&5 |
4588 | 4598 |
4589 cat > conftest.$ac_ext <<EOF | 4599 cat > conftest.$ac_ext <<EOF |
4590 #line 4591 "configure" | 4600 #line 4601 "configure" |
4591 #include "confdefs.h" | 4601 #include "confdefs.h" |
4592 #include <sys/types.h> | 4602 #include <sys/types.h> |
4593 #include <$ac_cv_struct_tm> | 4603 #include <$ac_cv_struct_tm> |
4594 int main() { | 4604 int main() { |
4595 struct tm tm; tm.tm_zone; | 4605 struct tm tm; tm.tm_zone; |
4596 ; return 0; } | 4606 ; return 0; } |
4597 EOF | 4607 EOF |
4598 if { (eval echo configure:4599: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4608 if { (eval echo configure:4609: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4599 rm -rf conftest* | 4609 rm -rf conftest* |
4600 ac_cv_struct_tm_zone=yes | 4610 ac_cv_struct_tm_zone=yes |
4601 else | 4611 else |
4602 echo "configure: failed program was:" >&5 | 4612 echo "configure: failed program was:" >&5 |
4603 cat conftest.$ac_ext >&5 | 4613 cat conftest.$ac_ext >&5 |
4616 EOF | 4626 EOF |
4617 } | 4627 } |
4618 | 4628 |
4619 else | 4629 else |
4620 echo $ac_n "checking for tzname""... $ac_c" 1>&6 | 4630 echo $ac_n "checking for tzname""... $ac_c" 1>&6 |
4621 echo "configure:4622: checking for tzname" >&5 | 4631 echo "configure:4632: checking for tzname" >&5 |
4622 | 4632 |
4623 cat > conftest.$ac_ext <<EOF | 4633 cat > conftest.$ac_ext <<EOF |
4624 #line 4625 "configure" | 4634 #line 4635 "configure" |
4625 #include "confdefs.h" | 4635 #include "confdefs.h" |
4626 #include <time.h> | 4636 #include <time.h> |
4627 #ifndef tzname /* For SGI. */ | 4637 #ifndef tzname /* For SGI. */ |
4628 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ | 4638 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ |
4629 #endif | 4639 #endif |
4630 int main() { | 4640 int main() { |
4631 atoi(*tzname); | 4641 atoi(*tzname); |
4632 ; return 0; } | 4642 ; return 0; } |
4633 EOF | 4643 EOF |
4634 if { (eval echo configure:4635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4644 if { (eval echo configure:4645: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4635 rm -rf conftest* | 4645 rm -rf conftest* |
4636 ac_cv_var_tzname=yes | 4646 ac_cv_var_tzname=yes |
4637 else | 4647 else |
4638 echo "configure: failed program was:" >&5 | 4648 echo "configure: failed program was:" >&5 |
4639 cat conftest.$ac_ext >&5 | 4649 cat conftest.$ac_ext >&5 |
4655 fi | 4665 fi |
4656 fi | 4666 fi |
4657 | 4667 |
4658 | 4668 |
4659 echo $ac_n "checking for working const""... $ac_c" 1>&6 | 4669 echo $ac_n "checking for working const""... $ac_c" 1>&6 |
4660 echo "configure:4661: checking for working const" >&5 | 4670 echo "configure:4671: checking for working const" >&5 |
4661 | 4671 |
4662 cat > conftest.$ac_ext <<EOF | 4672 cat > conftest.$ac_ext <<EOF |
4663 #line 4664 "configure" | 4673 #line 4674 "configure" |
4664 #include "confdefs.h" | 4674 #include "confdefs.h" |
4665 | 4675 |
4666 int main() { | 4676 int main() { |
4667 | 4677 |
4668 /* Ultrix mips cc rejects this. */ | 4678 /* Ultrix mips cc rejects this. */ |
4707 const int foo = 10; | 4717 const int foo = 10; |
4708 } | 4718 } |
4709 | 4719 |
4710 ; return 0; } | 4720 ; return 0; } |
4711 EOF | 4721 EOF |
4712 if { (eval echo configure:4713: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4722 if { (eval echo configure:4723: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4713 rm -rf conftest* | 4723 rm -rf conftest* |
4714 ac_cv_c_const=yes | 4724 ac_cv_c_const=yes |
4715 else | 4725 else |
4716 echo "configure: failed program was:" >&5 | 4726 echo "configure: failed program was:" >&5 |
4717 cat conftest.$ac_ext >&5 | 4727 cat conftest.$ac_ext >&5 |
4732 | 4742 |
4733 fi | 4743 fi |
4734 | 4744 |
4735 | 4745 |
4736 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | 4746 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
4737 echo "configure:4738: checking whether ${MAKE-make} sets \${MAKE}" >&5 | 4747 echo "configure:4748: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
4738 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | 4748 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
4739 | 4749 |
4740 cat > conftestmake <<\EOF | 4750 cat > conftestmake <<\EOF |
4741 all: | 4751 all: |
4742 @echo 'ac_maketemp="${MAKE}"' | 4752 @echo 'ac_maketemp="${MAKE}"' |
4757 SET_MAKE="MAKE=${MAKE-make}" | 4767 SET_MAKE="MAKE=${MAKE-make}" |
4758 fi | 4768 fi |
4759 | 4769 |
4760 | 4770 |
4761 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 | 4771 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 |
4762 echo "configure:4763: checking whether byte ordering is bigendian" >&5 | 4772 echo "configure:4773: checking whether byte ordering is bigendian" >&5 |
4763 | 4773 |
4764 ac_cv_c_bigendian=unknown | 4774 ac_cv_c_bigendian=unknown |
4765 # See if sys/param.h defines the BYTE_ORDER macro. | 4775 # See if sys/param.h defines the BYTE_ORDER macro. |
4766 cat > conftest.$ac_ext <<EOF | 4776 cat > conftest.$ac_ext <<EOF |
4767 #line 4768 "configure" | 4777 #line 4778 "configure" |
4768 #include "confdefs.h" | 4778 #include "confdefs.h" |
4769 #include <sys/types.h> | 4779 #include <sys/types.h> |
4770 #include <sys/param.h> | 4780 #include <sys/param.h> |
4771 int main() { | 4781 int main() { |
4772 | 4782 |
4773 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN | 4783 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN |
4774 bogus endian macros | 4784 bogus endian macros |
4775 #endif | 4785 #endif |
4776 ; return 0; } | 4786 ; return 0; } |
4777 EOF | 4787 EOF |
4778 if { (eval echo configure:4779: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4788 if { (eval echo configure:4789: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4779 rm -rf conftest* | 4789 rm -rf conftest* |
4780 # It does; now see whether it defined to BIG_ENDIAN or not. | 4790 # It does; now see whether it defined to BIG_ENDIAN or not. |
4781 cat > conftest.$ac_ext <<EOF | 4791 cat > conftest.$ac_ext <<EOF |
4782 #line 4783 "configure" | 4792 #line 4793 "configure" |
4783 #include "confdefs.h" | 4793 #include "confdefs.h" |
4784 #include <sys/types.h> | 4794 #include <sys/types.h> |
4785 #include <sys/param.h> | 4795 #include <sys/param.h> |
4786 int main() { | 4796 int main() { |
4787 | 4797 |
4788 #if BYTE_ORDER != BIG_ENDIAN | 4798 #if BYTE_ORDER != BIG_ENDIAN |
4789 not big endian | 4799 not big endian |
4790 #endif | 4800 #endif |
4791 ; return 0; } | 4801 ; return 0; } |
4792 EOF | 4802 EOF |
4793 if { (eval echo configure:4794: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4803 if { (eval echo configure:4804: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4794 rm -rf conftest* | 4804 rm -rf conftest* |
4795 ac_cv_c_bigendian=yes | 4805 ac_cv_c_bigendian=yes |
4796 else | 4806 else |
4797 echo "configure: failed program was:" >&5 | 4807 echo "configure: failed program was:" >&5 |
4798 cat conftest.$ac_ext >&5 | 4808 cat conftest.$ac_ext >&5 |
4805 cat conftest.$ac_ext >&5 | 4815 cat conftest.$ac_ext >&5 |
4806 fi | 4816 fi |
4807 rm -f conftest* | 4817 rm -f conftest* |
4808 if test $ac_cv_c_bigendian = unknown; then | 4818 if test $ac_cv_c_bigendian = unknown; then |
4809 cat > conftest.$ac_ext <<EOF | 4819 cat > conftest.$ac_ext <<EOF |
4810 #line 4811 "configure" | 4820 #line 4821 "configure" |
4811 #include "confdefs.h" | 4821 #include "confdefs.h" |
4812 main () { | 4822 main () { |
4813 /* Are we little or big endian? From Harbison&Steele. */ | 4823 /* Are we little or big endian? From Harbison&Steele. */ |
4814 union | 4824 union |
4815 { | 4825 { |
4818 } u; | 4828 } u; |
4819 u.l = 1; | 4829 u.l = 1; |
4820 exit (u.c[sizeof (long) - 1] == 1); | 4830 exit (u.c[sizeof (long) - 1] == 1); |
4821 } | 4831 } |
4822 EOF | 4832 EOF |
4823 if { (eval echo configure:4824: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4833 if { (eval echo configure:4834: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4824 then | 4834 then |
4825 ac_cv_c_bigendian=no | 4835 ac_cv_c_bigendian=no |
4826 else | 4836 else |
4827 conftest_rc="$?" | 4837 conftest_rc="$?" |
4828 echo "configure: failed program was:" >&5 | 4838 echo "configure: failed program was:" >&5 |
4845 | 4855 |
4846 fi | 4856 fi |
4847 | 4857 |
4848 | 4858 |
4849 echo $ac_n "checking size of short""... $ac_c" 1>&6 | 4859 echo $ac_n "checking size of short""... $ac_c" 1>&6 |
4850 echo "configure:4851: checking size of short" >&5 | 4860 echo "configure:4861: checking size of short" >&5 |
4851 | 4861 |
4852 cat > conftest.$ac_ext <<EOF | 4862 cat > conftest.$ac_ext <<EOF |
4853 #line 4854 "configure" | 4863 #line 4864 "configure" |
4854 #include "confdefs.h" | 4864 #include "confdefs.h" |
4855 #include <stdio.h> | 4865 #include <stdio.h> |
4856 #include <sys/types.h> | |
4857 main() | 4866 main() |
4858 { | 4867 { |
4859 FILE *f=fopen("conftestval", "w"); | 4868 FILE *f=fopen("conftestval", "w"); |
4860 if (!f) exit(1); | 4869 if (!f) exit(1); |
4861 fprintf(f, "%d\n", sizeof(short)); | 4870 fprintf(f, "%d\n", sizeof(short)); |
4862 exit(0); | 4871 exit(0); |
4863 } | 4872 } |
4864 EOF | 4873 EOF |
4865 if { (eval echo configure:4866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4874 if { (eval echo configure:4875: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4866 then | 4875 then |
4867 ac_cv_sizeof_short=`cat conftestval` | 4876 ac_cv_sizeof_short=`cat conftestval` |
4868 else | 4877 else |
4869 conftest_rc="$?" | 4878 conftest_rc="$?" |
4870 echo "configure: failed program was:" >&5 | 4879 echo "configure: failed program was:" >&5 |
4888 echo "*** PANIC *** Configure tests are not working - compiler is broken." | 4897 echo "*** PANIC *** Configure tests are not working - compiler is broken." |
4889 echo "*** PANIC *** Please examine config.log for compilation errors." | 4898 echo "*** PANIC *** Please examine config.log for compilation errors." |
4890 exit 1 | 4899 exit 1 |
4891 fi | 4900 fi |
4892 echo $ac_n "checking size of int""... $ac_c" 1>&6 | 4901 echo $ac_n "checking size of int""... $ac_c" 1>&6 |
4893 echo "configure:4894: checking size of int" >&5 | 4902 echo "configure:4903: checking size of int" >&5 |
4894 | 4903 |
4895 cat > conftest.$ac_ext <<EOF | 4904 cat > conftest.$ac_ext <<EOF |
4896 #line 4897 "configure" | 4905 #line 4906 "configure" |
4897 #include "confdefs.h" | 4906 #include "confdefs.h" |
4898 #include <stdio.h> | 4907 #include <stdio.h> |
4899 #include <sys/types.h> | |
4900 main() | 4908 main() |
4901 { | 4909 { |
4902 FILE *f=fopen("conftestval", "w"); | 4910 FILE *f=fopen("conftestval", "w"); |
4903 if (!f) exit(1); | 4911 if (!f) exit(1); |
4904 fprintf(f, "%d\n", sizeof(int)); | 4912 fprintf(f, "%d\n", sizeof(int)); |
4905 exit(0); | 4913 exit(0); |
4906 } | 4914 } |
4907 EOF | 4915 EOF |
4908 if { (eval echo configure:4909: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4916 if { (eval echo configure:4917: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4909 then | 4917 then |
4910 ac_cv_sizeof_int=`cat conftestval` | 4918 ac_cv_sizeof_int=`cat conftestval` |
4911 else | 4919 else |
4912 conftest_rc="$?" | 4920 conftest_rc="$?" |
4913 echo "configure: failed program was:" >&5 | 4921 echo "configure: failed program was:" >&5 |
4925 EOF | 4933 EOF |
4926 } | 4934 } |
4927 | 4935 |
4928 | 4936 |
4929 echo $ac_n "checking size of long""... $ac_c" 1>&6 | 4937 echo $ac_n "checking size of long""... $ac_c" 1>&6 |
4930 echo "configure:4931: checking size of long" >&5 | 4938 echo "configure:4939: checking size of long" >&5 |
4931 | 4939 |
4932 cat > conftest.$ac_ext <<EOF | 4940 cat > conftest.$ac_ext <<EOF |
4933 #line 4934 "configure" | 4941 #line 4942 "configure" |
4934 #include "confdefs.h" | 4942 #include "confdefs.h" |
4935 #include <stdio.h> | 4943 #include <stdio.h> |
4936 #include <sys/types.h> | |
4937 main() | 4944 main() |
4938 { | 4945 { |
4939 FILE *f=fopen("conftestval", "w"); | 4946 FILE *f=fopen("conftestval", "w"); |
4940 if (!f) exit(1); | 4947 if (!f) exit(1); |
4941 fprintf(f, "%d\n", sizeof(long)); | 4948 fprintf(f, "%d\n", sizeof(long)); |
4942 exit(0); | 4949 exit(0); |
4943 } | 4950 } |
4944 EOF | 4951 EOF |
4945 if { (eval echo configure:4946: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4952 if { (eval echo configure:4953: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4946 then | 4953 then |
4947 ac_cv_sizeof_long=`cat conftestval` | 4954 ac_cv_sizeof_long=`cat conftestval` |
4948 else | 4955 else |
4949 conftest_rc="$?" | 4956 conftest_rc="$?" |
4950 echo "configure: failed program was:" >&5 | 4957 echo "configure: failed program was:" >&5 |
4962 EOF | 4969 EOF |
4963 } | 4970 } |
4964 | 4971 |
4965 | 4972 |
4966 echo $ac_n "checking size of long long""... $ac_c" 1>&6 | 4973 echo $ac_n "checking size of long long""... $ac_c" 1>&6 |
4967 echo "configure:4968: checking size of long long" >&5 | 4974 echo "configure:4975: checking size of long long" >&5 |
4968 | 4975 |
4969 cat > conftest.$ac_ext <<EOF | 4976 cat > conftest.$ac_ext <<EOF |
4970 #line 4971 "configure" | 4977 #line 4978 "configure" |
4971 #include "confdefs.h" | 4978 #include "confdefs.h" |
4972 #include <stdio.h> | 4979 #include <stdio.h> |
4973 #include <sys/types.h> | |
4974 main() | 4980 main() |
4975 { | 4981 { |
4976 FILE *f=fopen("conftestval", "w"); | 4982 FILE *f=fopen("conftestval", "w"); |
4977 if (!f) exit(1); | 4983 if (!f) exit(1); |
4978 fprintf(f, "%d\n", sizeof(long long)); | 4984 fprintf(f, "%d\n", sizeof(long long)); |
4979 exit(0); | 4985 exit(0); |
4980 } | 4986 } |
4981 EOF | 4987 EOF |
4982 if { (eval echo configure:4983: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4988 if { (eval echo configure:4989: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4983 then | 4989 then |
4984 ac_cv_sizeof_long_long=`cat conftestval` | 4990 ac_cv_sizeof_long_long=`cat conftestval` |
4985 else | 4991 else |
4986 conftest_rc="$?" | 4992 conftest_rc="$?" |
4987 echo "configure: failed program was:" >&5 | 4993 echo "configure: failed program was:" >&5 |
4999 EOF | 5005 EOF |
5000 } | 5006 } |
5001 | 5007 |
5002 | 5008 |
5003 echo $ac_n "checking size of void *""... $ac_c" 1>&6 | 5009 echo $ac_n "checking size of void *""... $ac_c" 1>&6 |
5004 echo "configure:5005: checking size of void *" >&5 | 5010 echo "configure:5011: checking size of void *" >&5 |
5005 | 5011 |
5006 cat > conftest.$ac_ext <<EOF | 5012 cat > conftest.$ac_ext <<EOF |
5007 #line 5008 "configure" | 5013 #line 5014 "configure" |
5008 #include "confdefs.h" | 5014 #include "confdefs.h" |
5009 #include <stdio.h> | 5015 #include <stdio.h> |
5010 #include <sys/types.h> | |
5011 main() | 5016 main() |
5012 { | 5017 { |
5013 FILE *f=fopen("conftestval", "w"); | 5018 FILE *f=fopen("conftestval", "w"); |
5014 if (!f) exit(1); | 5019 if (!f) exit(1); |
5015 fprintf(f, "%d\n", sizeof(void *)); | 5020 fprintf(f, "%d\n", sizeof(void *)); |
5016 exit(0); | 5021 exit(0); |
5017 } | 5022 } |
5018 EOF | 5023 EOF |
5019 if { (eval echo configure:5020: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 5024 if { (eval echo configure:5025: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
5020 then | 5025 then |
5021 ac_cv_sizeof_void_p=`cat conftestval` | 5026 ac_cv_sizeof_void_p=`cat conftestval` |
5022 else | 5027 else |
5023 conftest_rc="$?" | 5028 conftest_rc="$?" |
5024 echo "configure: failed program was:" >&5 | 5029 echo "configure: failed program was:" >&5 |
5036 EOF | 5041 EOF |
5037 } | 5042 } |
5038 | 5043 |
5039 | 5044 |
5040 echo $ac_n "checking size of double""... $ac_c" 1>&6 | 5045 echo $ac_n "checking size of double""... $ac_c" 1>&6 |
5041 echo "configure:5042: checking size of double" >&5 | 5046 echo "configure:5047: checking size of double" >&5 |
5042 | 5047 |
5043 cat > conftest.$ac_ext <<EOF | 5048 cat > conftest.$ac_ext <<EOF |
5044 #line 5045 "configure" | 5049 #line 5050 "configure" |
5045 #include "confdefs.h" | 5050 #include "confdefs.h" |
5046 #include <stdio.h> | 5051 #include <stdio.h> |
5047 #include <sys/types.h> | |
5048 main() | 5052 main() |
5049 { | 5053 { |
5050 FILE *f=fopen("conftestval", "w"); | 5054 FILE *f=fopen("conftestval", "w"); |
5051 if (!f) exit(1); | 5055 if (!f) exit(1); |
5052 fprintf(f, "%d\n", sizeof(double)); | 5056 fprintf(f, "%d\n", sizeof(double)); |
5053 exit(0); | 5057 exit(0); |
5054 } | 5058 } |
5055 EOF | 5059 EOF |
5056 if { (eval echo configure:5057: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 5060 if { (eval echo configure:5061: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
5057 then | 5061 then |
5058 ac_cv_sizeof_double=`cat conftestval` | 5062 ac_cv_sizeof_double=`cat conftestval` |
5059 else | 5063 else |
5060 conftest_rc="$?" | 5064 conftest_rc="$?" |
5061 echo "configure: failed program was:" >&5 | 5065 echo "configure: failed program was:" >&5 |
5074 } | 5078 } |
5075 | 5079 |
5076 | 5080 |
5077 | 5081 |
5078 echo $ac_n "checking for long file names""... $ac_c" 1>&6 | 5082 echo $ac_n "checking for long file names""... $ac_c" 1>&6 |
5079 echo "configure:5080: checking for long file names" >&5 | 5083 echo "configure:5084: checking for long file names" >&5 |
5080 | 5084 |
5081 ac_cv_sys_long_file_names=yes | 5085 ac_cv_sys_long_file_names=yes |
5082 # Test for long file names in all the places we know might matter: | 5086 # Test for long file names in all the places we know might matter: |
5083 # . the current directory, where building will happen | 5087 # . the current directory, where building will happen |
5084 # $prefix/lib where we will be installing things | 5088 # $prefix/lib where we will be installing things |
5120 | 5124 |
5121 fi | 5125 fi |
5122 | 5126 |
5123 | 5127 |
5124 echo $ac_n "checking for sin""... $ac_c" 1>&6 | 5128 echo $ac_n "checking for sin""... $ac_c" 1>&6 |
5125 echo "configure:5126: checking for sin" >&5 | 5129 echo "configure:5130: checking for sin" >&5 |
5126 | 5130 |
5127 cat > conftest.$ac_ext <<EOF | 5131 cat > conftest.$ac_ext <<EOF |
5128 #line 5129 "configure" | 5132 #line 5133 "configure" |
5129 #include "confdefs.h" | 5133 #include "confdefs.h" |
5130 /* System header to define __stub macros and hopefully few prototypes, | 5134 /* System header to define __stub macros and hopefully few prototypes, |
5131 which can conflict with char sin(); below. */ | 5135 which can conflict with char sin(); below. */ |
5132 #include <assert.h> | 5136 #include <assert.h> |
5133 /* Override any gcc2 internal prototype to avoid an error. */ | 5137 /* Override any gcc2 internal prototype to avoid an error. */ |
5146 sin(); | 5150 sin(); |
5147 #endif | 5151 #endif |
5148 | 5152 |
5149 ; return 0; } | 5153 ; return 0; } |
5150 EOF | 5154 EOF |
5151 if { (eval echo configure:5152: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5155 if { (eval echo configure:5156: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5152 rm -rf conftest* | 5156 rm -rf conftest* |
5153 eval "ac_cv_func_sin=yes" | 5157 eval "ac_cv_func_sin=yes" |
5154 else | 5158 else |
5155 echo "configure: failed program was:" >&5 | 5159 echo "configure: failed program was:" >&5 |
5156 cat conftest.$ac_ext >&5 | 5160 cat conftest.$ac_ext >&5 |
5164 : | 5168 : |
5165 else | 5169 else |
5166 echo "$ac_t""no" 1>&6 | 5170 echo "$ac_t""no" 1>&6 |
5167 | 5171 |
5168 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 | 5172 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
5169 echo "configure:5170: checking for sin in -lm" >&5 | 5173 echo "configure:5174: checking for sin in -lm" >&5 |
5170 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` | 5174 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` |
5171 | 5175 |
5172 xe_check_libs=" -lm " | 5176 xe_check_libs=" -lm " |
5173 cat > conftest.$ac_ext <<EOF | 5177 cat > conftest.$ac_ext <<EOF |
5174 #line 5175 "configure" | 5178 #line 5179 "configure" |
5175 #include "confdefs.h" | 5179 #include "confdefs.h" |
5176 /* Override any gcc2 internal prototype to avoid an error. */ | 5180 /* Override any gcc2 internal prototype to avoid an error. */ |
5177 /* We use char because int might match the return type of a gcc2 | 5181 /* We use char because int might match the return type of a gcc2 |
5178 builtin and then its argument prototype would still apply. */ | 5182 builtin and then its argument prototype would still apply. */ |
5179 char sin(); | 5183 char sin(); |
5180 | 5184 |
5181 int main() { | 5185 int main() { |
5182 sin() | 5186 sin() |
5183 ; return 0; } | 5187 ; return 0; } |
5184 EOF | 5188 EOF |
5185 if { (eval echo configure:5186: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5189 if { (eval echo configure:5190: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5186 rm -rf conftest* | 5190 rm -rf conftest* |
5187 eval "ac_cv_lib_$ac_lib_var=yes" | 5191 eval "ac_cv_lib_$ac_lib_var=yes" |
5188 else | 5192 else |
5189 echo "configure: failed program was:" >&5 | 5193 echo "configure: failed program was:" >&5 |
5190 cat conftest.$ac_ext >&5 | 5194 cat conftest.$ac_ext >&5 |
5215 | 5219 |
5216 fi | 5220 fi |
5217 | 5221 |
5218 | 5222 |
5219 cat > conftest.$ac_ext <<EOF | 5223 cat > conftest.$ac_ext <<EOF |
5220 #line 5221 "configure" | 5224 #line 5225 "configure" |
5221 #include "confdefs.h" | 5225 #include "confdefs.h" |
5222 #include <math.h> | 5226 #include <math.h> |
5223 int main() { | 5227 int main() { |
5224 return atanh(1.0) + asinh(1.0) + acosh(1.0); | 5228 return atanh(1.0) + asinh(1.0) + acosh(1.0); |
5225 ; return 0; } | 5229 ; return 0; } |
5226 EOF | 5230 EOF |
5227 if { (eval echo configure:5228: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5231 if { (eval echo configure:5232: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5228 rm -rf conftest* | 5232 rm -rf conftest* |
5229 { test "$extra_verbose" = "yes" && cat << \EOF | 5233 { test "$extra_verbose" = "yes" && cat << \EOF |
5230 Defining HAVE_INVERSE_HYPERBOLIC | 5234 Defining HAVE_INVERSE_HYPERBOLIC |
5231 EOF | 5235 EOF |
5232 cat >> confdefs.h <<\EOF | 5236 cat >> confdefs.h <<\EOF |
5241 rm -f conftest* | 5245 rm -f conftest* |
5242 | 5246 |
5243 for ac_func in mkstemp | 5247 for ac_func in mkstemp |
5244 do | 5248 do |
5245 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5249 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
5246 echo "configure:5247: checking for $ac_func" >&5 | 5250 echo "configure:5251: checking for $ac_func" >&5 |
5247 | 5251 |
5248 cat > conftest.$ac_ext <<EOF | 5252 cat > conftest.$ac_ext <<EOF |
5249 #line 5250 "configure" | 5253 #line 5254 "configure" |
5250 #include "confdefs.h" | 5254 #include "confdefs.h" |
5251 /* System header to define __stub macros and hopefully few prototypes, | 5255 /* System header to define __stub macros and hopefully few prototypes, |
5252 which can conflict with char $ac_func(); below. */ | 5256 which can conflict with char $ac_func(); below. */ |
5253 #include <assert.h> | 5257 #include <assert.h> |
5254 /* Override any gcc2 internal prototype to avoid an error. */ | 5258 /* Override any gcc2 internal prototype to avoid an error. */ |
5267 $ac_func(); | 5271 $ac_func(); |
5268 #endif | 5272 #endif |
5269 | 5273 |
5270 ; return 0; } | 5274 ; return 0; } |
5271 EOF | 5275 EOF |
5272 if { (eval echo configure:5273: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5276 if { (eval echo configure:5277: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5273 rm -rf conftest* | 5277 rm -rf conftest* |
5274 eval "ac_cv_func_$ac_func=yes" | 5278 eval "ac_cv_func_$ac_func=yes" |
5275 else | 5279 else |
5276 echo "configure: failed program was:" >&5 | 5280 echo "configure: failed program was:" >&5 |
5277 cat conftest.$ac_ext >&5 | 5281 cat conftest.$ac_ext >&5 |
5296 fi | 5300 fi |
5297 done | 5301 done |
5298 | 5302 |
5299 | 5303 |
5300 echo "checking type of mail spool file locking" 1>&6 | 5304 echo "checking type of mail spool file locking" 1>&6 |
5301 echo "configure:5302: checking type of mail spool file locking" >&5 | 5305 echo "configure:5306: checking type of mail spool file locking" >&5 |
5302 for ac_func in lockf flock | 5306 for ac_func in lockf flock |
5303 do | 5307 do |
5304 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5308 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
5305 echo "configure:5306: checking for $ac_func" >&5 | 5309 echo "configure:5310: checking for $ac_func" >&5 |
5306 | 5310 |
5307 cat > conftest.$ac_ext <<EOF | 5311 cat > conftest.$ac_ext <<EOF |
5308 #line 5309 "configure" | 5312 #line 5313 "configure" |
5309 #include "confdefs.h" | 5313 #include "confdefs.h" |
5310 /* System header to define __stub macros and hopefully few prototypes, | 5314 /* System header to define __stub macros and hopefully few prototypes, |
5311 which can conflict with char $ac_func(); below. */ | 5315 which can conflict with char $ac_func(); below. */ |
5312 #include <assert.h> | 5316 #include <assert.h> |
5313 /* Override any gcc2 internal prototype to avoid an error. */ | 5317 /* Override any gcc2 internal prototype to avoid an error. */ |
5326 $ac_func(); | 5330 $ac_func(); |
5327 #endif | 5331 #endif |
5328 | 5332 |
5329 ; return 0; } | 5333 ; return 0; } |
5330 EOF | 5334 EOF |
5331 if { (eval echo configure:5332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5335 if { (eval echo configure:5336: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5332 rm -rf conftest* | 5336 rm -rf conftest* |
5333 eval "ac_cv_func_$ac_func=yes" | 5337 eval "ac_cv_func_$ac_func=yes" |
5334 else | 5338 else |
5335 echo "configure: failed program was:" >&5 | 5339 echo "configure: failed program was:" >&5 |
5336 cat conftest.$ac_ext >&5 | 5340 cat conftest.$ac_ext >&5 |
5416 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; } | 5420 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; } |
5417 | 5421 |
5418 case "$opsys" in decosf*) | 5422 case "$opsys" in decosf*) |
5419 | 5423 |
5420 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 | 5424 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 |
5421 echo "configure:5422: checking for cma_open in -lpthreads" >&5 | 5425 echo "configure:5426: checking for cma_open in -lpthreads" >&5 |
5422 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` | 5426 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` |
5423 | 5427 |
5424 xe_check_libs=" -lpthreads " | 5428 xe_check_libs=" -lpthreads " |
5425 cat > conftest.$ac_ext <<EOF | 5429 cat > conftest.$ac_ext <<EOF |
5426 #line 5427 "configure" | 5430 #line 5431 "configure" |
5427 #include "confdefs.h" | 5431 #include "confdefs.h" |
5428 /* Override any gcc2 internal prototype to avoid an error. */ | 5432 /* Override any gcc2 internal prototype to avoid an error. */ |
5429 /* We use char because int might match the return type of a gcc2 | 5433 /* We use char because int might match the return type of a gcc2 |
5430 builtin and then its argument prototype would still apply. */ | 5434 builtin and then its argument prototype would still apply. */ |
5431 char cma_open(); | 5435 char cma_open(); |
5432 | 5436 |
5433 int main() { | 5437 int main() { |
5434 cma_open() | 5438 cma_open() |
5435 ; return 0; } | 5439 ; return 0; } |
5436 EOF | 5440 EOF |
5437 if { (eval echo configure:5438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5441 if { (eval echo configure:5442: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5438 rm -rf conftest* | 5442 rm -rf conftest* |
5439 eval "ac_cv_lib_$ac_lib_var=yes" | 5443 eval "ac_cv_lib_$ac_lib_var=yes" |
5440 else | 5444 else |
5441 echo "configure: failed program was:" >&5 | 5445 echo "configure: failed program was:" >&5 |
5442 cat conftest.$ac_ext >&5 | 5446 cat conftest.$ac_ext >&5 |
5469 c_switch_site="$c_switch_site -threads" ;; | 5473 c_switch_site="$c_switch_site -threads" ;; |
5470 esac | 5474 esac |
5471 | 5475 |
5472 | 5476 |
5473 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 | 5477 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 |
5474 echo "configure:5475: checking whether the -xildoff compiler flag is required" >&5 | 5478 echo "configure:5479: checking whether the -xildoff compiler flag is required" >&5 |
5475 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then | 5479 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then |
5476 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; | 5480 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; |
5477 then echo "$ac_t""no" 1>&6; | 5481 then echo "$ac_t""no" 1>&6; |
5478 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 | 5482 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 |
5479 fi | 5483 fi |
5481 fi | 5485 fi |
5482 | 5486 |
5483 if test "$opsys" = "sol2"; then | 5487 if test "$opsys" = "sol2"; then |
5484 if test "$os_release" -ge 506; then | 5488 if test "$os_release" -ge 506; then |
5485 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 | 5489 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 |
5486 echo "configure:5487: checking for \"-z ignore\" linker flag" >&5 | 5490 echo "configure:5491: checking for \"-z ignore\" linker flag" >&5 |
5487 case "`ld -h 2>&1`" in | 5491 case "`ld -h 2>&1`" in |
5488 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 | 5492 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 |
5489 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; | 5493 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; |
5490 *) echo "$ac_t""no" 1>&6 ;; | 5494 *) echo "$ac_t""no" 1>&6 ;; |
5491 esac | 5495 esac |
5492 fi | 5496 fi |
5493 fi | 5497 fi |
5494 | 5498 |
5495 | 5499 |
5496 echo "checking "for specified window system"" 1>&6 | 5500 echo "checking "for specified window system"" 1>&6 |
5497 echo "configure:5498: checking "for specified window system"" >&5 | 5501 echo "configure:5502: checking "for specified window system"" >&5 |
5498 | 5502 |
5499 | 5503 |
5500 GNOME_CONFIG=no | 5504 GNOME_CONFIG=no |
5501 GTK_CONFIG=no | 5505 GTK_CONFIG=no |
5502 | 5506 |
5503 if test "$with_gnome" != "no"; then | 5507 if test "$with_gnome" != "no"; then |
5504 echo $ac_n "checking for GNOME configuration script""... $ac_c" 1>&6 | 5508 echo $ac_n "checking for GNOME configuration script""... $ac_c" 1>&6 |
5505 echo "configure:5506: checking for GNOME configuration script" >&5 | 5509 echo "configure:5510: checking for GNOME configuration script" >&5 |
5506 for possible in gnome-config | 5510 for possible in gnome-config |
5507 do | 5511 do |
5508 possible_version=`${possible} --version 2> /dev/null` | 5512 possible_version=`${possible} --version 2> /dev/null` |
5509 if test "x${possible_version}" != "x"; then | 5513 if test "x${possible_version}" != "x"; then |
5510 GNOME_CONFIG="${possible}" | 5514 GNOME_CONFIG="${possible}" |
5531 c_switch_gtk="$c_switch_gtk ${GNOME_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GNOME_CFLAGS}\" to \$c_switch_gtk"; fi | 5535 c_switch_gtk="$c_switch_gtk ${GNOME_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GNOME_CFLAGS}\" to \$c_switch_gtk"; fi |
5532 fi | 5536 fi |
5533 | 5537 |
5534 if test "$with_gtk" != "no";then | 5538 if test "$with_gtk" != "no";then |
5535 echo $ac_n "checking for GTK configuration script""... $ac_c" 1>&6 | 5539 echo $ac_n "checking for GTK configuration script""... $ac_c" 1>&6 |
5536 echo "configure:5537: checking for GTK configuration script" >&5 | 5540 echo "configure:5541: checking for GTK configuration script" >&5 |
5537 for possible in gtk12-config gtk14-config gtk-config | 5541 for possible in gtk12-config gtk14-config gtk-config |
5538 do | 5542 do |
5539 possible_version=`${possible} --version 2> /dev/null` | 5543 possible_version=`${possible} --version 2> /dev/null` |
5540 if test "x${possible_version}" != "x"; then | 5544 if test "x${possible_version}" != "x"; then |
5541 GTK_CONFIG="${possible}" | 5545 GTK_CONFIG="${possible}" |
5553 echo "$ac_t""${GTK_CONFIG}" 1>&6 | 5557 echo "$ac_t""${GTK_CONFIG}" 1>&6 |
5554 fi | 5558 fi |
5555 | 5559 |
5556 if test "${GTK_CONFIG}" != "no"; then | 5560 if test "${GTK_CONFIG}" != "no"; then |
5557 echo $ac_n "checking gtk version""... $ac_c" 1>&6 | 5561 echo $ac_n "checking gtk version""... $ac_c" 1>&6 |
5558 echo "configure:5559: checking gtk version" >&5 | 5562 echo "configure:5563: checking gtk version" >&5 |
5559 GTK_VERSION=`${GTK_CONFIG} --version` | 5563 GTK_VERSION=`${GTK_CONFIG} --version` |
5560 echo "$ac_t""${GTK_VERSION}" 1>&6 | 5564 echo "$ac_t""${GTK_VERSION}" 1>&6 |
5561 | 5565 |
5562 echo $ac_n "checking gtk libs""... $ac_c" 1>&6 | 5566 echo $ac_n "checking gtk libs""... $ac_c" 1>&6 |
5563 echo "configure:5564: checking gtk libs" >&5 | 5567 echo "configure:5568: checking gtk libs" >&5 |
5564 GTK_LIBS=`${GTK_CONFIG} --libs` | 5568 GTK_LIBS=`${GTK_CONFIG} --libs` |
5565 libs_gtk="$libs_gtk ${GTK_LIBS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_LIBS}\" to \$libs_gtk"; fi | 5569 libs_gtk="$libs_gtk ${GTK_LIBS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_LIBS}\" to \$libs_gtk"; fi |
5566 echo "$ac_t""${GTK_LIBS}" 1>&6 | 5570 echo "$ac_t""${GTK_LIBS}" 1>&6 |
5567 | 5571 |
5568 echo $ac_n "checking gtk cflags""... $ac_c" 1>&6 | 5572 echo $ac_n "checking gtk cflags""... $ac_c" 1>&6 |
5569 echo "configure:5570: checking gtk cflags" >&5 | 5573 echo "configure:5574: checking gtk cflags" >&5 |
5570 GTK_CFLAGS=`${GTK_CONFIG} --cflags` | 5574 GTK_CFLAGS=`${GTK_CONFIG} --cflags` |
5571 if test "$GCC" = "yes"; then | 5575 if test "$GCC" = "yes"; then |
5572 GTK_CFLAGS="${GTK_CFLAGS} -Wno-shadow" | 5576 GTK_CFLAGS="${GTK_CFLAGS} -Wno-shadow" |
5573 fi | 5577 fi |
5574 c_switch_gtk="$c_switch_gtk ${GTK_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_CFLAGS}\" to \$c_switch_gtk"; fi | 5578 c_switch_gtk="$c_switch_gtk ${GTK_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_CFLAGS}\" to \$c_switch_gtk"; fi |
5575 echo "$ac_t""${GTK_CFLAGS}" 1>&6 | 5579 echo "$ac_t""${GTK_CFLAGS}" 1>&6 |
5576 | 5580 |
5577 | 5581 |
5578 echo $ac_n "checking for main in -lgdk_imlib""... $ac_c" 1>&6 | 5582 echo $ac_n "checking for main in -lgdk_imlib""... $ac_c" 1>&6 |
5579 echo "configure:5580: checking for main in -lgdk_imlib" >&5 | 5583 echo "configure:5584: checking for main in -lgdk_imlib" >&5 |
5580 ac_lib_var=`echo gdk_imlib'_'main | sed 'y%./+-%__p_%'` | 5584 ac_lib_var=`echo gdk_imlib'_'main | sed 'y%./+-%__p_%'` |
5581 | 5585 |
5582 xe_check_libs=" -lgdk_imlib " | 5586 xe_check_libs=" -lgdk_imlib " |
5583 cat > conftest.$ac_ext <<EOF | 5587 cat > conftest.$ac_ext <<EOF |
5584 #line 5585 "configure" | 5588 #line 5589 "configure" |
5585 #include "confdefs.h" | 5589 #include "confdefs.h" |
5586 | 5590 |
5587 int main() { | 5591 int main() { |
5588 main() | 5592 main() |
5589 ; return 0; } | 5593 ; return 0; } |
5590 EOF | 5594 EOF |
5591 if { (eval echo configure:5592: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5595 if { (eval echo configure:5596: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5592 rm -rf conftest* | 5596 rm -rf conftest* |
5593 eval "ac_cv_lib_$ac_lib_var=yes" | 5597 eval "ac_cv_lib_$ac_lib_var=yes" |
5594 else | 5598 else |
5595 echo "configure: failed program was:" >&5 | 5599 echo "configure: failed program was:" >&5 |
5596 cat conftest.$ac_ext >&5 | 5600 cat conftest.$ac_ext >&5 |
5608 fi | 5612 fi |
5609 | 5613 |
5610 | 5614 |
5611 | 5615 |
5612 echo $ac_n "checking for Imlib_init in -lImlib""... $ac_c" 1>&6 | 5616 echo $ac_n "checking for Imlib_init in -lImlib""... $ac_c" 1>&6 |
5613 echo "configure:5614: checking for Imlib_init in -lImlib" >&5 | 5617 echo "configure:5618: checking for Imlib_init in -lImlib" >&5 |
5614 ac_lib_var=`echo Imlib'_'Imlib_init | sed 'y%./+-%__p_%'` | 5618 ac_lib_var=`echo Imlib'_'Imlib_init | sed 'y%./+-%__p_%'` |
5615 | 5619 |
5616 xe_check_libs=" -lImlib " | 5620 xe_check_libs=" -lImlib " |
5617 cat > conftest.$ac_ext <<EOF | 5621 cat > conftest.$ac_ext <<EOF |
5618 #line 5619 "configure" | 5622 #line 5623 "configure" |
5619 #include "confdefs.h" | 5623 #include "confdefs.h" |
5620 /* Override any gcc2 internal prototype to avoid an error. */ | 5624 /* Override any gcc2 internal prototype to avoid an error. */ |
5621 /* We use char because int might match the return type of a gcc2 | 5625 /* We use char because int might match the return type of a gcc2 |
5622 builtin and then its argument prototype would still apply. */ | 5626 builtin and then its argument prototype would still apply. */ |
5623 char Imlib_init(); | 5627 char Imlib_init(); |
5624 | 5628 |
5625 int main() { | 5629 int main() { |
5626 Imlib_init() | 5630 Imlib_init() |
5627 ; return 0; } | 5631 ; return 0; } |
5628 EOF | 5632 EOF |
5629 if { (eval echo configure:5630: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5633 if { (eval echo configure:5634: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5630 rm -rf conftest* | 5634 rm -rf conftest* |
5631 eval "ac_cv_lib_$ac_lib_var=yes" | 5635 eval "ac_cv_lib_$ac_lib_var=yes" |
5632 else | 5636 else |
5633 echo "configure: failed program was:" >&5 | 5637 echo "configure: failed program was:" >&5 |
5634 cat conftest.$ac_ext >&5 | 5638 cat conftest.$ac_ext >&5 |
5647 | 5651 |
5648 | 5652 |
5649 for ac_func in gdk_imlib_init | 5653 for ac_func in gdk_imlib_init |
5650 do | 5654 do |
5651 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5655 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
5652 echo "configure:5653: checking for $ac_func" >&5 | 5656 echo "configure:5657: checking for $ac_func" >&5 |
5653 | 5657 |
5654 cat > conftest.$ac_ext <<EOF | 5658 cat > conftest.$ac_ext <<EOF |
5655 #line 5656 "configure" | 5659 #line 5660 "configure" |
5656 #include "confdefs.h" | 5660 #include "confdefs.h" |
5657 /* System header to define __stub macros and hopefully few prototypes, | 5661 /* System header to define __stub macros and hopefully few prototypes, |
5658 which can conflict with char $ac_func(); below. */ | 5662 which can conflict with char $ac_func(); below. */ |
5659 #include <assert.h> | 5663 #include <assert.h> |
5660 /* Override any gcc2 internal prototype to avoid an error. */ | 5664 /* Override any gcc2 internal prototype to avoid an error. */ |
5673 $ac_func(); | 5677 $ac_func(); |
5674 #endif | 5678 #endif |
5675 | 5679 |
5676 ; return 0; } | 5680 ; return 0; } |
5677 EOF | 5681 EOF |
5678 if { (eval echo configure:5679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5682 if { (eval echo configure:5683: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5679 rm -rf conftest* | 5683 rm -rf conftest* |
5680 eval "ac_cv_func_$ac_func=yes" | 5684 eval "ac_cv_func_$ac_func=yes" |
5681 else | 5685 else |
5682 echo "configure: failed program was:" >&5 | 5686 echo "configure: failed program was:" >&5 |
5683 cat conftest.$ac_ext >&5 | 5687 cat conftest.$ac_ext >&5 |
5757 LDFLAGS="${LDFLAGS} ${GTK_LIBS}" | 5761 LDFLAGS="${LDFLAGS} ${GTK_LIBS}" |
5758 for ac_hdr in glade/glade.h glade.h | 5762 for ac_hdr in glade/glade.h glade.h |
5759 do | 5763 do |
5760 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5764 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5761 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5765 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5762 echo "configure:5763: checking for $ac_hdr" >&5 | 5766 echo "configure:5767: checking for $ac_hdr" >&5 |
5763 | 5767 |
5764 cat > conftest.$ac_ext <<EOF | 5768 cat > conftest.$ac_ext <<EOF |
5765 #line 5766 "configure" | 5769 #line 5770 "configure" |
5766 #include "confdefs.h" | 5770 #include "confdefs.h" |
5767 #include <$ac_hdr> | 5771 #include <$ac_hdr> |
5768 EOF | 5772 EOF |
5769 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5773 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5770 { (eval echo configure:5771: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5774 { (eval echo configure:5775: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5771 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5775 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5772 if test -z "$ac_err"; then | 5776 if test -z "$ac_err"; then |
5773 rm -rf conftest* | 5777 rm -rf conftest* |
5774 eval "ac_cv_header_$ac_safe=yes" | 5778 eval "ac_cv_header_$ac_safe=yes" |
5775 else | 5779 else |
5796 fi | 5800 fi |
5797 done | 5801 done |
5798 | 5802 |
5799 | 5803 |
5800 echo $ac_n "checking for main in -lxml""... $ac_c" 1>&6 | 5804 echo $ac_n "checking for main in -lxml""... $ac_c" 1>&6 |
5801 echo "configure:5802: checking for main in -lxml" >&5 | 5805 echo "configure:5806: checking for main in -lxml" >&5 |
5802 ac_lib_var=`echo xml'_'main | sed 'y%./+-%__p_%'` | 5806 ac_lib_var=`echo xml'_'main | sed 'y%./+-%__p_%'` |
5803 | 5807 |
5804 xe_check_libs=" -lxml " | 5808 xe_check_libs=" -lxml " |
5805 cat > conftest.$ac_ext <<EOF | 5809 cat > conftest.$ac_ext <<EOF |
5806 #line 5807 "configure" | 5810 #line 5811 "configure" |
5807 #include "confdefs.h" | 5811 #include "confdefs.h" |
5808 | 5812 |
5809 int main() { | 5813 int main() { |
5810 main() | 5814 main() |
5811 ; return 0; } | 5815 ; return 0; } |
5812 EOF | 5816 EOF |
5813 if { (eval echo configure:5814: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5817 if { (eval echo configure:5818: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5814 rm -rf conftest* | 5818 rm -rf conftest* |
5815 eval "ac_cv_lib_$ac_lib_var=yes" | 5819 eval "ac_cv_lib_$ac_lib_var=yes" |
5816 else | 5820 else |
5817 echo "configure: failed program was:" >&5 | 5821 echo "configure: failed program was:" >&5 |
5818 cat conftest.$ac_ext >&5 | 5822 cat conftest.$ac_ext >&5 |
5830 fi | 5834 fi |
5831 | 5835 |
5832 | 5836 |
5833 | 5837 |
5834 echo $ac_n "checking for main in -lglade""... $ac_c" 1>&6 | 5838 echo $ac_n "checking for main in -lglade""... $ac_c" 1>&6 |
5835 echo "configure:5836: checking for main in -lglade" >&5 | 5839 echo "configure:5840: checking for main in -lglade" >&5 |
5836 ac_lib_var=`echo glade'_'main | sed 'y%./+-%__p_%'` | 5840 ac_lib_var=`echo glade'_'main | sed 'y%./+-%__p_%'` |
5837 | 5841 |
5838 xe_check_libs=" -lglade " | 5842 xe_check_libs=" -lglade " |
5839 cat > conftest.$ac_ext <<EOF | 5843 cat > conftest.$ac_ext <<EOF |
5840 #line 5841 "configure" | 5844 #line 5845 "configure" |
5841 #include "confdefs.h" | 5845 #include "confdefs.h" |
5842 | 5846 |
5843 int main() { | 5847 int main() { |
5844 main() | 5848 main() |
5845 ; return 0; } | 5849 ; return 0; } |
5846 EOF | 5850 EOF |
5847 if { (eval echo configure:5848: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5851 if { (eval echo configure:5852: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5848 rm -rf conftest* | 5852 rm -rf conftest* |
5849 eval "ac_cv_lib_$ac_lib_var=yes" | 5853 eval "ac_cv_lib_$ac_lib_var=yes" |
5850 else | 5854 else |
5851 echo "configure: failed program was:" >&5 | 5855 echo "configure: failed program was:" >&5 |
5852 cat conftest.$ac_ext >&5 | 5856 cat conftest.$ac_ext >&5 |
5864 fi | 5868 fi |
5865 | 5869 |
5866 | 5870 |
5867 | 5871 |
5868 echo $ac_n "checking for main in -lglade-gnome""... $ac_c" 1>&6 | 5872 echo $ac_n "checking for main in -lglade-gnome""... $ac_c" 1>&6 |
5869 echo "configure:5870: checking for main in -lglade-gnome" >&5 | 5873 echo "configure:5874: checking for main in -lglade-gnome" >&5 |
5870 ac_lib_var=`echo glade-gnome'_'main | sed 'y%./+-%__p_%'` | 5874 ac_lib_var=`echo glade-gnome'_'main | sed 'y%./+-%__p_%'` |
5871 | 5875 |
5872 xe_check_libs=" -lglade-gnome " | 5876 xe_check_libs=" -lglade-gnome " |
5873 cat > conftest.$ac_ext <<EOF | 5877 cat > conftest.$ac_ext <<EOF |
5874 #line 5875 "configure" | 5878 #line 5879 "configure" |
5875 #include "confdefs.h" | 5879 #include "confdefs.h" |
5876 | 5880 |
5877 int main() { | 5881 int main() { |
5878 main() | 5882 main() |
5879 ; return 0; } | 5883 ; return 0; } |
5880 EOF | 5884 EOF |
5881 if { (eval echo configure:5882: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5885 if { (eval echo configure:5886: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5882 rm -rf conftest* | 5886 rm -rf conftest* |
5883 eval "ac_cv_lib_$ac_lib_var=yes" | 5887 eval "ac_cv_lib_$ac_lib_var=yes" |
5884 else | 5888 else |
5885 echo "configure: failed program was:" >&5 | 5889 echo "configure: failed program was:" >&5 |
5886 cat conftest.$ac_ext >&5 | 5890 cat conftest.$ac_ext >&5 |
5897 echo "$ac_t""no" 1>&6 | 5901 echo "$ac_t""no" 1>&6 |
5898 fi | 5902 fi |
5899 | 5903 |
5900 | 5904 |
5901 cat > conftest.$ac_ext <<EOF | 5905 cat > conftest.$ac_ext <<EOF |
5902 #line 5903 "configure" | 5906 #line 5907 "configure" |
5903 #include "confdefs.h" | 5907 #include "confdefs.h" |
5904 #include <glade/glade-xml.h> | 5908 #include <glade/glade-xml.h> |
5905 EOF | 5909 EOF |
5906 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 5910 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
5907 egrep "char \*txtdomain;" >/dev/null 2>&1; then | 5911 egrep "char \*txtdomain;" >/dev/null 2>&1; then |
5956 # If we find X, set shell vars x_includes and x_libraries to the | 5960 # If we find X, set shell vars x_includes and x_libraries to the |
5957 # paths, otherwise set no_x=yes. | 5961 # paths, otherwise set no_x=yes. |
5958 # Uses ac_ vars as temps to allow command line to override cache and checks. | 5962 # Uses ac_ vars as temps to allow command line to override cache and checks. |
5959 # --without-x overrides everything else, but does not touch the cache. | 5963 # --without-x overrides everything else, but does not touch the cache. |
5960 echo $ac_n "checking for X""... $ac_c" 1>&6 | 5964 echo $ac_n "checking for X""... $ac_c" 1>&6 |
5961 echo "configure:5962: checking for X" >&5 | 5965 echo "configure:5966: checking for X" >&5 |
5962 | 5966 |
5963 # Check whether --with-x or --without-x was given. | 5967 # Check whether --with-x or --without-x was given. |
5964 if test "${with_x+set}" = set; then | 5968 if test "${with_x+set}" = set; then |
5965 withval="$with_x" | 5969 withval="$with_x" |
5966 : | 5970 : |
6016 # Guess where to find include files, by looking for this one X11 .h file. | 6020 # Guess where to find include files, by looking for this one X11 .h file. |
6017 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h | 6021 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h |
6018 | 6022 |
6019 # First, try using that file with no special directory specified. | 6023 # First, try using that file with no special directory specified. |
6020 cat > conftest.$ac_ext <<EOF | 6024 cat > conftest.$ac_ext <<EOF |
6021 #line 6022 "configure" | 6025 #line 6026 "configure" |
6022 #include "confdefs.h" | 6026 #include "confdefs.h" |
6023 #include <$x_direct_test_include> | 6027 #include <$x_direct_test_include> |
6024 EOF | 6028 EOF |
6025 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6029 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6026 { (eval echo configure:6027: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6030 { (eval echo configure:6031: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6027 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6031 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6028 if test -z "$ac_err"; then | 6032 if test -z "$ac_err"; then |
6029 rm -rf conftest* | 6033 rm -rf conftest* |
6030 # We can compile using X headers with no special include directory. | 6034 # We can compile using X headers with no special include directory. |
6031 ac_x_includes= | 6035 ac_x_includes= |
6090 # See if we find them without any special options. | 6094 # See if we find them without any special options. |
6091 # Don't add to $LIBS permanently. | 6095 # Don't add to $LIBS permanently. |
6092 ac_save_LIBS="$LIBS" | 6096 ac_save_LIBS="$LIBS" |
6093 LIBS="-l$x_direct_test_library $LIBS" | 6097 LIBS="-l$x_direct_test_library $LIBS" |
6094 cat > conftest.$ac_ext <<EOF | 6098 cat > conftest.$ac_ext <<EOF |
6095 #line 6096 "configure" | 6099 #line 6100 "configure" |
6096 #include "confdefs.h" | 6100 #include "confdefs.h" |
6097 | 6101 |
6098 int main() { | 6102 int main() { |
6099 ${x_direct_test_function}() | 6103 ${x_direct_test_function}() |
6100 ; return 0; } | 6104 ; return 0; } |
6101 EOF | 6105 EOF |
6102 if { (eval echo configure:6103: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6106 if { (eval echo configure:6107: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6103 rm -rf conftest* | 6107 rm -rf conftest* |
6104 LIBS="$ac_save_LIBS" | 6108 LIBS="$ac_save_LIBS" |
6105 # We can link X programs with no special library path. | 6109 # We can link X programs with no special library path. |
6106 ac_x_libraries= | 6110 ac_x_libraries= |
6107 else | 6111 else |
6206 # For Solaris; some versions of Sun CC require a space after -R and | 6210 # For Solaris; some versions of Sun CC require a space after -R and |
6207 # others require no space. Words are not sufficient . . . . | 6211 # others require no space. Words are not sufficient . . . . |
6208 case "`(uname -sr) 2>/dev/null`" in | 6212 case "`(uname -sr) 2>/dev/null`" in |
6209 "SunOS 5"*) | 6213 "SunOS 5"*) |
6210 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 | 6214 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 |
6211 echo "configure:6212: checking whether -R must be followed by a space" >&5 | 6215 echo "configure:6216: checking whether -R must be followed by a space" >&5 |
6212 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" | 6216 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
6213 cat > conftest.$ac_ext <<EOF | 6217 cat > conftest.$ac_ext <<EOF |
6214 #line 6215 "configure" | 6218 #line 6219 "configure" |
6215 #include "confdefs.h" | 6219 #include "confdefs.h" |
6216 | 6220 |
6217 int main() { | 6221 int main() { |
6218 | 6222 |
6219 ; return 0; } | 6223 ; return 0; } |
6220 EOF | 6224 EOF |
6221 if { (eval echo configure:6222: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6225 if { (eval echo configure:6226: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6222 rm -rf conftest* | 6226 rm -rf conftest* |
6223 ac_R_nospace=yes | 6227 ac_R_nospace=yes |
6224 else | 6228 else |
6225 echo "configure: failed program was:" >&5 | 6229 echo "configure: failed program was:" >&5 |
6226 cat conftest.$ac_ext >&5 | 6230 cat conftest.$ac_ext >&5 |
6232 echo "$ac_t""no" 1>&6 | 6236 echo "$ac_t""no" 1>&6 |
6233 X_LIBS="$X_LIBS -R$x_libraries" | 6237 X_LIBS="$X_LIBS -R$x_libraries" |
6234 else | 6238 else |
6235 LIBS="$ac_xsave_LIBS -R $x_libraries" | 6239 LIBS="$ac_xsave_LIBS -R $x_libraries" |
6236 cat > conftest.$ac_ext <<EOF | 6240 cat > conftest.$ac_ext <<EOF |
6237 #line 6238 "configure" | 6241 #line 6242 "configure" |
6238 #include "confdefs.h" | 6242 #include "confdefs.h" |
6239 | 6243 |
6240 int main() { | 6244 int main() { |
6241 | 6245 |
6242 ; return 0; } | 6246 ; return 0; } |
6243 EOF | 6247 EOF |
6244 if { (eval echo configure:6245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6248 if { (eval echo configure:6249: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6245 rm -rf conftest* | 6249 rm -rf conftest* |
6246 ac_R_space=yes | 6250 ac_R_space=yes |
6247 else | 6251 else |
6248 echo "configure: failed program was:" >&5 | 6252 echo "configure: failed program was:" >&5 |
6249 cat conftest.$ac_ext >&5 | 6253 cat conftest.$ac_ext >&5 |
6275 if test "$with_dnet" = "no" ; then | 6279 if test "$with_dnet" = "no" ; then |
6276 ac_cv_lib_dnet_dnet_ntoa=no | 6280 ac_cv_lib_dnet_dnet_ntoa=no |
6277 else | 6281 else |
6278 | 6282 |
6279 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 | 6283 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
6280 echo "configure:6281: checking for dnet_ntoa in -ldnet" >&5 | 6284 echo "configure:6285: checking for dnet_ntoa in -ldnet" >&5 |
6281 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 6285 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
6282 | 6286 |
6283 xe_check_libs=" -ldnet " | 6287 xe_check_libs=" -ldnet " |
6284 cat > conftest.$ac_ext <<EOF | 6288 cat > conftest.$ac_ext <<EOF |
6285 #line 6286 "configure" | 6289 #line 6290 "configure" |
6286 #include "confdefs.h" | 6290 #include "confdefs.h" |
6287 /* Override any gcc2 internal prototype to avoid an error. */ | 6291 /* Override any gcc2 internal prototype to avoid an error. */ |
6288 /* We use char because int might match the return type of a gcc2 | 6292 /* We use char because int might match the return type of a gcc2 |
6289 builtin and then its argument prototype would still apply. */ | 6293 builtin and then its argument prototype would still apply. */ |
6290 char dnet_ntoa(); | 6294 char dnet_ntoa(); |
6291 | 6295 |
6292 int main() { | 6296 int main() { |
6293 dnet_ntoa() | 6297 dnet_ntoa() |
6294 ; return 0; } | 6298 ; return 0; } |
6295 EOF | 6299 EOF |
6296 if { (eval echo configure:6297: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6300 if { (eval echo configure:6301: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6297 rm -rf conftest* | 6301 rm -rf conftest* |
6298 eval "ac_cv_lib_$ac_lib_var=yes" | 6302 eval "ac_cv_lib_$ac_lib_var=yes" |
6299 else | 6303 else |
6300 echo "configure: failed program was:" >&5 | 6304 echo "configure: failed program was:" >&5 |
6301 cat conftest.$ac_ext >&5 | 6305 cat conftest.$ac_ext >&5 |
6315 fi | 6319 fi |
6316 | 6320 |
6317 if test $ac_cv_lib_dnet_dnet_ntoa = no; then | 6321 if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
6318 | 6322 |
6319 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 | 6323 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 |
6320 echo "configure:6321: checking for dnet_ntoa in -ldnet_stub" >&5 | 6324 echo "configure:6325: checking for dnet_ntoa in -ldnet_stub" >&5 |
6321 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 6325 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
6322 | 6326 |
6323 xe_check_libs=" -ldnet_stub " | 6327 xe_check_libs=" -ldnet_stub " |
6324 cat > conftest.$ac_ext <<EOF | 6328 cat > conftest.$ac_ext <<EOF |
6325 #line 6326 "configure" | 6329 #line 6330 "configure" |
6326 #include "confdefs.h" | 6330 #include "confdefs.h" |
6327 /* Override any gcc2 internal prototype to avoid an error. */ | 6331 /* Override any gcc2 internal prototype to avoid an error. */ |
6328 /* We use char because int might match the return type of a gcc2 | 6332 /* We use char because int might match the return type of a gcc2 |
6329 builtin and then its argument prototype would still apply. */ | 6333 builtin and then its argument prototype would still apply. */ |
6330 char dnet_ntoa(); | 6334 char dnet_ntoa(); |
6331 | 6335 |
6332 int main() { | 6336 int main() { |
6333 dnet_ntoa() | 6337 dnet_ntoa() |
6334 ; return 0; } | 6338 ; return 0; } |
6335 EOF | 6339 EOF |
6336 if { (eval echo configure:6337: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6340 if { (eval echo configure:6341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6337 rm -rf conftest* | 6341 rm -rf conftest* |
6338 eval "ac_cv_lib_$ac_lib_var=yes" | 6342 eval "ac_cv_lib_$ac_lib_var=yes" |
6339 else | 6343 else |
6340 echo "configure: failed program was:" >&5 | 6344 echo "configure: failed program was:" >&5 |
6341 cat conftest.$ac_ext >&5 | 6345 cat conftest.$ac_ext >&5 |
6360 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) | 6364 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) |
6361 # needs -lnsl. | 6365 # needs -lnsl. |
6362 # The nsl library prevents programs from opening the X display | 6366 # The nsl library prevents programs from opening the X display |
6363 # on Irix 5.2, according to dickey@clark.net. | 6367 # on Irix 5.2, according to dickey@clark.net. |
6364 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 | 6368 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
6365 echo "configure:6366: checking for gethostbyname" >&5 | 6369 echo "configure:6370: checking for gethostbyname" >&5 |
6366 | 6370 |
6367 cat > conftest.$ac_ext <<EOF | 6371 cat > conftest.$ac_ext <<EOF |
6368 #line 6369 "configure" | 6372 #line 6373 "configure" |
6369 #include "confdefs.h" | 6373 #include "confdefs.h" |
6370 /* System header to define __stub macros and hopefully few prototypes, | 6374 /* System header to define __stub macros and hopefully few prototypes, |
6371 which can conflict with char gethostbyname(); below. */ | 6375 which can conflict with char gethostbyname(); below. */ |
6372 #include <assert.h> | 6376 #include <assert.h> |
6373 /* Override any gcc2 internal prototype to avoid an error. */ | 6377 /* Override any gcc2 internal prototype to avoid an error. */ |
6386 gethostbyname(); | 6390 gethostbyname(); |
6387 #endif | 6391 #endif |
6388 | 6392 |
6389 ; return 0; } | 6393 ; return 0; } |
6390 EOF | 6394 EOF |
6391 if { (eval echo configure:6392: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6395 if { (eval echo configure:6396: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6392 rm -rf conftest* | 6396 rm -rf conftest* |
6393 eval "ac_cv_func_gethostbyname=yes" | 6397 eval "ac_cv_func_gethostbyname=yes" |
6394 else | 6398 else |
6395 echo "configure: failed program was:" >&5 | 6399 echo "configure: failed program was:" >&5 |
6396 cat conftest.$ac_ext >&5 | 6400 cat conftest.$ac_ext >&5 |
6407 fi | 6411 fi |
6408 | 6412 |
6409 if test $ac_cv_func_gethostbyname = no; then | 6413 if test $ac_cv_func_gethostbyname = no; then |
6410 | 6414 |
6411 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 | 6415 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
6412 echo "configure:6413: checking for gethostbyname in -lnsl" >&5 | 6416 echo "configure:6417: checking for gethostbyname in -lnsl" >&5 |
6413 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` | 6417 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
6414 | 6418 |
6415 xe_check_libs=" -lnsl " | 6419 xe_check_libs=" -lnsl " |
6416 cat > conftest.$ac_ext <<EOF | 6420 cat > conftest.$ac_ext <<EOF |
6417 #line 6418 "configure" | 6421 #line 6422 "configure" |
6418 #include "confdefs.h" | 6422 #include "confdefs.h" |
6419 /* Override any gcc2 internal prototype to avoid an error. */ | 6423 /* Override any gcc2 internal prototype to avoid an error. */ |
6420 /* We use char because int might match the return type of a gcc2 | 6424 /* We use char because int might match the return type of a gcc2 |
6421 builtin and then its argument prototype would still apply. */ | 6425 builtin and then its argument prototype would still apply. */ |
6422 char gethostbyname(); | 6426 char gethostbyname(); |
6423 | 6427 |
6424 int main() { | 6428 int main() { |
6425 gethostbyname() | 6429 gethostbyname() |
6426 ; return 0; } | 6430 ; return 0; } |
6427 EOF | 6431 EOF |
6428 if { (eval echo configure:6429: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6432 if { (eval echo configure:6433: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6429 rm -rf conftest* | 6433 rm -rf conftest* |
6430 eval "ac_cv_lib_$ac_lib_var=yes" | 6434 eval "ac_cv_lib_$ac_lib_var=yes" |
6431 else | 6435 else |
6432 echo "configure: failed program was:" >&5 | 6436 echo "configure: failed program was:" >&5 |
6433 cat conftest.$ac_ext >&5 | 6437 cat conftest.$ac_ext >&5 |
6453 # on later versions), says simon@lia.di.epfl.ch: it contains | 6457 # on later versions), says simon@lia.di.epfl.ch: it contains |
6454 # gethostby* variants that don't use the nameserver (or something). | 6458 # gethostby* variants that don't use the nameserver (or something). |
6455 # -lsocket must be given before -lnsl if both are needed. | 6459 # -lsocket must be given before -lnsl if both are needed. |
6456 # We assume that if connect needs -lnsl, so does gethostbyname. | 6460 # We assume that if connect needs -lnsl, so does gethostbyname. |
6457 echo $ac_n "checking for connect""... $ac_c" 1>&6 | 6461 echo $ac_n "checking for connect""... $ac_c" 1>&6 |
6458 echo "configure:6459: checking for connect" >&5 | 6462 echo "configure:6463: checking for connect" >&5 |
6459 | 6463 |
6460 cat > conftest.$ac_ext <<EOF | 6464 cat > conftest.$ac_ext <<EOF |
6461 #line 6462 "configure" | 6465 #line 6466 "configure" |
6462 #include "confdefs.h" | 6466 #include "confdefs.h" |
6463 /* System header to define __stub macros and hopefully few prototypes, | 6467 /* System header to define __stub macros and hopefully few prototypes, |
6464 which can conflict with char connect(); below. */ | 6468 which can conflict with char connect(); below. */ |
6465 #include <assert.h> | 6469 #include <assert.h> |
6466 /* Override any gcc2 internal prototype to avoid an error. */ | 6470 /* Override any gcc2 internal prototype to avoid an error. */ |
6479 connect(); | 6483 connect(); |
6480 #endif | 6484 #endif |
6481 | 6485 |
6482 ; return 0; } | 6486 ; return 0; } |
6483 EOF | 6487 EOF |
6484 if { (eval echo configure:6485: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6488 if { (eval echo configure:6489: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6485 rm -rf conftest* | 6489 rm -rf conftest* |
6486 eval "ac_cv_func_connect=yes" | 6490 eval "ac_cv_func_connect=yes" |
6487 else | 6491 else |
6488 echo "configure: failed program was:" >&5 | 6492 echo "configure: failed program was:" >&5 |
6489 cat conftest.$ac_ext >&5 | 6493 cat conftest.$ac_ext >&5 |
6502 if test $ac_cv_func_connect = no; then | 6506 if test $ac_cv_func_connect = no; then |
6503 | 6507 |
6504 xe_msg_checking="for connect in -lsocket" | 6508 xe_msg_checking="for connect in -lsocket" |
6505 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 6509 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
6506 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6510 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6507 echo "configure:6508: checking "$xe_msg_checking"" >&5 | 6511 echo "configure:6512: checking "$xe_msg_checking"" >&5 |
6508 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` | 6512 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
6509 | 6513 |
6510 xe_check_libs=" -lsocket $X_EXTRA_LIBS" | 6514 xe_check_libs=" -lsocket $X_EXTRA_LIBS" |
6511 cat > conftest.$ac_ext <<EOF | 6515 cat > conftest.$ac_ext <<EOF |
6512 #line 6513 "configure" | 6516 #line 6517 "configure" |
6513 #include "confdefs.h" | 6517 #include "confdefs.h" |
6514 /* Override any gcc2 internal prototype to avoid an error. */ | 6518 /* Override any gcc2 internal prototype to avoid an error. */ |
6515 /* We use char because int might match the return type of a gcc2 | 6519 /* We use char because int might match the return type of a gcc2 |
6516 builtin and then its argument prototype would still apply. */ | 6520 builtin and then its argument prototype would still apply. */ |
6517 char connect(); | 6521 char connect(); |
6518 | 6522 |
6519 int main() { | 6523 int main() { |
6520 connect() | 6524 connect() |
6521 ; return 0; } | 6525 ; return 0; } |
6522 EOF | 6526 EOF |
6523 if { (eval echo configure:6524: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6527 if { (eval echo configure:6528: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6524 rm -rf conftest* | 6528 rm -rf conftest* |
6525 eval "ac_cv_lib_$ac_lib_var=yes" | 6529 eval "ac_cv_lib_$ac_lib_var=yes" |
6526 else | 6530 else |
6527 echo "configure: failed program was:" >&5 | 6531 echo "configure: failed program was:" >&5 |
6528 cat conftest.$ac_ext >&5 | 6532 cat conftest.$ac_ext >&5 |
6542 | 6546 |
6543 fi | 6547 fi |
6544 | 6548 |
6545 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. | 6549 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
6546 echo $ac_n "checking for remove""... $ac_c" 1>&6 | 6550 echo $ac_n "checking for remove""... $ac_c" 1>&6 |
6547 echo "configure:6548: checking for remove" >&5 | 6551 echo "configure:6552: checking for remove" >&5 |
6548 | 6552 |
6549 cat > conftest.$ac_ext <<EOF | 6553 cat > conftest.$ac_ext <<EOF |
6550 #line 6551 "configure" | 6554 #line 6555 "configure" |
6551 #include "confdefs.h" | 6555 #include "confdefs.h" |
6552 /* System header to define __stub macros and hopefully few prototypes, | 6556 /* System header to define __stub macros and hopefully few prototypes, |
6553 which can conflict with char remove(); below. */ | 6557 which can conflict with char remove(); below. */ |
6554 #include <assert.h> | 6558 #include <assert.h> |
6555 /* Override any gcc2 internal prototype to avoid an error. */ | 6559 /* Override any gcc2 internal prototype to avoid an error. */ |
6568 remove(); | 6572 remove(); |
6569 #endif | 6573 #endif |
6570 | 6574 |
6571 ; return 0; } | 6575 ; return 0; } |
6572 EOF | 6576 EOF |
6573 if { (eval echo configure:6574: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6577 if { (eval echo configure:6578: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6574 rm -rf conftest* | 6578 rm -rf conftest* |
6575 eval "ac_cv_func_remove=yes" | 6579 eval "ac_cv_func_remove=yes" |
6576 else | 6580 else |
6577 echo "configure: failed program was:" >&5 | 6581 echo "configure: failed program was:" >&5 |
6578 cat conftest.$ac_ext >&5 | 6582 cat conftest.$ac_ext >&5 |
6589 fi | 6593 fi |
6590 | 6594 |
6591 if test $ac_cv_func_remove = no; then | 6595 if test $ac_cv_func_remove = no; then |
6592 | 6596 |
6593 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 | 6597 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
6594 echo "configure:6595: checking for remove in -lposix" >&5 | 6598 echo "configure:6599: checking for remove in -lposix" >&5 |
6595 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` | 6599 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
6596 | 6600 |
6597 xe_check_libs=" -lposix " | 6601 xe_check_libs=" -lposix " |
6598 cat > conftest.$ac_ext <<EOF | 6602 cat > conftest.$ac_ext <<EOF |
6599 #line 6600 "configure" | 6603 #line 6604 "configure" |
6600 #include "confdefs.h" | 6604 #include "confdefs.h" |
6601 /* Override any gcc2 internal prototype to avoid an error. */ | 6605 /* Override any gcc2 internal prototype to avoid an error. */ |
6602 /* We use char because int might match the return type of a gcc2 | 6606 /* We use char because int might match the return type of a gcc2 |
6603 builtin and then its argument prototype would still apply. */ | 6607 builtin and then its argument prototype would still apply. */ |
6604 char remove(); | 6608 char remove(); |
6605 | 6609 |
6606 int main() { | 6610 int main() { |
6607 remove() | 6611 remove() |
6608 ; return 0; } | 6612 ; return 0; } |
6609 EOF | 6613 EOF |
6610 if { (eval echo configure:6611: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6614 if { (eval echo configure:6615: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6611 rm -rf conftest* | 6615 rm -rf conftest* |
6612 eval "ac_cv_lib_$ac_lib_var=yes" | 6616 eval "ac_cv_lib_$ac_lib_var=yes" |
6613 else | 6617 else |
6614 echo "configure: failed program was:" >&5 | 6618 echo "configure: failed program was:" >&5 |
6615 cat conftest.$ac_ext >&5 | 6619 cat conftest.$ac_ext >&5 |
6629 | 6633 |
6630 fi | 6634 fi |
6631 | 6635 |
6632 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. | 6636 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
6633 echo $ac_n "checking for shmat""... $ac_c" 1>&6 | 6637 echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
6634 echo "configure:6635: checking for shmat" >&5 | 6638 echo "configure:6639: checking for shmat" >&5 |
6635 | 6639 |
6636 cat > conftest.$ac_ext <<EOF | 6640 cat > conftest.$ac_ext <<EOF |
6637 #line 6638 "configure" | 6641 #line 6642 "configure" |
6638 #include "confdefs.h" | 6642 #include "confdefs.h" |
6639 /* System header to define __stub macros and hopefully few prototypes, | 6643 /* System header to define __stub macros and hopefully few prototypes, |
6640 which can conflict with char shmat(); below. */ | 6644 which can conflict with char shmat(); below. */ |
6641 #include <assert.h> | 6645 #include <assert.h> |
6642 /* Override any gcc2 internal prototype to avoid an error. */ | 6646 /* Override any gcc2 internal prototype to avoid an error. */ |
6655 shmat(); | 6659 shmat(); |
6656 #endif | 6660 #endif |
6657 | 6661 |
6658 ; return 0; } | 6662 ; return 0; } |
6659 EOF | 6663 EOF |
6660 if { (eval echo configure:6661: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6664 if { (eval echo configure:6665: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6661 rm -rf conftest* | 6665 rm -rf conftest* |
6662 eval "ac_cv_func_shmat=yes" | 6666 eval "ac_cv_func_shmat=yes" |
6663 else | 6667 else |
6664 echo "configure: failed program was:" >&5 | 6668 echo "configure: failed program was:" >&5 |
6665 cat conftest.$ac_ext >&5 | 6669 cat conftest.$ac_ext >&5 |
6676 fi | 6680 fi |
6677 | 6681 |
6678 if test $ac_cv_func_shmat = no; then | 6682 if test $ac_cv_func_shmat = no; then |
6679 | 6683 |
6680 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 | 6684 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
6681 echo "configure:6682: checking for shmat in -lipc" >&5 | 6685 echo "configure:6686: checking for shmat in -lipc" >&5 |
6682 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` | 6686 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
6683 | 6687 |
6684 xe_check_libs=" -lipc " | 6688 xe_check_libs=" -lipc " |
6685 cat > conftest.$ac_ext <<EOF | 6689 cat > conftest.$ac_ext <<EOF |
6686 #line 6687 "configure" | 6690 #line 6691 "configure" |
6687 #include "confdefs.h" | 6691 #include "confdefs.h" |
6688 /* Override any gcc2 internal prototype to avoid an error. */ | 6692 /* Override any gcc2 internal prototype to avoid an error. */ |
6689 /* We use char because int might match the return type of a gcc2 | 6693 /* We use char because int might match the return type of a gcc2 |
6690 builtin and then its argument prototype would still apply. */ | 6694 builtin and then its argument prototype would still apply. */ |
6691 char shmat(); | 6695 char shmat(); |
6692 | 6696 |
6693 int main() { | 6697 int main() { |
6694 shmat() | 6698 shmat() |
6695 ; return 0; } | 6699 ; return 0; } |
6696 EOF | 6700 EOF |
6697 if { (eval echo configure:6698: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6701 if { (eval echo configure:6702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6698 rm -rf conftest* | 6702 rm -rf conftest* |
6699 eval "ac_cv_lib_$ac_lib_var=yes" | 6703 eval "ac_cv_lib_$ac_lib_var=yes" |
6700 else | 6704 else |
6701 echo "configure: failed program was:" >&5 | 6705 echo "configure: failed program was:" >&5 |
6702 cat conftest.$ac_ext >&5 | 6706 cat conftest.$ac_ext >&5 |
6728 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. | 6732 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
6729 | 6733 |
6730 xe_msg_checking="for IceConnectionNumber in -lICE" | 6734 xe_msg_checking="for IceConnectionNumber in -lICE" |
6731 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 6735 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
6732 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6736 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6733 echo "configure:6734: checking "$xe_msg_checking"" >&5 | 6737 echo "configure:6738: checking "$xe_msg_checking"" >&5 |
6734 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` | 6738 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
6735 | 6739 |
6736 xe_check_libs=" -lICE $X_EXTRA_LIBS" | 6740 xe_check_libs=" -lICE $X_EXTRA_LIBS" |
6737 cat > conftest.$ac_ext <<EOF | 6741 cat > conftest.$ac_ext <<EOF |
6738 #line 6739 "configure" | 6742 #line 6743 "configure" |
6739 #include "confdefs.h" | 6743 #include "confdefs.h" |
6740 /* Override any gcc2 internal prototype to avoid an error. */ | 6744 /* Override any gcc2 internal prototype to avoid an error. */ |
6741 /* We use char because int might match the return type of a gcc2 | 6745 /* We use char because int might match the return type of a gcc2 |
6742 builtin and then its argument prototype would still apply. */ | 6746 builtin and then its argument prototype would still apply. */ |
6743 char IceConnectionNumber(); | 6747 char IceConnectionNumber(); |
6744 | 6748 |
6745 int main() { | 6749 int main() { |
6746 IceConnectionNumber() | 6750 IceConnectionNumber() |
6747 ; return 0; } | 6751 ; return 0; } |
6748 EOF | 6752 EOF |
6749 if { (eval echo configure:6750: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6753 if { (eval echo configure:6754: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6750 rm -rf conftest* | 6754 rm -rf conftest* |
6751 eval "ac_cv_lib_$ac_lib_var=yes" | 6755 eval "ac_cv_lib_$ac_lib_var=yes" |
6752 else | 6756 else |
6753 echo "configure: failed program was:" >&5 | 6757 echo "configure: failed program was:" >&5 |
6754 cat conftest.$ac_ext >&5 | 6758 cat conftest.$ac_ext >&5 |
6790 SRC_SUBDIR_DEPS="$SRC_SUBDIR_DEPS lwlib" && if test "$extra_verbose" = "yes"; then echo " Appending \"lwlib\" to \$SRC_SUBDIR_DEPS"; fi | 6794 SRC_SUBDIR_DEPS="$SRC_SUBDIR_DEPS lwlib" && if test "$extra_verbose" = "yes"; then echo " Appending \"lwlib\" to \$SRC_SUBDIR_DEPS"; fi |
6791 | 6795 |
6792 | 6796 |
6793 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 6797 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
6794 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 6798 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
6795 echo "configure:6796: checking for Xm/Xm.h" >&5 | 6799 echo "configure:6800: checking for Xm/Xm.h" >&5 |
6796 | 6800 |
6797 cat > conftest.$ac_ext <<EOF | 6801 cat > conftest.$ac_ext <<EOF |
6798 #line 6799 "configure" | 6802 #line 6803 "configure" |
6799 #include "confdefs.h" | 6803 #include "confdefs.h" |
6800 #include <Xm/Xm.h> | 6804 #include <Xm/Xm.h> |
6801 EOF | 6805 EOF |
6802 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6806 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6803 { (eval echo configure:6804: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6807 { (eval echo configure:6808: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6804 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6808 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6805 if test -z "$ac_err"; then | 6809 if test -z "$ac_err"; then |
6806 rm -rf conftest* | 6810 rm -rf conftest* |
6807 eval "ac_cv_header_$ac_safe=yes" | 6811 eval "ac_cv_header_$ac_safe=yes" |
6808 else | 6812 else |
6815 rm -f conftest* | 6819 rm -f conftest* |
6816 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 6820 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
6817 echo "$ac_t""yes" 1>&6 | 6821 echo "$ac_t""yes" 1>&6 |
6818 | 6822 |
6819 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 6823 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
6820 echo "configure:6821: checking for XmStringFree in -lXm" >&5 | 6824 echo "configure:6825: checking for XmStringFree in -lXm" >&5 |
6821 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 6825 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
6822 | 6826 |
6823 xe_check_libs=" -lXm " | 6827 xe_check_libs=" -lXm " |
6824 cat > conftest.$ac_ext <<EOF | 6828 cat > conftest.$ac_ext <<EOF |
6825 #line 6826 "configure" | 6829 #line 6830 "configure" |
6826 #include "confdefs.h" | 6830 #include "confdefs.h" |
6827 /* Override any gcc2 internal prototype to avoid an error. */ | 6831 /* Override any gcc2 internal prototype to avoid an error. */ |
6828 /* We use char because int might match the return type of a gcc2 | 6832 /* We use char because int might match the return type of a gcc2 |
6829 builtin and then its argument prototype would still apply. */ | 6833 builtin and then its argument prototype would still apply. */ |
6830 char XmStringFree(); | 6834 char XmStringFree(); |
6831 | 6835 |
6832 int main() { | 6836 int main() { |
6833 XmStringFree() | 6837 XmStringFree() |
6834 ; return 0; } | 6838 ; return 0; } |
6835 EOF | 6839 EOF |
6836 if { (eval echo configure:6837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6840 if { (eval echo configure:6841: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6837 rm -rf conftest* | 6841 rm -rf conftest* |
6838 eval "ac_cv_lib_$ac_lib_var=yes" | 6842 eval "ac_cv_lib_$ac_lib_var=yes" |
6839 else | 6843 else |
6840 echo "configure: failed program was:" >&5 | 6844 echo "configure: failed program was:" >&5 |
6841 cat conftest.$ac_ext >&5 | 6845 cat conftest.$ac_ext >&5 |
6983 EOF | 6987 EOF |
6984 } | 6988 } |
6985 | 6989 |
6986 | 6990 |
6987 echo "checking for X defines extracted by xmkmf" 1>&6 | 6991 echo "checking for X defines extracted by xmkmf" 1>&6 |
6988 echo "configure:6989: checking for X defines extracted by xmkmf" >&5 | 6992 echo "configure:6993: checking for X defines extracted by xmkmf" >&5 |
6989 rm -fr conftestdir | 6993 rm -fr conftestdir |
6990 if mkdir conftestdir; then | 6994 if mkdir conftestdir; then |
6991 cd conftestdir | 6995 cd conftestdir |
6992 cat > Imakefile <<'EOF' | 6996 cat > Imakefile <<'EOF' |
6993 xetest: | 6997 xetest: |
7032 done | 7036 done |
7033 fi | 7037 fi |
7034 | 7038 |
7035 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` | 7039 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` |
7036 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 | 7040 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 |
7037 echo "configure:7038: checking for X11/Intrinsic.h" >&5 | 7041 echo "configure:7042: checking for X11/Intrinsic.h" >&5 |
7038 | 7042 |
7039 cat > conftest.$ac_ext <<EOF | 7043 cat > conftest.$ac_ext <<EOF |
7040 #line 7041 "configure" | 7044 #line 7045 "configure" |
7041 #include "confdefs.h" | 7045 #include "confdefs.h" |
7042 #include <X11/Intrinsic.h> | 7046 #include <X11/Intrinsic.h> |
7043 EOF | 7047 EOF |
7044 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7048 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7045 { (eval echo configure:7046: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7049 { (eval echo configure:7050: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7046 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7050 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7047 if test -z "$ac_err"; then | 7051 if test -z "$ac_err"; then |
7048 rm -rf conftest* | 7052 rm -rf conftest* |
7049 eval "ac_cv_header_$ac_safe=yes" | 7053 eval "ac_cv_header_$ac_safe=yes" |
7050 else | 7054 else |
7064 fi | 7068 fi |
7065 | 7069 |
7066 | 7070 |
7067 | 7071 |
7068 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 | 7072 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 |
7069 echo "configure:7070: checking for XOpenDisplay in -lX11" >&5 | 7073 echo "configure:7074: checking for XOpenDisplay in -lX11" >&5 |
7070 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` | 7074 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` |
7071 | 7075 |
7072 xe_check_libs=" -lX11 " | 7076 xe_check_libs=" -lX11 " |
7073 cat > conftest.$ac_ext <<EOF | 7077 cat > conftest.$ac_ext <<EOF |
7074 #line 7075 "configure" | 7078 #line 7079 "configure" |
7075 #include "confdefs.h" | 7079 #include "confdefs.h" |
7076 /* Override any gcc2 internal prototype to avoid an error. */ | 7080 /* Override any gcc2 internal prototype to avoid an error. */ |
7077 /* We use char because int might match the return type of a gcc2 | 7081 /* We use char because int might match the return type of a gcc2 |
7078 builtin and then its argument prototype would still apply. */ | 7082 builtin and then its argument prototype would still apply. */ |
7079 char XOpenDisplay(); | 7083 char XOpenDisplay(); |
7080 | 7084 |
7081 int main() { | 7085 int main() { |
7082 XOpenDisplay() | 7086 XOpenDisplay() |
7083 ; return 0; } | 7087 ; return 0; } |
7084 EOF | 7088 EOF |
7085 if { (eval echo configure:7086: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7089 if { (eval echo configure:7090: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7086 rm -rf conftest* | 7090 rm -rf conftest* |
7087 eval "ac_cv_lib_$ac_lib_var=yes" | 7091 eval "ac_cv_lib_$ac_lib_var=yes" |
7088 else | 7092 else |
7089 echo "configure: failed program was:" >&5 | 7093 echo "configure: failed program was:" >&5 |
7090 cat conftest.$ac_ext >&5 | 7094 cat conftest.$ac_ext >&5 |
7105 if test "$have_lib_x11" != "yes"; then | 7109 if test "$have_lib_x11" != "yes"; then |
7106 | 7110 |
7107 xe_msg_checking="for XGetFontProperty in -lX11" | 7111 xe_msg_checking="for XGetFontProperty in -lX11" |
7108 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" | 7112 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" |
7109 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 7113 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
7110 echo "configure:7111: checking "$xe_msg_checking"" >&5 | 7114 echo "configure:7115: checking "$xe_msg_checking"" >&5 |
7111 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` | 7115 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` |
7112 | 7116 |
7113 xe_check_libs=" -lX11 -b i486-linuxaout" | 7117 xe_check_libs=" -lX11 -b i486-linuxaout" |
7114 cat > conftest.$ac_ext <<EOF | 7118 cat > conftest.$ac_ext <<EOF |
7115 #line 7116 "configure" | 7119 #line 7120 "configure" |
7116 #include "confdefs.h" | 7120 #include "confdefs.h" |
7117 /* Override any gcc2 internal prototype to avoid an error. */ | 7121 /* Override any gcc2 internal prototype to avoid an error. */ |
7118 /* We use char because int might match the return type of a gcc2 | 7122 /* We use char because int might match the return type of a gcc2 |
7119 builtin and then its argument prototype would still apply. */ | 7123 builtin and then its argument prototype would still apply. */ |
7120 char XGetFontProperty(); | 7124 char XGetFontProperty(); |
7121 | 7125 |
7122 int main() { | 7126 int main() { |
7123 XGetFontProperty() | 7127 XGetFontProperty() |
7124 ; return 0; } | 7128 ; return 0; } |
7125 EOF | 7129 EOF |
7126 if { (eval echo configure:7127: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7130 if { (eval echo configure:7131: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7127 rm -rf conftest* | 7131 rm -rf conftest* |
7128 eval "ac_cv_lib_$ac_lib_var=yes" | 7132 eval "ac_cv_lib_$ac_lib_var=yes" |
7129 else | 7133 else |
7130 echo "configure: failed program was:" >&5 | 7134 echo "configure: failed program was:" >&5 |
7131 cat conftest.$ac_ext >&5 | 7135 cat conftest.$ac_ext >&5 |
7148 libs_x="-lX11" | 7152 libs_x="-lX11" |
7149 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" | 7153 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" |
7150 | 7154 |
7151 | 7155 |
7152 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 | 7156 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 |
7153 echo "configure:7154: checking for XShapeSelectInput in -lXext" >&5 | 7157 echo "configure:7158: checking for XShapeSelectInput in -lXext" >&5 |
7154 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` | 7158 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` |
7155 | 7159 |
7156 xe_check_libs=" -lXext " | 7160 xe_check_libs=" -lXext " |
7157 cat > conftest.$ac_ext <<EOF | 7161 cat > conftest.$ac_ext <<EOF |
7158 #line 7159 "configure" | 7162 #line 7163 "configure" |
7159 #include "confdefs.h" | 7163 #include "confdefs.h" |
7160 /* Override any gcc2 internal prototype to avoid an error. */ | 7164 /* Override any gcc2 internal prototype to avoid an error. */ |
7161 /* We use char because int might match the return type of a gcc2 | 7165 /* We use char because int might match the return type of a gcc2 |
7162 builtin and then its argument prototype would still apply. */ | 7166 builtin and then its argument prototype would still apply. */ |
7163 char XShapeSelectInput(); | 7167 char XShapeSelectInput(); |
7164 | 7168 |
7165 int main() { | 7169 int main() { |
7166 XShapeSelectInput() | 7170 XShapeSelectInput() |
7167 ; return 0; } | 7171 ; return 0; } |
7168 EOF | 7172 EOF |
7169 if { (eval echo configure:7170: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7173 if { (eval echo configure:7174: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7170 rm -rf conftest* | 7174 rm -rf conftest* |
7171 eval "ac_cv_lib_$ac_lib_var=yes" | 7175 eval "ac_cv_lib_$ac_lib_var=yes" |
7172 else | 7176 else |
7173 echo "configure: failed program was:" >&5 | 7177 echo "configure: failed program was:" >&5 |
7174 cat conftest.$ac_ext >&5 | 7178 cat conftest.$ac_ext >&5 |
7187 | 7191 |
7188 | 7192 |
7189 | 7193 |
7190 | 7194 |
7191 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 | 7195 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 |
7192 echo "configure:7193: checking for XtOpenDisplay in -lXt" >&5 | 7196 echo "configure:7197: checking for XtOpenDisplay in -lXt" >&5 |
7193 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` | 7197 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` |
7194 | 7198 |
7195 xe_check_libs=" -lXt " | 7199 xe_check_libs=" -lXt " |
7196 cat > conftest.$ac_ext <<EOF | 7200 cat > conftest.$ac_ext <<EOF |
7197 #line 7198 "configure" | 7201 #line 7202 "configure" |
7198 #include "confdefs.h" | 7202 #include "confdefs.h" |
7199 /* Override any gcc2 internal prototype to avoid an error. */ | 7203 /* Override any gcc2 internal prototype to avoid an error. */ |
7200 /* We use char because int might match the return type of a gcc2 | 7204 /* We use char because int might match the return type of a gcc2 |
7201 builtin and then its argument prototype would still apply. */ | 7205 builtin and then its argument prototype would still apply. */ |
7202 char XtOpenDisplay(); | 7206 char XtOpenDisplay(); |
7203 | 7207 |
7204 int main() { | 7208 int main() { |
7205 XtOpenDisplay() | 7209 XtOpenDisplay() |
7206 ; return 0; } | 7210 ; return 0; } |
7207 EOF | 7211 EOF |
7208 if { (eval echo configure:7209: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7212 if { (eval echo configure:7213: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7209 rm -rf conftest* | 7213 rm -rf conftest* |
7210 eval "ac_cv_lib_$ac_lib_var=yes" | 7214 eval "ac_cv_lib_$ac_lib_var=yes" |
7211 else | 7215 else |
7212 echo "configure: failed program was:" >&5 | 7216 echo "configure: failed program was:" >&5 |
7213 cat conftest.$ac_ext >&5 | 7217 cat conftest.$ac_ext >&5 |
7226 fi | 7230 fi |
7227 | 7231 |
7228 | 7232 |
7229 | 7233 |
7230 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 | 7234 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 |
7231 echo "configure:7232: checking the version of X11 being used" >&5 | 7235 echo "configure:7236: checking the version of X11 being used" >&5 |
7232 cat > conftest.$ac_ext <<EOF | 7236 cat > conftest.$ac_ext <<EOF |
7233 #line 7234 "configure" | 7237 #line 7238 "configure" |
7234 #include "confdefs.h" | 7238 #include "confdefs.h" |
7235 #include <X11/Intrinsic.h> | 7239 #include <X11/Intrinsic.h> |
7236 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } | 7240 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } |
7237 EOF | 7241 EOF |
7238 if { (eval echo configure:7239: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 7242 if { (eval echo configure:7243: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
7239 then | 7243 then |
7240 ./conftest foobar; x11_release=$? | 7244 ./conftest foobar; x11_release=$? |
7241 else | 7245 else |
7242 conftest_rc="$?" | 7246 conftest_rc="$?" |
7243 echo "configure: failed program was:" >&5 | 7247 echo "configure: failed program was:" >&5 |
7261 "" | "no") with_widgets=no ;; | 7265 "" | "no") with_widgets=no ;; |
7262 *) { echo "Error:" "Widget support requires X11R5 or greater" >&2; exit 1; } ;; | 7266 *) { echo "Error:" "Widget support requires X11R5 or greater" >&2; exit 1; } ;; |
7263 esac | 7267 esac |
7264 fi | 7268 fi |
7265 | 7269 |
7266 for ac_func in XConvertCase | 7270 for ac_func in XConvertCase XtRegisterDrawable |
7267 do | 7271 do |
7268 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7272 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
7269 echo "configure:7270: checking for $ac_func" >&5 | 7273 echo "configure:7274: checking for $ac_func" >&5 |
7270 | 7274 |
7271 cat > conftest.$ac_ext <<EOF | 7275 cat > conftest.$ac_ext <<EOF |
7272 #line 7273 "configure" | 7276 #line 7277 "configure" |
7273 #include "confdefs.h" | 7277 #include "confdefs.h" |
7274 /* System header to define __stub macros and hopefully few prototypes, | 7278 /* System header to define __stub macros and hopefully few prototypes, |
7275 which can conflict with char $ac_func(); below. */ | 7279 which can conflict with char $ac_func(); below. */ |
7276 #include <assert.h> | 7280 #include <assert.h> |
7277 /* Override any gcc2 internal prototype to avoid an error. */ | 7281 /* Override any gcc2 internal prototype to avoid an error. */ |
7290 $ac_func(); | 7294 $ac_func(); |
7291 #endif | 7295 #endif |
7292 | 7296 |
7293 ; return 0; } | 7297 ; return 0; } |
7294 EOF | 7298 EOF |
7295 if { (eval echo configure:7296: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7299 if { (eval echo configure:7300: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7296 rm -rf conftest* | 7300 rm -rf conftest* |
7297 eval "ac_cv_func_$ac_func=yes" | 7301 eval "ac_cv_func_$ac_func=yes" |
7298 else | 7302 else |
7299 echo "configure: failed program was:" >&5 | 7303 echo "configure: failed program was:" >&5 |
7300 cat conftest.$ac_ext >&5 | 7304 cat conftest.$ac_ext >&5 |
7322 | 7326 |
7323 for ac_hdr in X11/Xlocale.h | 7327 for ac_hdr in X11/Xlocale.h |
7324 do | 7328 do |
7325 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 7329 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
7326 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 7330 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
7327 echo "configure:7328: checking for $ac_hdr" >&5 | 7331 echo "configure:7332: checking for $ac_hdr" >&5 |
7328 | 7332 |
7329 cat > conftest.$ac_ext <<EOF | 7333 cat > conftest.$ac_ext <<EOF |
7330 #line 7331 "configure" | 7334 #line 7335 "configure" |
7331 #include "confdefs.h" | 7335 #include "confdefs.h" |
7332 #include <$ac_hdr> | 7336 #include <$ac_hdr> |
7333 EOF | 7337 EOF |
7334 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7338 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7335 { (eval echo configure:7336: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7339 { (eval echo configure:7340: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7336 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7340 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7337 if test -z "$ac_err"; then | 7341 if test -z "$ac_err"; then |
7338 rm -rf conftest* | 7342 rm -rf conftest* |
7339 eval "ac_cv_header_$ac_safe=yes" | 7343 eval "ac_cv_header_$ac_safe=yes" |
7340 else | 7344 else |
7363 | 7367 |
7364 | 7368 |
7365 for ac_func in XRegisterIMInstantiateCallback | 7369 for ac_func in XRegisterIMInstantiateCallback |
7366 do | 7370 do |
7367 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7371 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
7368 echo "configure:7369: checking for $ac_func" >&5 | 7372 echo "configure:7373: checking for $ac_func" >&5 |
7369 | 7373 |
7370 cat > conftest.$ac_ext <<EOF | 7374 cat > conftest.$ac_ext <<EOF |
7371 #line 7372 "configure" | 7375 #line 7376 "configure" |
7372 #include "confdefs.h" | 7376 #include "confdefs.h" |
7373 /* System header to define __stub macros and hopefully few prototypes, | 7377 /* System header to define __stub macros and hopefully few prototypes, |
7374 which can conflict with char $ac_func(); below. */ | 7378 which can conflict with char $ac_func(); below. */ |
7375 #include <assert.h> | 7379 #include <assert.h> |
7376 /* Override any gcc2 internal prototype to avoid an error. */ | 7380 /* Override any gcc2 internal prototype to avoid an error. */ |
7389 $ac_func(); | 7393 $ac_func(); |
7390 #endif | 7394 #endif |
7391 | 7395 |
7392 ; return 0; } | 7396 ; return 0; } |
7393 EOF | 7397 EOF |
7394 if { (eval echo configure:7395: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7398 if { (eval echo configure:7399: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7395 rm -rf conftest* | 7399 rm -rf conftest* |
7396 eval "ac_cv_func_$ac_func=yes" | 7400 eval "ac_cv_func_$ac_func=yes" |
7397 else | 7401 else |
7398 echo "configure: failed program was:" >&5 | 7402 echo "configure: failed program was:" >&5 |
7399 cat conftest.$ac_ext >&5 | 7403 cat conftest.$ac_ext >&5 |
7417 echo "$ac_t""no" 1>&6 | 7421 echo "$ac_t""no" 1>&6 |
7418 fi | 7422 fi |
7419 done | 7423 done |
7420 | 7424 |
7421 echo $ac_n "checking for standard XRegisterIMInstantiateCallback prototype""... $ac_c" 1>&6 | 7425 echo $ac_n "checking for standard XRegisterIMInstantiateCallback prototype""... $ac_c" 1>&6 |
7422 echo "configure:7423: checking for standard XRegisterIMInstantiateCallback prototype" >&5 | 7426 echo "configure:7427: checking for standard XRegisterIMInstantiateCallback prototype" >&5 |
7423 cat > conftest.$ac_ext <<EOF | 7427 cat > conftest.$ac_ext <<EOF |
7424 #line 7425 "configure" | 7428 #line 7429 "configure" |
7425 #include "confdefs.h" | 7429 #include "confdefs.h" |
7426 | 7430 |
7427 #define NeedFunctionPrototypes 1 | 7431 #define NeedFunctionPrototypes 1 |
7428 #include <X11/Xlib.h> | 7432 #include <X11/Xlib.h> |
7429 extern Bool XRegisterIMInstantiateCallback( | 7433 extern Bool XRegisterIMInstantiateCallback( |
7431 | 7435 |
7432 int main() { | 7436 int main() { |
7433 | 7437 |
7434 ; return 0; } | 7438 ; return 0; } |
7435 EOF | 7439 EOF |
7436 if { (eval echo configure:7437: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 7440 if { (eval echo configure:7441: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
7437 rm -rf conftest* | 7441 rm -rf conftest* |
7438 echo "$ac_t""yes" 1>&6 | 7442 echo "$ac_t""yes" 1>&6 |
7439 else | 7443 else |
7440 echo "configure: failed program was:" >&5 | 7444 echo "configure: failed program was:" >&5 |
7441 cat conftest.$ac_ext >&5 | 7445 cat conftest.$ac_ext >&5 |
7452 fi | 7456 fi |
7453 rm -f conftest* | 7457 rm -f conftest* |
7454 | 7458 |
7455 test -z "$with_xmu" && { | 7459 test -z "$with_xmu" && { |
7456 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 | 7460 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 |
7457 echo "configure:7458: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 | 7461 echo "configure:7462: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 |
7458 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` | 7462 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` |
7459 | 7463 |
7460 xe_check_libs=" -lXmu " | 7464 xe_check_libs=" -lXmu " |
7461 cat > conftest.$ac_ext <<EOF | 7465 cat > conftest.$ac_ext <<EOF |
7462 #line 7463 "configure" | 7466 #line 7467 "configure" |
7463 #include "confdefs.h" | 7467 #include "confdefs.h" |
7464 /* Override any gcc2 internal prototype to avoid an error. */ | 7468 /* Override any gcc2 internal prototype to avoid an error. */ |
7465 /* We use char because int might match the return type of a gcc2 | 7469 /* We use char because int might match the return type of a gcc2 |
7466 builtin and then its argument prototype would still apply. */ | 7470 builtin and then its argument prototype would still apply. */ |
7467 char XmuReadBitmapDataFromFile(); | 7471 char XmuReadBitmapDataFromFile(); |
7468 | 7472 |
7469 int main() { | 7473 int main() { |
7470 XmuReadBitmapDataFromFile() | 7474 XmuReadBitmapDataFromFile() |
7471 ; return 0; } | 7475 ; return 0; } |
7472 EOF | 7476 EOF |
7473 if { (eval echo configure:7474: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7477 if { (eval echo configure:7478: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7474 rm -rf conftest* | 7478 rm -rf conftest* |
7475 eval "ac_cv_lib_$ac_lib_var=yes" | 7479 eval "ac_cv_lib_$ac_lib_var=yes" |
7476 else | 7480 else |
7477 echo "configure: failed program was:" >&5 | 7481 echo "configure: failed program was:" >&5 |
7478 cat conftest.$ac_ext >&5 | 7482 cat conftest.$ac_ext >&5 |
7507 | 7511 |
7508 fi | 7512 fi |
7509 | 7513 |
7510 | 7514 |
7511 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 | 7515 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 |
7512 echo "configure:7513: checking for main in -lXbsd" >&5 | 7516 echo "configure:7517: checking for main in -lXbsd" >&5 |
7513 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` | 7517 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` |
7514 | 7518 |
7515 xe_check_libs=" -lXbsd " | 7519 xe_check_libs=" -lXbsd " |
7516 cat > conftest.$ac_ext <<EOF | 7520 cat > conftest.$ac_ext <<EOF |
7517 #line 7518 "configure" | 7521 #line 7522 "configure" |
7518 #include "confdefs.h" | 7522 #include "confdefs.h" |
7519 | 7523 |
7520 int main() { | 7524 int main() { |
7521 main() | 7525 main() |
7522 ; return 0; } | 7526 ; return 0; } |
7523 EOF | 7527 EOF |
7524 if { (eval echo configure:7525: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7528 if { (eval echo configure:7529: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7525 rm -rf conftest* | 7529 rm -rf conftest* |
7526 eval "ac_cv_lib_$ac_lib_var=yes" | 7530 eval "ac_cv_lib_$ac_lib_var=yes" |
7527 else | 7531 else |
7528 echo "configure: failed program was:" >&5 | 7532 echo "configure: failed program was:" >&5 |
7529 cat conftest.$ac_ext >&5 | 7533 cat conftest.$ac_ext >&5 |
7556 fi | 7560 fi |
7557 | 7561 |
7558 fi | 7562 fi |
7559 if test "$with_msw" != "no"; then | 7563 if test "$with_msw" != "no"; then |
7560 echo "checking for MS-Windows" 1>&6 | 7564 echo "checking for MS-Windows" 1>&6 |
7561 echo "configure:7562: checking for MS-Windows" >&5 | 7565 echo "configure:7566: checking for MS-Windows" >&5 |
7562 | 7566 |
7563 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 | 7567 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 |
7564 echo "configure:7565: checking for main in -lgdi32" >&5 | 7568 echo "configure:7569: checking for main in -lgdi32" >&5 |
7565 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` | 7569 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` |
7566 | 7570 |
7567 xe_check_libs=" -lgdi32 " | 7571 xe_check_libs=" -lgdi32 " |
7568 cat > conftest.$ac_ext <<EOF | 7572 cat > conftest.$ac_ext <<EOF |
7569 #line 7570 "configure" | 7573 #line 7574 "configure" |
7570 #include "confdefs.h" | 7574 #include "confdefs.h" |
7571 | 7575 |
7572 int main() { | 7576 int main() { |
7573 main() | 7577 main() |
7574 ; return 0; } | 7578 ; return 0; } |
7575 EOF | 7579 EOF |
7576 if { (eval echo configure:7577: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7580 if { (eval echo configure:7581: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7577 rm -rf conftest* | 7581 rm -rf conftest* |
7578 eval "ac_cv_lib_$ac_lib_var=yes" | 7582 eval "ac_cv_lib_$ac_lib_var=yes" |
7579 else | 7583 else |
7580 echo "configure: failed program was:" >&5 | 7584 echo "configure: failed program was:" >&5 |
7581 cat conftest.$ac_ext >&5 | 7585 cat conftest.$ac_ext >&5 |
7622 test "$with_toolbars" != "no" && with_toolbars=msw | 7626 test "$with_toolbars" != "no" && with_toolbars=msw |
7623 test "$with_dialogs" != "no" && with_dialogs=msw | 7627 test "$with_dialogs" != "no" && with_dialogs=msw |
7624 test "$with_widgets" != "no" && with_widgets=msw | 7628 test "$with_widgets" != "no" && with_widgets=msw |
7625 fi | 7629 fi |
7626 cat > conftest.$ac_ext <<EOF | 7630 cat > conftest.$ac_ext <<EOF |
7627 #line 7628 "configure" | 7631 #line 7632 "configure" |
7628 #include "confdefs.h" | 7632 #include "confdefs.h" |
7629 #include <fcntl.h> | 7633 #include <fcntl.h> |
7630 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } | 7634 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } |
7631 EOF | 7635 EOF |
7632 if { (eval echo configure:7633: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 7636 if { (eval echo configure:7637: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
7633 then | 7637 then |
7634 { test "$extra_verbose" = "yes" && cat << \EOF | 7638 { test "$extra_verbose" = "yes" && cat << \EOF |
7635 Defining HAVE_MSG_SELECT | 7639 Defining HAVE_MSG_SELECT |
7636 EOF | 7640 EOF |
7637 cat >> confdefs.h <<\EOF | 7641 cat >> confdefs.h <<\EOF |
7688 fi | 7692 fi |
7689 | 7693 |
7690 if test "$with_x11" = "yes"; then | 7694 if test "$with_x11" = "yes"; then |
7691 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'` | 7695 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'` |
7692 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6 | 7696 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6 |
7693 echo "configure:7694: checking for X11/extensions/shape.h" >&5 | 7697 echo "configure:7698: checking for X11/extensions/shape.h" >&5 |
7694 | 7698 |
7695 cat > conftest.$ac_ext <<EOF | 7699 cat > conftest.$ac_ext <<EOF |
7696 #line 7697 "configure" | 7700 #line 7701 "configure" |
7697 #include "confdefs.h" | 7701 #include "confdefs.h" |
7698 #include <X11/extensions/shape.h> | 7702 #include <X11/extensions/shape.h> |
7699 EOF | 7703 EOF |
7700 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7704 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7701 { (eval echo configure:7702: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7705 { (eval echo configure:7706: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7702 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7706 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7703 if test -z "$ac_err"; then | 7707 if test -z "$ac_err"; then |
7704 rm -rf conftest* | 7708 rm -rf conftest* |
7705 eval "ac_cv_header_$ac_safe=yes" | 7709 eval "ac_cv_header_$ac_safe=yes" |
7706 else | 7710 else |
7746 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" | 7750 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" |
7747 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" | 7751 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" |
7748 esac | 7752 esac |
7749 | 7753 |
7750 echo "checking for WM_COMMAND option" 1>&6 | 7754 echo "checking for WM_COMMAND option" 1>&6 |
7751 echo "configure:7752: checking for WM_COMMAND option" >&5; | 7755 echo "configure:7756: checking for WM_COMMAND option" >&5; |
7752 if test "$with_wmcommand" != "no"; then | 7756 if test "$with_wmcommand" != "no"; then |
7753 { test "$extra_verbose" = "yes" && cat << \EOF | 7757 { test "$extra_verbose" = "yes" && cat << \EOF |
7754 Defining HAVE_WMCOMMAND | 7758 Defining HAVE_WMCOMMAND |
7755 EOF | 7759 EOF |
7756 cat >> confdefs.h <<\EOF | 7760 cat >> confdefs.h <<\EOF |
7761 fi | 7765 fi |
7762 | 7766 |
7763 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no | 7767 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no |
7764 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` | 7768 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` |
7765 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 | 7769 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 |
7766 echo "configure:7767: checking for X11/Xauth.h" >&5 | 7770 echo "configure:7771: checking for X11/Xauth.h" >&5 |
7767 | 7771 |
7768 cat > conftest.$ac_ext <<EOF | 7772 cat > conftest.$ac_ext <<EOF |
7769 #line 7770 "configure" | 7773 #line 7774 "configure" |
7770 #include "confdefs.h" | 7774 #include "confdefs.h" |
7771 #include <X11/Xauth.h> | 7775 #include <X11/Xauth.h> |
7772 EOF | 7776 EOF |
7773 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7777 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7774 { (eval echo configure:7775: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7778 { (eval echo configure:7779: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7775 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7779 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7776 if test -z "$ac_err"; then | 7780 if test -z "$ac_err"; then |
7777 rm -rf conftest* | 7781 rm -rf conftest* |
7778 eval "ac_cv_header_$ac_safe=yes" | 7782 eval "ac_cv_header_$ac_safe=yes" |
7779 else | 7783 else |
7792 with_xauth=no | 7796 with_xauth=no |
7793 fi | 7797 fi |
7794 } | 7798 } |
7795 test -z "$with_xauth" && { | 7799 test -z "$with_xauth" && { |
7796 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 | 7800 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 |
7797 echo "configure:7798: checking for XauGetAuthByAddr in -lXau" >&5 | 7801 echo "configure:7802: checking for XauGetAuthByAddr in -lXau" >&5 |
7798 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` | 7802 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` |
7799 | 7803 |
7800 xe_check_libs=" -lXau " | 7804 xe_check_libs=" -lXau " |
7801 cat > conftest.$ac_ext <<EOF | 7805 cat > conftest.$ac_ext <<EOF |
7802 #line 7803 "configure" | 7806 #line 7807 "configure" |
7803 #include "confdefs.h" | 7807 #include "confdefs.h" |
7804 /* Override any gcc2 internal prototype to avoid an error. */ | 7808 /* Override any gcc2 internal prototype to avoid an error. */ |
7805 /* We use char because int might match the return type of a gcc2 | 7809 /* We use char because int might match the return type of a gcc2 |
7806 builtin and then its argument prototype would still apply. */ | 7810 builtin and then its argument prototype would still apply. */ |
7807 char XauGetAuthByAddr(); | 7811 char XauGetAuthByAddr(); |
7808 | 7812 |
7809 int main() { | 7813 int main() { |
7810 XauGetAuthByAddr() | 7814 XauGetAuthByAddr() |
7811 ; return 0; } | 7815 ; return 0; } |
7812 EOF | 7816 EOF |
7813 if { (eval echo configure:7814: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7817 if { (eval echo configure:7818: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7814 rm -rf conftest* | 7818 rm -rf conftest* |
7815 eval "ac_cv_lib_$ac_lib_var=yes" | 7819 eval "ac_cv_lib_$ac_lib_var=yes" |
7816 else | 7820 else |
7817 echo "configure: failed program was:" >&5 | 7821 echo "configure: failed program was:" >&5 |
7818 cat conftest.$ac_ext >&5 | 7822 cat conftest.$ac_ext >&5 |
7859 fi | 7863 fi |
7860 | 7864 |
7861 | 7865 |
7862 if test "$with_modules" != "no"; then | 7866 if test "$with_modules" != "no"; then |
7863 echo "checking for module support" 1>&6 | 7867 echo "checking for module support" 1>&6 |
7864 echo "configure:7865: checking for module support" >&5 | 7868 echo "configure:7869: checking for module support" >&5 |
7865 | 7869 |
7866 case "$opsys" in | 7870 case "$opsys" in |
7867 mingw* | cygwin* ) have_dl=yes ;; | 7871 mingw* | cygwin* ) have_dl=yes ;; |
7868 darwin ) have_dl=yes | 7872 darwin ) have_dl=yes |
7869 { test "$extra_verbose" = "yes" && cat << \EOF | 7873 { test "$extra_verbose" = "yes" && cat << \EOF |
7876 | 7880 |
7877 ;; | 7881 ;; |
7878 * ) | 7882 * ) |
7879 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` | 7883 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` |
7880 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 | 7884 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 |
7881 echo "configure:7882: checking for dlfcn.h" >&5 | 7885 echo "configure:7886: checking for dlfcn.h" >&5 |
7882 | 7886 |
7883 cat > conftest.$ac_ext <<EOF | 7887 cat > conftest.$ac_ext <<EOF |
7884 #line 7885 "configure" | 7888 #line 7889 "configure" |
7885 #include "confdefs.h" | 7889 #include "confdefs.h" |
7886 #include <dlfcn.h> | 7890 #include <dlfcn.h> |
7887 EOF | 7891 EOF |
7888 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7892 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7889 { (eval echo configure:7890: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7893 { (eval echo configure:7894: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7890 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7894 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7891 if test -z "$ac_err"; then | 7895 if test -z "$ac_err"; then |
7892 rm -rf conftest* | 7896 rm -rf conftest* |
7893 eval "ac_cv_header_$ac_safe=yes" | 7897 eval "ac_cv_header_$ac_safe=yes" |
7894 else | 7898 else |
7901 rm -f conftest* | 7905 rm -f conftest* |
7902 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 7906 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
7903 echo "$ac_t""yes" 1>&6 | 7907 echo "$ac_t""yes" 1>&6 |
7904 | 7908 |
7905 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 | 7909 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 |
7906 echo "configure:7907: checking for dlopen in -lc" >&5 | 7910 echo "configure:7911: checking for dlopen in -lc" >&5 |
7907 cat > conftest.$ac_ext <<EOF | 7911 cat > conftest.$ac_ext <<EOF |
7908 #line 7909 "configure" | 7912 #line 7913 "configure" |
7909 #include "confdefs.h" | 7913 #include "confdefs.h" |
7910 #include <dlfcn.h> | 7914 #include <dlfcn.h> |
7911 int main() { | 7915 int main() { |
7912 dlopen ("", 0); | 7916 dlopen ("", 0); |
7913 ; return 0; } | 7917 ; return 0; } |
7914 EOF | 7918 EOF |
7915 if { (eval echo configure:7916: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7919 if { (eval echo configure:7920: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7916 rm -rf conftest* | 7920 rm -rf conftest* |
7917 have_dl=yes | 7921 have_dl=yes |
7918 else | 7922 else |
7919 echo "configure: failed program was:" >&5 | 7923 echo "configure: failed program was:" >&5 |
7920 cat conftest.$ac_ext >&5 | 7924 cat conftest.$ac_ext >&5 |
7921 rm -rf conftest* | 7925 rm -rf conftest* |
7922 | 7926 |
7923 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 | 7927 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
7924 echo "configure:7925: checking for dlopen in -ldl" >&5 | 7928 echo "configure:7929: checking for dlopen in -ldl" >&5 |
7925 ac_save_LIBS="$LIBS" | 7929 ac_save_LIBS="$LIBS" |
7926 LIBS="$LIBS -ldl" | 7930 LIBS="$LIBS -ldl" |
7927 cat > conftest.$ac_ext <<EOF | 7931 cat > conftest.$ac_ext <<EOF |
7928 #line 7929 "configure" | 7932 #line 7933 "configure" |
7929 #include "confdefs.h" | 7933 #include "confdefs.h" |
7930 #include <dlfcn.h> | 7934 #include <dlfcn.h> |
7931 int main() { | 7935 int main() { |
7932 dlopen ("", 0); | 7936 dlopen ("", 0); |
7933 ; return 0; } | 7937 ; return 0; } |
7934 EOF | 7938 EOF |
7935 if { (eval echo configure:7936: \"$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 |
7936 rm -rf conftest* | 7940 rm -rf conftest* |
7937 have_dl=yes | 7941 have_dl=yes |
7938 else | 7942 else |
7939 echo "configure: failed program was:" >&5 | 7943 echo "configure: failed program was:" >&5 |
7940 cat conftest.$ac_ext >&5 | 7944 cat conftest.$ac_ext >&5 |
7941 rm -rf conftest* | 7945 rm -rf conftest* |
7942 | 7946 |
7943 echo $ac_n "checking for dlopen in -lsvld""... $ac_c" 1>&6 | 7947 echo $ac_n "checking for dlopen in -lsvld""... $ac_c" 1>&6 |
7944 echo "configure:7945: checking for dlopen in -lsvld" >&5 | 7948 echo "configure:7949: checking for dlopen in -lsvld" >&5 |
7945 LIBS="$ac_save_LIBS -lsvld" | 7949 LIBS="$ac_save_LIBS -lsvld" |
7946 cat > conftest.$ac_ext <<EOF | 7950 cat > conftest.$ac_ext <<EOF |
7947 #line 7948 "configure" | 7951 #line 7952 "configure" |
7948 #include "confdefs.h" | 7952 #include "confdefs.h" |
7949 #include <dlfcn.h> | 7953 #include <dlfcn.h> |
7950 int main() { | 7954 int main() { |
7951 dlopen ("", 0); | 7955 dlopen ("", 0); |
7952 ; return 0; } | 7956 ; return 0; } |
7953 EOF | 7957 EOF |
7954 if { (eval echo configure:7955: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7958 if { (eval echo configure:7959: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7955 rm -rf conftest* | 7959 rm -rf conftest* |
7956 have_dl=yes | 7960 have_dl=yes |
7957 else | 7961 else |
7958 echo "configure: failed program was:" >&5 | 7962 echo "configure: failed program was:" >&5 |
7959 cat conftest.$ac_ext >&5 | 7963 cat conftest.$ac_ext >&5 |
7979 } | 7983 } |
7980 | 7984 |
7981 else | 7985 else |
7982 ac_safe=`echo "dl.h" | sed 'y%./+-%__p_%'` | 7986 ac_safe=`echo "dl.h" | sed 'y%./+-%__p_%'` |
7983 echo $ac_n "checking for dl.h""... $ac_c" 1>&6 | 7987 echo $ac_n "checking for dl.h""... $ac_c" 1>&6 |
7984 echo "configure:7985: checking for dl.h" >&5 | 7988 echo "configure:7989: checking for dl.h" >&5 |
7985 | 7989 |
7986 cat > conftest.$ac_ext <<EOF | 7990 cat > conftest.$ac_ext <<EOF |
7987 #line 7988 "configure" | 7991 #line 7992 "configure" |
7988 #include "confdefs.h" | 7992 #include "confdefs.h" |
7989 #include <dl.h> | 7993 #include <dl.h> |
7990 EOF | 7994 EOF |
7991 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7995 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7992 { (eval echo configure:7993: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7996 { (eval echo configure:7997: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7993 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7997 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7994 if test -z "$ac_err"; then | 7998 if test -z "$ac_err"; then |
7995 rm -rf conftest* | 7999 rm -rf conftest* |
7996 eval "ac_cv_header_$ac_safe=yes" | 8000 eval "ac_cv_header_$ac_safe=yes" |
7997 else | 8001 else |
8004 rm -f conftest* | 8008 rm -f conftest* |
8005 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 8009 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
8006 echo "$ac_t""yes" 1>&6 | 8010 echo "$ac_t""yes" 1>&6 |
8007 | 8011 |
8008 echo $ac_n "checking for shl_load in -lc""... $ac_c" 1>&6 | 8012 echo $ac_n "checking for shl_load in -lc""... $ac_c" 1>&6 |
8009 echo "configure:8010: checking for shl_load in -lc" >&5 | 8013 echo "configure:8014: checking for shl_load in -lc" >&5 |
8010 cat > conftest.$ac_ext <<EOF | 8014 cat > conftest.$ac_ext <<EOF |
8011 #line 8012 "configure" | 8015 #line 8016 "configure" |
8012 #include "confdefs.h" | 8016 #include "confdefs.h" |
8013 #include <dl.h> | 8017 #include <dl.h> |
8014 int main() { | 8018 int main() { |
8015 shl_load ("", 0, 0); | 8019 shl_load ("", 0, 0); |
8016 ; return 0; } | 8020 ; return 0; } |
8017 EOF | 8021 EOF |
8018 if { (eval echo configure:8019: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8022 if { (eval echo configure:8023: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8019 rm -rf conftest* | 8023 rm -rf conftest* |
8020 have_dl=yes | 8024 have_dl=yes |
8021 else | 8025 else |
8022 echo "configure: failed program was:" >&5 | 8026 echo "configure: failed program was:" >&5 |
8023 cat conftest.$ac_ext >&5 | 8027 cat conftest.$ac_ext >&5 |
8024 rm -rf conftest* | 8028 rm -rf conftest* |
8025 | 8029 |
8026 echo $ac_n "checking for shl_load in -ldl""... $ac_c" 1>&6 | 8030 echo $ac_n "checking for shl_load in -ldl""... $ac_c" 1>&6 |
8027 echo "configure:8028: checking for shl_load in -ldl" >&5 | 8031 echo "configure:8032: checking for shl_load in -ldl" >&5 |
8028 ac_save_LIBS="$LIBS" | 8032 ac_save_LIBS="$LIBS" |
8029 LIBS="$LIBS -ldld" | 8033 LIBS="$LIBS -ldld" |
8030 cat > conftest.$ac_ext <<EOF | 8034 cat > conftest.$ac_ext <<EOF |
8031 #line 8032 "configure" | 8035 #line 8036 "configure" |
8032 #include "confdefs.h" | 8036 #include "confdefs.h" |
8033 #include <dl.h> | 8037 #include <dl.h> |
8034 int main() { | 8038 int main() { |
8035 shl_load ("", 0, 0); | 8039 shl_load ("", 0, 0); |
8036 ; return 0; } | 8040 ; return 0; } |
8037 EOF | 8041 EOF |
8038 if { (eval echo configure:8039: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8042 if { (eval echo configure:8043: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8039 rm -rf conftest* | 8043 rm -rf conftest* |
8040 have_dl=yes | 8044 have_dl=yes |
8041 else | 8045 else |
8042 echo "configure: failed program was:" >&5 | 8046 echo "configure: failed program was:" >&5 |
8043 cat conftest.$ac_ext >&5 | 8047 cat conftest.$ac_ext >&5 |
8061 } | 8065 } |
8062 | 8066 |
8063 else | 8067 else |
8064 ac_safe=`echo "ltdl.h" | sed 'y%./+-%__p_%'` | 8068 ac_safe=`echo "ltdl.h" | sed 'y%./+-%__p_%'` |
8065 echo $ac_n "checking for ltdl.h""... $ac_c" 1>&6 | 8069 echo $ac_n "checking for ltdl.h""... $ac_c" 1>&6 |
8066 echo "configure:8067: checking for ltdl.h" >&5 | 8070 echo "configure:8071: checking for ltdl.h" >&5 |
8067 | 8071 |
8068 cat > conftest.$ac_ext <<EOF | 8072 cat > conftest.$ac_ext <<EOF |
8069 #line 8070 "configure" | 8073 #line 8074 "configure" |
8070 #include "confdefs.h" | 8074 #include "confdefs.h" |
8071 #include <ltdl.h> | 8075 #include <ltdl.h> |
8072 EOF | 8076 EOF |
8073 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8077 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8074 { (eval echo configure:8075: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8078 { (eval echo configure:8079: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8075 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8079 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8076 if test -z "$ac_err"; then | 8080 if test -z "$ac_err"; then |
8077 rm -rf conftest* | 8081 rm -rf conftest* |
8078 eval "ac_cv_header_$ac_safe=yes" | 8082 eval "ac_cv_header_$ac_safe=yes" |
8079 else | 8083 else |
8086 rm -f conftest* | 8090 rm -f conftest* |
8087 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 8091 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
8088 echo "$ac_t""yes" 1>&6 | 8092 echo "$ac_t""yes" 1>&6 |
8089 | 8093 |
8090 echo $ac_n "checking for lt_dlinit in -lltdl""... $ac_c" 1>&6 | 8094 echo $ac_n "checking for lt_dlinit in -lltdl""... $ac_c" 1>&6 |
8091 echo "configure:8092: checking for lt_dlinit in -lltdl" >&5 | 8095 echo "configure:8096: checking for lt_dlinit in -lltdl" >&5 |
8092 ac_save_LIBS="$LIBS" | 8096 ac_save_LIBS="$LIBS" |
8093 LIBS="$LIBS -lltdl" | 8097 LIBS="$LIBS -lltdl" |
8094 cat > conftest.$ac_ext <<EOF | 8098 cat > conftest.$ac_ext <<EOF |
8095 #line 8096 "configure" | 8099 #line 8100 "configure" |
8096 #include "confdefs.h" | 8100 #include "confdefs.h" |
8097 #include <ltdl.h> | 8101 #include <ltdl.h> |
8098 int main() { | 8102 int main() { |
8099 lt_dlinit (); | 8103 lt_dlinit (); |
8100 ; return 0; } | 8104 ; return 0; } |
8101 EOF | 8105 EOF |
8102 if { (eval echo configure:8103: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8106 if { (eval echo configure:8107: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8103 rm -rf conftest* | 8107 rm -rf conftest* |
8104 have_dl=yes | 8108 have_dl=yes |
8105 else | 8109 else |
8106 echo "configure: failed program was:" >&5 | 8110 echo "configure: failed program was:" >&5 |
8107 cat conftest.$ac_ext >&5 | 8111 cat conftest.$ac_ext >&5 |
8138 ld_dynamic_link_flags= | 8142 ld_dynamic_link_flags= |
8139 xehost=$canonical | 8143 xehost=$canonical |
8140 xealias=$internal_configuration | 8144 xealias=$internal_configuration |
8141 | 8145 |
8142 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 | 8146 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 |
8143 echo "configure:8144: checking how to build dynamic libraries for ${xehost}" >&5 | 8147 echo "configure:8148: checking how to build dynamic libraries for ${xehost}" >&5 |
8144 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. | 8148 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. |
8145 case "$xehost" in | 8149 case "$xehost" in |
8146 *-*-linux-gnu*) ;; | 8150 *-*-linux-gnu*) ;; |
8147 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` | 8151 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` |
8148 esac | 8152 esac |
8166 # Now see if the compiler is really GCC. | 8170 # Now see if the compiler is really GCC. |
8167 if test "$GCC" = "yes"; then | 8171 if test "$GCC" = "yes"; then |
8168 XEGCC=yes | 8172 XEGCC=yes |
8169 else | 8173 else |
8170 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 | 8174 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 |
8171 echo "configure:8172: checking checking whether we are using GNU C" >&5 | 8175 echo "configure:8176: checking checking whether we are using GNU C" >&5 |
8172 cat > conftest.$ac_ext <<EOF | 8176 cat > conftest.$ac_ext <<EOF |
8173 #line 8174 "configure" | 8177 #line 8178 "configure" |
8174 #include "confdefs.h" | 8178 #include "confdefs.h" |
8175 | 8179 |
8176 #ifdef __GNUC__ | 8180 #ifdef __GNUC__ |
8177 yes; | 8181 yes; |
8178 #endif | 8182 #endif |
8190 | 8194 |
8191 echo "$ac_t""${XEGCC}" 1>&6 | 8195 echo "$ac_t""${XEGCC}" 1>&6 |
8192 fi | 8196 fi |
8193 | 8197 |
8194 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 | 8198 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 |
8195 echo "configure:8196: checking how to produce PIC code" >&5 | 8199 echo "configure:8200: checking how to produce PIC code" >&5 |
8196 wl= | 8200 wl= |
8197 | 8201 |
8198 can_build_shared=yes | 8202 can_build_shared=yes |
8199 if test "$XEGCC" = yes -o "$__ICC" = yes; then | 8203 if test "$XEGCC" = yes -o "$__ICC" = yes; then |
8200 wl='-Wl,' | 8204 wl='-Wl,' |
8294 if test -n "$dll_cflags"; then | 8298 if test -n "$dll_cflags"; then |
8295 echo "$ac_t""${dll_cflags}" 1>&6 | 8299 echo "$ac_t""${dll_cflags}" 1>&6 |
8296 | 8300 |
8297 # Check to make sure the dll_cflags actually works. | 8301 # Check to make sure the dll_cflags actually works. |
8298 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 | 8302 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 |
8299 echo "configure:8300: checking if PIC flag ${dll_cflags} really works" >&5 | 8303 echo "configure:8304: checking if PIC flag ${dll_cflags} really works" >&5 |
8300 save_CFLAGS="$CFLAGS" | 8304 save_CFLAGS="$CFLAGS" |
8301 CFLAGS="$CFLAGS $dll_cflags -DPIC" | 8305 CFLAGS="$CFLAGS $dll_cflags -DPIC" |
8302 cat > conftest.$ac_ext <<EOF | 8306 cat > conftest.$ac_ext <<EOF |
8303 #line 8304 "configure" | 8307 #line 8308 "configure" |
8304 #include "confdefs.h" | 8308 #include "confdefs.h" |
8305 | 8309 |
8306 int main() { | 8310 int main() { |
8307 int x=0; | 8311 int x=0; |
8308 ; return 0; } | 8312 ; return 0; } |
8309 EOF | 8313 EOF |
8310 if { (eval echo configure:8311: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 8314 if { (eval echo configure:8315: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
8311 rm -rf conftest* | 8315 rm -rf conftest* |
8312 | 8316 |
8313 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also | 8317 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also |
8314 # reports no error. So, we need to grep stderr for (Bundled). | 8318 # reports no error. So, we need to grep stderr for (Bundled). |
8315 if grep '(Bundled)' config.log >/dev/null; then | 8319 if grep '(Bundled)' config.log >/dev/null; then |
8336 if test "$can_build_shared" = "yes"; then | 8340 if test "$can_build_shared" = "yes"; then |
8337 cc_produces_so=no | 8341 cc_produces_so=no |
8338 xldf= | 8342 xldf= |
8339 xcldf= | 8343 xcldf= |
8340 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 | 8344 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 |
8341 echo "configure:8342: checking if C compiler can produce shared libraries" >&5 | 8345 echo "configure:8346: checking if C compiler can produce shared libraries" >&5 |
8342 if test "$XEGCC" = yes -o "$__ICC" = yes; then | 8346 if test "$XEGCC" = yes -o "$__ICC" = yes; then |
8343 case "$xehost_os" in | 8347 case "$xehost_os" in |
8344 *darwin*) | 8348 *darwin*) |
8345 xcldf='-bundle' | 8349 xcldf='-bundle' |
8346 xldf='-bundle -bundle_loader ../../src/xemacs' | 8350 xldf='-bundle -bundle_loader ../../src/xemacs' |
8395 LDFLAGS="$xcldf $LDFLAGS" | 8399 LDFLAGS="$xcldf $LDFLAGS" |
8396 LIBS= | 8400 LIBS= |
8397 xe_libs= | 8401 xe_libs= |
8398 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 8402 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
8399 cat > conftest.$ac_ext <<EOF | 8403 cat > conftest.$ac_ext <<EOF |
8400 #line 8401 "configure" | 8404 #line 8405 "configure" |
8401 #include "confdefs.h" | 8405 #include "confdefs.h" |
8402 | 8406 |
8403 int main() { | 8407 int main() { |
8404 int x=0; | 8408 int x=0; |
8405 ; return 0; } | 8409 ; return 0; } |
8406 EOF | 8410 EOF |
8407 if { (eval echo configure:8408: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8411 if { (eval echo configure:8412: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8408 rm -rf conftest* | 8412 rm -rf conftest* |
8409 cc_produces_so=yes | 8413 cc_produces_so=yes |
8410 else | 8414 else |
8411 echo "configure: failed program was:" >&5 | 8415 echo "configure: failed program was:" >&5 |
8412 cat conftest.$ac_ext >&5 | 8416 cat conftest.$ac_ext >&5 |
8427 if test -z "$LTLD"; then | 8431 if test -z "$LTLD"; then |
8428 ac_prog=ld | 8432 ac_prog=ld |
8429 if test "$XEGCC" = yes; then | 8433 if test "$XEGCC" = yes; then |
8430 # Check if gcc -print-prog-name=ld gives a path. | 8434 # Check if gcc -print-prog-name=ld gives a path. |
8431 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 | 8435 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 |
8432 echo "configure:8433: checking for ld used by GCC" >&5 | 8436 echo "configure:8437: checking for ld used by GCC" >&5 |
8433 ac_prog=`($CC -print-prog-name=ld) 2>&5` | 8437 ac_prog=`($CC -print-prog-name=ld) 2>&5` |
8434 case "$ac_prog" in | 8438 case "$ac_prog" in |
8435 # Accept absolute paths. | 8439 # Accept absolute paths. |
8436 /*) | 8440 /*) |
8437 if test -z "$LTLD"; then | 8441 if test -z "$LTLD"; then |
8453 with_gnu_ld=unknown | 8457 with_gnu_ld=unknown |
8454 ;; | 8458 ;; |
8455 esac | 8459 esac |
8456 else | 8460 else |
8457 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 | 8461 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 |
8458 echo "configure:8459: checking for GNU ld" >&5 | 8462 echo "configure:8463: checking for GNU ld" >&5 |
8459 fi | 8463 fi |
8460 | 8464 |
8461 if test -z "$LTLD"; then | 8465 if test -z "$LTLD"; then |
8462 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 8466 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
8463 for ac_dir in $PATH; do | 8467 for ac_dir in $PATH; do |
8491 | 8495 |
8492 ld_dynamic_link_flags= | 8496 ld_dynamic_link_flags= |
8493 | 8497 |
8494 # Check to see if it really is or isn't GNU ld. | 8498 # Check to see if it really is or isn't GNU ld. |
8495 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 | 8499 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 |
8496 echo "configure:8497: checking if the linker is GNU ld" >&5 | 8500 echo "configure:8501: checking if the linker is GNU ld" >&5 |
8497 # I'd rather use --version here, but apparently some GNU ld's only accept -v. | 8501 # I'd rather use --version here, but apparently some GNU ld's only accept -v. |
8498 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then | 8502 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then |
8499 xe_gnu_ld=yes | 8503 xe_gnu_ld=yes |
8500 else | 8504 else |
8501 xe_gnu_ld=no | 8505 xe_gnu_ld=no |
8526 ld_shlibs=yes | 8530 ld_shlibs=yes |
8527 else | 8531 else |
8528 # OK - only NOW do we futz about with ld. | 8532 # OK - only NOW do we futz about with ld. |
8529 # See if the linker supports building shared libraries. | 8533 # See if the linker supports building shared libraries. |
8530 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 | 8534 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 |
8531 echo "configure:8532: checking whether the linker supports shared libraries" >&5 | 8535 echo "configure:8536: checking whether the linker supports shared libraries" >&5 |
8532 dll_ld=$CC | 8536 dll_ld=$CC |
8533 dll_ldflags=$LDFLAGS | 8537 dll_ldflags=$LDFLAGS |
8534 ld_shlibs=yes | 8538 ld_shlibs=yes |
8535 can_build_shared=yes | 8539 can_build_shared=yes |
8536 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then | 8540 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then |
8739 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi | 8743 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi |
8740 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi | 8744 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi |
8741 for ac_func in dlerror _dlerror | 8745 for ac_func in dlerror _dlerror |
8742 do | 8746 do |
8743 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8747 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8744 echo "configure:8745: checking for $ac_func" >&5 | 8748 echo "configure:8749: checking for $ac_func" >&5 |
8745 | 8749 |
8746 cat > conftest.$ac_ext <<EOF | 8750 cat > conftest.$ac_ext <<EOF |
8747 #line 8748 "configure" | 8751 #line 8752 "configure" |
8748 #include "confdefs.h" | 8752 #include "confdefs.h" |
8749 /* System header to define __stub macros and hopefully few prototypes, | 8753 /* System header to define __stub macros and hopefully few prototypes, |
8750 which can conflict with char $ac_func(); below. */ | 8754 which can conflict with char $ac_func(); below. */ |
8751 #include <assert.h> | 8755 #include <assert.h> |
8752 /* Override any gcc2 internal prototype to avoid an error. */ | 8756 /* Override any gcc2 internal prototype to avoid an error. */ |
8765 $ac_func(); | 8769 $ac_func(); |
8766 #endif | 8770 #endif |
8767 | 8771 |
8768 ; return 0; } | 8772 ; return 0; } |
8769 EOF | 8773 EOF |
8770 if { (eval echo configure:8771: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8774 if { (eval echo configure:8775: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8771 rm -rf conftest* | 8775 rm -rf conftest* |
8772 eval "ac_cv_func_$ac_func=yes" | 8776 eval "ac_cv_func_$ac_func=yes" |
8773 else | 8777 else |
8774 echo "configure: failed program was:" >&5 | 8778 echo "configure: failed program was:" >&5 |
8775 cat conftest.$ac_ext >&5 | 8779 cat conftest.$ac_ext >&5 |
8829 | 8833 |
8830 if test "$with_tooltalk" != "no" ; then | 8834 if test "$with_tooltalk" != "no" ; then |
8831 for dir in "" "Tt/" "desktop/" ; do | 8835 for dir in "" "Tt/" "desktop/" ; do |
8832 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` | 8836 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` |
8833 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 | 8837 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 |
8834 echo "configure:8835: checking for ${dir}tt_c.h" >&5 | 8838 echo "configure:8839: checking for ${dir}tt_c.h" >&5 |
8835 | 8839 |
8836 cat > conftest.$ac_ext <<EOF | 8840 cat > conftest.$ac_ext <<EOF |
8837 #line 8838 "configure" | 8841 #line 8842 "configure" |
8838 #include "confdefs.h" | 8842 #include "confdefs.h" |
8839 #include <${dir}tt_c.h> | 8843 #include <${dir}tt_c.h> |
8840 EOF | 8844 EOF |
8841 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8845 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8842 { (eval echo configure:8843: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8846 { (eval echo configure:8847: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8843 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8847 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8844 if test -z "$ac_err"; then | 8848 if test -z "$ac_err"; then |
8845 rm -rf conftest* | 8849 rm -rf conftest* |
8846 eval "ac_cv_header_$ac_safe=yes" | 8850 eval "ac_cv_header_$ac_safe=yes" |
8847 else | 8851 else |
8873 for extra_libs in "" "-lI18N -lce" "-lcxx"; do | 8877 for extra_libs in "" "-lI18N -lce" "-lcxx"; do |
8874 | 8878 |
8875 xe_msg_checking="for tt_message_create in -ltt" | 8879 xe_msg_checking="for tt_message_create in -ltt" |
8876 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 8880 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
8877 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 8881 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
8878 echo "configure:8879: checking "$xe_msg_checking"" >&5 | 8882 echo "configure:8883: checking "$xe_msg_checking"" >&5 |
8879 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` | 8883 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` |
8880 | 8884 |
8881 xe_check_libs=" -ltt $extra_libs" | 8885 xe_check_libs=" -ltt $extra_libs" |
8882 cat > conftest.$ac_ext <<EOF | 8886 cat > conftest.$ac_ext <<EOF |
8883 #line 8884 "configure" | 8887 #line 8888 "configure" |
8884 #include "confdefs.h" | 8888 #include "confdefs.h" |
8885 /* Override any gcc2 internal prototype to avoid an error. */ | 8889 /* Override any gcc2 internal prototype to avoid an error. */ |
8886 /* We use char because int might match the return type of a gcc2 | 8890 /* We use char because int might match the return type of a gcc2 |
8887 builtin and then its argument prototype would still apply. */ | 8891 builtin and then its argument prototype would still apply. */ |
8888 char tt_message_create(); | 8892 char tt_message_create(); |
8889 | 8893 |
8890 int main() { | 8894 int main() { |
8891 tt_message_create() | 8895 tt_message_create() |
8892 ; return 0; } | 8896 ; return 0; } |
8893 EOF | 8897 EOF |
8894 if { (eval echo configure:8895: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8898 if { (eval echo configure:8899: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8895 rm -rf conftest* | 8899 rm -rf conftest* |
8896 eval "ac_cv_lib_$ac_lib_var=yes" | 8900 eval "ac_cv_lib_$ac_lib_var=yes" |
8897 else | 8901 else |
8898 echo "configure: failed program was:" >&5 | 8902 echo "configure: failed program was:" >&5 |
8899 cat conftest.$ac_ext >&5 | 8903 cat conftest.$ac_ext >&5 |
8943 libs_x="$tt_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$tt_libs\" to \$libs_x"; fi | 8947 libs_x="$tt_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$tt_libs\" to \$libs_x"; fi |
8944 fi | 8948 fi |
8945 | 8949 |
8946 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` | 8950 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` |
8947 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 | 8951 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 |
8948 echo "configure:8949: checking for Dt/Dt.h" >&5 | 8952 echo "configure:8953: checking for Dt/Dt.h" >&5 |
8949 | 8953 |
8950 cat > conftest.$ac_ext <<EOF | 8954 cat > conftest.$ac_ext <<EOF |
8951 #line 8952 "configure" | 8955 #line 8956 "configure" |
8952 #include "confdefs.h" | 8956 #include "confdefs.h" |
8953 #include <Dt/Dt.h> | 8957 #include <Dt/Dt.h> |
8954 EOF | 8958 EOF |
8955 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8959 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8956 { (eval echo configure:8957: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8960 { (eval echo configure:8961: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8957 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8961 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8958 if test -z "$ac_err"; then | 8962 if test -z "$ac_err"; then |
8959 rm -rf conftest* | 8963 rm -rf conftest* |
8960 eval "ac_cv_header_$ac_safe=yes" | 8964 eval "ac_cv_header_$ac_safe=yes" |
8961 else | 8965 else |
8974 with_cde=no | 8978 with_cde=no |
8975 fi | 8979 fi |
8976 } | 8980 } |
8977 test -z "$with_cde" && { | 8981 test -z "$with_cde" && { |
8978 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 | 8982 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 |
8979 echo "configure:8980: checking for DtDndDragStart in -lDtSvc" >&5 | 8983 echo "configure:8984: checking for DtDndDragStart in -lDtSvc" >&5 |
8980 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` | 8984 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` |
8981 | 8985 |
8982 xe_check_libs=" -lDtSvc " | 8986 xe_check_libs=" -lDtSvc " |
8983 cat > conftest.$ac_ext <<EOF | 8987 cat > conftest.$ac_ext <<EOF |
8984 #line 8985 "configure" | 8988 #line 8989 "configure" |
8985 #include "confdefs.h" | 8989 #include "confdefs.h" |
8986 /* Override any gcc2 internal prototype to avoid an error. */ | 8990 /* Override any gcc2 internal prototype to avoid an error. */ |
8987 /* We use char because int might match the return type of a gcc2 | 8991 /* We use char because int might match the return type of a gcc2 |
8988 builtin and then its argument prototype would still apply. */ | 8992 builtin and then its argument prototype would still apply. */ |
8989 char DtDndDragStart(); | 8993 char DtDndDragStart(); |
8990 | 8994 |
8991 int main() { | 8995 int main() { |
8992 DtDndDragStart() | 8996 DtDndDragStart() |
8993 ; return 0; } | 8997 ; return 0; } |
8994 EOF | 8998 EOF |
8995 if { (eval echo configure:8996: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8999 if { (eval echo configure:9000: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8996 rm -rf conftest* | 9000 rm -rf conftest* |
8997 eval "ac_cv_lib_$ac_lib_var=yes" | 9001 eval "ac_cv_lib_$ac_lib_var=yes" |
8998 else | 9002 else |
8999 echo "configure: failed program was:" >&5 | 9003 echo "configure: failed program was:" >&5 |
9000 cat conftest.$ac_ext >&5 | 9004 cat conftest.$ac_ext >&5 |
9071 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi | 9075 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi |
9072 fi | 9076 fi |
9073 | 9077 |
9074 if test "$with_dragndrop" != "no" ; then | 9078 if test "$with_dragndrop" != "no" ; then |
9075 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 | 9079 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 |
9076 echo "configure:9077: checking if drag and drop API is needed" >&5 | 9080 echo "configure:9081: checking if drag and drop API is needed" >&5 |
9077 if test -n "$dragndrop_proto" ; then | 9081 if test -n "$dragndrop_proto" ; then |
9078 with_dragndrop=yes | 9082 with_dragndrop=yes |
9079 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 | 9083 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 |
9080 { test "$extra_verbose" = "yes" && cat << \EOF | 9084 { test "$extra_verbose" = "yes" && cat << \EOF |
9081 Defining HAVE_DRAGNDROP | 9085 Defining HAVE_DRAGNDROP |
9091 echo "$ac_t""no" 1>&6 | 9095 echo "$ac_t""no" 1>&6 |
9092 fi | 9096 fi |
9093 fi | 9097 fi |
9094 | 9098 |
9095 echo "checking for LDAP" 1>&6 | 9099 echo "checking for LDAP" 1>&6 |
9096 echo "configure:9097: checking for LDAP" >&5 | 9100 echo "configure:9101: checking for LDAP" >&5 |
9097 ldap_libs= | 9101 ldap_libs= |
9098 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` | 9102 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` |
9099 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 | 9103 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 |
9100 echo "configure:9101: checking for ldap.h" >&5 | 9104 echo "configure:9105: checking for ldap.h" >&5 |
9101 | 9105 |
9102 cat > conftest.$ac_ext <<EOF | 9106 cat > conftest.$ac_ext <<EOF |
9103 #line 9104 "configure" | 9107 #line 9108 "configure" |
9104 #include "confdefs.h" | 9108 #include "confdefs.h" |
9105 #include <ldap.h> | 9109 #include <ldap.h> |
9106 EOF | 9110 EOF |
9107 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9111 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9108 { (eval echo configure:9109: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9112 { (eval echo configure:9113: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9109 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9113 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9110 if test -z "$ac_err"; then | 9114 if test -z "$ac_err"; then |
9111 rm -rf conftest* | 9115 rm -rf conftest* |
9112 eval "ac_cv_header_$ac_safe=yes" | 9116 eval "ac_cv_header_$ac_safe=yes" |
9113 else | 9117 else |
9126 with_ldap=no | 9130 with_ldap=no |
9127 fi | 9131 fi |
9128 } | 9132 } |
9129 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` | 9133 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` |
9130 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 | 9134 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 |
9131 echo "configure:9132: checking for lber.h" >&5 | 9135 echo "configure:9136: checking for lber.h" >&5 |
9132 | 9136 |
9133 cat > conftest.$ac_ext <<EOF | 9137 cat > conftest.$ac_ext <<EOF |
9134 #line 9135 "configure" | 9138 #line 9139 "configure" |
9135 #include "confdefs.h" | 9139 #include "confdefs.h" |
9136 #include <lber.h> | 9140 #include <lber.h> |
9137 EOF | 9141 EOF |
9138 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9142 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9139 { (eval echo configure:9140: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9143 { (eval echo configure:9144: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9140 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9144 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9141 if test -z "$ac_err"; then | 9145 if test -z "$ac_err"; then |
9142 rm -rf conftest* | 9146 rm -rf conftest* |
9143 eval "ac_cv_header_$ac_safe=yes" | 9147 eval "ac_cv_header_$ac_safe=yes" |
9144 else | 9148 else |
9158 fi | 9162 fi |
9159 } | 9163 } |
9160 if test "$with_ldap" != "no"; then | 9164 if test "$with_ldap" != "no"; then |
9161 | 9165 |
9162 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 | 9166 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 |
9163 echo "configure:9164: checking for ldap_search in -lldap" >&5 | 9167 echo "configure:9168: checking for ldap_search in -lldap" >&5 |
9164 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` | 9168 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` |
9165 | 9169 |
9166 xe_check_libs=" -lldap " | 9170 xe_check_libs=" -lldap " |
9167 cat > conftest.$ac_ext <<EOF | 9171 cat > conftest.$ac_ext <<EOF |
9168 #line 9169 "configure" | 9172 #line 9173 "configure" |
9169 #include "confdefs.h" | 9173 #include "confdefs.h" |
9170 /* Override any gcc2 internal prototype to avoid an error. */ | 9174 /* Override any gcc2 internal prototype to avoid an error. */ |
9171 /* We use char because int might match the return type of a gcc2 | 9175 /* We use char because int might match the return type of a gcc2 |
9172 builtin and then its argument prototype would still apply. */ | 9176 builtin and then its argument prototype would still apply. */ |
9173 char ldap_search(); | 9177 char ldap_search(); |
9174 | 9178 |
9175 int main() { | 9179 int main() { |
9176 ldap_search() | 9180 ldap_search() |
9177 ; return 0; } | 9181 ; return 0; } |
9178 EOF | 9182 EOF |
9179 if { (eval echo configure:9180: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9183 if { (eval echo configure:9184: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9180 rm -rf conftest* | 9184 rm -rf conftest* |
9181 eval "ac_cv_lib_$ac_lib_var=yes" | 9185 eval "ac_cv_lib_$ac_lib_var=yes" |
9182 else | 9186 else |
9183 echo "configure: failed program was:" >&5 | 9187 echo "configure: failed program was:" >&5 |
9184 cat conftest.$ac_ext >&5 | 9188 cat conftest.$ac_ext >&5 |
9198 | 9202 |
9199 test "$with_ldap" != "yes" && { | 9203 test "$with_ldap" != "yes" && { |
9200 xe_msg_checking="for ldap_open in -lldap" | 9204 xe_msg_checking="for ldap_open in -lldap" |
9201 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" | 9205 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" |
9202 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 9206 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
9203 echo "configure:9204: checking "$xe_msg_checking"" >&5 | 9207 echo "configure:9208: checking "$xe_msg_checking"" >&5 |
9204 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 9208 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
9205 | 9209 |
9206 xe_check_libs=" -lldap -llber" | 9210 xe_check_libs=" -lldap -llber" |
9207 cat > conftest.$ac_ext <<EOF | 9211 cat > conftest.$ac_ext <<EOF |
9208 #line 9209 "configure" | 9212 #line 9213 "configure" |
9209 #include "confdefs.h" | 9213 #include "confdefs.h" |
9210 /* Override any gcc2 internal prototype to avoid an error. */ | 9214 /* Override any gcc2 internal prototype to avoid an error. */ |
9211 /* We use char because int might match the return type of a gcc2 | 9215 /* We use char because int might match the return type of a gcc2 |
9212 builtin and then its argument prototype would still apply. */ | 9216 builtin and then its argument prototype would still apply. */ |
9213 char ldap_open(); | 9217 char ldap_open(); |
9214 | 9218 |
9215 int main() { | 9219 int main() { |
9216 ldap_open() | 9220 ldap_open() |
9217 ; return 0; } | 9221 ; return 0; } |
9218 EOF | 9222 EOF |
9219 if { (eval echo configure:9220: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9223 if { (eval echo configure:9224: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9220 rm -rf conftest* | 9224 rm -rf conftest* |
9221 eval "ac_cv_lib_$ac_lib_var=yes" | 9225 eval "ac_cv_lib_$ac_lib_var=yes" |
9222 else | 9226 else |
9223 echo "configure: failed program was:" >&5 | 9227 echo "configure: failed program was:" >&5 |
9224 cat conftest.$ac_ext >&5 | 9228 cat conftest.$ac_ext >&5 |
9238 } | 9242 } |
9239 test "$with_ldap" != "yes" && { | 9243 test "$with_ldap" != "yes" && { |
9240 xe_msg_checking="for ldap_open in -lldap" | 9244 xe_msg_checking="for ldap_open in -lldap" |
9241 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" | 9245 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" |
9242 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 9246 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
9243 echo "configure:9244: checking "$xe_msg_checking"" >&5 | 9247 echo "configure:9248: checking "$xe_msg_checking"" >&5 |
9244 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 9248 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
9245 | 9249 |
9246 xe_check_libs=" -lldap -llber -lkrb" | 9250 xe_check_libs=" -lldap -llber -lkrb" |
9247 cat > conftest.$ac_ext <<EOF | 9251 cat > conftest.$ac_ext <<EOF |
9248 #line 9249 "configure" | 9252 #line 9253 "configure" |
9249 #include "confdefs.h" | 9253 #include "confdefs.h" |
9250 /* Override any gcc2 internal prototype to avoid an error. */ | 9254 /* Override any gcc2 internal prototype to avoid an error. */ |
9251 /* We use char because int might match the return type of a gcc2 | 9255 /* We use char because int might match the return type of a gcc2 |
9252 builtin and then its argument prototype would still apply. */ | 9256 builtin and then its argument prototype would still apply. */ |
9253 char ldap_open(); | 9257 char ldap_open(); |
9254 | 9258 |
9255 int main() { | 9259 int main() { |
9256 ldap_open() | 9260 ldap_open() |
9257 ; return 0; } | 9261 ; return 0; } |
9258 EOF | 9262 EOF |
9259 if { (eval echo configure:9260: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9263 if { (eval echo configure:9264: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9260 rm -rf conftest* | 9264 rm -rf conftest* |
9261 eval "ac_cv_lib_$ac_lib_var=yes" | 9265 eval "ac_cv_lib_$ac_lib_var=yes" |
9262 else | 9266 else |
9263 echo "configure: failed program was:" >&5 | 9267 echo "configure: failed program was:" >&5 |
9264 cat conftest.$ac_ext >&5 | 9268 cat conftest.$ac_ext >&5 |
9278 } | 9282 } |
9279 test "$with_ldap" != "yes" && { | 9283 test "$with_ldap" != "yes" && { |
9280 xe_msg_checking="for ldap_open in -lldap" | 9284 xe_msg_checking="for ldap_open in -lldap" |
9281 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" | 9285 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" |
9282 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 9286 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
9283 echo "configure:9284: checking "$xe_msg_checking"" >&5 | 9287 echo "configure:9288: checking "$xe_msg_checking"" >&5 |
9284 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 9288 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
9285 | 9289 |
9286 xe_check_libs=" -lldap -llber -lkrb -ldes" | 9290 xe_check_libs=" -lldap -llber -lkrb -ldes" |
9287 cat > conftest.$ac_ext <<EOF | 9291 cat > conftest.$ac_ext <<EOF |
9288 #line 9289 "configure" | 9292 #line 9293 "configure" |
9289 #include "confdefs.h" | 9293 #include "confdefs.h" |
9290 /* Override any gcc2 internal prototype to avoid an error. */ | 9294 /* Override any gcc2 internal prototype to avoid an error. */ |
9291 /* We use char because int might match the return type of a gcc2 | 9295 /* We use char because int might match the return type of a gcc2 |
9292 builtin and then its argument prototype would still apply. */ | 9296 builtin and then its argument prototype would still apply. */ |
9293 char ldap_open(); | 9297 char ldap_open(); |
9294 | 9298 |
9295 int main() { | 9299 int main() { |
9296 ldap_open() | 9300 ldap_open() |
9297 ; return 0; } | 9301 ; return 0; } |
9298 EOF | 9302 EOF |
9299 if { (eval echo configure:9300: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9303 if { (eval echo configure:9304: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9300 rm -rf conftest* | 9304 rm -rf conftest* |
9301 eval "ac_cv_lib_$ac_lib_var=yes" | 9305 eval "ac_cv_lib_$ac_lib_var=yes" |
9302 else | 9306 else |
9303 echo "configure: failed program was:" >&5 | 9307 echo "configure: failed program was:" >&5 |
9304 cat conftest.$ac_ext >&5 | 9308 cat conftest.$ac_ext >&5 |
9316 fi | 9320 fi |
9317 | 9321 |
9318 } | 9322 } |
9319 test "$with_ldap_lber" != "yes" && { | 9323 test "$with_ldap_lber" != "yes" && { |
9320 echo $ac_n "checking for ber_pvt_opt_on in -llber""... $ac_c" 1>&6 | 9324 echo $ac_n "checking for ber_pvt_opt_on in -llber""... $ac_c" 1>&6 |
9321 echo "configure:9322: checking for ber_pvt_opt_on in -llber" >&5 | 9325 echo "configure:9326: checking for ber_pvt_opt_on in -llber" >&5 |
9322 ac_lib_var=`echo lber'_'ber_pvt_opt_on | sed 'y%./+-%__p_%'` | 9326 ac_lib_var=`echo lber'_'ber_pvt_opt_on | sed 'y%./+-%__p_%'` |
9323 | 9327 |
9324 xe_check_libs=" -llber " | 9328 xe_check_libs=" -llber " |
9325 cat > conftest.$ac_ext <<EOF | 9329 cat > conftest.$ac_ext <<EOF |
9326 #line 9327 "configure" | 9330 #line 9331 "configure" |
9327 #include "confdefs.h" | 9331 #include "confdefs.h" |
9328 /* Override any gcc2 internal prototype to avoid an error. */ | 9332 /* Override any gcc2 internal prototype to avoid an error. */ |
9329 /* We use char because int might match the return type of a gcc2 | 9333 /* We use char because int might match the return type of a gcc2 |
9330 builtin and then its argument prototype would still apply. */ | 9334 builtin and then its argument prototype would still apply. */ |
9331 char ber_pvt_opt_on(); | 9335 char ber_pvt_opt_on(); |
9332 | 9336 |
9333 int main() { | 9337 int main() { |
9334 ber_pvt_opt_on() | 9338 ber_pvt_opt_on() |
9335 ; return 0; } | 9339 ; return 0; } |
9336 EOF | 9340 EOF |
9337 if { (eval echo configure:9338: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9341 if { (eval echo configure:9342: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9338 rm -rf conftest* | 9342 rm -rf conftest* |
9339 eval "ac_cv_lib_$ac_lib_var=yes" | 9343 eval "ac_cv_lib_$ac_lib_var=yes" |
9340 else | 9344 else |
9341 echo "configure: failed program was:" >&5 | 9345 echo "configure: failed program was:" >&5 |
9342 cat conftest.$ac_ext >&5 | 9346 cat conftest.$ac_ext >&5 |
9376 ldap_libs="-lldap $ldap_libs" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap\" to \$ldap_libs"; fi | 9380 ldap_libs="-lldap $ldap_libs" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap\" to \$ldap_libs"; fi |
9377 save_LIBS="$LIBS" LIBS="$LIBS $ldap_libs" | 9381 save_LIBS="$LIBS" LIBS="$LIBS $ldap_libs" |
9378 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result | 9382 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result |
9379 do | 9383 do |
9380 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 9384 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
9381 echo "configure:9382: checking for $ac_func" >&5 | 9385 echo "configure:9386: checking for $ac_func" >&5 |
9382 | 9386 |
9383 cat > conftest.$ac_ext <<EOF | 9387 cat > conftest.$ac_ext <<EOF |
9384 #line 9385 "configure" | 9388 #line 9389 "configure" |
9385 #include "confdefs.h" | 9389 #include "confdefs.h" |
9386 /* System header to define __stub macros and hopefully few prototypes, | 9390 /* System header to define __stub macros and hopefully few prototypes, |
9387 which can conflict with char $ac_func(); below. */ | 9391 which can conflict with char $ac_func(); below. */ |
9388 #include <assert.h> | 9392 #include <assert.h> |
9389 /* Override any gcc2 internal prototype to avoid an error. */ | 9393 /* Override any gcc2 internal prototype to avoid an error. */ |
9402 $ac_func(); | 9406 $ac_func(); |
9403 #endif | 9407 #endif |
9404 | 9408 |
9405 ; return 0; } | 9409 ; return 0; } |
9406 EOF | 9410 EOF |
9407 if { (eval echo configure:9408: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9411 if { (eval echo configure:9412: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9408 rm -rf conftest* | 9412 rm -rf conftest* |
9409 eval "ac_cv_func_$ac_func=yes" | 9413 eval "ac_cv_func_$ac_func=yes" |
9410 else | 9414 else |
9411 echo "configure: failed program was:" >&5 | 9415 echo "configure: failed program was:" >&5 |
9412 cat conftest.$ac_ext >&5 | 9416 cat conftest.$ac_ext >&5 |
9441 | 9445 |
9442 | 9446 |
9443 postgresql_libs= | 9447 postgresql_libs= |
9444 if test "$with_postgresql" != "no"; then | 9448 if test "$with_postgresql" != "no"; then |
9445 echo "checking for PostgreSQL" 1>&6 | 9449 echo "checking for PostgreSQL" 1>&6 |
9446 echo "configure:9447: checking for PostgreSQL" >&5 | 9450 echo "configure:9451: checking for PostgreSQL" >&5 |
9447 | 9451 |
9448 for header_dir in "" "pgsql/" "postgresql/"; do | 9452 for header_dir in "" "pgsql/" "postgresql/"; do |
9449 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` | 9453 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` |
9450 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 | 9454 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 |
9451 echo "configure:9452: checking for ${header_dir}libpq-fe.h" >&5 | 9455 echo "configure:9456: checking for ${header_dir}libpq-fe.h" >&5 |
9452 | 9456 |
9453 cat > conftest.$ac_ext <<EOF | 9457 cat > conftest.$ac_ext <<EOF |
9454 #line 9455 "configure" | 9458 #line 9459 "configure" |
9455 #include "confdefs.h" | 9459 #include "confdefs.h" |
9456 #include <${header_dir}libpq-fe.h> | 9460 #include <${header_dir}libpq-fe.h> |
9457 EOF | 9461 EOF |
9458 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9462 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9459 { (eval echo configure:9460: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9463 { (eval echo configure:9464: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9460 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9464 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9461 if test -z "$ac_err"; then | 9465 if test -z "$ac_err"; then |
9462 rm -rf conftest* | 9466 rm -rf conftest* |
9463 eval "ac_cv_header_$ac_safe=yes" | 9467 eval "ac_cv_header_$ac_safe=yes" |
9464 else | 9468 else |
9478 | 9482 |
9479 done | 9483 done |
9480 | 9484 |
9481 test -n "$libpq_fe_h_file" && { | 9485 test -n "$libpq_fe_h_file" && { |
9482 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 | 9486 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 |
9483 echo "configure:9484: checking for PQconnectdb in -lpq" >&5 | 9487 echo "configure:9488: checking for PQconnectdb in -lpq" >&5 |
9484 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` | 9488 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` |
9485 | 9489 |
9486 xe_check_libs=" -lpq " | 9490 xe_check_libs=" -lpq " |
9487 cat > conftest.$ac_ext <<EOF | 9491 cat > conftest.$ac_ext <<EOF |
9488 #line 9489 "configure" | 9492 #line 9493 "configure" |
9489 #include "confdefs.h" | 9493 #include "confdefs.h" |
9490 /* Override any gcc2 internal prototype to avoid an error. */ | 9494 /* Override any gcc2 internal prototype to avoid an error. */ |
9491 /* We use char because int might match the return type of a gcc2 | 9495 /* We use char because int might match the return type of a gcc2 |
9492 builtin and then its argument prototype would still apply. */ | 9496 builtin and then its argument prototype would still apply. */ |
9493 char PQconnectdb(); | 9497 char PQconnectdb(); |
9494 | 9498 |
9495 int main() { | 9499 int main() { |
9496 PQconnectdb() | 9500 PQconnectdb() |
9497 ; return 0; } | 9501 ; return 0; } |
9498 EOF | 9502 EOF |
9499 if { (eval echo configure:9500: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9503 if { (eval echo configure:9504: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9500 rm -rf conftest* | 9504 rm -rf conftest* |
9501 eval "ac_cv_lib_$ac_lib_var=yes" | 9505 eval "ac_cv_lib_$ac_lib_var=yes" |
9502 else | 9506 else |
9503 echo "configure: failed program was:" >&5 | 9507 echo "configure: failed program was:" >&5 |
9504 cat conftest.$ac_ext >&5 | 9508 cat conftest.$ac_ext >&5 |
9527 EOF | 9531 EOF |
9528 } | 9532 } |
9529 | 9533 |
9530 | 9534 |
9531 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 | 9535 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 |
9532 echo "configure:9533: checking for PQconnectStart in -lpq" >&5 | 9536 echo "configure:9537: checking for PQconnectStart in -lpq" >&5 |
9533 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` | 9537 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` |
9534 | 9538 |
9535 xe_check_libs=" -lpq " | 9539 xe_check_libs=" -lpq " |
9536 cat > conftest.$ac_ext <<EOF | 9540 cat > conftest.$ac_ext <<EOF |
9537 #line 9538 "configure" | 9541 #line 9542 "configure" |
9538 #include "confdefs.h" | 9542 #include "confdefs.h" |
9539 /* Override any gcc2 internal prototype to avoid an error. */ | 9543 /* Override any gcc2 internal prototype to avoid an error. */ |
9540 /* We use char because int might match the return type of a gcc2 | 9544 /* We use char because int might match the return type of a gcc2 |
9541 builtin and then its argument prototype would still apply. */ | 9545 builtin and then its argument prototype would still apply. */ |
9542 char PQconnectStart(); | 9546 char PQconnectStart(); |
9543 | 9547 |
9544 int main() { | 9548 int main() { |
9545 PQconnectStart() | 9549 PQconnectStart() |
9546 ; return 0; } | 9550 ; return 0; } |
9547 EOF | 9551 EOF |
9548 if { (eval echo configure:9549: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9552 if { (eval echo configure:9553: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9549 rm -rf conftest* | 9553 rm -rf conftest* |
9550 eval "ac_cv_lib_$ac_lib_var=yes" | 9554 eval "ac_cv_lib_$ac_lib_var=yes" |
9551 else | 9555 else |
9552 echo "configure: failed program was:" >&5 | 9556 echo "configure: failed program was:" >&5 |
9553 cat conftest.$ac_ext >&5 | 9557 cat conftest.$ac_ext >&5 |
9594 | 9598 |
9595 | 9599 |
9596 | 9600 |
9597 if test "$window_system" != "none"; then | 9601 if test "$window_system" != "none"; then |
9598 echo "checking for graphics libraries" 1>&6 | 9602 echo "checking for graphics libraries" 1>&6 |
9599 echo "configure:9600: checking for graphics libraries" >&5 | 9603 echo "configure:9604: checking for graphics libraries" >&5 |
9600 | 9604 |
9601 libpath_xpm= | 9605 libpath_xpm= |
9602 incpath_xpm= | 9606 incpath_xpm= |
9603 case "$opsys" in | 9607 case "$opsys" in |
9604 cygwin*) | 9608 cygwin*) |
9620 xpm_problem="" | 9624 xpm_problem="" |
9621 if test -z "$with_xpm"; then | 9625 if test -z "$with_xpm"; then |
9622 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi | 9626 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi |
9623 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi | 9627 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi |
9624 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 | 9628 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 |
9625 echo "configure:9626: checking for Xpm - no older than 3.4f" >&5 | 9629 echo "configure:9630: checking for Xpm - no older than 3.4f" >&5 |
9626 xe_check_libs=-lXpm | 9630 xe_check_libs=-lXpm |
9627 cat > conftest.$ac_ext <<EOF | 9631 cat > conftest.$ac_ext <<EOF |
9628 #line 9629 "configure" | 9632 #line 9633 "configure" |
9629 #include "confdefs.h" | 9633 #include "confdefs.h" |
9630 #define XPM_NUMBERS | 9634 #define XPM_NUMBERS |
9631 #include <X11/xpm.h> | 9635 #include <X11/xpm.h> |
9632 int main(int c, char **v) { | 9636 int main(int c, char **v) { |
9633 return c == 1 ? 0 : | 9637 return c == 1 ? 0 : |
9634 XpmIncludeVersion != XpmLibraryVersion() ? 1 : | 9638 XpmIncludeVersion != XpmLibraryVersion() ? 1 : |
9635 XpmIncludeVersion < 30406 ? 2 : 0 ;} | 9639 XpmIncludeVersion < 30406 ? 2 : 0 ;} |
9636 EOF | 9640 EOF |
9637 if { (eval echo configure:9638: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9641 if { (eval echo configure:9642: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9638 then | 9642 then |
9639 ./conftest dummy_arg; xpm_status=$?; | 9643 ./conftest dummy_arg; xpm_status=$?; |
9640 if test "$xpm_status" = "0"; then | 9644 if test "$xpm_status" = "0"; then |
9641 with_xpm=yes; | 9645 with_xpm=yes; |
9642 else | 9646 else |
9676 | 9680 |
9677 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi | 9681 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi |
9678 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi | 9682 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi |
9679 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi | 9683 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi |
9680 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 | 9684 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 |
9681 echo "configure:9682: checking for \"FOR_MSW\" xpm" >&5 | 9685 echo "configure:9686: checking for \"FOR_MSW\" xpm" >&5 |
9682 xe_check_libs=-lXpm | 9686 xe_check_libs=-lXpm |
9683 cat > conftest.$ac_ext <<EOF | 9687 cat > conftest.$ac_ext <<EOF |
9684 #line 9685 "configure" | 9688 #line 9689 "configure" |
9685 #include "confdefs.h" | 9689 #include "confdefs.h" |
9686 | 9690 |
9687 int main() { | 9691 int main() { |
9688 XpmCreatePixmapFromData() | 9692 XpmCreatePixmapFromData() |
9689 ; return 0; } | 9693 ; return 0; } |
9690 EOF | 9694 EOF |
9691 if { (eval echo configure:9692: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9695 if { (eval echo configure:9696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9692 rm -rf conftest* | 9696 rm -rf conftest* |
9693 xpm_for_msw=no | 9697 xpm_for_msw=no |
9694 else | 9698 else |
9695 echo "configure: failed program was:" >&5 | 9699 echo "configure: failed program was:" >&5 |
9696 cat conftest.$ac_ext >&5 | 9700 cat conftest.$ac_ext >&5 |
9712 fi | 9716 fi |
9713 fi | 9717 fi |
9714 | 9718 |
9715 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 9719 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
9716 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 9720 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
9717 echo "configure:9718: checking for compface.h" >&5 | 9721 echo "configure:9722: checking for compface.h" >&5 |
9718 | 9722 |
9719 cat > conftest.$ac_ext <<EOF | 9723 cat > conftest.$ac_ext <<EOF |
9720 #line 9721 "configure" | 9724 #line 9725 "configure" |
9721 #include "confdefs.h" | 9725 #include "confdefs.h" |
9722 #include <compface.h> | 9726 #include <compface.h> |
9723 EOF | 9727 EOF |
9724 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9728 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9725 { (eval echo configure:9726: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9729 { (eval echo configure:9730: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9726 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9730 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9727 if test -z "$ac_err"; then | 9731 if test -z "$ac_err"; then |
9728 rm -rf conftest* | 9732 rm -rf conftest* |
9729 eval "ac_cv_header_$ac_safe=yes" | 9733 eval "ac_cv_header_$ac_safe=yes" |
9730 else | 9734 else |
9743 with_xface=no | 9747 with_xface=no |
9744 fi | 9748 fi |
9745 } | 9749 } |
9746 test -z "$with_xface" && { | 9750 test -z "$with_xface" && { |
9747 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 9751 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
9748 echo "configure:9749: checking for UnGenFace in -lcompface" >&5 | 9752 echo "configure:9753: checking for UnGenFace in -lcompface" >&5 |
9749 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 9753 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
9750 | 9754 |
9751 xe_check_libs=" -lcompface " | 9755 xe_check_libs=" -lcompface " |
9752 cat > conftest.$ac_ext <<EOF | 9756 cat > conftest.$ac_ext <<EOF |
9753 #line 9754 "configure" | 9757 #line 9758 "configure" |
9754 #include "confdefs.h" | 9758 #include "confdefs.h" |
9755 /* Override any gcc2 internal prototype to avoid an error. */ | 9759 /* Override any gcc2 internal prototype to avoid an error. */ |
9756 /* We use char because int might match the return type of a gcc2 | 9760 /* We use char because int might match the return type of a gcc2 |
9757 builtin and then its argument prototype would still apply. */ | 9761 builtin and then its argument prototype would still apply. */ |
9758 char UnGenFace(); | 9762 char UnGenFace(); |
9759 | 9763 |
9760 int main() { | 9764 int main() { |
9761 UnGenFace() | 9765 UnGenFace() |
9762 ; return 0; } | 9766 ; return 0; } |
9763 EOF | 9767 EOF |
9764 if { (eval echo configure:9765: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9768 if { (eval echo configure:9769: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9765 rm -rf conftest* | 9769 rm -rf conftest* |
9766 eval "ac_cv_lib_$ac_lib_var=yes" | 9770 eval "ac_cv_lib_$ac_lib_var=yes" |
9767 else | 9771 else |
9768 echo "configure: failed program was:" >&5 | 9772 echo "configure: failed program was:" >&5 |
9769 cat conftest.$ac_ext >&5 | 9773 cat conftest.$ac_ext >&5 |
9808 fi | 9812 fi |
9809 | 9813 |
9810 if test "$with_png $with_tiff" != "no no"; then | 9814 if test "$with_png $with_tiff" != "no no"; then |
9811 | 9815 |
9812 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 | 9816 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 |
9813 echo "configure:9814: checking for inflate in -lc" >&5 | 9817 echo "configure:9818: checking for inflate in -lc" >&5 |
9814 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` | 9818 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` |
9815 | 9819 |
9816 xe_check_libs=" -lc " | 9820 xe_check_libs=" -lc " |
9817 cat > conftest.$ac_ext <<EOF | 9821 cat > conftest.$ac_ext <<EOF |
9818 #line 9819 "configure" | 9822 #line 9823 "configure" |
9819 #include "confdefs.h" | 9823 #include "confdefs.h" |
9820 /* Override any gcc2 internal prototype to avoid an error. */ | 9824 /* Override any gcc2 internal prototype to avoid an error. */ |
9821 /* We use char because int might match the return type of a gcc2 | 9825 /* We use char because int might match the return type of a gcc2 |
9822 builtin and then its argument prototype would still apply. */ | 9826 builtin and then its argument prototype would still apply. */ |
9823 char inflate(); | 9827 char inflate(); |
9824 | 9828 |
9825 int main() { | 9829 int main() { |
9826 inflate() | 9830 inflate() |
9827 ; return 0; } | 9831 ; return 0; } |
9828 EOF | 9832 EOF |
9829 if { (eval echo configure:9830: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9833 if { (eval echo configure:9834: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9830 rm -rf conftest* | 9834 rm -rf conftest* |
9831 eval "ac_cv_lib_$ac_lib_var=yes" | 9835 eval "ac_cv_lib_$ac_lib_var=yes" |
9832 else | 9836 else |
9833 echo "configure: failed program was:" >&5 | 9837 echo "configure: failed program was:" >&5 |
9834 cat conftest.$ac_ext >&5 | 9838 cat conftest.$ac_ext >&5 |
9843 : | 9847 : |
9844 else | 9848 else |
9845 echo "$ac_t""no" 1>&6 | 9849 echo "$ac_t""no" 1>&6 |
9846 | 9850 |
9847 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 | 9851 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 |
9848 echo "configure:9849: checking for inflate in -lz" >&5 | 9852 echo "configure:9853: checking for inflate in -lz" >&5 |
9849 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` | 9853 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` |
9850 | 9854 |
9851 xe_check_libs=" -lz " | 9855 xe_check_libs=" -lz " |
9852 cat > conftest.$ac_ext <<EOF | 9856 cat > conftest.$ac_ext <<EOF |
9853 #line 9854 "configure" | 9857 #line 9858 "configure" |
9854 #include "confdefs.h" | 9858 #include "confdefs.h" |
9855 /* Override any gcc2 internal prototype to avoid an error. */ | 9859 /* Override any gcc2 internal prototype to avoid an error. */ |
9856 /* We use char because int might match the return type of a gcc2 | 9860 /* We use char because int might match the return type of a gcc2 |
9857 builtin and then its argument prototype would still apply. */ | 9861 builtin and then its argument prototype would still apply. */ |
9858 char inflate(); | 9862 char inflate(); |
9859 | 9863 |
9860 int main() { | 9864 int main() { |
9861 inflate() | 9865 inflate() |
9862 ; return 0; } | 9866 ; return 0; } |
9863 EOF | 9867 EOF |
9864 if { (eval echo configure:9865: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9868 if { (eval echo configure:9869: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9865 rm -rf conftest* | 9869 rm -rf conftest* |
9866 eval "ac_cv_lib_$ac_lib_var=yes" | 9870 eval "ac_cv_lib_$ac_lib_var=yes" |
9867 else | 9871 else |
9868 echo "configure: failed program was:" >&5 | 9872 echo "configure: failed program was:" >&5 |
9869 cat conftest.$ac_ext >&5 | 9873 cat conftest.$ac_ext >&5 |
9878 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi | 9882 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi |
9879 else | 9883 else |
9880 echo "$ac_t""no" 1>&6 | 9884 echo "$ac_t""no" 1>&6 |
9881 | 9885 |
9882 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 | 9886 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 |
9883 echo "configure:9884: checking for inflate in -lgz" >&5 | 9887 echo "configure:9888: checking for inflate in -lgz" >&5 |
9884 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` | 9888 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` |
9885 | 9889 |
9886 xe_check_libs=" -lgz " | 9890 xe_check_libs=" -lgz " |
9887 cat > conftest.$ac_ext <<EOF | 9891 cat > conftest.$ac_ext <<EOF |
9888 #line 9889 "configure" | 9892 #line 9893 "configure" |
9889 #include "confdefs.h" | 9893 #include "confdefs.h" |
9890 /* Override any gcc2 internal prototype to avoid an error. */ | 9894 /* Override any gcc2 internal prototype to avoid an error. */ |
9891 /* We use char because int might match the return type of a gcc2 | 9895 /* We use char because int might match the return type of a gcc2 |
9892 builtin and then its argument prototype would still apply. */ | 9896 builtin and then its argument prototype would still apply. */ |
9893 char inflate(); | 9897 char inflate(); |
9894 | 9898 |
9895 int main() { | 9899 int main() { |
9896 inflate() | 9900 inflate() |
9897 ; return 0; } | 9901 ; return 0; } |
9898 EOF | 9902 EOF |
9899 if { (eval echo configure:9900: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9903 if { (eval echo configure:9904: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9900 rm -rf conftest* | 9904 rm -rf conftest* |
9901 eval "ac_cv_lib_$ac_lib_var=yes" | 9905 eval "ac_cv_lib_$ac_lib_var=yes" |
9902 else | 9906 else |
9903 echo "configure: failed program was:" >&5 | 9907 echo "configure: failed program was:" >&5 |
9904 cat conftest.$ac_ext >&5 | 9908 cat conftest.$ac_ext >&5 |
9924 | 9928 |
9925 fi | 9929 fi |
9926 | 9930 |
9927 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` | 9931 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` |
9928 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 | 9932 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 |
9929 echo "configure:9930: checking for jpeglib.h" >&5 | 9933 echo "configure:9934: checking for jpeglib.h" >&5 |
9930 | 9934 |
9931 cat > conftest.$ac_ext <<EOF | 9935 cat > conftest.$ac_ext <<EOF |
9932 #line 9933 "configure" | 9936 #line 9937 "configure" |
9933 #include "confdefs.h" | 9937 #include "confdefs.h" |
9934 #include <jpeglib.h> | 9938 #include <jpeglib.h> |
9935 EOF | 9939 EOF |
9936 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9940 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9937 { (eval echo configure:9938: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9941 { (eval echo configure:9942: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9938 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9942 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9939 if test -z "$ac_err"; then | 9943 if test -z "$ac_err"; then |
9940 rm -rf conftest* | 9944 rm -rf conftest* |
9941 eval "ac_cv_header_$ac_safe=yes" | 9945 eval "ac_cv_header_$ac_safe=yes" |
9942 else | 9946 else |
9955 with_jpeg=no | 9959 with_jpeg=no |
9956 fi | 9960 fi |
9957 } | 9961 } |
9958 test -z "$with_jpeg" && { | 9962 test -z "$with_jpeg" && { |
9959 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 | 9963 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 |
9960 echo "configure:9961: checking for jpeg_destroy_decompress in -ljpeg" >&5 | 9964 echo "configure:9965: checking for jpeg_destroy_decompress in -ljpeg" >&5 |
9961 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` | 9965 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` |
9962 | 9966 |
9963 xe_check_libs=" -ljpeg " | 9967 xe_check_libs=" -ljpeg " |
9964 cat > conftest.$ac_ext <<EOF | 9968 cat > conftest.$ac_ext <<EOF |
9965 #line 9966 "configure" | 9969 #line 9970 "configure" |
9966 #include "confdefs.h" | 9970 #include "confdefs.h" |
9967 /* Override any gcc2 internal prototype to avoid an error. */ | 9971 /* Override any gcc2 internal prototype to avoid an error. */ |
9968 /* We use char because int might match the return type of a gcc2 | 9972 /* We use char because int might match the return type of a gcc2 |
9969 builtin and then its argument prototype would still apply. */ | 9973 builtin and then its argument prototype would still apply. */ |
9970 char jpeg_destroy_decompress(); | 9974 char jpeg_destroy_decompress(); |
9971 | 9975 |
9972 int main() { | 9976 int main() { |
9973 jpeg_destroy_decompress() | 9977 jpeg_destroy_decompress() |
9974 ; return 0; } | 9978 ; return 0; } |
9975 EOF | 9979 EOF |
9976 if { (eval echo configure:9977: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9980 if { (eval echo configure:9981: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9977 rm -rf conftest* | 9981 rm -rf conftest* |
9978 eval "ac_cv_lib_$ac_lib_var=yes" | 9982 eval "ac_cv_lib_$ac_lib_var=yes" |
9979 else | 9983 else |
9980 echo "configure: failed program was:" >&5 | 9984 echo "configure: failed program was:" >&5 |
9981 cat conftest.$ac_ext >&5 | 9985 cat conftest.$ac_ext >&5 |
10007 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi | 10011 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi |
10008 fi | 10012 fi |
10009 | 10013 |
10010 png_problem="" | 10014 png_problem="" |
10011 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 | 10015 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 |
10012 echo "configure:10013: checking for pow" >&5 | 10016 echo "configure:10017: checking for pow" >&5 |
10013 | 10017 |
10014 cat > conftest.$ac_ext <<EOF | 10018 cat > conftest.$ac_ext <<EOF |
10015 #line 10016 "configure" | 10019 #line 10020 "configure" |
10016 #include "confdefs.h" | 10020 #include "confdefs.h" |
10017 /* System header to define __stub macros and hopefully few prototypes, | 10021 /* System header to define __stub macros and hopefully few prototypes, |
10018 which can conflict with char pow(); below. */ | 10022 which can conflict with char pow(); below. */ |
10019 #include <assert.h> | 10023 #include <assert.h> |
10020 /* Override any gcc2 internal prototype to avoid an error. */ | 10024 /* Override any gcc2 internal prototype to avoid an error. */ |
10033 pow(); | 10037 pow(); |
10034 #endif | 10038 #endif |
10035 | 10039 |
10036 ; return 0; } | 10040 ; return 0; } |
10037 EOF | 10041 EOF |
10038 if { (eval echo configure:10039: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10042 if { (eval echo configure:10043: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10039 rm -rf conftest* | 10043 rm -rf conftest* |
10040 eval "ac_cv_func_pow=yes" | 10044 eval "ac_cv_func_pow=yes" |
10041 else | 10045 else |
10042 echo "configure: failed program was:" >&5 | 10046 echo "configure: failed program was:" >&5 |
10043 cat conftest.$ac_ext >&5 | 10047 cat conftest.$ac_ext >&5 |
10054 with_png=no | 10058 with_png=no |
10055 fi | 10059 fi |
10056 } | 10060 } |
10057 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` | 10061 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` |
10058 echo $ac_n "checking for png.h""... $ac_c" 1>&6 | 10062 echo $ac_n "checking for png.h""... $ac_c" 1>&6 |
10059 echo "configure:10060: checking for png.h" >&5 | 10063 echo "configure:10064: checking for png.h" >&5 |
10060 | 10064 |
10061 cat > conftest.$ac_ext <<EOF | 10065 cat > conftest.$ac_ext <<EOF |
10062 #line 10063 "configure" | 10066 #line 10067 "configure" |
10063 #include "confdefs.h" | 10067 #include "confdefs.h" |
10064 #include <png.h> | 10068 #include <png.h> |
10065 EOF | 10069 EOF |
10066 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10070 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10067 { (eval echo configure:10068: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10071 { (eval echo configure:10072: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10068 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10072 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10069 if test -z "$ac_err"; then | 10073 if test -z "$ac_err"; then |
10070 rm -rf conftest* | 10074 rm -rf conftest* |
10071 eval "ac_cv_header_$ac_safe=yes" | 10075 eval "ac_cv_header_$ac_safe=yes" |
10072 else | 10076 else |
10085 with_png=no | 10089 with_png=no |
10086 fi | 10090 fi |
10087 } | 10091 } |
10088 test -z "$with_png" && { | 10092 test -z "$with_png" && { |
10089 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 | 10093 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 |
10090 echo "configure:10091: checking for png_read_image in -lpng" >&5 | 10094 echo "configure:10095: checking for png_read_image in -lpng" >&5 |
10091 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` | 10095 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` |
10092 | 10096 |
10093 xe_check_libs=" -lpng " | 10097 xe_check_libs=" -lpng " |
10094 cat > conftest.$ac_ext <<EOF | 10098 cat > conftest.$ac_ext <<EOF |
10095 #line 10096 "configure" | 10099 #line 10100 "configure" |
10096 #include "confdefs.h" | 10100 #include "confdefs.h" |
10097 /* Override any gcc2 internal prototype to avoid an error. */ | 10101 /* Override any gcc2 internal prototype to avoid an error. */ |
10098 /* We use char because int might match the return type of a gcc2 | 10102 /* We use char because int might match the return type of a gcc2 |
10099 builtin and then its argument prototype would still apply. */ | 10103 builtin and then its argument prototype would still apply. */ |
10100 char png_read_image(); | 10104 char png_read_image(); |
10101 | 10105 |
10102 int main() { | 10106 int main() { |
10103 png_read_image() | 10107 png_read_image() |
10104 ; return 0; } | 10108 ; return 0; } |
10105 EOF | 10109 EOF |
10106 if { (eval echo configure:10107: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10110 if { (eval echo configure:10111: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10107 rm -rf conftest* | 10111 rm -rf conftest* |
10108 eval "ac_cv_lib_$ac_lib_var=yes" | 10112 eval "ac_cv_lib_$ac_lib_var=yes" |
10109 else | 10113 else |
10110 echo "configure: failed program was:" >&5 | 10114 echo "configure: failed program was:" >&5 |
10111 cat conftest.$ac_ext >&5 | 10115 cat conftest.$ac_ext >&5 |
10124 fi | 10128 fi |
10125 | 10129 |
10126 } | 10130 } |
10127 if test -z "$with_png"; then | 10131 if test -z "$with_png"; then |
10128 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 | 10132 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 |
10129 echo "configure:10130: checking for workable png version information" >&5 | 10133 echo "configure:10134: checking for workable png version information" >&5 |
10130 xe_check_libs="-lpng -lz" | 10134 xe_check_libs="-lpng -lz" |
10131 cat > conftest.$ac_ext <<EOF | 10135 cat > conftest.$ac_ext <<EOF |
10132 #line 10133 "configure" | 10136 #line 10137 "configure" |
10133 #include "confdefs.h" | 10137 #include "confdefs.h" |
10134 #include <png.h> | 10138 #include <png.h> |
10135 int main(int c, char **v) { | 10139 int main(int c, char **v) { |
10136 if (c == 1) return 0; | 10140 if (c == 1) return 0; |
10137 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; | 10141 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; |
10138 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} | 10142 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} |
10139 EOF | 10143 EOF |
10140 if { (eval echo configure:10141: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 10144 if { (eval echo configure:10145: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
10141 then | 10145 then |
10142 ./conftest dummy_arg; png_status=$?; | 10146 ./conftest dummy_arg; png_status=$?; |
10143 if test "$png_status" = "0"; then | 10147 if test "$png_status" = "0"; then |
10144 with_png=yes; | 10148 with_png=yes; |
10145 else | 10149 else |
10178 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi | 10182 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi |
10179 fi | 10183 fi |
10180 | 10184 |
10181 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` | 10185 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` |
10182 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 | 10186 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 |
10183 echo "configure:10184: checking for tiffio.h" >&5 | 10187 echo "configure:10188: checking for tiffio.h" >&5 |
10184 | 10188 |
10185 cat > conftest.$ac_ext <<EOF | 10189 cat > conftest.$ac_ext <<EOF |
10186 #line 10187 "configure" | 10190 #line 10191 "configure" |
10187 #include "confdefs.h" | 10191 #include "confdefs.h" |
10188 #include <tiffio.h> | 10192 #include <tiffio.h> |
10189 EOF | 10193 EOF |
10190 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10194 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10191 { (eval echo configure:10192: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10195 { (eval echo configure:10196: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10192 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10196 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10193 if test -z "$ac_err"; then | 10197 if test -z "$ac_err"; then |
10194 rm -rf conftest* | 10198 rm -rf conftest* |
10195 eval "ac_cv_header_$ac_safe=yes" | 10199 eval "ac_cv_header_$ac_safe=yes" |
10196 else | 10200 else |
10209 with_tiff=no | 10213 with_tiff=no |
10210 fi | 10214 fi |
10211 } | 10215 } |
10212 test -z "$with_tiff" && { | 10216 test -z "$with_tiff" && { |
10213 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 | 10217 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 |
10214 echo "configure:10215: checking for TIFFClientOpen in -ltiff" >&5 | 10218 echo "configure:10219: checking for TIFFClientOpen in -ltiff" >&5 |
10215 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` | 10219 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` |
10216 | 10220 |
10217 xe_check_libs=" -ltiff " | 10221 xe_check_libs=" -ltiff " |
10218 cat > conftest.$ac_ext <<EOF | 10222 cat > conftest.$ac_ext <<EOF |
10219 #line 10220 "configure" | 10223 #line 10224 "configure" |
10220 #include "confdefs.h" | 10224 #include "confdefs.h" |
10221 /* Override any gcc2 internal prototype to avoid an error. */ | 10225 /* Override any gcc2 internal prototype to avoid an error. */ |
10222 /* We use char because int might match the return type of a gcc2 | 10226 /* We use char because int might match the return type of a gcc2 |
10223 builtin and then its argument prototype would still apply. */ | 10227 builtin and then its argument prototype would still apply. */ |
10224 char TIFFClientOpen(); | 10228 char TIFFClientOpen(); |
10225 | 10229 |
10226 int main() { | 10230 int main() { |
10227 TIFFClientOpen() | 10231 TIFFClientOpen() |
10228 ; return 0; } | 10232 ; return 0; } |
10229 EOF | 10233 EOF |
10230 if { (eval echo configure:10231: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10234 if { (eval echo configure:10235: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10231 rm -rf conftest* | 10235 rm -rf conftest* |
10232 eval "ac_cv_lib_$ac_lib_var=yes" | 10236 eval "ac_cv_lib_$ac_lib_var=yes" |
10233 else | 10237 else |
10234 echo "configure: failed program was:" >&5 | 10238 echo "configure: failed program was:" >&5 |
10235 cat conftest.$ac_ext >&5 | 10239 cat conftest.$ac_ext >&5 |
10264 | 10268 |
10265 | 10269 |
10266 if test "$with_gtk" = "yes"; then | 10270 if test "$with_gtk" = "yes"; then |
10267 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 10271 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
10268 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 10272 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
10269 echo "configure:10270: checking for compface.h" >&5 | 10273 echo "configure:10274: checking for compface.h" >&5 |
10270 | 10274 |
10271 cat > conftest.$ac_ext <<EOF | 10275 cat > conftest.$ac_ext <<EOF |
10272 #line 10273 "configure" | 10276 #line 10277 "configure" |
10273 #include "confdefs.h" | 10277 #include "confdefs.h" |
10274 #include <compface.h> | 10278 #include <compface.h> |
10275 EOF | 10279 EOF |
10276 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10280 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10277 { (eval echo configure:10278: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10281 { (eval echo configure:10282: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10278 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10282 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10279 if test -z "$ac_err"; then | 10283 if test -z "$ac_err"; then |
10280 rm -rf conftest* | 10284 rm -rf conftest* |
10281 eval "ac_cv_header_$ac_safe=yes" | 10285 eval "ac_cv_header_$ac_safe=yes" |
10282 else | 10286 else |
10295 with_xface=no | 10299 with_xface=no |
10296 fi | 10300 fi |
10297 } | 10301 } |
10298 test -z "$with_xface" && { | 10302 test -z "$with_xface" && { |
10299 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 10303 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
10300 echo "configure:10301: checking for UnGenFace in -lcompface" >&5 | 10304 echo "configure:10305: checking for UnGenFace in -lcompface" >&5 |
10301 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 10305 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
10302 | 10306 |
10303 xe_check_libs=" -lcompface " | 10307 xe_check_libs=" -lcompface " |
10304 cat > conftest.$ac_ext <<EOF | 10308 cat > conftest.$ac_ext <<EOF |
10305 #line 10306 "configure" | 10309 #line 10310 "configure" |
10306 #include "confdefs.h" | 10310 #include "confdefs.h" |
10307 /* Override any gcc2 internal prototype to avoid an error. */ | 10311 /* Override any gcc2 internal prototype to avoid an error. */ |
10308 /* We use char because int might match the return type of a gcc2 | 10312 /* We use char because int might match the return type of a gcc2 |
10309 builtin and then its argument prototype would still apply. */ | 10313 builtin and then its argument prototype would still apply. */ |
10310 char UnGenFace(); | 10314 char UnGenFace(); |
10311 | 10315 |
10312 int main() { | 10316 int main() { |
10313 UnGenFace() | 10317 UnGenFace() |
10314 ; return 0; } | 10318 ; return 0; } |
10315 EOF | 10319 EOF |
10316 if { (eval echo configure:10317: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10320 if { (eval echo configure:10321: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10317 rm -rf conftest* | 10321 rm -rf conftest* |
10318 eval "ac_cv_lib_$ac_lib_var=yes" | 10322 eval "ac_cv_lib_$ac_lib_var=yes" |
10319 else | 10323 else |
10320 echo "configure: failed program was:" >&5 | 10324 echo "configure: failed program was:" >&5 |
10321 cat conftest.$ac_ext >&5 | 10325 cat conftest.$ac_ext >&5 |
10350 | 10354 |
10351 | 10355 |
10352 | 10356 |
10353 if test "$with_x11" = "yes"; then | 10357 if test "$with_x11" = "yes"; then |
10354 echo "checking for X11 graphics libraries" 1>&6 | 10358 echo "checking for X11 graphics libraries" 1>&6 |
10355 echo "configure:10356: checking for X11 graphics libraries" >&5 | 10359 echo "configure:10360: checking for X11 graphics libraries" >&5 |
10356 fi | 10360 fi |
10357 | 10361 |
10358 case "$with_widgets" in | 10362 case "$with_widgets" in |
10359 "yes" | "athena") detect_athena=yes ;; | 10363 "yes" | "athena") detect_athena=yes ;; |
10360 *) detect_athena=no ;; | 10364 *) detect_athena=no ;; |
10361 esac | 10365 esac |
10362 | 10366 |
10363 if test "$with_x11" = "yes" -a "$detect_athena" = "yes" ; then | 10367 if test "$with_x11" = "yes" -a "$detect_athena" = "yes" ; then |
10364 echo "checking for the Athena widgets" 1>&6 | 10368 echo "checking for the Athena widgets" 1>&6 |
10365 echo "configure:10366: checking for the Athena widgets" >&5 | 10369 echo "configure:10370: checking for the Athena widgets" >&5 |
10366 | 10370 |
10367 case "$with_athena" in | 10371 case "$with_athena" in |
10368 "xaw" | "") athena_variant=Xaw athena_3d=no ;; | 10372 "xaw" | "") athena_variant=Xaw athena_3d=no ;; |
10369 "3d") athena_variant=Xaw3d athena_3d=yes ;; | 10373 "3d") athena_variant=Xaw3d athena_3d=yes ;; |
10370 "next") athena_variant=neXtaw athena_3d=yes ;; | 10374 "next") athena_variant=neXtaw athena_3d=yes ;; |
10374 esac | 10378 esac |
10375 | 10379 |
10376 if test "$athena_3d" = "no"; then | 10380 if test "$athena_3d" = "no"; then |
10377 | 10381 |
10378 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 | 10382 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 |
10379 echo "configure:10380: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 | 10383 echo "configure:10384: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 |
10380 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 10384 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
10381 | 10385 |
10382 xe_check_libs=" -l$athena_variant " | 10386 xe_check_libs=" -l$athena_variant " |
10383 cat > conftest.$ac_ext <<EOF | 10387 cat > conftest.$ac_ext <<EOF |
10384 #line 10385 "configure" | 10388 #line 10389 "configure" |
10385 #include "confdefs.h" | 10389 #include "confdefs.h" |
10386 /* Override any gcc2 internal prototype to avoid an error. */ | 10390 /* Override any gcc2 internal prototype to avoid an error. */ |
10387 /* We use char because int might match the return type of a gcc2 | 10391 /* We use char because int might match the return type of a gcc2 |
10388 builtin and then its argument prototype would still apply. */ | 10392 builtin and then its argument prototype would still apply. */ |
10389 char XawScrollbarSetThumb(); | 10393 char XawScrollbarSetThumb(); |
10390 | 10394 |
10391 int main() { | 10395 int main() { |
10392 XawScrollbarSetThumb() | 10396 XawScrollbarSetThumb() |
10393 ; return 0; } | 10397 ; return 0; } |
10394 EOF | 10398 EOF |
10395 if { (eval echo configure:10396: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10399 if { (eval echo configure:10400: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10396 rm -rf conftest* | 10400 rm -rf conftest* |
10397 eval "ac_cv_lib_$ac_lib_var=yes" | 10401 eval "ac_cv_lib_$ac_lib_var=yes" |
10398 else | 10402 else |
10399 echo "configure: failed program was:" >&5 | 10403 echo "configure: failed program was:" >&5 |
10400 cat conftest.$ac_ext >&5 | 10404 cat conftest.$ac_ext >&5 |
10406 | 10410 |
10407 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | 10411 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then |
10408 echo "$ac_t""yes" 1>&6 | 10412 echo "$ac_t""yes" 1>&6 |
10409 | 10413 |
10410 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 | 10414 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 |
10411 echo "configure:10412: checking for threeDClassRec in -l$athena_variant" >&5 | 10415 echo "configure:10416: checking for threeDClassRec in -l$athena_variant" >&5 |
10412 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` | 10416 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` |
10413 | 10417 |
10414 xe_check_libs=" -l$athena_variant " | 10418 xe_check_libs=" -l$athena_variant " |
10415 cat > conftest.$ac_ext <<EOF | 10419 cat > conftest.$ac_ext <<EOF |
10416 #line 10417 "configure" | 10420 #line 10421 "configure" |
10417 #include "confdefs.h" | 10421 #include "confdefs.h" |
10418 /* Override any gcc2 internal prototype to avoid an error. */ | 10422 /* Override any gcc2 internal prototype to avoid an error. */ |
10419 /* We use char because int might match the return type of a gcc2 | 10423 /* We use char because int might match the return type of a gcc2 |
10420 builtin and then its argument prototype would still apply. */ | 10424 builtin and then its argument prototype would still apply. */ |
10421 char threeDClassRec(); | 10425 char threeDClassRec(); |
10422 | 10426 |
10423 int main() { | 10427 int main() { |
10424 threeDClassRec() | 10428 threeDClassRec() |
10425 ; return 0; } | 10429 ; return 0; } |
10426 EOF | 10430 EOF |
10427 if { (eval echo configure:10428: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10431 if { (eval echo configure:10432: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10428 rm -rf conftest* | 10432 rm -rf conftest* |
10429 eval "ac_cv_lib_$ac_lib_var=yes" | 10433 eval "ac_cv_lib_$ac_lib_var=yes" |
10430 else | 10434 else |
10431 echo "configure: failed program was:" >&5 | 10435 echo "configure: failed program was:" >&5 |
10432 cat conftest.$ac_ext >&5 | 10436 cat conftest.$ac_ext >&5 |
10453 | 10457 |
10454 | 10458 |
10455 else | 10459 else |
10456 | 10460 |
10457 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 | 10461 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 |
10458 echo "configure:10459: checking for threeDClassRec in -l$athena_variant" >&5 | 10462 echo "configure:10463: checking for threeDClassRec in -l$athena_variant" >&5 |
10459 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` | 10463 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` |
10460 | 10464 |
10461 xe_check_libs=" -l$athena_variant " | 10465 xe_check_libs=" -l$athena_variant " |
10462 cat > conftest.$ac_ext <<EOF | 10466 cat > conftest.$ac_ext <<EOF |
10463 #line 10464 "configure" | 10467 #line 10468 "configure" |
10464 #include "confdefs.h" | 10468 #include "confdefs.h" |
10465 /* Override any gcc2 internal prototype to avoid an error. */ | 10469 /* Override any gcc2 internal prototype to avoid an error. */ |
10466 /* We use char because int might match the return type of a gcc2 | 10470 /* We use char because int might match the return type of a gcc2 |
10467 builtin and then its argument prototype would still apply. */ | 10471 builtin and then its argument prototype would still apply. */ |
10468 char threeDClassRec(); | 10472 char threeDClassRec(); |
10469 | 10473 |
10470 int main() { | 10474 int main() { |
10471 threeDClassRec() | 10475 threeDClassRec() |
10472 ; return 0; } | 10476 ; return 0; } |
10473 EOF | 10477 EOF |
10474 if { (eval echo configure:10475: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10478 if { (eval echo configure:10479: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10475 rm -rf conftest* | 10479 rm -rf conftest* |
10476 eval "ac_cv_lib_$ac_lib_var=yes" | 10480 eval "ac_cv_lib_$ac_lib_var=yes" |
10477 else | 10481 else |
10478 echo "configure: failed program was:" >&5 | 10482 echo "configure: failed program was:" >&5 |
10479 cat conftest.$ac_ext >&5 | 10483 cat conftest.$ac_ext >&5 |
10487 echo "$ac_t""yes" 1>&6 | 10491 echo "$ac_t""yes" 1>&6 |
10488 athena_lib=$athena_variant | 10492 athena_lib=$athena_variant |
10489 else | 10493 else |
10490 echo "$ac_t""no" 1>&6 | 10494 echo "$ac_t""no" 1>&6 |
10491 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 | 10495 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 |
10492 echo "configure:10493: checking for threeDClassRec in -lXaw" >&5 | 10496 echo "configure:10497: checking for threeDClassRec in -lXaw" >&5 |
10493 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` | 10497 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` |
10494 | 10498 |
10495 xe_check_libs=" -lXaw " | 10499 xe_check_libs=" -lXaw " |
10496 cat > conftest.$ac_ext <<EOF | 10500 cat > conftest.$ac_ext <<EOF |
10497 #line 10498 "configure" | 10501 #line 10502 "configure" |
10498 #include "confdefs.h" | 10502 #include "confdefs.h" |
10499 /* Override any gcc2 internal prototype to avoid an error. */ | 10503 /* Override any gcc2 internal prototype to avoid an error. */ |
10500 /* We use char because int might match the return type of a gcc2 | 10504 /* We use char because int might match the return type of a gcc2 |
10501 builtin and then its argument prototype would still apply. */ | 10505 builtin and then its argument prototype would still apply. */ |
10502 char threeDClassRec(); | 10506 char threeDClassRec(); |
10503 | 10507 |
10504 int main() { | 10508 int main() { |
10505 threeDClassRec() | 10509 threeDClassRec() |
10506 ; return 0; } | 10510 ; return 0; } |
10507 EOF | 10511 EOF |
10508 if { (eval echo configure:10509: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10512 if { (eval echo configure:10513: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10509 rm -rf conftest* | 10513 rm -rf conftest* |
10510 eval "ac_cv_lib_$ac_lib_var=yes" | 10514 eval "ac_cv_lib_$ac_lib_var=yes" |
10511 else | 10515 else |
10512 echo "configure: failed program was:" >&5 | 10516 echo "configure: failed program was:" >&5 |
10513 cat conftest.$ac_ext >&5 | 10517 cat conftest.$ac_ext >&5 |
10534 fi | 10538 fi |
10535 | 10539 |
10536 if test "$athena_3d" = "no"; then | 10540 if test "$athena_3d" = "no"; then |
10537 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | 10541 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` |
10538 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | 10542 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 |
10539 echo "configure:10540: checking for X11/Xaw/ThreeD.h" >&5 | 10543 echo "configure:10544: checking for X11/Xaw/ThreeD.h" >&5 |
10540 | 10544 |
10541 cat > conftest.$ac_ext <<EOF | 10545 cat > conftest.$ac_ext <<EOF |
10542 #line 10543 "configure" | 10546 #line 10547 "configure" |
10543 #include "confdefs.h" | 10547 #include "confdefs.h" |
10544 #include <X11/Xaw/ThreeD.h> | 10548 #include <X11/Xaw/ThreeD.h> |
10545 EOF | 10549 EOF |
10546 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10550 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10547 { (eval echo configure:10548: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10551 { (eval echo configure:10552: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10548 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10552 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10549 if test -z "$ac_err"; then | 10553 if test -z "$ac_err"; then |
10550 rm -rf conftest* | 10554 rm -rf conftest* |
10551 eval "ac_cv_header_$ac_safe=yes" | 10555 eval "ac_cv_header_$ac_safe=yes" |
10552 else | 10556 else |
10562 echo "configure: warning: Could not find a non-3d Athena header set." 1>&2 | 10566 echo "configure: warning: Could not find a non-3d Athena header set." 1>&2 |
10563 else | 10567 else |
10564 echo "$ac_t""no" 1>&6 | 10568 echo "$ac_t""no" 1>&6 |
10565 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` | 10569 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` |
10566 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 | 10570 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 |
10567 echo "configure:10568: checking for X11/Xaw/XawInit.h" >&5 | 10571 echo "configure:10572: checking for X11/Xaw/XawInit.h" >&5 |
10568 | 10572 |
10569 cat > conftest.$ac_ext <<EOF | 10573 cat > conftest.$ac_ext <<EOF |
10570 #line 10571 "configure" | 10574 #line 10575 "configure" |
10571 #include "confdefs.h" | 10575 #include "confdefs.h" |
10572 #include <X11/Xaw/XawInit.h> | 10576 #include <X11/Xaw/XawInit.h> |
10573 EOF | 10577 EOF |
10574 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" |
10575 { (eval echo configure:10576: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10579 { (eval echo configure:10580: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10576 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10580 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10577 if test -z "$ac_err"; then | 10581 if test -z "$ac_err"; then |
10578 rm -rf conftest* | 10582 rm -rf conftest* |
10579 eval "ac_cv_header_$ac_safe=yes" | 10583 eval "ac_cv_header_$ac_safe=yes" |
10580 else | 10584 else |
10596 fi | 10600 fi |
10597 | 10601 |
10598 else | 10602 else |
10599 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` | 10603 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` |
10600 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 | 10604 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 |
10601 echo "configure:10602: checking for X11/$athena_variant/XawInit.h" >&5 | 10605 echo "configure:10606: checking for X11/$athena_variant/XawInit.h" >&5 |
10602 | 10606 |
10603 cat > conftest.$ac_ext <<EOF | 10607 cat > conftest.$ac_ext <<EOF |
10604 #line 10605 "configure" | 10608 #line 10609 "configure" |
10605 #include "confdefs.h" | 10609 #include "confdefs.h" |
10606 #include <X11/$athena_variant/XawInit.h> | 10610 #include <X11/$athena_variant/XawInit.h> |
10607 EOF | 10611 EOF |
10608 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10612 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10609 { (eval echo configure:10610: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10613 { (eval echo configure:10614: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10610 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10614 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10611 if test -z "$ac_err"; then | 10615 if test -z "$ac_err"; then |
10612 rm -rf conftest* | 10616 rm -rf conftest* |
10613 eval "ac_cv_header_$ac_safe=yes" | 10617 eval "ac_cv_header_$ac_safe=yes" |
10614 else | 10618 else |
10621 rm -f conftest* | 10625 rm -f conftest* |
10622 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10626 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10623 echo "$ac_t""yes" 1>&6 | 10627 echo "$ac_t""yes" 1>&6 |
10624 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` | 10628 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` |
10625 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 | 10629 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 |
10626 echo "configure:10627: checking for X11/$athena_variant/ThreeD.h" >&5 | 10630 echo "configure:10631: checking for X11/$athena_variant/ThreeD.h" >&5 |
10627 | 10631 |
10628 cat > conftest.$ac_ext <<EOF | 10632 cat > conftest.$ac_ext <<EOF |
10629 #line 10630 "configure" | 10633 #line 10634 "configure" |
10630 #include "confdefs.h" | 10634 #include "confdefs.h" |
10631 #include <X11/$athena_variant/ThreeD.h> | 10635 #include <X11/$athena_variant/ThreeD.h> |
10632 EOF | 10636 EOF |
10633 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10637 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10634 { (eval echo configure:10635: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10638 { (eval echo configure:10639: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10635 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10639 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10636 if test -z "$ac_err"; then | 10640 if test -z "$ac_err"; then |
10637 rm -rf conftest* | 10641 rm -rf conftest* |
10638 eval "ac_cv_header_$ac_safe=yes" | 10642 eval "ac_cv_header_$ac_safe=yes" |
10639 else | 10643 else |
10657 | 10661 |
10658 | 10662 |
10659 if test -z "$athena_h_path"; then | 10663 if test -z "$athena_h_path"; then |
10660 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` | 10664 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` |
10661 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 | 10665 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 |
10662 echo "configure:10663: checking for $athena_variant/XawInit.h" >&5 | 10666 echo "configure:10667: checking for $athena_variant/XawInit.h" >&5 |
10663 | 10667 |
10664 cat > conftest.$ac_ext <<EOF | 10668 cat > conftest.$ac_ext <<EOF |
10665 #line 10666 "configure" | 10669 #line 10670 "configure" |
10666 #include "confdefs.h" | 10670 #include "confdefs.h" |
10667 #include <$athena_variant/XawInit.h> | 10671 #include <$athena_variant/XawInit.h> |
10668 EOF | 10672 EOF |
10669 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10673 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10670 { (eval echo configure:10671: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10674 { (eval echo configure:10675: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10671 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10675 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10672 if test -z "$ac_err"; then | 10676 if test -z "$ac_err"; then |
10673 rm -rf conftest* | 10677 rm -rf conftest* |
10674 eval "ac_cv_header_$ac_safe=yes" | 10678 eval "ac_cv_header_$ac_safe=yes" |
10675 else | 10679 else |
10682 rm -f conftest* | 10686 rm -f conftest* |
10683 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10687 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10684 echo "$ac_t""yes" 1>&6 | 10688 echo "$ac_t""yes" 1>&6 |
10685 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` | 10689 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` |
10686 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 | 10690 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 |
10687 echo "configure:10688: checking for $athena_variant/ThreeD.h" >&5 | 10691 echo "configure:10692: checking for $athena_variant/ThreeD.h" >&5 |
10688 | 10692 |
10689 cat > conftest.$ac_ext <<EOF | 10693 cat > conftest.$ac_ext <<EOF |
10690 #line 10691 "configure" | 10694 #line 10695 "configure" |
10691 #include "confdefs.h" | 10695 #include "confdefs.h" |
10692 #include <$athena_variant/ThreeD.h> | 10696 #include <$athena_variant/ThreeD.h> |
10693 EOF | 10697 EOF |
10694 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10698 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10695 { (eval echo configure:10696: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10699 { (eval echo configure:10700: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10696 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10700 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10697 if test -z "$ac_err"; then | 10701 if test -z "$ac_err"; then |
10698 rm -rf conftest* | 10702 rm -rf conftest* |
10699 eval "ac_cv_header_$ac_safe=yes" | 10703 eval "ac_cv_header_$ac_safe=yes" |
10700 else | 10704 else |
10719 fi | 10723 fi |
10720 | 10724 |
10721 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then | 10725 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then |
10722 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` | 10726 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` |
10723 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 | 10727 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 |
10724 echo "configure:10725: checking for X11/Xaw3d/XawInit.h" >&5 | 10728 echo "configure:10729: checking for X11/Xaw3d/XawInit.h" >&5 |
10725 | 10729 |
10726 cat > conftest.$ac_ext <<EOF | 10730 cat > conftest.$ac_ext <<EOF |
10727 #line 10728 "configure" | 10731 #line 10732 "configure" |
10728 #include "confdefs.h" | 10732 #include "confdefs.h" |
10729 #include <X11/Xaw3d/XawInit.h> | 10733 #include <X11/Xaw3d/XawInit.h> |
10730 EOF | 10734 EOF |
10731 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10735 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10732 { (eval echo configure:10733: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10736 { (eval echo configure:10737: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10733 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10737 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10734 if test -z "$ac_err"; then | 10738 if test -z "$ac_err"; then |
10735 rm -rf conftest* | 10739 rm -rf conftest* |
10736 eval "ac_cv_header_$ac_safe=yes" | 10740 eval "ac_cv_header_$ac_safe=yes" |
10737 else | 10741 else |
10744 rm -f conftest* | 10748 rm -f conftest* |
10745 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10749 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10746 echo "$ac_t""yes" 1>&6 | 10750 echo "$ac_t""yes" 1>&6 |
10747 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` | 10751 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` |
10748 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 | 10752 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 |
10749 echo "configure:10750: checking for X11/Xaw3d/ThreeD.h" >&5 | 10753 echo "configure:10754: checking for X11/Xaw3d/ThreeD.h" >&5 |
10750 | 10754 |
10751 cat > conftest.$ac_ext <<EOF | 10755 cat > conftest.$ac_ext <<EOF |
10752 #line 10753 "configure" | 10756 #line 10757 "configure" |
10753 #include "confdefs.h" | 10757 #include "confdefs.h" |
10754 #include <X11/Xaw3d/ThreeD.h> | 10758 #include <X11/Xaw3d/ThreeD.h> |
10755 EOF | 10759 EOF |
10756 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10760 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10757 { (eval echo configure:10758: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10761 { (eval echo configure:10762: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10758 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10762 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10759 if test -z "$ac_err"; then | 10763 if test -z "$ac_err"; then |
10760 rm -rf conftest* | 10764 rm -rf conftest* |
10761 eval "ac_cv_header_$ac_safe=yes" | 10765 eval "ac_cv_header_$ac_safe=yes" |
10762 else | 10766 else |
10784 fi | 10788 fi |
10785 | 10789 |
10786 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then | 10790 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then |
10787 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` | 10791 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` |
10788 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 | 10792 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 |
10789 echo "configure:10790: checking for Xaw3d/XawInit.h" >&5 | 10793 echo "configure:10794: checking for Xaw3d/XawInit.h" >&5 |
10790 | 10794 |
10791 cat > conftest.$ac_ext <<EOF | 10795 cat > conftest.$ac_ext <<EOF |
10792 #line 10793 "configure" | 10796 #line 10797 "configure" |
10793 #include "confdefs.h" | 10797 #include "confdefs.h" |
10794 #include <Xaw3d/XawInit.h> | 10798 #include <Xaw3d/XawInit.h> |
10795 EOF | 10799 EOF |
10796 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10800 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10797 { (eval echo configure:10798: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10801 { (eval echo configure:10802: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10798 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10802 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10799 if test -z "$ac_err"; then | 10803 if test -z "$ac_err"; then |
10800 rm -rf conftest* | 10804 rm -rf conftest* |
10801 eval "ac_cv_header_$ac_safe=yes" | 10805 eval "ac_cv_header_$ac_safe=yes" |
10802 else | 10806 else |
10809 rm -f conftest* | 10813 rm -f conftest* |
10810 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10814 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10811 echo "$ac_t""yes" 1>&6 | 10815 echo "$ac_t""yes" 1>&6 |
10812 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` | 10816 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` |
10813 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 | 10817 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 |
10814 echo "configure:10815: checking for Xaw3d/ThreeD.h" >&5 | 10818 echo "configure:10819: checking for Xaw3d/ThreeD.h" >&5 |
10815 | 10819 |
10816 cat > conftest.$ac_ext <<EOF | 10820 cat > conftest.$ac_ext <<EOF |
10817 #line 10818 "configure" | 10821 #line 10822 "configure" |
10818 #include "confdefs.h" | 10822 #include "confdefs.h" |
10819 #include <Xaw3d/ThreeD.h> | 10823 #include <Xaw3d/ThreeD.h> |
10820 EOF | 10824 EOF |
10821 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10825 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10822 { (eval echo configure:10823: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10826 { (eval echo configure:10827: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10823 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10827 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10824 if test -z "$ac_err"; then | 10828 if test -z "$ac_err"; then |
10825 rm -rf conftest* | 10829 rm -rf conftest* |
10826 eval "ac_cv_header_$ac_safe=yes" | 10830 eval "ac_cv_header_$ac_safe=yes" |
10827 else | 10831 else |
10849 fi | 10853 fi |
10850 | 10854 |
10851 if test -z "$athena_h_path"; then | 10855 if test -z "$athena_h_path"; then |
10852 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | 10856 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` |
10853 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | 10857 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 |
10854 echo "configure:10855: checking for X11/Xaw/ThreeD.h" >&5 | 10858 echo "configure:10859: checking for X11/Xaw/ThreeD.h" >&5 |
10855 | 10859 |
10856 cat > conftest.$ac_ext <<EOF | 10860 cat > conftest.$ac_ext <<EOF |
10857 #line 10858 "configure" | 10861 #line 10862 "configure" |
10858 #include "confdefs.h" | 10862 #include "confdefs.h" |
10859 #include <X11/Xaw/ThreeD.h> | 10863 #include <X11/Xaw/ThreeD.h> |
10860 EOF | 10864 EOF |
10861 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10865 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10862 { (eval echo configure:10863: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10866 { (eval echo configure:10867: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10863 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10867 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10864 if test -z "$ac_err"; then | 10868 if test -z "$ac_err"; then |
10865 rm -rf conftest* | 10869 rm -rf conftest* |
10866 eval "ac_cv_header_$ac_safe=yes" | 10870 eval "ac_cv_header_$ac_safe=yes" |
10867 else | 10871 else |
10896 have_xaw=no | 10900 have_xaw=no |
10897 fi | 10901 fi |
10898 if test "$with_x11" = "yes"; then | 10902 if test "$with_x11" = "yes"; then |
10899 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 10903 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
10900 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 10904 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
10901 echo "configure:10902: checking for Xm/Xm.h" >&5 | 10905 echo "configure:10906: checking for Xm/Xm.h" >&5 |
10902 | 10906 |
10903 cat > conftest.$ac_ext <<EOF | 10907 cat > conftest.$ac_ext <<EOF |
10904 #line 10905 "configure" | 10908 #line 10909 "configure" |
10905 #include "confdefs.h" | 10909 #include "confdefs.h" |
10906 #include <Xm/Xm.h> | 10910 #include <Xm/Xm.h> |
10907 EOF | 10911 EOF |
10908 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10912 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10909 { (eval echo configure:10910: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10913 { (eval echo configure:10914: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10910 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10914 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10911 if test -z "$ac_err"; then | 10915 if test -z "$ac_err"; then |
10912 rm -rf conftest* | 10916 rm -rf conftest* |
10913 eval "ac_cv_header_$ac_safe=yes" | 10917 eval "ac_cv_header_$ac_safe=yes" |
10914 else | 10918 else |
10921 rm -f conftest* | 10925 rm -f conftest* |
10922 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10926 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10923 echo "$ac_t""yes" 1>&6 | 10927 echo "$ac_t""yes" 1>&6 |
10924 | 10928 |
10925 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 10929 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
10926 echo "configure:10927: checking for XmStringFree in -lXm" >&5 | 10930 echo "configure:10931: checking for XmStringFree in -lXm" >&5 |
10927 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 10931 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
10928 | 10932 |
10929 xe_check_libs=" -lXm " | 10933 xe_check_libs=" -lXm " |
10930 cat > conftest.$ac_ext <<EOF | 10934 cat > conftest.$ac_ext <<EOF |
10931 #line 10932 "configure" | 10935 #line 10936 "configure" |
10932 #include "confdefs.h" | 10936 #include "confdefs.h" |
10933 /* Override any gcc2 internal prototype to avoid an error. */ | 10937 /* Override any gcc2 internal prototype to avoid an error. */ |
10934 /* We use char because int might match the return type of a gcc2 | 10938 /* We use char because int might match the return type of a gcc2 |
10935 builtin and then its argument prototype would still apply. */ | 10939 builtin and then its argument prototype would still apply. */ |
10936 char XmStringFree(); | 10940 char XmStringFree(); |
10937 | 10941 |
10938 int main() { | 10942 int main() { |
10939 XmStringFree() | 10943 XmStringFree() |
10940 ; return 0; } | 10944 ; return 0; } |
10941 EOF | 10945 EOF |
10942 if { (eval echo configure:10943: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10946 if { (eval echo configure:10947: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10943 rm -rf conftest* | 10947 rm -rf conftest* |
10944 eval "ac_cv_lib_$ac_lib_var=yes" | 10948 eval "ac_cv_lib_$ac_lib_var=yes" |
10945 else | 10949 else |
10946 echo "configure: failed program was:" >&5 | 10950 echo "configure: failed program was:" >&5 |
10947 cat conftest.$ac_ext >&5 | 10951 cat conftest.$ac_ext >&5 |
10966 fi | 10970 fi |
10967 | 10971 |
10968 | 10972 |
10969 if test "$have_motif" = "yes"; then | 10973 if test "$have_motif" = "yes"; then |
10970 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 | 10974 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 |
10971 echo "configure:10972: checking for Lesstif" >&5 | 10975 echo "configure:10976: checking for Lesstif" >&5 |
10972 cat > conftest.$ac_ext <<EOF | 10976 cat > conftest.$ac_ext <<EOF |
10973 #line 10974 "configure" | 10977 #line 10978 "configure" |
10974 #include "confdefs.h" | 10978 #include "confdefs.h" |
10975 #include <Xm/Xm.h> | 10979 #include <Xm/Xm.h> |
10976 #ifdef LESSTIF_VERSION | 10980 #ifdef LESSTIF_VERSION |
10977 yes | 10981 yes |
10978 #endif | 10982 #endif |
11341 | 11345 |
11342 fi | 11346 fi |
11343 | 11347 |
11344 if test "$with_mule" = "yes" ; then | 11348 if test "$with_mule" = "yes" ; then |
11345 echo "checking for Mule-related features" 1>&6 | 11349 echo "checking for Mule-related features" 1>&6 |
11346 echo "configure:11347: checking for Mule-related features" >&5 | 11350 echo "configure:11351: checking for Mule-related features" >&5 |
11347 { test "$extra_verbose" = "yes" && cat << \EOF | 11351 { test "$extra_verbose" = "yes" && cat << \EOF |
11348 Defining MULE | 11352 Defining MULE |
11349 EOF | 11353 EOF |
11350 cat >> confdefs.h <<\EOF | 11354 cat >> confdefs.h <<\EOF |
11351 #define MULE 1 | 11355 #define MULE 1 |
11355 | 11359 |
11356 for ac_hdr in libintl.h | 11360 for ac_hdr in libintl.h |
11357 do | 11361 do |
11358 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11362 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11359 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11363 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11360 echo "configure:11361: checking for $ac_hdr" >&5 | 11364 echo "configure:11365: checking for $ac_hdr" >&5 |
11361 | 11365 |
11362 cat > conftest.$ac_ext <<EOF | 11366 cat > conftest.$ac_ext <<EOF |
11363 #line 11364 "configure" | 11367 #line 11368 "configure" |
11364 #include "confdefs.h" | 11368 #include "confdefs.h" |
11365 #include <$ac_hdr> | 11369 #include <$ac_hdr> |
11366 EOF | 11370 EOF |
11367 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11371 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11368 { (eval echo configure:11369: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11372 { (eval echo configure:11373: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11369 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11373 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11370 if test -z "$ac_err"; then | 11374 if test -z "$ac_err"; then |
11371 rm -rf conftest* | 11375 rm -rf conftest* |
11372 eval "ac_cv_header_$ac_safe=yes" | 11376 eval "ac_cv_header_$ac_safe=yes" |
11373 else | 11377 else |
11394 fi | 11398 fi |
11395 done | 11399 done |
11396 | 11400 |
11397 | 11401 |
11398 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 | 11402 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 |
11399 echo "configure:11400: checking for strerror in -lintl" >&5 | 11403 echo "configure:11404: checking for strerror in -lintl" >&5 |
11400 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` | 11404 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` |
11401 | 11405 |
11402 xe_check_libs=" -lintl " | 11406 xe_check_libs=" -lintl " |
11403 cat > conftest.$ac_ext <<EOF | 11407 cat > conftest.$ac_ext <<EOF |
11404 #line 11405 "configure" | 11408 #line 11409 "configure" |
11405 #include "confdefs.h" | 11409 #include "confdefs.h" |
11406 /* Override any gcc2 internal prototype to avoid an error. */ | 11410 /* Override any gcc2 internal prototype to avoid an error. */ |
11407 /* We use char because int might match the return type of a gcc2 | 11411 /* We use char because int might match the return type of a gcc2 |
11408 builtin and then its argument prototype would still apply. */ | 11412 builtin and then its argument prototype would still apply. */ |
11409 char strerror(); | 11413 char strerror(); |
11410 | 11414 |
11411 int main() { | 11415 int main() { |
11412 strerror() | 11416 strerror() |
11413 ; return 0; } | 11417 ; return 0; } |
11414 EOF | 11418 EOF |
11415 if { (eval echo configure:11416: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11419 if { (eval echo configure:11420: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11416 rm -rf conftest* | 11420 rm -rf conftest* |
11417 eval "ac_cv_lib_$ac_lib_var=yes" | 11421 eval "ac_cv_lib_$ac_lib_var=yes" |
11418 else | 11422 else |
11419 echo "configure: failed program was:" >&5 | 11423 echo "configure: failed program was:" >&5 |
11420 cat conftest.$ac_ext >&5 | 11424 cat conftest.$ac_ext >&5 |
11443 fi | 11447 fi |
11444 | 11448 |
11445 | 11449 |
11446 | 11450 |
11447 echo "checking for Mule input methods" 1>&6 | 11451 echo "checking for Mule input methods" 1>&6 |
11448 echo "configure:11449: checking for Mule input methods" >&5 | 11452 echo "configure:11453: checking for Mule input methods" >&5 |
11449 case "$with_xim" in "" | "yes" ) | 11453 case "$with_xim" in "" | "yes" ) |
11450 echo "checking for XIM" 1>&6 | 11454 echo "checking for XIM" 1>&6 |
11451 echo "configure:11452: checking for XIM" >&5 | 11455 echo "configure:11456: checking for XIM" >&5 |
11452 | 11456 |
11453 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 | 11457 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 |
11454 echo "configure:11455: checking for XOpenIM in -lX11" >&5 | 11458 echo "configure:11459: checking for XOpenIM in -lX11" >&5 |
11455 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` | 11459 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` |
11456 | 11460 |
11457 xe_check_libs=" -lX11 " | 11461 xe_check_libs=" -lX11 " |
11458 cat > conftest.$ac_ext <<EOF | 11462 cat > conftest.$ac_ext <<EOF |
11459 #line 11460 "configure" | 11463 #line 11464 "configure" |
11460 #include "confdefs.h" | 11464 #include "confdefs.h" |
11461 /* Override any gcc2 internal prototype to avoid an error. */ | 11465 /* Override any gcc2 internal prototype to avoid an error. */ |
11462 /* We use char because int might match the return type of a gcc2 | 11466 /* We use char because int might match the return type of a gcc2 |
11463 builtin and then its argument prototype would still apply. */ | 11467 builtin and then its argument prototype would still apply. */ |
11464 char XOpenIM(); | 11468 char XOpenIM(); |
11465 | 11469 |
11466 int main() { | 11470 int main() { |
11467 XOpenIM() | 11471 XOpenIM() |
11468 ; return 0; } | 11472 ; return 0; } |
11469 EOF | 11473 EOF |
11470 if { (eval echo configure:11471: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11474 if { (eval echo configure:11475: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11471 rm -rf conftest* | 11475 rm -rf conftest* |
11472 eval "ac_cv_lib_$ac_lib_var=yes" | 11476 eval "ac_cv_lib_$ac_lib_var=yes" |
11473 else | 11477 else |
11474 echo "configure: failed program was:" >&5 | 11478 echo "configure: failed program was:" >&5 |
11475 cat conftest.$ac_ext >&5 | 11479 cat conftest.$ac_ext >&5 |
11489 | 11493 |
11490 | 11494 |
11491 if test "$have_motif $have_lesstif" = "yes no"; then | 11495 if test "$have_motif $have_lesstif" = "yes no"; then |
11492 | 11496 |
11493 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 | 11497 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 |
11494 echo "configure:11495: checking for XmImMbLookupString in -lXm" >&5 | 11498 echo "configure:11499: checking for XmImMbLookupString in -lXm" >&5 |
11495 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` | 11499 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` |
11496 | 11500 |
11497 xe_check_libs=" -lXm " | 11501 xe_check_libs=" -lXm " |
11498 cat > conftest.$ac_ext <<EOF | 11502 cat > conftest.$ac_ext <<EOF |
11499 #line 11500 "configure" | 11503 #line 11504 "configure" |
11500 #include "confdefs.h" | 11504 #include "confdefs.h" |
11501 /* Override any gcc2 internal prototype to avoid an error. */ | 11505 /* Override any gcc2 internal prototype to avoid an error. */ |
11502 /* We use char because int might match the return type of a gcc2 | 11506 /* We use char because int might match the return type of a gcc2 |
11503 builtin and then its argument prototype would still apply. */ | 11507 builtin and then its argument prototype would still apply. */ |
11504 char XmImMbLookupString(); | 11508 char XmImMbLookupString(); |
11505 | 11509 |
11506 int main() { | 11510 int main() { |
11507 XmImMbLookupString() | 11511 XmImMbLookupString() |
11508 ; return 0; } | 11512 ; return 0; } |
11509 EOF | 11513 EOF |
11510 if { (eval echo configure:11511: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11514 if { (eval echo configure:11515: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11511 rm -rf conftest* | 11515 rm -rf conftest* |
11512 eval "ac_cv_lib_$ac_lib_var=yes" | 11516 eval "ac_cv_lib_$ac_lib_var=yes" |
11513 else | 11517 else |
11514 echo "configure: failed program was:" >&5 | 11518 echo "configure: failed program was:" >&5 |
11515 cat conftest.$ac_ext >&5 | 11519 cat conftest.$ac_ext >&5 |
11570 fi | 11574 fi |
11571 fi | 11575 fi |
11572 | 11576 |
11573 if test "$with_xfs" = "yes" ; then | 11577 if test "$with_xfs" = "yes" ; then |
11574 echo "checking for XFontSet" 1>&6 | 11578 echo "checking for XFontSet" 1>&6 |
11575 echo "configure:11576: checking for XFontSet" >&5 | 11579 echo "configure:11580: checking for XFontSet" >&5 |
11576 | 11580 |
11577 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 | 11581 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 |
11578 echo "configure:11579: checking for XmbDrawString in -lX11" >&5 | 11582 echo "configure:11583: checking for XmbDrawString in -lX11" >&5 |
11579 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` | 11583 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` |
11580 | 11584 |
11581 xe_check_libs=" -lX11 " | 11585 xe_check_libs=" -lX11 " |
11582 cat > conftest.$ac_ext <<EOF | 11586 cat > conftest.$ac_ext <<EOF |
11583 #line 11584 "configure" | 11587 #line 11588 "configure" |
11584 #include "confdefs.h" | 11588 #include "confdefs.h" |
11585 /* Override any gcc2 internal prototype to avoid an error. */ | 11589 /* Override any gcc2 internal prototype to avoid an error. */ |
11586 /* We use char because int might match the return type of a gcc2 | 11590 /* We use char because int might match the return type of a gcc2 |
11587 builtin and then its argument prototype would still apply. */ | 11591 builtin and then its argument prototype would still apply. */ |
11588 char XmbDrawString(); | 11592 char XmbDrawString(); |
11589 | 11593 |
11590 int main() { | 11594 int main() { |
11591 XmbDrawString() | 11595 XmbDrawString() |
11592 ; return 0; } | 11596 ; return 0; } |
11593 EOF | 11597 EOF |
11594 if { (eval echo configure:11595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11598 if { (eval echo configure:11599: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11595 rm -rf conftest* | 11599 rm -rf conftest* |
11596 eval "ac_cv_lib_$ac_lib_var=yes" | 11600 eval "ac_cv_lib_$ac_lib_var=yes" |
11597 else | 11601 else |
11598 echo "configure: failed program was:" >&5 | 11602 echo "configure: failed program was:" >&5 |
11599 cat conftest.$ac_ext >&5 | 11603 cat conftest.$ac_ext >&5 |
11629 fi | 11633 fi |
11630 fi | 11634 fi |
11631 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support | 11635 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support |
11632 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` | 11636 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` |
11633 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 | 11637 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 |
11634 echo "configure:11635: checking for wnn/jllib.h" >&5 | 11638 echo "configure:11639: checking for wnn/jllib.h" >&5 |
11635 | 11639 |
11636 cat > conftest.$ac_ext <<EOF | 11640 cat > conftest.$ac_ext <<EOF |
11637 #line 11638 "configure" | 11641 #line 11642 "configure" |
11638 #include "confdefs.h" | 11642 #include "confdefs.h" |
11639 #include <wnn/jllib.h> | 11643 #include <wnn/jllib.h> |
11640 EOF | 11644 EOF |
11641 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11645 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11642 { (eval echo configure:11643: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11646 { (eval echo configure:11647: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11643 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11647 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11644 if test -z "$ac_err"; then | 11648 if test -z "$ac_err"; then |
11645 rm -rf conftest* | 11649 rm -rf conftest* |
11646 eval "ac_cv_header_$ac_safe=yes" | 11650 eval "ac_cv_header_$ac_safe=yes" |
11647 else | 11651 else |
11660 with_wnn=no | 11664 with_wnn=no |
11661 fi | 11665 fi |
11662 } | 11666 } |
11663 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'` | 11667 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'` |
11664 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6 | 11668 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6 |
11665 echo "configure:11666: checking for wnn/commonhd.h" >&5 | 11669 echo "configure:11670: checking for wnn/commonhd.h" >&5 |
11666 | 11670 |
11667 cat > conftest.$ac_ext <<EOF | 11671 cat > conftest.$ac_ext <<EOF |
11668 #line 11669 "configure" | 11672 #line 11673 "configure" |
11669 #include "confdefs.h" | 11673 #include "confdefs.h" |
11670 #include <wnn/commonhd.h> | 11674 #include <wnn/commonhd.h> |
11671 EOF | 11675 EOF |
11672 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11676 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11673 { (eval echo configure:11674: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11677 { (eval echo configure:11678: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11674 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11678 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11675 if test -z "$ac_err"; then | 11679 if test -z "$ac_err"; then |
11676 rm -rf conftest* | 11680 rm -rf conftest* |
11677 eval "ac_cv_header_$ac_safe=yes" | 11681 eval "ac_cv_header_$ac_safe=yes" |
11678 else | 11682 else |
11693 } | 11697 } |
11694 if test "$with_wnn" != "no"; then | 11698 if test "$with_wnn" != "no"; then |
11695 for ac_func in crypt | 11699 for ac_func in crypt |
11696 do | 11700 do |
11697 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11701 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11698 echo "configure:11699: checking for $ac_func" >&5 | 11702 echo "configure:11703: checking for $ac_func" >&5 |
11699 | 11703 |
11700 cat > conftest.$ac_ext <<EOF | 11704 cat > conftest.$ac_ext <<EOF |
11701 #line 11702 "configure" | 11705 #line 11706 "configure" |
11702 #include "confdefs.h" | 11706 #include "confdefs.h" |
11703 /* System header to define __stub macros and hopefully few prototypes, | 11707 /* System header to define __stub macros and hopefully few prototypes, |
11704 which can conflict with char $ac_func(); below. */ | 11708 which can conflict with char $ac_func(); below. */ |
11705 #include <assert.h> | 11709 #include <assert.h> |
11706 /* Override any gcc2 internal prototype to avoid an error. */ | 11710 /* Override any gcc2 internal prototype to avoid an error. */ |
11719 $ac_func(); | 11723 $ac_func(); |
11720 #endif | 11724 #endif |
11721 | 11725 |
11722 ; return 0; } | 11726 ; return 0; } |
11723 EOF | 11727 EOF |
11724 if { (eval echo configure:11725: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11728 if { (eval echo configure:11729: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11725 rm -rf conftest* | 11729 rm -rf conftest* |
11726 eval "ac_cv_func_$ac_func=yes" | 11730 eval "ac_cv_func_$ac_func=yes" |
11727 else | 11731 else |
11728 echo "configure: failed program was:" >&5 | 11732 echo "configure: failed program was:" >&5 |
11729 cat conftest.$ac_ext >&5 | 11733 cat conftest.$ac_ext >&5 |
11748 fi | 11752 fi |
11749 done | 11753 done |
11750 | 11754 |
11751 test "$ac_cv_func_crypt" != "yes" && { | 11755 test "$ac_cv_func_crypt" != "yes" && { |
11752 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 | 11756 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 |
11753 echo "configure:11754: checking for crypt in -lcrypt" >&5 | 11757 echo "configure:11758: checking for crypt in -lcrypt" >&5 |
11754 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` | 11758 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` |
11755 | 11759 |
11756 xe_check_libs=" -lcrypt " | 11760 xe_check_libs=" -lcrypt " |
11757 cat > conftest.$ac_ext <<EOF | 11761 cat > conftest.$ac_ext <<EOF |
11758 #line 11759 "configure" | 11762 #line 11763 "configure" |
11759 #include "confdefs.h" | 11763 #include "confdefs.h" |
11760 /* Override any gcc2 internal prototype to avoid an error. */ | 11764 /* Override any gcc2 internal prototype to avoid an error. */ |
11761 /* We use char because int might match the return type of a gcc2 | 11765 /* We use char because int might match the return type of a gcc2 |
11762 builtin and then its argument prototype would still apply. */ | 11766 builtin and then its argument prototype would still apply. */ |
11763 char crypt(); | 11767 char crypt(); |
11764 | 11768 |
11765 int main() { | 11769 int main() { |
11766 crypt() | 11770 crypt() |
11767 ; return 0; } | 11771 ; return 0; } |
11768 EOF | 11772 EOF |
11769 if { (eval echo configure:11770: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11773 if { (eval echo configure:11774: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11770 rm -rf conftest* | 11774 rm -rf conftest* |
11771 eval "ac_cv_lib_$ac_lib_var=yes" | 11775 eval "ac_cv_lib_$ac_lib_var=yes" |
11772 else | 11776 else |
11773 echo "configure: failed program was:" >&5 | 11777 echo "configure: failed program was:" >&5 |
11774 cat conftest.$ac_ext >&5 | 11778 cat conftest.$ac_ext >&5 |
11799 } | 11803 } |
11800 fi | 11804 fi |
11801 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then | 11805 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then |
11802 | 11806 |
11803 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 | 11807 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 |
11804 echo "configure:11805: checking for jl_dic_list_e in -lwnn" >&5 | 11808 echo "configure:11809: checking for jl_dic_list_e in -lwnn" >&5 |
11805 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 11809 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
11806 | 11810 |
11807 xe_check_libs=" -lwnn " | 11811 xe_check_libs=" -lwnn " |
11808 cat > conftest.$ac_ext <<EOF | 11812 cat > conftest.$ac_ext <<EOF |
11809 #line 11810 "configure" | 11813 #line 11814 "configure" |
11810 #include "confdefs.h" | 11814 #include "confdefs.h" |
11811 /* Override any gcc2 internal prototype to avoid an error. */ | 11815 /* Override any gcc2 internal prototype to avoid an error. */ |
11812 /* We use char because int might match the return type of a gcc2 | 11816 /* We use char because int might match the return type of a gcc2 |
11813 builtin and then its argument prototype would still apply. */ | 11817 builtin and then its argument prototype would still apply. */ |
11814 char jl_dic_list_e(); | 11818 char jl_dic_list_e(); |
11815 | 11819 |
11816 int main() { | 11820 int main() { |
11817 jl_dic_list_e() | 11821 jl_dic_list_e() |
11818 ; return 0; } | 11822 ; return 0; } |
11819 EOF | 11823 EOF |
11820 if { (eval echo configure:11821: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11824 if { (eval echo configure:11825: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11821 rm -rf conftest* | 11825 rm -rf conftest* |
11822 eval "ac_cv_lib_$ac_lib_var=yes" | 11826 eval "ac_cv_lib_$ac_lib_var=yes" |
11823 else | 11827 else |
11824 echo "configure: failed program was:" >&5 | 11828 echo "configure: failed program was:" >&5 |
11825 cat conftest.$ac_ext >&5 | 11829 cat conftest.$ac_ext >&5 |
11833 echo "$ac_t""yes" 1>&6 | 11837 echo "$ac_t""yes" 1>&6 |
11834 libwnn=wnn | 11838 libwnn=wnn |
11835 else | 11839 else |
11836 echo "$ac_t""no" 1>&6 | 11840 echo "$ac_t""no" 1>&6 |
11837 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 | 11841 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 |
11838 echo "configure:11839: checking for jl_dic_list_e in -lwnn4" >&5 | 11842 echo "configure:11843: checking for jl_dic_list_e in -lwnn4" >&5 |
11839 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 11843 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
11840 | 11844 |
11841 xe_check_libs=" -lwnn4 " | 11845 xe_check_libs=" -lwnn4 " |
11842 cat > conftest.$ac_ext <<EOF | 11846 cat > conftest.$ac_ext <<EOF |
11843 #line 11844 "configure" | 11847 #line 11848 "configure" |
11844 #include "confdefs.h" | 11848 #include "confdefs.h" |
11845 /* Override any gcc2 internal prototype to avoid an error. */ | 11849 /* Override any gcc2 internal prototype to avoid an error. */ |
11846 /* We use char because int might match the return type of a gcc2 | 11850 /* We use char because int might match the return type of a gcc2 |
11847 builtin and then its argument prototype would still apply. */ | 11851 builtin and then its argument prototype would still apply. */ |
11848 char jl_dic_list_e(); | 11852 char jl_dic_list_e(); |
11849 | 11853 |
11850 int main() { | 11854 int main() { |
11851 jl_dic_list_e() | 11855 jl_dic_list_e() |
11852 ; return 0; } | 11856 ; return 0; } |
11853 EOF | 11857 EOF |
11854 if { (eval echo configure:11855: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11858 if { (eval echo configure:11859: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11855 rm -rf conftest* | 11859 rm -rf conftest* |
11856 eval "ac_cv_lib_$ac_lib_var=yes" | 11860 eval "ac_cv_lib_$ac_lib_var=yes" |
11857 else | 11861 else |
11858 echo "configure: failed program was:" >&5 | 11862 echo "configure: failed program was:" >&5 |
11859 cat conftest.$ac_ext >&5 | 11863 cat conftest.$ac_ext >&5 |
11867 echo "$ac_t""yes" 1>&6 | 11871 echo "$ac_t""yes" 1>&6 |
11868 libwnn=wnn4 | 11872 libwnn=wnn4 |
11869 else | 11873 else |
11870 echo "$ac_t""no" 1>&6 | 11874 echo "$ac_t""no" 1>&6 |
11871 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 | 11875 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 |
11872 echo "configure:11873: checking for jl_dic_list_e in -lwnn6" >&5 | 11876 echo "configure:11877: checking for jl_dic_list_e in -lwnn6" >&5 |
11873 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 11877 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
11874 | 11878 |
11875 xe_check_libs=" -lwnn6 " | 11879 xe_check_libs=" -lwnn6 " |
11876 cat > conftest.$ac_ext <<EOF | 11880 cat > conftest.$ac_ext <<EOF |
11877 #line 11878 "configure" | 11881 #line 11882 "configure" |
11878 #include "confdefs.h" | 11882 #include "confdefs.h" |
11879 /* Override any gcc2 internal prototype to avoid an error. */ | 11883 /* Override any gcc2 internal prototype to avoid an error. */ |
11880 /* We use char because int might match the return type of a gcc2 | 11884 /* We use char because int might match the return type of a gcc2 |
11881 builtin and then its argument prototype would still apply. */ | 11885 builtin and then its argument prototype would still apply. */ |
11882 char jl_dic_list_e(); | 11886 char jl_dic_list_e(); |
11883 | 11887 |
11884 int main() { | 11888 int main() { |
11885 jl_dic_list_e() | 11889 jl_dic_list_e() |
11886 ; return 0; } | 11890 ; return 0; } |
11887 EOF | 11891 EOF |
11888 if { (eval echo configure:11889: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11892 if { (eval echo configure:11893: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11889 rm -rf conftest* | 11893 rm -rf conftest* |
11890 eval "ac_cv_lib_$ac_lib_var=yes" | 11894 eval "ac_cv_lib_$ac_lib_var=yes" |
11891 else | 11895 else |
11892 echo "configure: failed program was:" >&5 | 11896 echo "configure: failed program was:" >&5 |
11893 cat conftest.$ac_ext >&5 | 11897 cat conftest.$ac_ext >&5 |
11901 echo "$ac_t""yes" 1>&6 | 11905 echo "$ac_t""yes" 1>&6 |
11902 libwnn=wnn6 | 11906 libwnn=wnn6 |
11903 else | 11907 else |
11904 echo "$ac_t""no" 1>&6 | 11908 echo "$ac_t""no" 1>&6 |
11905 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 | 11909 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 |
11906 echo "configure:11907: checking for dic_list_e in -lwnn6_fromsrc" >&5 | 11910 echo "configure:11911: checking for dic_list_e in -lwnn6_fromsrc" >&5 |
11907 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` | 11911 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` |
11908 | 11912 |
11909 xe_check_libs=" -lwnn6_fromsrc " | 11913 xe_check_libs=" -lwnn6_fromsrc " |
11910 cat > conftest.$ac_ext <<EOF | 11914 cat > conftest.$ac_ext <<EOF |
11911 #line 11912 "configure" | 11915 #line 11916 "configure" |
11912 #include "confdefs.h" | 11916 #include "confdefs.h" |
11913 /* Override any gcc2 internal prototype to avoid an error. */ | 11917 /* Override any gcc2 internal prototype to avoid an error. */ |
11914 /* We use char because int might match the return type of a gcc2 | 11918 /* We use char because int might match the return type of a gcc2 |
11915 builtin and then its argument prototype would still apply. */ | 11919 builtin and then its argument prototype would still apply. */ |
11916 char dic_list_e(); | 11920 char dic_list_e(); |
11917 | 11921 |
11918 int main() { | 11922 int main() { |
11919 dic_list_e() | 11923 dic_list_e() |
11920 ; return 0; } | 11924 ; return 0; } |
11921 EOF | 11925 EOF |
11922 if { (eval echo configure:11923: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11926 if { (eval echo configure:11927: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11923 rm -rf conftest* | 11927 rm -rf conftest* |
11924 eval "ac_cv_lib_$ac_lib_var=yes" | 11928 eval "ac_cv_lib_$ac_lib_var=yes" |
11925 else | 11929 else |
11926 echo "configure: failed program was:" >&5 | 11930 echo "configure: failed program was:" >&5 |
11927 cat conftest.$ac_ext >&5 | 11931 cat conftest.$ac_ext >&5 |
11962 | 11966 |
11963 libs_x="-l$libwnn $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l$libwnn\" to \$libs_x"; fi | 11967 libs_x="-l$libwnn $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l$libwnn\" to \$libs_x"; fi |
11964 if test "$with_wnn6" != "no"; then | 11968 if test "$with_wnn6" != "no"; then |
11965 | 11969 |
11966 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 | 11970 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 |
11967 echo "configure:11968: checking for jl_fi_dic_list in -l$libwnn" >&5 | 11971 echo "configure:11972: checking for jl_fi_dic_list in -l$libwnn" >&5 |
11968 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` | 11972 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` |
11969 | 11973 |
11970 xe_check_libs=" -l$libwnn " | 11974 xe_check_libs=" -l$libwnn " |
11971 cat > conftest.$ac_ext <<EOF | 11975 cat > conftest.$ac_ext <<EOF |
11972 #line 11973 "configure" | 11976 #line 11977 "configure" |
11973 #include "confdefs.h" | 11977 #include "confdefs.h" |
11974 /* Override any gcc2 internal prototype to avoid an error. */ | 11978 /* Override any gcc2 internal prototype to avoid an error. */ |
11975 /* We use char because int might match the return type of a gcc2 | 11979 /* We use char because int might match the return type of a gcc2 |
11976 builtin and then its argument prototype would still apply. */ | 11980 builtin and then its argument prototype would still apply. */ |
11977 char jl_fi_dic_list(); | 11981 char jl_fi_dic_list(); |
11978 | 11982 |
11979 int main() { | 11983 int main() { |
11980 jl_fi_dic_list() | 11984 jl_fi_dic_list() |
11981 ; return 0; } | 11985 ; return 0; } |
11982 EOF | 11986 EOF |
11983 if { (eval echo configure:11984: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11987 if { (eval echo configure:11988: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11984 rm -rf conftest* | 11988 rm -rf conftest* |
11985 eval "ac_cv_lib_$ac_lib_var=yes" | 11989 eval "ac_cv_lib_$ac_lib_var=yes" |
11986 else | 11990 else |
11987 echo "configure: failed program was:" >&5 | 11991 echo "configure: failed program was:" >&5 |
11988 cat conftest.$ac_ext >&5 | 11992 cat conftest.$ac_ext >&5 |
12013 | 12017 |
12014 canna_includes_found=no | 12018 canna_includes_found=no |
12015 if test "$with_canna" != "no"; then | 12019 if test "$with_canna" != "no"; then |
12016 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 12020 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
12017 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 12021 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
12018 echo "configure:12019: checking for canna/jrkanji.h" >&5 | 12022 echo "configure:12023: checking for canna/jrkanji.h" >&5 |
12019 | 12023 |
12020 cat > conftest.$ac_ext <<EOF | 12024 cat > conftest.$ac_ext <<EOF |
12021 #line 12022 "configure" | 12025 #line 12026 "configure" |
12022 #include "confdefs.h" | 12026 #include "confdefs.h" |
12023 #include <canna/jrkanji.h> | 12027 #include <canna/jrkanji.h> |
12024 EOF | 12028 EOF |
12025 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12029 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12026 { (eval echo configure:12027: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12030 { (eval echo configure:12031: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12027 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12031 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12028 if test -z "$ac_err"; then | 12032 if test -z "$ac_err"; then |
12029 rm -rf conftest* | 12033 rm -rf conftest* |
12030 eval "ac_cv_header_$ac_safe=yes" | 12034 eval "ac_cv_header_$ac_safe=yes" |
12031 else | 12035 else |
12048 -d "/usr/local/canna/include"; then | 12052 -d "/usr/local/canna/include"; then |
12049 save_c_switch_site="$c_switch_site" | 12053 save_c_switch_site="$c_switch_site" |
12050 c_switch_site="$c_switch_site -I/usr/local/canna/include" | 12054 c_switch_site="$c_switch_site -I/usr/local/canna/include" |
12051 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 12055 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
12052 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 12056 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
12053 echo "configure:12054: checking for canna/jrkanji.h" >&5 | 12057 echo "configure:12058: checking for canna/jrkanji.h" >&5 |
12054 | 12058 |
12055 cat > conftest.$ac_ext <<EOF | 12059 cat > conftest.$ac_ext <<EOF |
12056 #line 12057 "configure" | 12060 #line 12061 "configure" |
12057 #include "confdefs.h" | 12061 #include "confdefs.h" |
12058 #include <canna/jrkanji.h> | 12062 #include <canna/jrkanji.h> |
12059 EOF | 12063 EOF |
12060 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12064 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12061 { (eval echo configure:12062: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12065 { (eval echo configure:12066: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12062 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12066 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12063 if test -z "$ac_err"; then | 12067 if test -z "$ac_err"; then |
12064 rm -rf conftest* | 12068 rm -rf conftest* |
12065 eval "ac_cv_header_$ac_safe=yes" | 12069 eval "ac_cv_header_$ac_safe=yes" |
12066 else | 12070 else |
12084 fi | 12088 fi |
12085 fi | 12089 fi |
12086 | 12090 |
12087 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` | 12091 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` |
12088 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 | 12092 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 |
12089 echo "configure:12090: checking for canna/RK.h" >&5 | 12093 echo "configure:12094: checking for canna/RK.h" >&5 |
12090 | 12094 |
12091 cat > conftest.$ac_ext <<EOF | 12095 cat > conftest.$ac_ext <<EOF |
12092 #line 12093 "configure" | 12096 #line 12097 "configure" |
12093 #include "confdefs.h" | 12097 #include "confdefs.h" |
12094 #include <canna/RK.h> | 12098 #include <canna/RK.h> |
12095 EOF | 12099 EOF |
12096 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12100 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12097 { (eval echo configure:12098: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12101 { (eval echo configure:12102: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12098 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12102 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12099 if test -z "$ac_err"; then | 12103 if test -z "$ac_err"; then |
12100 rm -rf conftest* | 12104 rm -rf conftest* |
12101 eval "ac_cv_header_$ac_safe=yes" | 12105 eval "ac_cv_header_$ac_safe=yes" |
12102 else | 12106 else |
12115 with_canna=no | 12119 with_canna=no |
12116 fi | 12120 fi |
12117 } | 12121 } |
12118 test -z "$with_canna" && { | 12122 test -z "$with_canna" && { |
12119 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 | 12123 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 |
12120 echo "configure:12121: checking for RkBgnBun in -lRKC" >&5 | 12124 echo "configure:12125: checking for RkBgnBun in -lRKC" >&5 |
12121 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` | 12125 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` |
12122 | 12126 |
12123 xe_check_libs=" -lRKC " | 12127 xe_check_libs=" -lRKC " |
12124 cat > conftest.$ac_ext <<EOF | 12128 cat > conftest.$ac_ext <<EOF |
12125 #line 12126 "configure" | 12129 #line 12130 "configure" |
12126 #include "confdefs.h" | 12130 #include "confdefs.h" |
12127 /* Override any gcc2 internal prototype to avoid an error. */ | 12131 /* Override any gcc2 internal prototype to avoid an error. */ |
12128 /* We use char because int might match the return type of a gcc2 | 12132 /* We use char because int might match the return type of a gcc2 |
12129 builtin and then its argument prototype would still apply. */ | 12133 builtin and then its argument prototype would still apply. */ |
12130 char RkBgnBun(); | 12134 char RkBgnBun(); |
12131 | 12135 |
12132 int main() { | 12136 int main() { |
12133 RkBgnBun() | 12137 RkBgnBun() |
12134 ; return 0; } | 12138 ; return 0; } |
12135 EOF | 12139 EOF |
12136 if { (eval echo configure:12137: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12140 if { (eval echo configure:12141: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12137 rm -rf conftest* | 12141 rm -rf conftest* |
12138 eval "ac_cv_lib_$ac_lib_var=yes" | 12142 eval "ac_cv_lib_$ac_lib_var=yes" |
12139 else | 12143 else |
12140 echo "configure: failed program was:" >&5 | 12144 echo "configure: failed program was:" >&5 |
12141 cat conftest.$ac_ext >&5 | 12145 cat conftest.$ac_ext >&5 |
12154 fi | 12158 fi |
12155 | 12159 |
12156 } | 12160 } |
12157 test -z "$with_canna" && { | 12161 test -z "$with_canna" && { |
12158 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 | 12162 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 |
12159 echo "configure:12160: checking for jrKanjiControl in -lcanna" >&5 | 12163 echo "configure:12164: checking for jrKanjiControl in -lcanna" >&5 |
12160 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` | 12164 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` |
12161 | 12165 |
12162 xe_check_libs=" -lcanna " | 12166 xe_check_libs=" -lcanna " |
12163 cat > conftest.$ac_ext <<EOF | 12167 cat > conftest.$ac_ext <<EOF |
12164 #line 12165 "configure" | 12168 #line 12169 "configure" |
12165 #include "confdefs.h" | 12169 #include "confdefs.h" |
12166 /* Override any gcc2 internal prototype to avoid an error. */ | 12170 /* Override any gcc2 internal prototype to avoid an error. */ |
12167 /* We use char because int might match the return type of a gcc2 | 12171 /* We use char because int might match the return type of a gcc2 |
12168 builtin and then its argument prototype would still apply. */ | 12172 builtin and then its argument prototype would still apply. */ |
12169 char jrKanjiControl(); | 12173 char jrKanjiControl(); |
12170 | 12174 |
12171 int main() { | 12175 int main() { |
12172 jrKanjiControl() | 12176 jrKanjiControl() |
12173 ; return 0; } | 12177 ; return 0; } |
12174 EOF | 12178 EOF |
12175 if { (eval echo configure:12176: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12179 if { (eval echo configure:12180: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12176 rm -rf conftest* | 12180 rm -rf conftest* |
12177 eval "ac_cv_lib_$ac_lib_var=yes" | 12181 eval "ac_cv_lib_$ac_lib_var=yes" |
12178 else | 12182 else |
12179 echo "configure: failed program was:" >&5 | 12183 echo "configure: failed program was:" >&5 |
12180 cat conftest.$ac_ext >&5 | 12184 cat conftest.$ac_ext >&5 |
12216 | 12220 |
12217 if test "$need_motif" = "yes" ; then | 12221 if test "$need_motif" = "yes" ; then |
12218 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi | 12222 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi |
12219 | 12223 |
12220 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 | 12224 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 |
12221 echo "configure:12222: checking for layout_object_getvalue in -li18n" >&5 | 12225 echo "configure:12226: checking for layout_object_getvalue in -li18n" >&5 |
12222 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` | 12226 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` |
12223 | 12227 |
12224 xe_check_libs=" -li18n " | 12228 xe_check_libs=" -li18n " |
12225 cat > conftest.$ac_ext <<EOF | 12229 cat > conftest.$ac_ext <<EOF |
12226 #line 12227 "configure" | 12230 #line 12231 "configure" |
12227 #include "confdefs.h" | 12231 #include "confdefs.h" |
12228 /* Override any gcc2 internal prototype to avoid an error. */ | 12232 /* Override any gcc2 internal prototype to avoid an error. */ |
12229 /* We use char because int might match the return type of a gcc2 | 12233 /* We use char because int might match the return type of a gcc2 |
12230 builtin and then its argument prototype would still apply. */ | 12234 builtin and then its argument prototype would still apply. */ |
12231 char layout_object_getvalue(); | 12235 char layout_object_getvalue(); |
12232 | 12236 |
12233 int main() { | 12237 int main() { |
12234 layout_object_getvalue() | 12238 layout_object_getvalue() |
12235 ; return 0; } | 12239 ; return 0; } |
12236 EOF | 12240 EOF |
12237 if { (eval echo configure:12238: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12241 if { (eval echo configure:12242: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12238 rm -rf conftest* | 12242 rm -rf conftest* |
12239 eval "ac_cv_lib_$ac_lib_var=yes" | 12243 eval "ac_cv_lib_$ac_lib_var=yes" |
12240 else | 12244 else |
12241 echo "configure: failed program was:" >&5 | 12245 echo "configure: failed program was:" >&5 |
12242 cat conftest.$ac_ext >&5 | 12246 cat conftest.$ac_ext >&5 |
12319 | 12323 |
12320 | 12324 |
12321 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp fsync ftime ftruncate getaddrinfo gethostname getnameinfo getpagesize getrlimit gettimeofday getcwd link logb lrand48 matherr mkdir mktime perror poll random readlink rename res_init rint rmdir select setitimer setpgid setsid sigblock sighold sigprocmask snprintf strerror strlwr strupr symlink tzset ulimit umask usleep vlimit vsnprintf waitpid wcscmp wcslen | 12325 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp fsync ftime ftruncate getaddrinfo gethostname getnameinfo getpagesize getrlimit gettimeofday getcwd link logb lrand48 matherr mkdir mktime perror poll random readlink rename res_init rint rmdir select setitimer setpgid setsid sigblock sighold sigprocmask snprintf strerror strlwr strupr symlink tzset ulimit umask usleep vlimit vsnprintf waitpid wcscmp wcslen |
12322 do | 12326 do |
12323 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12327 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
12324 echo "configure:12325: checking for $ac_func" >&5 | 12328 echo "configure:12329: checking for $ac_func" >&5 |
12325 | 12329 |
12326 cat > conftest.$ac_ext <<EOF | 12330 cat > conftest.$ac_ext <<EOF |
12327 #line 12328 "configure" | 12331 #line 12332 "configure" |
12328 #include "confdefs.h" | 12332 #include "confdefs.h" |
12329 /* System header to define __stub macros and hopefully few prototypes, | 12333 /* System header to define __stub macros and hopefully few prototypes, |
12330 which can conflict with char $ac_func(); below. */ | 12334 which can conflict with char $ac_func(); below. */ |
12331 #include <assert.h> | 12335 #include <assert.h> |
12332 /* Override any gcc2 internal prototype to avoid an error. */ | 12336 /* Override any gcc2 internal prototype to avoid an error. */ |
12345 $ac_func(); | 12349 $ac_func(); |
12346 #endif | 12350 #endif |
12347 | 12351 |
12348 ; return 0; } | 12352 ; return 0; } |
12349 EOF | 12353 EOF |
12350 if { (eval echo configure:12351: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12354 if { (eval echo configure:12355: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12351 rm -rf conftest* | 12355 rm -rf conftest* |
12352 eval "ac_cv_func_$ac_func=yes" | 12356 eval "ac_cv_func_$ac_func=yes" |
12353 else | 12357 else |
12354 echo "configure: failed program was:" >&5 | 12358 echo "configure: failed program was:" >&5 |
12355 cat conftest.$ac_ext >&5 | 12359 cat conftest.$ac_ext >&5 |
12386 | 12390 |
12387 | 12391 |
12388 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp | 12392 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp |
12389 do | 12393 do |
12390 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12394 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
12391 echo "configure:12392: checking for $ac_func" >&5 | 12395 echo "configure:12396: checking for $ac_func" >&5 |
12392 | 12396 |
12393 cat > conftest.$ac_ext <<EOF | 12397 cat > conftest.$ac_ext <<EOF |
12394 #line 12395 "configure" | 12398 #line 12399 "configure" |
12395 #include "confdefs.h" | 12399 #include "confdefs.h" |
12396 /* System header to define __stub macros and hopefully few prototypes, | 12400 /* System header to define __stub macros and hopefully few prototypes, |
12397 which can conflict with char $ac_func(); below. */ | 12401 which can conflict with char $ac_func(); below. */ |
12398 #include <assert.h> | 12402 #include <assert.h> |
12399 /* Override any gcc2 internal prototype to avoid an error. */ | 12403 /* Override any gcc2 internal prototype to avoid an error. */ |
12412 $ac_func(); | 12416 $ac_func(); |
12413 #endif | 12417 #endif |
12414 | 12418 |
12415 ; return 0; } | 12419 ; return 0; } |
12416 EOF | 12420 EOF |
12417 if { (eval echo configure:12418: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12421 if { (eval echo configure:12422: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12418 rm -rf conftest* | 12422 rm -rf conftest* |
12419 eval "ac_cv_func_$ac_func=yes" | 12423 eval "ac_cv_func_$ac_func=yes" |
12420 else | 12424 else |
12421 echo "configure: failed program was:" >&5 | 12425 echo "configure: failed program was:" >&5 |
12422 cat conftest.$ac_ext >&5 | 12426 cat conftest.$ac_ext >&5 |
12441 fi | 12445 fi |
12442 done | 12446 done |
12443 | 12447 |
12444 | 12448 |
12445 echo $ac_n "checking for openpty""... $ac_c" 1>&6 | 12449 echo $ac_n "checking for openpty""... $ac_c" 1>&6 |
12446 echo "configure:12447: checking for openpty" >&5 | 12450 echo "configure:12451: checking for openpty" >&5 |
12447 | 12451 |
12448 cat > conftest.$ac_ext <<EOF | 12452 cat > conftest.$ac_ext <<EOF |
12449 #line 12450 "configure" | 12453 #line 12454 "configure" |
12450 #include "confdefs.h" | 12454 #include "confdefs.h" |
12451 /* System header to define __stub macros and hopefully few prototypes, | 12455 /* System header to define __stub macros and hopefully few prototypes, |
12452 which can conflict with char openpty(); below. */ | 12456 which can conflict with char openpty(); below. */ |
12453 #include <assert.h> | 12457 #include <assert.h> |
12454 /* Override any gcc2 internal prototype to avoid an error. */ | 12458 /* Override any gcc2 internal prototype to avoid an error. */ |
12467 openpty(); | 12471 openpty(); |
12468 #endif | 12472 #endif |
12469 | 12473 |
12470 ; return 0; } | 12474 ; return 0; } |
12471 EOF | 12475 EOF |
12472 if { (eval echo configure:12473: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12476 if { (eval echo configure:12477: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12473 rm -rf conftest* | 12477 rm -rf conftest* |
12474 eval "ac_cv_func_openpty=yes" | 12478 eval "ac_cv_func_openpty=yes" |
12475 else | 12479 else |
12476 echo "configure: failed program was:" >&5 | 12480 echo "configure: failed program was:" >&5 |
12477 cat conftest.$ac_ext >&5 | 12481 cat conftest.$ac_ext >&5 |
12486 else | 12490 else |
12487 echo "$ac_t""no" 1>&6 | 12491 echo "$ac_t""no" 1>&6 |
12488 | 12492 |
12489 | 12493 |
12490 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 | 12494 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 |
12491 echo "configure:12492: checking for openpty in -lutil" >&5 | 12495 echo "configure:12496: checking for openpty in -lutil" >&5 |
12492 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` | 12496 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` |
12493 | 12497 |
12494 xe_check_libs=" -lutil " | 12498 xe_check_libs=" -lutil " |
12495 cat > conftest.$ac_ext <<EOF | 12499 cat > conftest.$ac_ext <<EOF |
12496 #line 12497 "configure" | 12500 #line 12501 "configure" |
12497 #include "confdefs.h" | 12501 #include "confdefs.h" |
12498 /* Override any gcc2 internal prototype to avoid an error. */ | 12502 /* Override any gcc2 internal prototype to avoid an error. */ |
12499 /* We use char because int might match the return type of a gcc2 | 12503 /* We use char because int might match the return type of a gcc2 |
12500 builtin and then its argument prototype would still apply. */ | 12504 builtin and then its argument prototype would still apply. */ |
12501 char openpty(); | 12505 char openpty(); |
12502 | 12506 |
12503 int main() { | 12507 int main() { |
12504 openpty() | 12508 openpty() |
12505 ; return 0; } | 12509 ; return 0; } |
12506 EOF | 12510 EOF |
12507 if { (eval echo configure:12508: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12511 if { (eval echo configure:12512: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12508 rm -rf conftest* | 12512 rm -rf conftest* |
12509 eval "ac_cv_lib_$ac_lib_var=yes" | 12513 eval "ac_cv_lib_$ac_lib_var=yes" |
12510 else | 12514 else |
12511 echo "configure: failed program was:" >&5 | 12515 echo "configure: failed program was:" >&5 |
12512 cat conftest.$ac_ext >&5 | 12516 cat conftest.$ac_ext >&5 |
12537 | 12541 |
12538 for ac_hdr in libutil.h util.h | 12542 for ac_hdr in libutil.h util.h |
12539 do | 12543 do |
12540 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12544 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12541 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12545 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12542 echo "configure:12543: checking for $ac_hdr" >&5 | 12546 echo "configure:12547: checking for $ac_hdr" >&5 |
12543 | 12547 |
12544 cat > conftest.$ac_ext <<EOF | 12548 cat > conftest.$ac_ext <<EOF |
12545 #line 12546 "configure" | 12549 #line 12550 "configure" |
12546 #include "confdefs.h" | 12550 #include "confdefs.h" |
12547 #include <$ac_hdr> | 12551 #include <$ac_hdr> |
12548 EOF | 12552 EOF |
12549 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12553 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12550 { (eval echo configure:12551: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12554 { (eval echo configure:12555: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12551 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12555 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12552 if test -z "$ac_err"; then | 12556 if test -z "$ac_err"; then |
12553 rm -rf conftest* | 12557 rm -rf conftest* |
12554 eval "ac_cv_header_$ac_safe=yes" | 12558 eval "ac_cv_header_$ac_safe=yes" |
12555 else | 12559 else |
12582 case "$opsys" in | 12586 case "$opsys" in |
12583 hpux*) for ac_hdr in sys/ptyio.h | 12587 hpux*) for ac_hdr in sys/ptyio.h |
12584 do | 12588 do |
12585 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12589 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12586 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12590 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12587 echo "configure:12588: checking for $ac_hdr" >&5 | 12591 echo "configure:12592: checking for $ac_hdr" >&5 |
12588 | 12592 |
12589 cat > conftest.$ac_ext <<EOF | 12593 cat > conftest.$ac_ext <<EOF |
12590 #line 12591 "configure" | 12594 #line 12595 "configure" |
12591 #include "confdefs.h" | 12595 #include "confdefs.h" |
12592 #include <$ac_hdr> | 12596 #include <$ac_hdr> |
12593 EOF | 12597 EOF |
12594 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12598 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12595 { (eval echo configure:12596: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12599 { (eval echo configure:12600: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12596 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12600 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12597 if test -z "$ac_err"; then | 12601 if test -z "$ac_err"; then |
12598 rm -rf conftest* | 12602 rm -rf conftest* |
12599 eval "ac_cv_header_$ac_safe=yes" | 12603 eval "ac_cv_header_$ac_safe=yes" |
12600 else | 12604 else |
12623 ;; | 12627 ;; |
12624 *) for ac_hdr in pty.h | 12628 *) for ac_hdr in pty.h |
12625 do | 12629 do |
12626 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12630 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12627 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12631 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12628 echo "configure:12629: checking for $ac_hdr" >&5 | 12632 echo "configure:12633: checking for $ac_hdr" >&5 |
12629 | 12633 |
12630 cat > conftest.$ac_ext <<EOF | 12634 cat > conftest.$ac_ext <<EOF |
12631 #line 12632 "configure" | 12635 #line 12636 "configure" |
12632 #include "confdefs.h" | 12636 #include "confdefs.h" |
12633 #include <$ac_hdr> | 12637 #include <$ac_hdr> |
12634 EOF | 12638 EOF |
12635 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12639 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12636 { (eval echo configure:12637: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12640 { (eval echo configure:12641: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12637 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12641 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12638 if test -z "$ac_err"; then | 12642 if test -z "$ac_err"; then |
12639 rm -rf conftest* | 12643 rm -rf conftest* |
12640 eval "ac_cv_header_$ac_safe=yes" | 12644 eval "ac_cv_header_$ac_safe=yes" |
12641 else | 12645 else |
12664 | 12668 |
12665 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h | 12669 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h |
12666 do | 12670 do |
12667 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12671 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12668 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12672 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12669 echo "configure:12670: checking for $ac_hdr" >&5 | 12673 echo "configure:12674: checking for $ac_hdr" >&5 |
12670 | 12674 |
12671 cat > conftest.$ac_ext <<EOF | 12675 cat > conftest.$ac_ext <<EOF |
12672 #line 12673 "configure" | 12676 #line 12677 "configure" |
12673 #include "confdefs.h" | 12677 #include "confdefs.h" |
12674 #include <$ac_hdr> | 12678 #include <$ac_hdr> |
12675 EOF | 12679 EOF |
12676 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12680 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12677 { (eval echo configure:12678: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12681 { (eval echo configure:12682: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12678 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12682 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12679 if test -z "$ac_err"; then | 12683 if test -z "$ac_err"; then |
12680 rm -rf conftest* | 12684 rm -rf conftest* |
12681 eval "ac_cv_header_$ac_safe=yes" | 12685 eval "ac_cv_header_$ac_safe=yes" |
12682 else | 12686 else |
12708 | 12712 |
12709 for ac_hdr in stropts.h | 12713 for ac_hdr in stropts.h |
12710 do | 12714 do |
12711 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12715 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12712 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12716 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12713 echo "configure:12714: checking for $ac_hdr" >&5 | 12717 echo "configure:12718: checking for $ac_hdr" >&5 |
12714 | 12718 |
12715 cat > conftest.$ac_ext <<EOF | 12719 cat > conftest.$ac_ext <<EOF |
12716 #line 12717 "configure" | 12720 #line 12721 "configure" |
12717 #include "confdefs.h" | 12721 #include "confdefs.h" |
12718 #include <$ac_hdr> | 12722 #include <$ac_hdr> |
12719 EOF | 12723 EOF |
12720 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12724 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12721 { (eval echo configure:12722: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12725 { (eval echo configure:12726: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12722 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12726 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12723 if test -z "$ac_err"; then | 12727 if test -z "$ac_err"; then |
12724 rm -rf conftest* | 12728 rm -rf conftest* |
12725 eval "ac_cv_header_$ac_safe=yes" | 12729 eval "ac_cv_header_$ac_safe=yes" |
12726 else | 12730 else |
12749 | 12753 |
12750 if test "$ac_cv_header_stropts_h" = "yes"; then | 12754 if test "$ac_cv_header_stropts_h" = "yes"; then |
12751 for ac_func in isastream | 12755 for ac_func in isastream |
12752 do | 12756 do |
12753 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12757 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
12754 echo "configure:12755: checking for $ac_func" >&5 | 12758 echo "configure:12759: checking for $ac_func" >&5 |
12755 | 12759 |
12756 cat > conftest.$ac_ext <<EOF | 12760 cat > conftest.$ac_ext <<EOF |
12757 #line 12758 "configure" | 12761 #line 12762 "configure" |
12758 #include "confdefs.h" | 12762 #include "confdefs.h" |
12759 /* System header to define __stub macros and hopefully few prototypes, | 12763 /* System header to define __stub macros and hopefully few prototypes, |
12760 which can conflict with char $ac_func(); below. */ | 12764 which can conflict with char $ac_func(); below. */ |
12761 #include <assert.h> | 12765 #include <assert.h> |
12762 /* Override any gcc2 internal prototype to avoid an error. */ | 12766 /* Override any gcc2 internal prototype to avoid an error. */ |
12775 $ac_func(); | 12779 $ac_func(); |
12776 #endif | 12780 #endif |
12777 | 12781 |
12778 ; return 0; } | 12782 ; return 0; } |
12779 EOF | 12783 EOF |
12780 if { (eval echo configure:12781: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12784 if { (eval echo configure:12785: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12781 rm -rf conftest* | 12785 rm -rf conftest* |
12782 eval "ac_cv_func_$ac_func=yes" | 12786 eval "ac_cv_func_$ac_func=yes" |
12783 else | 12787 else |
12784 echo "configure: failed program was:" >&5 | 12788 echo "configure: failed program was:" >&5 |
12785 cat conftest.$ac_ext >&5 | 12789 cat conftest.$ac_ext >&5 |
12806 | 12810 |
12807 for ac_hdr in strtio.h | 12811 for ac_hdr in strtio.h |
12808 do | 12812 do |
12809 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12813 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12810 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12814 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12811 echo "configure:12812: checking for $ac_hdr" >&5 | 12815 echo "configure:12816: checking for $ac_hdr" >&5 |
12812 | 12816 |
12813 cat > conftest.$ac_ext <<EOF | 12817 cat > conftest.$ac_ext <<EOF |
12814 #line 12815 "configure" | 12818 #line 12819 "configure" |
12815 #include "confdefs.h" | 12819 #include "confdefs.h" |
12816 #include <$ac_hdr> | 12820 #include <$ac_hdr> |
12817 EOF | 12821 EOF |
12818 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12822 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12819 { (eval echo configure:12820: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12823 { (eval echo configure:12824: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12820 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12824 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12821 if test -z "$ac_err"; then | 12825 if test -z "$ac_err"; then |
12822 rm -rf conftest* | 12826 rm -rf conftest* |
12823 eval "ac_cv_header_$ac_safe=yes" | 12827 eval "ac_cv_header_$ac_safe=yes" |
12824 else | 12828 else |
12847 fi | 12851 fi |
12848 | 12852 |
12849 for ac_func in getloadavg | 12853 for ac_func in getloadavg |
12850 do | 12854 do |
12851 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12855 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
12852 echo "configure:12853: checking for $ac_func" >&5 | 12856 echo "configure:12857: checking for $ac_func" >&5 |
12853 | 12857 |
12854 cat > conftest.$ac_ext <<EOF | 12858 cat > conftest.$ac_ext <<EOF |
12855 #line 12856 "configure" | 12859 #line 12860 "configure" |
12856 #include "confdefs.h" | 12860 #include "confdefs.h" |
12857 /* System header to define __stub macros and hopefully few prototypes, | 12861 /* System header to define __stub macros and hopefully few prototypes, |
12858 which can conflict with char $ac_func(); below. */ | 12862 which can conflict with char $ac_func(); below. */ |
12859 #include <assert.h> | 12863 #include <assert.h> |
12860 /* Override any gcc2 internal prototype to avoid an error. */ | 12864 /* Override any gcc2 internal prototype to avoid an error. */ |
12873 $ac_func(); | 12877 $ac_func(); |
12874 #endif | 12878 #endif |
12875 | 12879 |
12876 ; return 0; } | 12880 ; return 0; } |
12877 EOF | 12881 EOF |
12878 if { (eval echo configure:12879: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12882 if { (eval echo configure:12883: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12879 rm -rf conftest* | 12883 rm -rf conftest* |
12880 eval "ac_cv_func_$ac_func=yes" | 12884 eval "ac_cv_func_$ac_func=yes" |
12881 else | 12885 else |
12882 echo "configure: failed program was:" >&5 | 12886 echo "configure: failed program was:" >&5 |
12883 cat conftest.$ac_ext >&5 | 12887 cat conftest.$ac_ext >&5 |
12906 if test "$ac_cv_func_getloadavg" = "yes"; then | 12910 if test "$ac_cv_func_getloadavg" = "yes"; then |
12907 for ac_hdr in sys/loadavg.h | 12911 for ac_hdr in sys/loadavg.h |
12908 do | 12912 do |
12909 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12913 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12910 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12914 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12911 echo "configure:12912: checking for $ac_hdr" >&5 | 12915 echo "configure:12916: checking for $ac_hdr" >&5 |
12912 | 12916 |
12913 cat > conftest.$ac_ext <<EOF | 12917 cat > conftest.$ac_ext <<EOF |
12914 #line 12915 "configure" | 12918 #line 12919 "configure" |
12915 #include "confdefs.h" | 12919 #include "confdefs.h" |
12916 #include <$ac_hdr> | 12920 #include <$ac_hdr> |
12917 EOF | 12921 EOF |
12918 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12922 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12919 { (eval echo configure:12920: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12923 { (eval echo configure:12924: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12920 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12924 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12921 if test -z "$ac_err"; then | 12925 if test -z "$ac_err"; then |
12922 rm -rf conftest* | 12926 rm -rf conftest* |
12923 eval "ac_cv_header_$ac_safe=yes" | 12927 eval "ac_cv_header_$ac_safe=yes" |
12924 else | 12928 else |
12950 echo " xemacs will be linked with \"getloadavg.o\"" | 12954 echo " xemacs will be linked with \"getloadavg.o\"" |
12951 fi | 12955 fi |
12952 | 12956 |
12953 | 12957 |
12954 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 | 12958 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 |
12955 echo "configure:12956: checking for kstat_open in -lkstat" >&5 | 12959 echo "configure:12960: checking for kstat_open in -lkstat" >&5 |
12956 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` | 12960 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` |
12957 | 12961 |
12958 xe_check_libs=" -lkstat " | 12962 xe_check_libs=" -lkstat " |
12959 cat > conftest.$ac_ext <<EOF | 12963 cat > conftest.$ac_ext <<EOF |
12960 #line 12961 "configure" | 12964 #line 12965 "configure" |
12961 #include "confdefs.h" | 12965 #include "confdefs.h" |
12962 /* Override any gcc2 internal prototype to avoid an error. */ | 12966 /* Override any gcc2 internal prototype to avoid an error. */ |
12963 /* We use char because int might match the return type of a gcc2 | 12967 /* We use char because int might match the return type of a gcc2 |
12964 builtin and then its argument prototype would still apply. */ | 12968 builtin and then its argument prototype would still apply. */ |
12965 char kstat_open(); | 12969 char kstat_open(); |
12966 | 12970 |
12967 int main() { | 12971 int main() { |
12968 kstat_open() | 12972 kstat_open() |
12969 ; return 0; } | 12973 ; return 0; } |
12970 EOF | 12974 EOF |
12971 if { (eval echo configure:12972: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12975 if { (eval echo configure:12976: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12972 rm -rf conftest* | 12976 rm -rf conftest* |
12973 eval "ac_cv_lib_$ac_lib_var=yes" | 12977 eval "ac_cv_lib_$ac_lib_var=yes" |
12974 else | 12978 else |
12975 echo "configure: failed program was:" >&5 | 12979 echo "configure: failed program was:" >&5 |
12976 cat conftest.$ac_ext >&5 | 12980 cat conftest.$ac_ext >&5 |
13001 | 13005 |
13002 for ac_hdr in kstat.h | 13006 for ac_hdr in kstat.h |
13003 do | 13007 do |
13004 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 13008 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
13005 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 13009 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
13006 echo "configure:13007: checking for $ac_hdr" >&5 | 13010 echo "configure:13011: checking for $ac_hdr" >&5 |
13007 | 13011 |
13008 cat > conftest.$ac_ext <<EOF | 13012 cat > conftest.$ac_ext <<EOF |
13009 #line 13010 "configure" | 13013 #line 13014 "configure" |
13010 #include "confdefs.h" | 13014 #include "confdefs.h" |
13011 #include <$ac_hdr> | 13015 #include <$ac_hdr> |
13012 EOF | 13016 EOF |
13013 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13017 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13014 { (eval echo configure:13015: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13018 { (eval echo configure:13019: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13015 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13019 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13016 if test -z "$ac_err"; then | 13020 if test -z "$ac_err"; then |
13017 rm -rf conftest* | 13021 rm -rf conftest* |
13018 eval "ac_cv_header_$ac_safe=yes" | 13022 eval "ac_cv_header_$ac_safe=yes" |
13019 else | 13023 else |
13041 done | 13045 done |
13042 | 13046 |
13043 | 13047 |
13044 | 13048 |
13045 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 | 13049 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 |
13046 echo "configure:13047: checking for kvm_read in -lkvm" >&5 | 13050 echo "configure:13051: checking for kvm_read in -lkvm" >&5 |
13047 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` | 13051 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` |
13048 | 13052 |
13049 xe_check_libs=" -lkvm " | 13053 xe_check_libs=" -lkvm " |
13050 cat > conftest.$ac_ext <<EOF | 13054 cat > conftest.$ac_ext <<EOF |
13051 #line 13052 "configure" | 13055 #line 13056 "configure" |
13052 #include "confdefs.h" | 13056 #include "confdefs.h" |
13053 /* Override any gcc2 internal prototype to avoid an error. */ | 13057 /* Override any gcc2 internal prototype to avoid an error. */ |
13054 /* We use char because int might match the return type of a gcc2 | 13058 /* We use char because int might match the return type of a gcc2 |
13055 builtin and then its argument prototype would still apply. */ | 13059 builtin and then its argument prototype would still apply. */ |
13056 char kvm_read(); | 13060 char kvm_read(); |
13057 | 13061 |
13058 int main() { | 13062 int main() { |
13059 kvm_read() | 13063 kvm_read() |
13060 ; return 0; } | 13064 ; return 0; } |
13061 EOF | 13065 EOF |
13062 if { (eval echo configure:13063: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13066 if { (eval echo configure:13067: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13063 rm -rf conftest* | 13067 rm -rf conftest* |
13064 eval "ac_cv_lib_$ac_lib_var=yes" | 13068 eval "ac_cv_lib_$ac_lib_var=yes" |
13065 else | 13069 else |
13066 echo "configure: failed program was:" >&5 | 13070 echo "configure: failed program was:" >&5 |
13067 cat conftest.$ac_ext >&5 | 13071 cat conftest.$ac_ext >&5 |
13091 | 13095 |
13092 | 13096 |
13093 fi | 13097 fi |
13094 | 13098 |
13095 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 13099 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
13096 echo "configure:13097: checking whether netdb declares h_errno" >&5 | 13100 echo "configure:13101: checking whether netdb declares h_errno" >&5 |
13097 cat > conftest.$ac_ext <<EOF | 13101 cat > conftest.$ac_ext <<EOF |
13098 #line 13099 "configure" | 13102 #line 13103 "configure" |
13099 #include "confdefs.h" | 13103 #include "confdefs.h" |
13100 #include <netdb.h> | 13104 #include <netdb.h> |
13101 int main() { | 13105 int main() { |
13102 return h_errno; | 13106 return h_errno; |
13103 ; return 0; } | 13107 ; return 0; } |
13104 EOF | 13108 EOF |
13105 if { (eval echo configure:13106: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13109 if { (eval echo configure:13110: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13106 rm -rf conftest* | 13110 rm -rf conftest* |
13107 echo "$ac_t""yes" 1>&6 | 13111 echo "$ac_t""yes" 1>&6 |
13108 { test "$extra_verbose" = "yes" && cat << \EOF | 13112 { test "$extra_verbose" = "yes" && cat << \EOF |
13109 Defining HAVE_H_ERRNO | 13113 Defining HAVE_H_ERRNO |
13110 EOF | 13114 EOF |
13120 echo "$ac_t""no" 1>&6 | 13124 echo "$ac_t""no" 1>&6 |
13121 fi | 13125 fi |
13122 rm -f conftest* | 13126 rm -f conftest* |
13123 | 13127 |
13124 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 | 13128 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 |
13125 echo "configure:13126: checking for sigsetjmp" >&5 | 13129 echo "configure:13130: checking for sigsetjmp" >&5 |
13126 cat > conftest.$ac_ext <<EOF | 13130 cat > conftest.$ac_ext <<EOF |
13127 #line 13128 "configure" | 13131 #line 13132 "configure" |
13128 #include "confdefs.h" | 13132 #include "confdefs.h" |
13129 #include <setjmp.h> | 13133 #include <setjmp.h> |
13130 int main() { | 13134 int main() { |
13131 sigjmp_buf bar; sigsetjmp (bar, 0); | 13135 sigjmp_buf bar; sigsetjmp (bar, 0); |
13132 ; return 0; } | 13136 ; return 0; } |
13133 EOF | 13137 EOF |
13134 if { (eval echo configure:13135: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 13138 if { (eval echo configure:13139: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
13135 rm -rf conftest* | 13139 rm -rf conftest* |
13136 echo "$ac_t""yes" 1>&6 | 13140 echo "$ac_t""yes" 1>&6 |
13137 { test "$extra_verbose" = "yes" && cat << \EOF | 13141 { test "$extra_verbose" = "yes" && cat << \EOF |
13138 Defining HAVE_SIGSETJMP | 13142 Defining HAVE_SIGSETJMP |
13139 EOF | 13143 EOF |
13149 echo "$ac_t""no" 1>&6 | 13153 echo "$ac_t""no" 1>&6 |
13150 fi | 13154 fi |
13151 rm -f conftest* | 13155 rm -f conftest* |
13152 | 13156 |
13153 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 13157 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
13154 echo "configure:13155: checking whether localtime caches TZ" >&5 | 13158 echo "configure:13159: checking whether localtime caches TZ" >&5 |
13155 | 13159 |
13156 if test "$ac_cv_func_tzset" = "yes"; then | 13160 if test "$ac_cv_func_tzset" = "yes"; then |
13157 cat > conftest.$ac_ext <<EOF | 13161 cat > conftest.$ac_ext <<EOF |
13158 #line 13159 "configure" | 13162 #line 13163 "configure" |
13159 #include "confdefs.h" | 13163 #include "confdefs.h" |
13160 #include <time.h> | 13164 #include <time.h> |
13161 #if STDC_HEADERS | 13165 #if STDC_HEADERS |
13162 # include <stdlib.h> | 13166 # include <stdlib.h> |
13163 #endif | 13167 #endif |
13188 if (localtime (&now)->tm_hour != hour_unset) | 13192 if (localtime (&now)->tm_hour != hour_unset) |
13189 exit (1); | 13193 exit (1); |
13190 exit (0); | 13194 exit (0); |
13191 } | 13195 } |
13192 EOF | 13196 EOF |
13193 if { (eval echo configure:13194: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13197 if { (eval echo configure:13198: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13194 then | 13198 then |
13195 emacs_cv_localtime_cache=no | 13199 emacs_cv_localtime_cache=no |
13196 else | 13200 else |
13197 conftest_rc="$?" | 13201 conftest_rc="$?" |
13198 echo "configure: failed program was:" >&5 | 13202 echo "configure: failed program was:" >&5 |
13218 | 13222 |
13219 fi | 13223 fi |
13220 | 13224 |
13221 if test "$HAVE_TIMEVAL" = "yes"; then | 13225 if test "$HAVE_TIMEVAL" = "yes"; then |
13222 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 | 13226 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 |
13223 echo "configure:13224: checking whether gettimeofday accepts one or two arguments" >&5 | 13227 echo "configure:13228: checking whether gettimeofday accepts one or two arguments" >&5 |
13224 cat > conftest.$ac_ext <<EOF | 13228 cat > conftest.$ac_ext <<EOF |
13225 #line 13226 "configure" | 13229 #line 13230 "configure" |
13226 #include "confdefs.h" | 13230 #include "confdefs.h" |
13227 | 13231 |
13228 #ifdef TIME_WITH_SYS_TIME | 13232 #ifdef TIME_WITH_SYS_TIME |
13229 #include <sys/time.h> | 13233 #include <sys/time.h> |
13230 #include <time.h> | 13234 #include <time.h> |
13241 struct timeval time; | 13245 struct timeval time; |
13242 gettimeofday (&time, 0); | 13246 gettimeofday (&time, 0); |
13243 | 13247 |
13244 ; return 0; } | 13248 ; return 0; } |
13245 EOF | 13249 EOF |
13246 if { (eval echo configure:13247: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13250 if { (eval echo configure:13251: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13247 rm -rf conftest* | 13251 rm -rf conftest* |
13248 echo "$ac_t""two" 1>&6 | 13252 echo "$ac_t""two" 1>&6 |
13249 else | 13253 else |
13250 echo "configure: failed program was:" >&5 | 13254 echo "configure: failed program was:" >&5 |
13251 cat conftest.$ac_ext >&5 | 13255 cat conftest.$ac_ext >&5 |
13263 rm -f conftest* | 13267 rm -f conftest* |
13264 fi | 13268 fi |
13265 | 13269 |
13266 | 13270 |
13267 echo $ac_n "checking for inline""... $ac_c" 1>&6 | 13271 echo $ac_n "checking for inline""... $ac_c" 1>&6 |
13268 echo "configure:13269: checking for inline" >&5 | 13272 echo "configure:13273: checking for inline" >&5 |
13269 | 13273 |
13270 ac_cv_c_inline=no | 13274 ac_cv_c_inline=no |
13271 for ac_kw in inline __inline__ __inline; do | 13275 for ac_kw in inline __inline__ __inline; do |
13272 cat > conftest.$ac_ext <<EOF | 13276 cat > conftest.$ac_ext <<EOF |
13273 #line 13274 "configure" | 13277 #line 13278 "configure" |
13274 #include "confdefs.h" | 13278 #include "confdefs.h" |
13275 | 13279 |
13276 int main() { | 13280 int main() { |
13277 } $ac_kw foo() { | 13281 } $ac_kw foo() { |
13278 ; return 0; } | 13282 ; return 0; } |
13279 EOF | 13283 EOF |
13280 if { (eval echo configure:13281: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 13284 if { (eval echo configure:13285: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
13281 rm -rf conftest* | 13285 rm -rf conftest* |
13282 ac_cv_c_inline=$ac_kw; break | 13286 ac_cv_c_inline=$ac_kw; break |
13283 else | 13287 else |
13284 echo "configure: failed program was:" >&5 | 13288 echo "configure: failed program was:" >&5 |
13285 cat conftest.$ac_ext >&5 | 13289 cat conftest.$ac_ext >&5 |
13312 test "$ac_cv_c_inline" != "no" -a "$GCC" = "yes" && extra_objs="$extra_objs inline.o" && if test "$extra_verbose" = "yes"; then | 13316 test "$ac_cv_c_inline" != "no" -a "$GCC" = "yes" && extra_objs="$extra_objs inline.o" && if test "$extra_verbose" = "yes"; then |
13313 echo " xemacs will be linked with \"inline.o\"" | 13317 echo " xemacs will be linked with \"inline.o\"" |
13314 fi | 13318 fi |
13315 | 13319 |
13316 echo $ac_n "checking for typeof""... $ac_c" 1>&6 | 13320 echo $ac_n "checking for typeof""... $ac_c" 1>&6 |
13317 echo "configure:13318: checking for typeof" >&5 | 13321 echo "configure:13322: checking for typeof" >&5 |
13318 cat > conftest.$ac_ext <<EOF | 13322 cat > conftest.$ac_ext <<EOF |
13319 #line 13320 "configure" | 13323 #line 13324 "configure" |
13320 #include "confdefs.h" | 13324 #include "confdefs.h" |
13321 | 13325 |
13322 int main() { | 13326 int main() { |
13323 int i; __typeof__(i) j; | 13327 int i; __typeof__(i) j; |
13324 ; return 0; } | 13328 ; return 0; } |
13325 EOF | 13329 EOF |
13326 if { (eval echo configure:13327: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 13330 if { (eval echo configure:13331: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
13327 rm -rf conftest* | 13331 rm -rf conftest* |
13328 typeofname="__typeof__" | 13332 typeofname="__typeof__" |
13329 else | 13333 else |
13330 echo "configure: failed program was:" >&5 | 13334 echo "configure: failed program was:" >&5 |
13331 cat conftest.$ac_ext >&5 | 13335 cat conftest.$ac_ext >&5 |
13332 rm -rf conftest* | 13336 rm -rf conftest* |
13333 cat > conftest.$ac_ext <<EOF | 13337 cat > conftest.$ac_ext <<EOF |
13334 #line 13335 "configure" | 13338 #line 13339 "configure" |
13335 #include "confdefs.h" | 13339 #include "confdefs.h" |
13336 | 13340 |
13337 int main() { | 13341 int main() { |
13338 int i; typeof(i) j; | 13342 int i; typeof(i) j; |
13339 ; return 0; } | 13343 ; return 0; } |
13340 EOF | 13344 EOF |
13341 if { (eval echo configure:13342: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 13345 if { (eval echo configure:13346: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
13342 rm -rf conftest* | 13346 rm -rf conftest* |
13343 typeofname="typeof" | 13347 typeofname="typeof" |
13344 else | 13348 else |
13345 echo "configure: failed program was:" >&5 | 13349 echo "configure: failed program was:" >&5 |
13346 cat conftest.$ac_ext >&5 | 13350 cat conftest.$ac_ext >&5 |
13365 | 13369 |
13366 if test "$__DECC" != "yes"; then | 13370 if test "$__DECC" != "yes"; then |
13367 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 13371 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
13368 # for constant arguments. Useless! | 13372 # for constant arguments. Useless! |
13369 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 13373 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
13370 echo "configure:13371: checking for working alloca.h" >&5 | 13374 echo "configure:13375: checking for working alloca.h" >&5 |
13371 | 13375 |
13372 cat > conftest.$ac_ext <<EOF | 13376 cat > conftest.$ac_ext <<EOF |
13373 #line 13374 "configure" | 13377 #line 13378 "configure" |
13374 #include "confdefs.h" | 13378 #include "confdefs.h" |
13375 #include <alloca.h> | 13379 #include <alloca.h> |
13376 int main() { | 13380 int main() { |
13377 char *p = alloca(2 * sizeof(int)); | 13381 char *p = alloca(2 * sizeof(int)); |
13378 ; return 0; } | 13382 ; return 0; } |
13379 EOF | 13383 EOF |
13380 if { (eval echo configure:13381: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13384 if { (eval echo configure:13385: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13381 rm -rf conftest* | 13385 rm -rf conftest* |
13382 ac_cv_header_alloca_h=yes | 13386 ac_cv_header_alloca_h=yes |
13383 else | 13387 else |
13384 echo "configure: failed program was:" >&5 | 13388 echo "configure: failed program was:" >&5 |
13385 cat conftest.$ac_ext >&5 | 13389 cat conftest.$ac_ext >&5 |
13399 } | 13403 } |
13400 | 13404 |
13401 fi | 13405 fi |
13402 | 13406 |
13403 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 13407 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
13404 echo "configure:13405: checking for alloca" >&5 | 13408 echo "configure:13409: checking for alloca" >&5 |
13405 | 13409 |
13406 cat > conftest.$ac_ext <<EOF | 13410 cat > conftest.$ac_ext <<EOF |
13407 #line 13408 "configure" | 13411 #line 13412 "configure" |
13408 #include "confdefs.h" | 13412 #include "confdefs.h" |
13409 | 13413 |
13410 #ifdef __GNUC__ | 13414 #ifdef __GNUC__ |
13411 # define alloca __builtin_alloca | 13415 # define alloca __builtin_alloca |
13412 #else | 13416 #else |
13430 | 13434 |
13431 int main() { | 13435 int main() { |
13432 char *p = (char *) alloca(1); | 13436 char *p = (char *) alloca(1); |
13433 ; return 0; } | 13437 ; return 0; } |
13434 EOF | 13438 EOF |
13435 if { (eval echo configure:13436: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13439 if { (eval echo configure:13440: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13436 rm -rf conftest* | 13440 rm -rf conftest* |
13437 ac_cv_func_alloca_works=yes | 13441 ac_cv_func_alloca_works=yes |
13438 else | 13442 else |
13439 echo "configure: failed program was:" >&5 | 13443 echo "configure: failed program was:" >&5 |
13440 cat conftest.$ac_ext >&5 | 13444 cat conftest.$ac_ext >&5 |
13469 EOF | 13473 EOF |
13470 } | 13474 } |
13471 | 13475 |
13472 | 13476 |
13473 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 13477 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
13474 echo "configure:13475: checking whether alloca needs Cray hooks" >&5 | 13478 echo "configure:13479: checking whether alloca needs Cray hooks" >&5 |
13475 | 13479 |
13476 cat > conftest.$ac_ext <<EOF | 13480 cat > conftest.$ac_ext <<EOF |
13477 #line 13478 "configure" | 13481 #line 13482 "configure" |
13478 #include "confdefs.h" | 13482 #include "confdefs.h" |
13479 #if defined(CRAY) && ! defined(CRAY2) | 13483 #if defined(CRAY) && ! defined(CRAY2) |
13480 webecray | 13484 webecray |
13481 #else | 13485 #else |
13482 wenotbecray | 13486 wenotbecray |
13496 | 13500 |
13497 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 13501 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
13498 if test $ac_cv_os_cray = yes; then | 13502 if test $ac_cv_os_cray = yes; then |
13499 for ac_func in _getb67 GETB67 getb67; do | 13503 for ac_func in _getb67 GETB67 getb67; do |
13500 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 13504 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
13501 echo "configure:13502: checking for $ac_func" >&5 | 13505 echo "configure:13506: checking for $ac_func" >&5 |
13502 | 13506 |
13503 cat > conftest.$ac_ext <<EOF | 13507 cat > conftest.$ac_ext <<EOF |
13504 #line 13505 "configure" | 13508 #line 13509 "configure" |
13505 #include "confdefs.h" | 13509 #include "confdefs.h" |
13506 /* System header to define __stub macros and hopefully few prototypes, | 13510 /* System header to define __stub macros and hopefully few prototypes, |
13507 which can conflict with char $ac_func(); below. */ | 13511 which can conflict with char $ac_func(); below. */ |
13508 #include <assert.h> | 13512 #include <assert.h> |
13509 /* Override any gcc2 internal prototype to avoid an error. */ | 13513 /* Override any gcc2 internal prototype to avoid an error. */ |
13522 $ac_func(); | 13526 $ac_func(); |
13523 #endif | 13527 #endif |
13524 | 13528 |
13525 ; return 0; } | 13529 ; return 0; } |
13526 EOF | 13530 EOF |
13527 if { (eval echo configure:13528: \"$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 |
13528 rm -rf conftest* | 13532 rm -rf conftest* |
13529 eval "ac_cv_func_$ac_func=yes" | 13533 eval "ac_cv_func_$ac_func=yes" |
13530 else | 13534 else |
13531 echo "configure: failed program was:" >&5 | 13535 echo "configure: failed program was:" >&5 |
13532 cat conftest.$ac_ext >&5 | 13536 cat conftest.$ac_ext >&5 |
13552 | 13556 |
13553 done | 13557 done |
13554 fi | 13558 fi |
13555 | 13559 |
13556 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 13560 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
13557 echo "configure:13558: checking stack direction for C alloca" >&5 | 13561 echo "configure:13562: checking stack direction for C alloca" >&5 |
13558 | 13562 |
13559 cat > conftest.$ac_ext <<EOF | 13563 cat > conftest.$ac_ext <<EOF |
13560 #line 13561 "configure" | 13564 #line 13565 "configure" |
13561 #include "confdefs.h" | 13565 #include "confdefs.h" |
13562 find_stack_direction () | 13566 find_stack_direction () |
13563 { | 13567 { |
13564 static char *addr = 0; | 13568 static char *addr = 0; |
13565 auto char dummy; | 13569 auto char dummy; |
13574 main () | 13578 main () |
13575 { | 13579 { |
13576 exit (find_stack_direction() < 0); | 13580 exit (find_stack_direction() < 0); |
13577 } | 13581 } |
13578 EOF | 13582 EOF |
13579 if { (eval echo configure:13580: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13583 if { (eval echo configure:13584: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13580 then | 13584 then |
13581 ac_cv_c_stack_direction=1 | 13585 ac_cv_c_stack_direction=1 |
13582 else | 13586 else |
13583 conftest_rc="$?" | 13587 conftest_rc="$?" |
13584 echo "configure: failed program was:" >&5 | 13588 echo "configure: failed program was:" >&5 |
13603 echo " xemacs will be linked with \"$ALLOCA\"" | 13607 echo " xemacs will be linked with \"$ALLOCA\"" |
13604 fi | 13608 fi |
13605 fi | 13609 fi |
13606 | 13610 |
13607 echo $ac_n "checking for working alloca in function calls""... $ac_c" 1>&6 | 13611 echo $ac_n "checking for working alloca in function calls""... $ac_c" 1>&6 |
13608 echo "configure:13609: checking for working alloca in function calls" >&5 | 13612 echo "configure:13613: checking for working alloca in function calls" >&5 |
13609 cat > conftest.$ac_ext <<EOF | 13613 cat > conftest.$ac_ext <<EOF |
13610 #line 13611 "configure" | 13614 #line 13615 "configure" |
13611 #include "confdefs.h" | 13615 #include "confdefs.h" |
13612 | 13616 |
13613 #if defined (__CYGWIN__) | 13617 #if defined (__CYGWIN__) |
13614 #include <alloca.h> | 13618 #include <alloca.h> |
13615 #elif defined (__GNUC__) | 13619 #elif defined (__GNUC__) |
13658 return 1; | 13662 return 1; |
13659 return 0; | 13663 return 0; |
13660 } | 13664 } |
13661 | 13665 |
13662 EOF | 13666 EOF |
13663 if { (eval echo configure:13664: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13667 if { (eval echo configure:13668: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13664 then | 13668 then |
13665 working_alloca_in_function_calls=yes | 13669 working_alloca_in_function_calls=yes |
13666 else | 13670 else |
13667 conftest_rc="$?" | 13671 conftest_rc="$?" |
13668 echo "configure: failed program was:" >&5 | 13672 echo "configure: failed program was:" >&5 |
13681 EOF | 13685 EOF |
13682 } | 13686 } |
13683 | 13687 |
13684 | 13688 |
13685 echo $ac_n "checking for working scanf""... $ac_c" 1>&6 | 13689 echo $ac_n "checking for working scanf""... $ac_c" 1>&6 |
13686 echo "configure:13687: checking for working scanf" >&5 | 13690 echo "configure:13691: checking for working scanf" >&5 |
13687 cat > conftest.$ac_ext <<EOF | 13691 cat > conftest.$ac_ext <<EOF |
13688 #line 13689 "configure" | 13692 #line 13693 "configure" |
13689 #include "confdefs.h" | 13693 #include "confdefs.h" |
13690 | 13694 |
13691 int | 13695 int |
13692 main (int argc, char **argv) | 13696 main (int argc, char **argv) |
13693 { | 13697 { |
13698 this breaks unicode.c */ | 13702 this breaks unicode.c */ |
13699 return endcount != 13; | 13703 return endcount != 13; |
13700 } | 13704 } |
13701 | 13705 |
13702 EOF | 13706 EOF |
13703 if { (eval echo configure:13704: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13707 if { (eval echo configure:13708: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13704 then | 13708 then |
13705 working_scanf=yes | 13709 working_scanf=yes |
13706 else | 13710 else |
13707 conftest_rc="$?" | 13711 conftest_rc="$?" |
13708 echo "configure: failed program was:" >&5 | 13712 echo "configure: failed program was:" >&5 |
13721 EOF | 13725 EOF |
13722 } | 13726 } |
13723 | 13727 |
13724 | 13728 |
13725 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 | 13729 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 |
13726 echo "configure:13727: checking for working strcoll" >&5 | 13730 echo "configure:13731: checking for working strcoll" >&5 |
13727 | 13731 |
13728 cat > conftest.$ac_ext <<EOF | 13732 cat > conftest.$ac_ext <<EOF |
13729 #line 13730 "configure" | 13733 #line 13734 "configure" |
13730 #include "confdefs.h" | 13734 #include "confdefs.h" |
13731 #include <string.h> | 13735 #include <string.h> |
13732 main () | 13736 main () |
13733 { | 13737 { |
13734 exit (strcoll ("abc", "def") >= 0 || | 13738 exit (strcoll ("abc", "def") >= 0 || |
13735 strcoll ("ABC", "DEF") >= 0 || | 13739 strcoll ("ABC", "DEF") >= 0 || |
13736 strcoll ("123", "456") >= 0); | 13740 strcoll ("123", "456") >= 0); |
13737 } | 13741 } |
13738 EOF | 13742 EOF |
13739 if { (eval echo configure:13740: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13743 if { (eval echo configure:13744: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13740 then | 13744 then |
13741 ac_cv_func_strcoll_works=yes | 13745 ac_cv_func_strcoll_works=yes |
13742 else | 13746 else |
13743 conftest_rc="$?" | 13747 conftest_rc="$?" |
13744 echo "configure: failed program was:" >&5 | 13748 echo "configure: failed program was:" >&5 |
13762 | 13766 |
13763 | 13767 |
13764 for ac_func in getpgrp | 13768 for ac_func in getpgrp |
13765 do | 13769 do |
13766 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 13770 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
13767 echo "configure:13768: checking for $ac_func" >&5 | 13771 echo "configure:13772: checking for $ac_func" >&5 |
13768 | 13772 |
13769 cat > conftest.$ac_ext <<EOF | 13773 cat > conftest.$ac_ext <<EOF |
13770 #line 13771 "configure" | 13774 #line 13775 "configure" |
13771 #include "confdefs.h" | 13775 #include "confdefs.h" |
13772 /* System header to define __stub macros and hopefully few prototypes, | 13776 /* System header to define __stub macros and hopefully few prototypes, |
13773 which can conflict with char $ac_func(); below. */ | 13777 which can conflict with char $ac_func(); below. */ |
13774 #include <assert.h> | 13778 #include <assert.h> |
13775 /* Override any gcc2 internal prototype to avoid an error. */ | 13779 /* Override any gcc2 internal prototype to avoid an error. */ |
13788 $ac_func(); | 13792 $ac_func(); |
13789 #endif | 13793 #endif |
13790 | 13794 |
13791 ; return 0; } | 13795 ; return 0; } |
13792 EOF | 13796 EOF |
13793 if { (eval echo configure:13794: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13797 if { (eval echo configure:13798: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13794 rm -rf conftest* | 13798 rm -rf conftest* |
13795 eval "ac_cv_func_$ac_func=yes" | 13799 eval "ac_cv_func_$ac_func=yes" |
13796 else | 13800 else |
13797 echo "configure: failed program was:" >&5 | 13801 echo "configure: failed program was:" >&5 |
13798 cat conftest.$ac_ext >&5 | 13802 cat conftest.$ac_ext >&5 |
13816 echo "$ac_t""no" 1>&6 | 13820 echo "$ac_t""no" 1>&6 |
13817 fi | 13821 fi |
13818 done | 13822 done |
13819 | 13823 |
13820 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 | 13824 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 |
13821 echo "configure:13822: checking whether getpgrp takes no argument" >&5 | 13825 echo "configure:13826: checking whether getpgrp takes no argument" >&5 |
13822 | 13826 |
13823 cat > conftest.$ac_ext <<EOF | 13827 cat > conftest.$ac_ext <<EOF |
13824 #line 13825 "configure" | 13828 #line 13829 "configure" |
13825 #include "confdefs.h" | 13829 #include "confdefs.h" |
13826 | 13830 |
13827 /* | 13831 /* |
13828 * If this system has a BSD-style getpgrp(), | 13832 * If this system has a BSD-style getpgrp(), |
13829 * which takes a pid argument, exit unsuccessfully. | 13833 * which takes a pid argument, exit unsuccessfully. |
13874 exit(s>>8); | 13878 exit(s>>8); |
13875 } | 13879 } |
13876 } | 13880 } |
13877 | 13881 |
13878 EOF | 13882 EOF |
13879 if { (eval echo configure:13880: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13883 if { (eval echo configure:13884: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13880 then | 13884 then |
13881 ac_cv_func_getpgrp_void=yes | 13885 ac_cv_func_getpgrp_void=yes |
13882 else | 13886 else |
13883 conftest_rc="$?" | 13887 conftest_rc="$?" |
13884 echo "configure: failed program was:" >&5 | 13888 echo "configure: failed program was:" >&5 |
13901 | 13905 |
13902 fi | 13906 fi |
13903 | 13907 |
13904 | 13908 |
13905 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 13909 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
13906 echo "configure:13907: checking for working mmap" >&5 | 13910 echo "configure:13911: checking for working mmap" >&5 |
13907 case "$opsys" in ultrix* ) have_mmap=no ;; *) | 13911 case "$opsys" in ultrix* ) have_mmap=no ;; *) |
13908 cat > conftest.$ac_ext <<EOF | 13912 cat > conftest.$ac_ext <<EOF |
13909 #line 13910 "configure" | 13913 #line 13914 "configure" |
13910 #include "confdefs.h" | 13914 #include "confdefs.h" |
13911 #include <stdio.h> | 13915 #include <stdio.h> |
13912 #include <unistd.h> | 13916 #include <unistd.h> |
13913 #include <fcntl.h> | 13917 #include <fcntl.h> |
13914 #include <sys/mman.h> | 13918 #include <sys/mman.h> |
13937 return 0; | 13941 return 0; |
13938 perror ("conftest: mmap failed"); | 13942 perror ("conftest: mmap failed"); |
13939 return 1; | 13943 return 1; |
13940 } | 13944 } |
13941 EOF | 13945 EOF |
13942 if { (eval echo configure:13943: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13946 if { (eval echo configure:13947: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13943 then | 13947 then |
13944 have_mmap=yes | 13948 have_mmap=yes |
13945 else | 13949 else |
13946 conftest_rc="$?" | 13950 conftest_rc="$?" |
13947 echo "configure: failed program was:" >&5 | 13951 echo "configure: failed program was:" >&5 |
13966 esac | 13970 esac |
13967 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no | 13971 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no |
13968 if test "$rel_alloc $have_mmap" = "default yes"; then | 13972 if test "$rel_alloc $have_mmap" = "default yes"; then |
13969 if test "$doug_lea_malloc" = "yes"; then | 13973 if test "$doug_lea_malloc" = "yes"; then |
13970 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 | 13974 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 |
13971 echo "configure:13972: checking for M_MMAP_THRESHOLD" >&5 | 13975 echo "configure:13976: checking for M_MMAP_THRESHOLD" >&5 |
13972 cat > conftest.$ac_ext <<EOF | 13976 cat > conftest.$ac_ext <<EOF |
13973 #line 13974 "configure" | 13977 #line 13978 "configure" |
13974 #include "confdefs.h" | 13978 #include "confdefs.h" |
13975 #include <malloc.h> | 13979 #include <malloc.h> |
13976 int main() { | 13980 int main() { |
13977 | 13981 |
13978 #ifndef M_MMAP_THRESHOLD | 13982 #ifndef M_MMAP_THRESHOLD |
13980 !@+$%^&*_)(_ - unlikely to compile... | 13984 !@+$%^&*_)(_ - unlikely to compile... |
13981 #endif | 13985 #endif |
13982 | 13986 |
13983 ; return 0; } | 13987 ; return 0; } |
13984 EOF | 13988 EOF |
13985 if { (eval echo configure:13986: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 13989 if { (eval echo configure:13990: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
13986 rm -rf conftest* | 13990 rm -rf conftest* |
13987 rel_alloc=no; echo "$ac_t""yes" 1>&6; | 13991 rel_alloc=no; echo "$ac_t""yes" 1>&6; |
13988 else | 13992 else |
13989 echo "configure: failed program was:" >&5 | 13993 echo "configure: failed program was:" >&5 |
13990 cat conftest.$ac_ext >&5 | 13994 cat conftest.$ac_ext >&5 |
14005 } | 14009 } |
14006 | 14010 |
14007 | 14011 |
14008 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` | 14012 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` |
14009 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 | 14013 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 |
14010 echo "configure:14011: checking for termios.h" >&5 | 14014 echo "configure:14015: checking for termios.h" >&5 |
14011 | 14015 |
14012 cat > conftest.$ac_ext <<EOF | 14016 cat > conftest.$ac_ext <<EOF |
14013 #line 14014 "configure" | 14017 #line 14018 "configure" |
14014 #include "confdefs.h" | 14018 #include "confdefs.h" |
14015 #include <termios.h> | 14019 #include <termios.h> |
14016 EOF | 14020 EOF |
14017 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14021 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14018 { (eval echo configure:14019: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14022 { (eval echo configure:14023: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14019 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14023 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14020 if test -z "$ac_err"; then | 14024 if test -z "$ac_err"; then |
14021 rm -rf conftest* | 14025 rm -rf conftest* |
14022 eval "ac_cv_header_$ac_safe=yes" | 14026 eval "ac_cv_header_$ac_safe=yes" |
14023 else | 14027 else |
14056 | 14060 |
14057 else | 14061 else |
14058 echo "$ac_t""no" 1>&6 | 14062 echo "$ac_t""no" 1>&6 |
14059 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` | 14063 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` |
14060 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 | 14064 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 |
14061 echo "configure:14062: checking for termio.h" >&5 | 14065 echo "configure:14066: checking for termio.h" >&5 |
14062 | 14066 |
14063 cat > conftest.$ac_ext <<EOF | 14067 cat > conftest.$ac_ext <<EOF |
14064 #line 14065 "configure" | 14068 #line 14069 "configure" |
14065 #include "confdefs.h" | 14069 #include "confdefs.h" |
14066 #include <termio.h> | 14070 #include <termio.h> |
14067 EOF | 14071 EOF |
14068 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14072 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14069 { (eval echo configure:14070: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14073 { (eval echo configure:14074: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14070 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14074 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14071 if test -z "$ac_err"; then | 14075 if test -z "$ac_err"; then |
14072 rm -rf conftest* | 14076 rm -rf conftest* |
14073 eval "ac_cv_header_$ac_safe=yes" | 14077 eval "ac_cv_header_$ac_safe=yes" |
14074 else | 14078 else |
14096 fi | 14100 fi |
14097 | 14101 |
14098 | 14102 |
14099 | 14103 |
14100 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 14104 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
14101 echo "configure:14102: checking for socket" >&5 | 14105 echo "configure:14106: checking for socket" >&5 |
14102 | 14106 |
14103 cat > conftest.$ac_ext <<EOF | 14107 cat > conftest.$ac_ext <<EOF |
14104 #line 14105 "configure" | 14108 #line 14109 "configure" |
14105 #include "confdefs.h" | 14109 #include "confdefs.h" |
14106 /* System header to define __stub macros and hopefully few prototypes, | 14110 /* System header to define __stub macros and hopefully few prototypes, |
14107 which can conflict with char socket(); below. */ | 14111 which can conflict with char socket(); below. */ |
14108 #include <assert.h> | 14112 #include <assert.h> |
14109 /* Override any gcc2 internal prototype to avoid an error. */ | 14113 /* Override any gcc2 internal prototype to avoid an error. */ |
14122 socket(); | 14126 socket(); |
14123 #endif | 14127 #endif |
14124 | 14128 |
14125 ; return 0; } | 14129 ; return 0; } |
14126 EOF | 14130 EOF |
14127 if { (eval echo configure:14128: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14131 if { (eval echo configure:14132: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14128 rm -rf conftest* | 14132 rm -rf conftest* |
14129 eval "ac_cv_func_socket=yes" | 14133 eval "ac_cv_func_socket=yes" |
14130 else | 14134 else |
14131 echo "configure: failed program was:" >&5 | 14135 echo "configure: failed program was:" >&5 |
14132 cat conftest.$ac_ext >&5 | 14136 cat conftest.$ac_ext >&5 |
14137 | 14141 |
14138 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then | 14142 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then |
14139 echo "$ac_t""yes" 1>&6 | 14143 echo "$ac_t""yes" 1>&6 |
14140 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 14144 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
14141 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 14145 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
14142 echo "configure:14143: checking for netinet/in.h" >&5 | 14146 echo "configure:14147: checking for netinet/in.h" >&5 |
14143 | 14147 |
14144 cat > conftest.$ac_ext <<EOF | 14148 cat > conftest.$ac_ext <<EOF |
14145 #line 14146 "configure" | 14149 #line 14150 "configure" |
14146 #include "confdefs.h" | 14150 #include "confdefs.h" |
14147 #include <netinet/in.h> | 14151 #include <netinet/in.h> |
14148 EOF | 14152 EOF |
14149 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14153 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14150 { (eval echo configure:14151: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14154 { (eval echo configure:14155: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14151 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14155 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14152 if test -z "$ac_err"; then | 14156 if test -z "$ac_err"; then |
14153 rm -rf conftest* | 14157 rm -rf conftest* |
14154 eval "ac_cv_header_$ac_safe=yes" | 14158 eval "ac_cv_header_$ac_safe=yes" |
14155 else | 14159 else |
14162 rm -f conftest* | 14166 rm -f conftest* |
14163 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 14167 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
14164 echo "$ac_t""yes" 1>&6 | 14168 echo "$ac_t""yes" 1>&6 |
14165 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 14169 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
14166 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 14170 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
14167 echo "configure:14168: checking for arpa/inet.h" >&5 | 14171 echo "configure:14172: checking for arpa/inet.h" >&5 |
14168 | 14172 |
14169 cat > conftest.$ac_ext <<EOF | 14173 cat > conftest.$ac_ext <<EOF |
14170 #line 14171 "configure" | 14174 #line 14175 "configure" |
14171 #include "confdefs.h" | 14175 #include "confdefs.h" |
14172 #include <arpa/inet.h> | 14176 #include <arpa/inet.h> |
14173 EOF | 14177 EOF |
14174 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14178 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14175 { (eval echo configure:14176: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14179 { (eval echo configure:14180: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14176 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14180 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14177 if test -z "$ac_err"; then | 14181 if test -z "$ac_err"; then |
14178 rm -rf conftest* | 14182 rm -rf conftest* |
14179 eval "ac_cv_header_$ac_safe=yes" | 14183 eval "ac_cv_header_$ac_safe=yes" |
14180 else | 14184 else |
14195 #define HAVE_SOCKETS 1 | 14199 #define HAVE_SOCKETS 1 |
14196 EOF | 14200 EOF |
14197 } | 14201 } |
14198 | 14202 |
14199 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 | 14203 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 |
14200 echo "configure:14201: checking "for sun_len member in struct sockaddr_un"" >&5 | 14204 echo "configure:14205: checking "for sun_len member in struct sockaddr_un"" >&5 |
14201 cat > conftest.$ac_ext <<EOF | 14205 cat > conftest.$ac_ext <<EOF |
14202 #line 14203 "configure" | 14206 #line 14207 "configure" |
14203 #include "confdefs.h" | 14207 #include "confdefs.h" |
14204 | 14208 |
14205 #include <sys/types.h> | 14209 #include <sys/types.h> |
14206 #include <sys/socket.h> | 14210 #include <sys/socket.h> |
14207 #include <sys/un.h> | 14211 #include <sys/un.h> |
14208 | 14212 |
14209 int main() { | 14213 int main() { |
14210 static struct sockaddr_un x; x.sun_len = 1; | 14214 static struct sockaddr_un x; x.sun_len = 1; |
14211 ; return 0; } | 14215 ; return 0; } |
14212 EOF | 14216 EOF |
14213 if { (eval echo configure:14214: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14217 if { (eval echo configure:14218: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14214 rm -rf conftest* | 14218 rm -rf conftest* |
14215 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 14219 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
14216 Defining HAVE_SOCKADDR_SUN_LEN | 14220 Defining HAVE_SOCKADDR_SUN_LEN |
14217 EOF | 14221 EOF |
14218 cat >> confdefs.h <<\EOF | 14222 cat >> confdefs.h <<\EOF |
14226 rm -rf conftest* | 14230 rm -rf conftest* |
14227 echo "$ac_t""no" 1>&6 | 14231 echo "$ac_t""no" 1>&6 |
14228 fi | 14232 fi |
14229 rm -f conftest* | 14233 rm -f conftest* |
14230 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 | 14234 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 |
14231 echo "configure:14232: checking "for ip_mreq struct in netinet/in.h"" >&5 | 14235 echo "configure:14236: checking "for ip_mreq struct in netinet/in.h"" >&5 |
14232 cat > conftest.$ac_ext <<EOF | 14236 cat > conftest.$ac_ext <<EOF |
14233 #line 14234 "configure" | 14237 #line 14238 "configure" |
14234 #include "confdefs.h" | 14238 #include "confdefs.h" |
14235 | 14239 |
14236 #include <sys/types.h> | 14240 #include <sys/types.h> |
14237 #include <netinet/in.h> | 14241 #include <netinet/in.h> |
14238 | 14242 |
14239 int main() { | 14243 int main() { |
14240 static struct ip_mreq x; | 14244 static struct ip_mreq x; |
14241 ; return 0; } | 14245 ; return 0; } |
14242 EOF | 14246 EOF |
14243 if { (eval echo configure:14244: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14247 if { (eval echo configure:14248: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14244 rm -rf conftest* | 14248 rm -rf conftest* |
14245 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 14249 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
14246 Defining HAVE_MULTICAST | 14250 Defining HAVE_MULTICAST |
14247 EOF | 14251 EOF |
14248 cat >> confdefs.h <<\EOF | 14252 cat >> confdefs.h <<\EOF |
14269 echo "$ac_t""no" 1>&6 | 14273 echo "$ac_t""no" 1>&6 |
14270 fi | 14274 fi |
14271 | 14275 |
14272 | 14276 |
14273 echo $ac_n "checking for msgget""... $ac_c" 1>&6 | 14277 echo $ac_n "checking for msgget""... $ac_c" 1>&6 |
14274 echo "configure:14275: checking for msgget" >&5 | 14278 echo "configure:14279: checking for msgget" >&5 |
14275 | 14279 |
14276 cat > conftest.$ac_ext <<EOF | 14280 cat > conftest.$ac_ext <<EOF |
14277 #line 14278 "configure" | 14281 #line 14282 "configure" |
14278 #include "confdefs.h" | 14282 #include "confdefs.h" |
14279 /* System header to define __stub macros and hopefully few prototypes, | 14283 /* System header to define __stub macros and hopefully few prototypes, |
14280 which can conflict with char msgget(); below. */ | 14284 which can conflict with char msgget(); below. */ |
14281 #include <assert.h> | 14285 #include <assert.h> |
14282 /* Override any gcc2 internal prototype to avoid an error. */ | 14286 /* Override any gcc2 internal prototype to avoid an error. */ |
14295 msgget(); | 14299 msgget(); |
14296 #endif | 14300 #endif |
14297 | 14301 |
14298 ; return 0; } | 14302 ; return 0; } |
14299 EOF | 14303 EOF |
14300 if { (eval echo configure:14301: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14304 if { (eval echo configure:14305: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14301 rm -rf conftest* | 14305 rm -rf conftest* |
14302 eval "ac_cv_func_msgget=yes" | 14306 eval "ac_cv_func_msgget=yes" |
14303 else | 14307 else |
14304 echo "configure: failed program was:" >&5 | 14308 echo "configure: failed program was:" >&5 |
14305 cat conftest.$ac_ext >&5 | 14309 cat conftest.$ac_ext >&5 |
14310 | 14314 |
14311 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then | 14315 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then |
14312 echo "$ac_t""yes" 1>&6 | 14316 echo "$ac_t""yes" 1>&6 |
14313 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` | 14317 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` |
14314 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 | 14318 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 |
14315 echo "configure:14316: checking for sys/ipc.h" >&5 | 14319 echo "configure:14320: checking for sys/ipc.h" >&5 |
14316 | 14320 |
14317 cat > conftest.$ac_ext <<EOF | 14321 cat > conftest.$ac_ext <<EOF |
14318 #line 14319 "configure" | 14322 #line 14323 "configure" |
14319 #include "confdefs.h" | 14323 #include "confdefs.h" |
14320 #include <sys/ipc.h> | 14324 #include <sys/ipc.h> |
14321 EOF | 14325 EOF |
14322 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14326 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14323 { (eval echo configure:14324: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14327 { (eval echo configure:14328: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14324 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14328 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14325 if test -z "$ac_err"; then | 14329 if test -z "$ac_err"; then |
14326 rm -rf conftest* | 14330 rm -rf conftest* |
14327 eval "ac_cv_header_$ac_safe=yes" | 14331 eval "ac_cv_header_$ac_safe=yes" |
14328 else | 14332 else |
14335 rm -f conftest* | 14339 rm -f conftest* |
14336 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 14340 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
14337 echo "$ac_t""yes" 1>&6 | 14341 echo "$ac_t""yes" 1>&6 |
14338 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` | 14342 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` |
14339 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 | 14343 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 |
14340 echo "configure:14341: checking for sys/msg.h" >&5 | 14344 echo "configure:14345: checking for sys/msg.h" >&5 |
14341 | 14345 |
14342 cat > conftest.$ac_ext <<EOF | 14346 cat > conftest.$ac_ext <<EOF |
14343 #line 14344 "configure" | 14347 #line 14348 "configure" |
14344 #include "confdefs.h" | 14348 #include "confdefs.h" |
14345 #include <sys/msg.h> | 14349 #include <sys/msg.h> |
14346 EOF | 14350 EOF |
14347 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14351 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14348 { (eval echo configure:14349: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14352 { (eval echo configure:14353: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14349 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14353 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14350 if test -z "$ac_err"; then | 14354 if test -z "$ac_err"; then |
14351 rm -rf conftest* | 14355 rm -rf conftest* |
14352 eval "ac_cv_header_$ac_safe=yes" | 14356 eval "ac_cv_header_$ac_safe=yes" |
14353 else | 14357 else |
14381 fi | 14385 fi |
14382 | 14386 |
14383 | 14387 |
14384 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` | 14388 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` |
14385 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 | 14389 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 |
14386 echo "configure:14387: checking for dirent.h" >&5 | 14390 echo "configure:14391: checking for dirent.h" >&5 |
14387 | 14391 |
14388 cat > conftest.$ac_ext <<EOF | 14392 cat > conftest.$ac_ext <<EOF |
14389 #line 14390 "configure" | 14393 #line 14394 "configure" |
14390 #include "confdefs.h" | 14394 #include "confdefs.h" |
14391 #include <dirent.h> | 14395 #include <dirent.h> |
14392 EOF | 14396 EOF |
14393 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14397 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14394 { (eval echo configure:14395: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14398 { (eval echo configure:14399: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14395 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14399 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14396 if test -z "$ac_err"; then | 14400 if test -z "$ac_err"; then |
14397 rm -rf conftest* | 14401 rm -rf conftest* |
14398 eval "ac_cv_header_$ac_safe=yes" | 14402 eval "ac_cv_header_$ac_safe=yes" |
14399 else | 14403 else |
14416 | 14420 |
14417 else | 14421 else |
14418 echo "$ac_t""no" 1>&6 | 14422 echo "$ac_t""no" 1>&6 |
14419 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` | 14423 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` |
14420 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 | 14424 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 |
14421 echo "configure:14422: checking for sys/dir.h" >&5 | 14425 echo "configure:14426: checking for sys/dir.h" >&5 |
14422 | 14426 |
14423 cat > conftest.$ac_ext <<EOF | 14427 cat > conftest.$ac_ext <<EOF |
14424 #line 14425 "configure" | 14428 #line 14429 "configure" |
14425 #include "confdefs.h" | 14429 #include "confdefs.h" |
14426 #include <sys/dir.h> | 14430 #include <sys/dir.h> |
14427 EOF | 14431 EOF |
14428 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14432 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14429 { (eval echo configure:14430: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14433 { (eval echo configure:14434: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14430 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14434 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14431 if test -z "$ac_err"; then | 14435 if test -z "$ac_err"; then |
14432 rm -rf conftest* | 14436 rm -rf conftest* |
14433 eval "ac_cv_header_$ac_safe=yes" | 14437 eval "ac_cv_header_$ac_safe=yes" |
14434 else | 14438 else |
14457 fi | 14461 fi |
14458 | 14462 |
14459 | 14463 |
14460 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 14464 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
14461 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 14465 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
14462 echo "configure:14463: checking for nlist.h" >&5 | 14466 echo "configure:14467: checking for nlist.h" >&5 |
14463 | 14467 |
14464 cat > conftest.$ac_ext <<EOF | 14468 cat > conftest.$ac_ext <<EOF |
14465 #line 14466 "configure" | 14469 #line 14470 "configure" |
14466 #include "confdefs.h" | 14470 #include "confdefs.h" |
14467 #include <nlist.h> | 14471 #include <nlist.h> |
14468 EOF | 14472 EOF |
14469 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14473 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14470 { (eval echo configure:14471: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14474 { (eval echo configure:14475: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14471 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14475 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14472 if test -z "$ac_err"; then | 14476 if test -z "$ac_err"; then |
14473 rm -rf conftest* | 14477 rm -rf conftest* |
14474 eval "ac_cv_header_$ac_safe=yes" | 14478 eval "ac_cv_header_$ac_safe=yes" |
14475 else | 14479 else |
14495 fi | 14499 fi |
14496 | 14500 |
14497 | 14501 |
14498 | 14502 |
14499 echo "checking "for sound support"" 1>&6 | 14503 echo "checking "for sound support"" 1>&6 |
14500 echo "configure:14501: checking "for sound support"" >&5 | 14504 echo "configure:14505: checking "for sound support"" >&5 |
14501 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes | 14505 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes |
14502 | 14506 |
14503 if test "$with_native_sound" != "no"; then | 14507 if test "$with_native_sound" != "no"; then |
14504 if test -n "$native_sound_lib"; then | 14508 if test -n "$native_sound_lib"; then |
14505 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` | 14509 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` |
14506 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 | 14510 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 |
14507 echo "configure:14508: checking for multimedia/audio_device.h" >&5 | 14511 echo "configure:14512: checking for multimedia/audio_device.h" >&5 |
14508 | 14512 |
14509 cat > conftest.$ac_ext <<EOF | 14513 cat > conftest.$ac_ext <<EOF |
14510 #line 14511 "configure" | 14514 #line 14515 "configure" |
14511 #include "confdefs.h" | 14515 #include "confdefs.h" |
14512 #include <multimedia/audio_device.h> | 14516 #include <multimedia/audio_device.h> |
14513 EOF | 14517 EOF |
14514 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14518 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14515 { (eval echo configure:14516: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14519 { (eval echo configure:14520: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14516 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14520 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14517 if test -z "$ac_err"; then | 14521 if test -z "$ac_err"; then |
14518 rm -rf conftest* | 14522 rm -rf conftest* |
14519 eval "ac_cv_header_$ac_safe=yes" | 14523 eval "ac_cv_header_$ac_safe=yes" |
14520 else | 14524 else |
14566 case "$canonical" in | 14570 case "$canonical" in |
14567 *-sgi-* ) | 14571 *-sgi-* ) |
14568 if test -z "$native_sound_lib"; then | 14572 if test -z "$native_sound_lib"; then |
14569 | 14573 |
14570 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 | 14574 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 |
14571 echo "configure:14572: checking for ALopenport in -laudio" >&5 | 14575 echo "configure:14576: checking for ALopenport in -laudio" >&5 |
14572 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` | 14576 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` |
14573 | 14577 |
14574 xe_check_libs=" -laudio " | 14578 xe_check_libs=" -laudio " |
14575 cat > conftest.$ac_ext <<EOF | 14579 cat > conftest.$ac_ext <<EOF |
14576 #line 14577 "configure" | 14580 #line 14581 "configure" |
14577 #include "confdefs.h" | 14581 #include "confdefs.h" |
14578 /* Override any gcc2 internal prototype to avoid an error. */ | 14582 /* Override any gcc2 internal prototype to avoid an error. */ |
14579 /* We use char because int might match the return type of a gcc2 | 14583 /* We use char because int might match the return type of a gcc2 |
14580 builtin and then its argument prototype would still apply. */ | 14584 builtin and then its argument prototype would still apply. */ |
14581 char ALopenport(); | 14585 char ALopenport(); |
14582 | 14586 |
14583 int main() { | 14587 int main() { |
14584 ALopenport() | 14588 ALopenport() |
14585 ; return 0; } | 14589 ; return 0; } |
14586 EOF | 14590 EOF |
14587 if { (eval echo configure:14588: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14591 if { (eval echo configure:14592: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14588 rm -rf conftest* | 14592 rm -rf conftest* |
14589 eval "ac_cv_lib_$ac_lib_var=yes" | 14593 eval "ac_cv_lib_$ac_lib_var=yes" |
14590 else | 14594 else |
14591 echo "configure: failed program was:" >&5 | 14595 echo "configure: failed program was:" >&5 |
14592 cat conftest.$ac_ext >&5 | 14596 cat conftest.$ac_ext >&5 |
14613 fi ;; | 14617 fi ;; |
14614 hppa*-hp-hpux* ) | 14618 hppa*-hp-hpux* ) |
14615 if test -z "$native_sound_lib"; then | 14619 if test -z "$native_sound_lib"; then |
14616 | 14620 |
14617 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 | 14621 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 |
14618 echo "configure:14619: checking for AOpenAudio in -lAlib" >&5 | 14622 echo "configure:14623: checking for AOpenAudio in -lAlib" >&5 |
14619 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` | 14623 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` |
14620 | 14624 |
14621 xe_check_libs=" -lAlib " | 14625 xe_check_libs=" -lAlib " |
14622 cat > conftest.$ac_ext <<EOF | 14626 cat > conftest.$ac_ext <<EOF |
14623 #line 14624 "configure" | 14627 #line 14628 "configure" |
14624 #include "confdefs.h" | 14628 #include "confdefs.h" |
14625 /* Override any gcc2 internal prototype to avoid an error. */ | 14629 /* Override any gcc2 internal prototype to avoid an error. */ |
14626 /* We use char because int might match the return type of a gcc2 | 14630 /* We use char because int might match the return type of a gcc2 |
14627 builtin and then its argument prototype would still apply. */ | 14631 builtin and then its argument prototype would still apply. */ |
14628 char AOpenAudio(); | 14632 char AOpenAudio(); |
14629 | 14633 |
14630 int main() { | 14634 int main() { |
14631 AOpenAudio() | 14635 AOpenAudio() |
14632 ; return 0; } | 14636 ; return 0; } |
14633 EOF | 14637 EOF |
14634 if { (eval echo configure:14635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14638 if { (eval echo configure:14639: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14635 rm -rf conftest* | 14639 rm -rf conftest* |
14636 eval "ac_cv_lib_$ac_lib_var=yes" | 14640 eval "ac_cv_lib_$ac_lib_var=yes" |
14637 else | 14641 else |
14638 echo "configure: failed program was:" >&5 | 14642 echo "configure: failed program was:" >&5 |
14639 cat conftest.$ac_ext >&5 | 14643 cat conftest.$ac_ext >&5 |
14677 | 14681 |
14678 if test -z "$sound_found"; then | 14682 if test -z "$sound_found"; then |
14679 for dir in "machine" "sys" "linux"; do | 14683 for dir in "machine" "sys" "linux"; do |
14680 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` | 14684 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` |
14681 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 | 14685 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 |
14682 echo "configure:14683: checking for ${dir}/soundcard.h" >&5 | 14686 echo "configure:14687: checking for ${dir}/soundcard.h" >&5 |
14683 | 14687 |
14684 cat > conftest.$ac_ext <<EOF | 14688 cat > conftest.$ac_ext <<EOF |
14685 #line 14686 "configure" | 14689 #line 14690 "configure" |
14686 #include "confdefs.h" | 14690 #include "confdefs.h" |
14687 #include <${dir}/soundcard.h> | 14691 #include <${dir}/soundcard.h> |
14688 EOF | 14692 EOF |
14689 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14693 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14690 { (eval echo configure:14691: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14694 { (eval echo configure:14695: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14691 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14695 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14692 if test -z "$ac_err"; then | 14696 if test -z "$ac_err"; then |
14693 rm -rf conftest* | 14697 rm -rf conftest* |
14694 eval "ac_cv_header_$ac_safe=yes" | 14698 eval "ac_cv_header_$ac_safe=yes" |
14695 else | 14699 else |
14727 with_native_sound=yes | 14731 with_native_sound=yes |
14728 | 14732 |
14729 if test "$opsys" = "netbsd" ; then | 14733 if test "$opsys" = "netbsd" ; then |
14730 | 14734 |
14731 echo $ac_n "checking for _oss_ioctl in -lossaudio""... $ac_c" 1>&6 | 14735 echo $ac_n "checking for _oss_ioctl in -lossaudio""... $ac_c" 1>&6 |
14732 echo "configure:14733: checking for _oss_ioctl in -lossaudio" >&5 | 14736 echo "configure:14737: checking for _oss_ioctl in -lossaudio" >&5 |
14733 ac_lib_var=`echo ossaudio'_'_oss_ioctl | sed 'y%./+-%__p_%'` | 14737 ac_lib_var=`echo ossaudio'_'_oss_ioctl | sed 'y%./+-%__p_%'` |
14734 | 14738 |
14735 xe_check_libs=" -lossaudio " | 14739 xe_check_libs=" -lossaudio " |
14736 cat > conftest.$ac_ext <<EOF | 14740 cat > conftest.$ac_ext <<EOF |
14737 #line 14738 "configure" | 14741 #line 14742 "configure" |
14738 #include "confdefs.h" | 14742 #include "confdefs.h" |
14739 /* Override any gcc2 internal prototype to avoid an error. */ | 14743 /* Override any gcc2 internal prototype to avoid an error. */ |
14740 /* We use char because int might match the return type of a gcc2 | 14744 /* We use char because int might match the return type of a gcc2 |
14741 builtin and then its argument prototype would still apply. */ | 14745 builtin and then its argument prototype would still apply. */ |
14742 char _oss_ioctl(); | 14746 char _oss_ioctl(); |
14743 | 14747 |
14744 int main() { | 14748 int main() { |
14745 _oss_ioctl() | 14749 _oss_ioctl() |
14746 ; return 0; } | 14750 ; return 0; } |
14747 EOF | 14751 EOF |
14748 if { (eval echo configure:14749: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14752 if { (eval echo configure:14753: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14749 rm -rf conftest* | 14753 rm -rf conftest* |
14750 eval "ac_cv_lib_$ac_lib_var=yes" | 14754 eval "ac_cv_lib_$ac_lib_var=yes" |
14751 else | 14755 else |
14752 echo "configure: failed program was:" >&5 | 14756 echo "configure: failed program was:" >&5 |
14753 cat conftest.$ac_ext >&5 | 14757 cat conftest.$ac_ext >&5 |
14782 fi | 14786 fi |
14783 | 14787 |
14784 if test "$with_nas_sound" != "no"; then | 14788 if test "$with_nas_sound" != "no"; then |
14785 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` | 14789 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` |
14786 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 | 14790 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 |
14787 echo "configure:14788: checking for audio/audiolib.h" >&5 | 14791 echo "configure:14792: checking for audio/audiolib.h" >&5 |
14788 | 14792 |
14789 cat > conftest.$ac_ext <<EOF | 14793 cat > conftest.$ac_ext <<EOF |
14790 #line 14791 "configure" | 14794 #line 14795 "configure" |
14791 #include "confdefs.h" | 14795 #include "confdefs.h" |
14792 #include <audio/audiolib.h> | 14796 #include <audio/audiolib.h> |
14793 EOF | 14797 EOF |
14794 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14798 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14795 { (eval echo configure:14796: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14799 { (eval echo configure:14800: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14796 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14800 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14797 if test -z "$ac_err"; then | 14801 if test -z "$ac_err"; then |
14798 rm -rf conftest* | 14802 rm -rf conftest* |
14799 eval "ac_cv_header_$ac_safe=yes" | 14803 eval "ac_cv_header_$ac_safe=yes" |
14800 else | 14804 else |
14808 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 14812 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
14809 echo "$ac_t""yes" 1>&6 | 14813 echo "$ac_t""yes" 1>&6 |
14810 | 14814 |
14811 | 14815 |
14812 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 | 14816 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 |
14813 echo "configure:14814: checking for AuOpenServer in -laudio" >&5 | 14817 echo "configure:14818: checking for AuOpenServer in -laudio" >&5 |
14814 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` | 14818 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` |
14815 | 14819 |
14816 xe_check_libs=" -laudio " | 14820 xe_check_libs=" -laudio " |
14817 cat > conftest.$ac_ext <<EOF | 14821 cat > conftest.$ac_ext <<EOF |
14818 #line 14819 "configure" | 14822 #line 14823 "configure" |
14819 #include "confdefs.h" | 14823 #include "confdefs.h" |
14820 /* Override any gcc2 internal prototype to avoid an error. */ | 14824 /* Override any gcc2 internal prototype to avoid an error. */ |
14821 /* We use char because int might match the return type of a gcc2 | 14825 /* We use char because int might match the return type of a gcc2 |
14822 builtin and then its argument prototype would still apply. */ | 14826 builtin and then its argument prototype would still apply. */ |
14823 char AuOpenServer(); | 14827 char AuOpenServer(); |
14824 | 14828 |
14825 int main() { | 14829 int main() { |
14826 AuOpenServer() | 14830 AuOpenServer() |
14827 ; return 0; } | 14831 ; return 0; } |
14828 EOF | 14832 EOF |
14829 if { (eval echo configure:14830: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14833 if { (eval echo configure:14834: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14830 rm -rf conftest* | 14834 rm -rf conftest* |
14831 eval "ac_cv_lib_$ac_lib_var=yes" | 14835 eval "ac_cv_lib_$ac_lib_var=yes" |
14832 else | 14836 else |
14833 echo "configure: failed program was:" >&5 | 14837 echo "configure: failed program was:" >&5 |
14834 cat conftest.$ac_ext >&5 | 14838 cat conftest.$ac_ext >&5 |
14863 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then | 14867 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then |
14864 echo " xemacs will be linked with \"nas.o\"" | 14868 echo " xemacs will be linked with \"nas.o\"" |
14865 fi | 14869 fi |
14866 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi | 14870 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi |
14867 cat > conftest.$ac_ext <<EOF | 14871 cat > conftest.$ac_ext <<EOF |
14868 #line 14869 "configure" | 14872 #line 14873 "configure" |
14869 #include "confdefs.h" | 14873 #include "confdefs.h" |
14870 #include <audio/Xtutil.h> | 14874 #include <audio/Xtutil.h> |
14871 EOF | 14875 EOF |
14872 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 14876 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
14873 egrep "AuXtErrorJump" >/dev/null 2>&1; then | 14877 egrep "AuXtErrorJump" >/dev/null 2>&1; then |
14894 | 14898 |
14895 if test "$with_esd_sound" != "no"; then | 14899 if test "$with_esd_sound" != "no"; then |
14896 # Extract the first word of "esd-config", so it can be a program name with args. | 14900 # Extract the first word of "esd-config", so it can be a program name with args. |
14897 set dummy esd-config; ac_word=$2 | 14901 set dummy esd-config; ac_word=$2 |
14898 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 14902 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
14899 echo "configure:14900: checking for $ac_word" >&5 | 14903 echo "configure:14904: checking for $ac_word" >&5 |
14900 | 14904 |
14901 if test -n "$have_esd_config"; then | 14905 if test -n "$have_esd_config"; then |
14902 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. | 14906 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. |
14903 else | 14907 else |
14904 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 14908 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
14923 if test "$have_esd_config" = "yes"; then | 14927 if test "$have_esd_config" = "yes"; then |
14924 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" | 14928 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" |
14925 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 | 14929 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 |
14926 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi | 14930 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi |
14927 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 | 14931 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 |
14928 echo "configure:14929: checking for esd_play_stream" >&5 | 14932 echo "configure:14933: checking for esd_play_stream" >&5 |
14929 | 14933 |
14930 cat > conftest.$ac_ext <<EOF | 14934 cat > conftest.$ac_ext <<EOF |
14931 #line 14932 "configure" | 14935 #line 14936 "configure" |
14932 #include "confdefs.h" | 14936 #include "confdefs.h" |
14933 /* System header to define __stub macros and hopefully few prototypes, | 14937 /* System header to define __stub macros and hopefully few prototypes, |
14934 which can conflict with char esd_play_stream(); below. */ | 14938 which can conflict with char esd_play_stream(); below. */ |
14935 #include <assert.h> | 14939 #include <assert.h> |
14936 /* Override any gcc2 internal prototype to avoid an error. */ | 14940 /* Override any gcc2 internal prototype to avoid an error. */ |
14949 esd_play_stream(); | 14953 esd_play_stream(); |
14950 #endif | 14954 #endif |
14951 | 14955 |
14952 ; return 0; } | 14956 ; return 0; } |
14953 EOF | 14957 EOF |
14954 if { (eval echo configure:14955: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14958 if { (eval echo configure:14959: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14955 rm -rf conftest* | 14959 rm -rf conftest* |
14956 eval "ac_cv_func_esd_play_stream=yes" | 14960 eval "ac_cv_func_esd_play_stream=yes" |
14957 else | 14961 else |
14958 echo "configure: failed program was:" >&5 | 14962 echo "configure: failed program was:" >&5 |
14959 cat conftest.$ac_ext >&5 | 14963 cat conftest.$ac_ext >&5 |
15000 | 15004 |
15001 test -z "$with_tty" && with_tty=yes | 15005 test -z "$with_tty" && with_tty=yes |
15002 | 15006 |
15003 if test "$with_tty" = "yes" ; then | 15007 if test "$with_tty" = "yes" ; then |
15004 echo "checking for TTY-related features" 1>&6 | 15008 echo "checking for TTY-related features" 1>&6 |
15005 echo "configure:15006: checking for TTY-related features" >&5 | 15009 echo "configure:15010: checking for TTY-related features" >&5 |
15006 { test "$extra_verbose" = "yes" && cat << \EOF | 15010 { test "$extra_verbose" = "yes" && cat << \EOF |
15007 Defining HAVE_TTY | 15011 Defining HAVE_TTY |
15008 EOF | 15012 EOF |
15009 cat >> confdefs.h <<\EOF | 15013 cat >> confdefs.h <<\EOF |
15010 #define HAVE_TTY 1 | 15014 #define HAVE_TTY 1 |
15013 | 15017 |
15014 | 15018 |
15015 if test -z "$with_ncurses"; then | 15019 if test -z "$with_ncurses"; then |
15016 | 15020 |
15017 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 | 15021 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 |
15018 echo "configure:15019: checking for tgetent in -lncurses" >&5 | 15022 echo "configure:15023: checking for tgetent in -lncurses" >&5 |
15019 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` | 15023 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` |
15020 | 15024 |
15021 xe_check_libs=" -lncurses " | 15025 xe_check_libs=" -lncurses " |
15022 cat > conftest.$ac_ext <<EOF | 15026 cat > conftest.$ac_ext <<EOF |
15023 #line 15024 "configure" | 15027 #line 15028 "configure" |
15024 #include "confdefs.h" | 15028 #include "confdefs.h" |
15025 /* Override any gcc2 internal prototype to avoid an error. */ | 15029 /* Override any gcc2 internal prototype to avoid an error. */ |
15026 /* We use char because int might match the return type of a gcc2 | 15030 /* We use char because int might match the return type of a gcc2 |
15027 builtin and then its argument prototype would still apply. */ | 15031 builtin and then its argument prototype would still apply. */ |
15028 char tgetent(); | 15032 char tgetent(); |
15029 | 15033 |
15030 int main() { | 15034 int main() { |
15031 tgetent() | 15035 tgetent() |
15032 ; return 0; } | 15036 ; return 0; } |
15033 EOF | 15037 EOF |
15034 if { (eval echo configure:15035: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15038 if { (eval echo configure:15039: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15035 rm -rf conftest* | 15039 rm -rf conftest* |
15036 eval "ac_cv_lib_$ac_lib_var=yes" | 15040 eval "ac_cv_lib_$ac_lib_var=yes" |
15037 else | 15041 else |
15038 echo "configure: failed program was:" >&5 | 15042 echo "configure: failed program was:" >&5 |
15039 cat conftest.$ac_ext >&5 | 15043 cat conftest.$ac_ext >&5 |
15062 EOF | 15066 EOF |
15063 } | 15067 } |
15064 | 15068 |
15065 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 15069 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
15066 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 15070 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
15067 echo "configure:15068: checking for ncurses/curses.h" >&5 | 15071 echo "configure:15072: checking for ncurses/curses.h" >&5 |
15068 | 15072 |
15069 cat > conftest.$ac_ext <<EOF | 15073 cat > conftest.$ac_ext <<EOF |
15070 #line 15071 "configure" | 15074 #line 15075 "configure" |
15071 #include "confdefs.h" | 15075 #include "confdefs.h" |
15072 #include <ncurses/curses.h> | 15076 #include <ncurses/curses.h> |
15073 EOF | 15077 EOF |
15074 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 15078 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
15075 { (eval echo configure:15076: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 15079 { (eval echo configure:15080: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
15076 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 15080 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
15077 if test -z "$ac_err"; then | 15081 if test -z "$ac_err"; then |
15078 rm -rf conftest* | 15082 rm -rf conftest* |
15079 eval "ac_cv_header_$ac_safe=yes" | 15083 eval "ac_cv_header_$ac_safe=yes" |
15080 else | 15084 else |
15092 echo "$ac_t""no" 1>&6 | 15096 echo "$ac_t""no" 1>&6 |
15093 fi | 15097 fi |
15094 | 15098 |
15095 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` | 15099 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` |
15096 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 | 15100 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 |
15097 echo "configure:15098: checking for ncurses/term.h" >&5 | 15101 echo "configure:15102: checking for ncurses/term.h" >&5 |
15098 | 15102 |
15099 cat > conftest.$ac_ext <<EOF | 15103 cat > conftest.$ac_ext <<EOF |
15100 #line 15101 "configure" | 15104 #line 15105 "configure" |
15101 #include "confdefs.h" | 15105 #include "confdefs.h" |
15102 #include <ncurses/term.h> | 15106 #include <ncurses/term.h> |
15103 EOF | 15107 EOF |
15104 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 15108 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
15105 { (eval echo configure:15106: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 15109 { (eval echo configure:15110: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
15106 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 15110 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
15107 if test -z "$ac_err"; then | 15111 if test -z "$ac_err"; then |
15108 rm -rf conftest* | 15112 rm -rf conftest* |
15109 eval "ac_cv_header_$ac_safe=yes" | 15113 eval "ac_cv_header_$ac_safe=yes" |
15110 else | 15114 else |
15130 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then | 15134 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then |
15131 save_c_switch_site="$c_switch_site" | 15135 save_c_switch_site="$c_switch_site" |
15132 c_switch_site="$c_switch_site -I/usr/include/ncurses" | 15136 c_switch_site="$c_switch_site -I/usr/include/ncurses" |
15133 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 15137 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
15134 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 15138 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
15135 echo "configure:15136: checking for ncurses/curses.h" >&5 | 15139 echo "configure:15140: checking for ncurses/curses.h" >&5 |
15136 | 15140 |
15137 cat > conftest.$ac_ext <<EOF | 15141 cat > conftest.$ac_ext <<EOF |
15138 #line 15139 "configure" | 15142 #line 15143 "configure" |
15139 #include "confdefs.h" | 15143 #include "confdefs.h" |
15140 #include <ncurses/curses.h> | 15144 #include <ncurses/curses.h> |
15141 EOF | 15145 EOF |
15142 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 15146 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
15143 { (eval echo configure:15144: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 15147 { (eval echo configure:15148: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
15144 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 15148 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
15145 if test -z "$ac_err"; then | 15149 if test -z "$ac_err"; then |
15146 rm -rf conftest* | 15150 rm -rf conftest* |
15147 eval "ac_cv_header_$ac_safe=yes" | 15151 eval "ac_cv_header_$ac_safe=yes" |
15148 else | 15152 else |
15173 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 15177 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
15174 else | 15178 else |
15175 for lib in curses termlib termcap; do | 15179 for lib in curses termlib termcap; do |
15176 | 15180 |
15177 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 | 15181 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 |
15178 echo "configure:15179: checking for tgetent in -l$lib" >&5 | 15182 echo "configure:15183: checking for tgetent in -l$lib" >&5 |
15179 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` | 15183 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` |
15180 | 15184 |
15181 xe_check_libs=" -l$lib " | 15185 xe_check_libs=" -l$lib " |
15182 cat > conftest.$ac_ext <<EOF | 15186 cat > conftest.$ac_ext <<EOF |
15183 #line 15184 "configure" | 15187 #line 15188 "configure" |
15184 #include "confdefs.h" | 15188 #include "confdefs.h" |
15185 /* Override any gcc2 internal prototype to avoid an error. */ | 15189 /* Override any gcc2 internal prototype to avoid an error. */ |
15186 /* We use char because int might match the return type of a gcc2 | 15190 /* We use char because int might match the return type of a gcc2 |
15187 builtin and then its argument prototype would still apply. */ | 15191 builtin and then its argument prototype would still apply. */ |
15188 char tgetent(); | 15192 char tgetent(); |
15189 | 15193 |
15190 int main() { | 15194 int main() { |
15191 tgetent() | 15195 tgetent() |
15192 ; return 0; } | 15196 ; return 0; } |
15193 EOF | 15197 EOF |
15194 if { (eval echo configure:15195: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15198 if { (eval echo configure:15199: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15195 rm -rf conftest* | 15199 rm -rf conftest* |
15196 eval "ac_cv_lib_$ac_lib_var=yes" | 15200 eval "ac_cv_lib_$ac_lib_var=yes" |
15197 else | 15201 else |
15198 echo "configure: failed program was:" >&5 | 15202 echo "configure: failed program was:" >&5 |
15199 cat conftest.$ac_ext >&5 | 15203 cat conftest.$ac_ext >&5 |
15220 if test -n "$libs_termcap"; then | 15224 if test -n "$libs_termcap"; then |
15221 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 15225 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
15222 else | 15226 else |
15223 | 15227 |
15224 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 | 15228 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 |
15225 echo "configure:15226: checking for tgetent in -lcurses" >&5 | 15229 echo "configure:15230: checking for tgetent in -lcurses" >&5 |
15226 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` | 15230 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` |
15227 | 15231 |
15228 xe_check_libs=" -lcurses " | 15232 xe_check_libs=" -lcurses " |
15229 cat > conftest.$ac_ext <<EOF | 15233 cat > conftest.$ac_ext <<EOF |
15230 #line 15231 "configure" | 15234 #line 15235 "configure" |
15231 #include "confdefs.h" | 15235 #include "confdefs.h" |
15232 /* Override any gcc2 internal prototype to avoid an error. */ | 15236 /* Override any gcc2 internal prototype to avoid an error. */ |
15233 /* We use char because int might match the return type of a gcc2 | 15237 /* We use char because int might match the return type of a gcc2 |
15234 builtin and then its argument prototype would still apply. */ | 15238 builtin and then its argument prototype would still apply. */ |
15235 char tgetent(); | 15239 char tgetent(); |
15236 | 15240 |
15237 int main() { | 15241 int main() { |
15238 tgetent() | 15242 tgetent() |
15239 ; return 0; } | 15243 ; return 0; } |
15240 EOF | 15244 EOF |
15241 if { (eval echo configure:15242: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15245 if { (eval echo configure:15246: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15242 rm -rf conftest* | 15246 rm -rf conftest* |
15243 eval "ac_cv_lib_$ac_lib_var=yes" | 15247 eval "ac_cv_lib_$ac_lib_var=yes" |
15244 else | 15248 else |
15245 echo "configure: failed program was:" >&5 | 15249 echo "configure: failed program was:" >&5 |
15246 cat conftest.$ac_ext >&5 | 15250 cat conftest.$ac_ext >&5 |
15254 echo "$ac_t""yes" 1>&6 | 15258 echo "$ac_t""yes" 1>&6 |
15255 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi | 15259 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi |
15256 else | 15260 else |
15257 echo "$ac_t""no" 1>&6 | 15261 echo "$ac_t""no" 1>&6 |
15258 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 | 15262 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 |
15259 echo "configure:15260: checking for tgetent in -ltermcap" >&5 | 15263 echo "configure:15264: checking for tgetent in -ltermcap" >&5 |
15260 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` | 15264 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` |
15261 | 15265 |
15262 xe_check_libs=" -ltermcap " | 15266 xe_check_libs=" -ltermcap " |
15263 cat > conftest.$ac_ext <<EOF | 15267 cat > conftest.$ac_ext <<EOF |
15264 #line 15265 "configure" | 15268 #line 15269 "configure" |
15265 #include "confdefs.h" | 15269 #include "confdefs.h" |
15266 /* Override any gcc2 internal prototype to avoid an error. */ | 15270 /* Override any gcc2 internal prototype to avoid an error. */ |
15267 /* We use char because int might match the return type of a gcc2 | 15271 /* We use char because int might match the return type of a gcc2 |
15268 builtin and then its argument prototype would still apply. */ | 15272 builtin and then its argument prototype would still apply. */ |
15269 char tgetent(); | 15273 char tgetent(); |
15270 | 15274 |
15271 int main() { | 15275 int main() { |
15272 tgetent() | 15276 tgetent() |
15273 ; return 0; } | 15277 ; return 0; } |
15274 EOF | 15278 EOF |
15275 if { (eval echo configure:15276: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15279 if { (eval echo configure:15280: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15276 rm -rf conftest* | 15280 rm -rf conftest* |
15277 eval "ac_cv_lib_$ac_lib_var=yes" | 15281 eval "ac_cv_lib_$ac_lib_var=yes" |
15278 else | 15282 else |
15279 echo "configure: failed program was:" >&5 | 15283 echo "configure: failed program was:" >&5 |
15280 cat conftest.$ac_ext >&5 | 15284 cat conftest.$ac_ext >&5 |
15319 | 15323 |
15320 | 15324 |
15321 if test "$with_gpm" != "no"; then | 15325 if test "$with_gpm" != "no"; then |
15322 ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` | 15326 ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` |
15323 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 | 15327 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 |
15324 echo "configure:15325: checking for gpm.h" >&5 | 15328 echo "configure:15329: checking for gpm.h" >&5 |
15325 | 15329 |
15326 cat > conftest.$ac_ext <<EOF | 15330 cat > conftest.$ac_ext <<EOF |
15327 #line 15328 "configure" | 15331 #line 15332 "configure" |
15328 #include "confdefs.h" | 15332 #include "confdefs.h" |
15329 #include <gpm.h> | 15333 #include <gpm.h> |
15330 EOF | 15334 EOF |
15331 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 15335 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
15332 { (eval echo configure:15333: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 15336 { (eval echo configure:15337: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
15333 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 15337 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
15334 if test -z "$ac_err"; then | 15338 if test -z "$ac_err"; then |
15335 rm -rf conftest* | 15339 rm -rf conftest* |
15336 eval "ac_cv_header_$ac_safe=yes" | 15340 eval "ac_cv_header_$ac_safe=yes" |
15337 else | 15341 else |
15345 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 15349 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
15346 echo "$ac_t""yes" 1>&6 | 15350 echo "$ac_t""yes" 1>&6 |
15347 | 15351 |
15348 | 15352 |
15349 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 | 15353 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 |
15350 echo "configure:15351: checking for Gpm_Open in -lgpm" >&5 | 15354 echo "configure:15355: checking for Gpm_Open in -lgpm" >&5 |
15351 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` | 15355 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` |
15352 | 15356 |
15353 xe_check_libs=" -lgpm " | 15357 xe_check_libs=" -lgpm " |
15354 cat > conftest.$ac_ext <<EOF | 15358 cat > conftest.$ac_ext <<EOF |
15355 #line 15356 "configure" | 15359 #line 15360 "configure" |
15356 #include "confdefs.h" | 15360 #include "confdefs.h" |
15357 /* Override any gcc2 internal prototype to avoid an error. */ | 15361 /* Override any gcc2 internal prototype to avoid an error. */ |
15358 /* We use char because int might match the return type of a gcc2 | 15362 /* We use char because int might match the return type of a gcc2 |
15359 builtin and then its argument prototype would still apply. */ | 15363 builtin and then its argument prototype would still apply. */ |
15360 char Gpm_Open(); | 15364 char Gpm_Open(); |
15361 | 15365 |
15362 int main() { | 15366 int main() { |
15363 Gpm_Open() | 15367 Gpm_Open() |
15364 ; return 0; } | 15368 ; return 0; } |
15365 EOF | 15369 EOF |
15366 if { (eval echo configure:15367: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15370 if { (eval echo configure:15371: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15367 rm -rf conftest* | 15371 rm -rf conftest* |
15368 eval "ac_cv_lib_$ac_lib_var=yes" | 15372 eval "ac_cv_lib_$ac_lib_var=yes" |
15369 else | 15373 else |
15370 echo "configure: failed program was:" >&5 | 15374 echo "configure: failed program was:" >&5 |
15371 cat conftest.$ac_ext >&5 | 15375 cat conftest.$ac_ext >&5 |
15413 done | 15417 done |
15414 fi | 15418 fi |
15415 | 15419 |
15416 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ | 15420 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ |
15417 != "no no no" && echo "checking for database support" 1>&6 | 15421 != "no no no" && echo "checking for database support" 1>&6 |
15418 echo "configure:15419: checking for database support" >&5 | 15422 echo "configure:15423: checking for database support" >&5 |
15419 | 15423 |
15420 if test "$with_database_gdbm $with_database_dbm" != "no no"; then | 15424 if test "$with_database_gdbm $with_database_dbm" != "no no"; then |
15421 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` | 15425 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` |
15422 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 | 15426 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 |
15423 echo "configure:15424: checking for ndbm.h" >&5 | 15427 echo "configure:15428: checking for ndbm.h" >&5 |
15424 | 15428 |
15425 cat > conftest.$ac_ext <<EOF | 15429 cat > conftest.$ac_ext <<EOF |
15426 #line 15427 "configure" | 15430 #line 15431 "configure" |
15427 #include "confdefs.h" | 15431 #include "confdefs.h" |
15428 #include <ndbm.h> | 15432 #include <ndbm.h> |
15429 EOF | 15433 EOF |
15430 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 15434 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
15431 { (eval echo configure:15432: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 15435 { (eval echo configure:15436: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
15432 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 15436 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
15433 if test -z "$ac_err"; then | 15437 if test -z "$ac_err"; then |
15434 rm -rf conftest* | 15438 rm -rf conftest* |
15435 eval "ac_cv_header_$ac_safe=yes" | 15439 eval "ac_cv_header_$ac_safe=yes" |
15436 else | 15440 else |
15456 fi | 15460 fi |
15457 | 15461 |
15458 if test "$with_database_gdbm" != "no"; then | 15462 if test "$with_database_gdbm" != "no"; then |
15459 | 15463 |
15460 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 | 15464 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 |
15461 echo "configure:15462: checking for dbm_open in -lgdbm" >&5 | 15465 echo "configure:15466: checking for dbm_open in -lgdbm" >&5 |
15462 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` | 15466 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` |
15463 | 15467 |
15464 xe_check_libs=" -lgdbm " | 15468 xe_check_libs=" -lgdbm " |
15465 cat > conftest.$ac_ext <<EOF | 15469 cat > conftest.$ac_ext <<EOF |
15466 #line 15467 "configure" | 15470 #line 15471 "configure" |
15467 #include "confdefs.h" | 15471 #include "confdefs.h" |
15468 /* Override any gcc2 internal prototype to avoid an error. */ | 15472 /* Override any gcc2 internal prototype to avoid an error. */ |
15469 /* We use char because int might match the return type of a gcc2 | 15473 /* We use char because int might match the return type of a gcc2 |
15470 builtin and then its argument prototype would still apply. */ | 15474 builtin and then its argument prototype would still apply. */ |
15471 char dbm_open(); | 15475 char dbm_open(); |
15472 | 15476 |
15473 int main() { | 15477 int main() { |
15474 dbm_open() | 15478 dbm_open() |
15475 ; return 0; } | 15479 ; return 0; } |
15476 EOF | 15480 EOF |
15477 if { (eval echo configure:15478: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15481 if { (eval echo configure:15482: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15478 rm -rf conftest* | 15482 rm -rf conftest* |
15479 eval "ac_cv_lib_$ac_lib_var=yes" | 15483 eval "ac_cv_lib_$ac_lib_var=yes" |
15480 else | 15484 else |
15481 echo "configure: failed program was:" >&5 | 15485 echo "configure: failed program was:" >&5 |
15482 cat conftest.$ac_ext >&5 | 15486 cat conftest.$ac_ext >&5 |
15500 | 15504 |
15501 fi | 15505 fi |
15502 | 15506 |
15503 if test "$with_database_dbm" != "no"; then | 15507 if test "$with_database_dbm" != "no"; then |
15504 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 15508 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
15505 echo "configure:15506: checking for dbm_open" >&5 | 15509 echo "configure:15510: checking for dbm_open" >&5 |
15506 | 15510 |
15507 cat > conftest.$ac_ext <<EOF | 15511 cat > conftest.$ac_ext <<EOF |
15508 #line 15509 "configure" | 15512 #line 15513 "configure" |
15509 #include "confdefs.h" | 15513 #include "confdefs.h" |
15510 /* System header to define __stub macros and hopefully few prototypes, | 15514 /* System header to define __stub macros and hopefully few prototypes, |
15511 which can conflict with char dbm_open(); below. */ | 15515 which can conflict with char dbm_open(); below. */ |
15512 #include <assert.h> | 15516 #include <assert.h> |
15513 /* Override any gcc2 internal prototype to avoid an error. */ | 15517 /* Override any gcc2 internal prototype to avoid an error. */ |
15526 dbm_open(); | 15530 dbm_open(); |
15527 #endif | 15531 #endif |
15528 | 15532 |
15529 ; return 0; } | 15533 ; return 0; } |
15530 EOF | 15534 EOF |
15531 if { (eval echo configure:15532: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15535 if { (eval echo configure:15536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15532 rm -rf conftest* | 15536 rm -rf conftest* |
15533 eval "ac_cv_func_dbm_open=yes" | 15537 eval "ac_cv_func_dbm_open=yes" |
15534 else | 15538 else |
15535 echo "configure: failed program was:" >&5 | 15539 echo "configure: failed program was:" >&5 |
15536 cat conftest.$ac_ext >&5 | 15540 cat conftest.$ac_ext >&5 |
15545 else | 15549 else |
15546 echo "$ac_t""no" 1>&6 | 15550 echo "$ac_t""no" 1>&6 |
15547 | 15551 |
15548 | 15552 |
15549 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 | 15553 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 |
15550 echo "configure:15551: checking for dbm_open in -ldbm" >&5 | 15554 echo "configure:15555: checking for dbm_open in -ldbm" >&5 |
15551 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` | 15555 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` |
15552 | 15556 |
15553 xe_check_libs=" -ldbm " | 15557 xe_check_libs=" -ldbm " |
15554 cat > conftest.$ac_ext <<EOF | 15558 cat > conftest.$ac_ext <<EOF |
15555 #line 15556 "configure" | 15559 #line 15560 "configure" |
15556 #include "confdefs.h" | 15560 #include "confdefs.h" |
15557 /* Override any gcc2 internal prototype to avoid an error. */ | 15561 /* Override any gcc2 internal prototype to avoid an error. */ |
15558 /* We use char because int might match the return type of a gcc2 | 15562 /* We use char because int might match the return type of a gcc2 |
15559 builtin and then its argument prototype would still apply. */ | 15563 builtin and then its argument prototype would still apply. */ |
15560 char dbm_open(); | 15564 char dbm_open(); |
15561 | 15565 |
15562 int main() { | 15566 int main() { |
15563 dbm_open() | 15567 dbm_open() |
15564 ; return 0; } | 15568 ; return 0; } |
15565 EOF | 15569 EOF |
15566 if { (eval echo configure:15567: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15570 if { (eval echo configure:15571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15567 rm -rf conftest* | 15571 rm -rf conftest* |
15568 eval "ac_cv_lib_$ac_lib_var=yes" | 15572 eval "ac_cv_lib_$ac_lib_var=yes" |
15569 else | 15573 else |
15570 echo "configure: failed program was:" >&5 | 15574 echo "configure: failed program was:" >&5 |
15571 cat conftest.$ac_ext >&5 | 15575 cat conftest.$ac_ext >&5 |
15602 } | 15606 } |
15603 | 15607 |
15604 | 15608 |
15605 if test "$with_database_berkdb" != "no"; then | 15609 if test "$with_database_berkdb" != "no"; then |
15606 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 | 15610 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 |
15607 echo "configure:15608: checking for Berkeley db.h" >&5 | 15611 echo "configure:15612: checking for Berkeley db.h" >&5 |
15608 for header in "db/db.h" "db.h"; do | 15612 for header in "db/db.h" "db.h"; do |
15609 cat > conftest.$ac_ext <<EOF | 15613 cat > conftest.$ac_ext <<EOF |
15610 #line 15611 "configure" | 15614 #line 15615 "configure" |
15611 #include "confdefs.h" | 15615 #include "confdefs.h" |
15612 | 15616 |
15613 #include <stdlib.h> | 15617 #include <stdlib.h> |
15614 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) | 15618 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) |
15615 #ifdef HAVE_INTTYPES_H | 15619 #ifdef HAVE_INTTYPES_H |
15627 | 15631 |
15628 int main() { | 15632 int main() { |
15629 | 15633 |
15630 ; return 0; } | 15634 ; return 0; } |
15631 EOF | 15635 EOF |
15632 if { (eval echo configure:15633: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 15636 if { (eval echo configure:15637: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
15633 rm -rf conftest* | 15637 rm -rf conftest* |
15634 db_h_file="$header"; break | 15638 db_h_file="$header"; break |
15635 else | 15639 else |
15636 echo "configure: failed program was:" >&5 | 15640 echo "configure: failed program was:" >&5 |
15637 cat conftest.$ac_ext >&5 | 15641 cat conftest.$ac_ext >&5 |
15643 else echo "$ac_t""$db_h_file" 1>&6 | 15647 else echo "$ac_t""$db_h_file" 1>&6 |
15644 fi | 15648 fi |
15645 | 15649 |
15646 if test "$with_database_berkdb" != "no"; then | 15650 if test "$with_database_berkdb" != "no"; then |
15647 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 | 15651 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 |
15648 echo "configure:15649: checking for Berkeley DB version" >&5 | 15652 echo "configure:15653: checking for Berkeley DB version" >&5 |
15649 cat > conftest.$ac_ext <<EOF | 15653 cat > conftest.$ac_ext <<EOF |
15650 #line 15651 "configure" | 15654 #line 15655 "configure" |
15651 #include "confdefs.h" | 15655 #include "confdefs.h" |
15652 #include <$db_h_file> | 15656 #include <$db_h_file> |
15653 #if DB_VERSION_MAJOR > 1 | 15657 #if DB_VERSION_MAJOR > 1 |
15654 yes | 15658 yes |
15655 #endif | 15659 #endif |
15657 EOF | 15661 EOF |
15658 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 15662 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
15659 egrep "yes" >/dev/null 2>&1; then | 15663 egrep "yes" >/dev/null 2>&1; then |
15660 rm -rf conftest* | 15664 rm -rf conftest* |
15661 cat > conftest.$ac_ext <<EOF | 15665 cat > conftest.$ac_ext <<EOF |
15662 #line 15663 "configure" | 15666 #line 15667 "configure" |
15663 #include "confdefs.h" | 15667 #include "confdefs.h" |
15664 #include <$db_h_file> | 15668 #include <$db_h_file> |
15665 #if DB_VERSION_MAJOR > 2 | 15669 #if DB_VERSION_MAJOR > 2 |
15666 yes | 15670 yes |
15667 #endif | 15671 #endif |
15669 EOF | 15673 EOF |
15670 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 15674 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
15671 egrep "yes" >/dev/null 2>&1; then | 15675 egrep "yes" >/dev/null 2>&1; then |
15672 rm -rf conftest* | 15676 rm -rf conftest* |
15673 cat > conftest.$ac_ext <<EOF | 15677 cat > conftest.$ac_ext <<EOF |
15674 #line 15675 "configure" | 15678 #line 15679 "configure" |
15675 #include "confdefs.h" | 15679 #include "confdefs.h" |
15676 #include <$db_h_file> | 15680 #include <$db_h_file> |
15677 #if DB_VERSION_MAJOR > 3 | 15681 #if DB_VERSION_MAJOR > 3 |
15678 yes | 15682 yes |
15679 #endif | 15683 #endif |
15703 echo "$ac_t""1" 1>&6; dbfunc=dbopen; dbver=1 | 15707 echo "$ac_t""1" 1>&6; dbfunc=dbopen; dbver=1 |
15704 fi | 15708 fi |
15705 rm -f conftest* | 15709 rm -f conftest* |
15706 | 15710 |
15707 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 | 15711 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 |
15708 echo "configure:15709: checking for $dbfunc" >&5 | 15712 echo "configure:15713: checking for $dbfunc" >&5 |
15709 | 15713 |
15710 cat > conftest.$ac_ext <<EOF | 15714 cat > conftest.$ac_ext <<EOF |
15711 #line 15712 "configure" | 15715 #line 15716 "configure" |
15712 #include "confdefs.h" | 15716 #include "confdefs.h" |
15713 /* System header to define __stub macros and hopefully few prototypes, | 15717 /* System header to define __stub macros and hopefully few prototypes, |
15714 which can conflict with char $dbfunc(); below. */ | 15718 which can conflict with char $dbfunc(); below. */ |
15715 #include <assert.h> | 15719 #include <assert.h> |
15716 /* Override any gcc2 internal prototype to avoid an error. */ | 15720 /* Override any gcc2 internal prototype to avoid an error. */ |
15729 $dbfunc(); | 15733 $dbfunc(); |
15730 #endif | 15734 #endif |
15731 | 15735 |
15732 ; return 0; } | 15736 ; return 0; } |
15733 EOF | 15737 EOF |
15734 if { (eval echo configure:15735: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15738 if { (eval echo configure:15739: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15735 rm -rf conftest* | 15739 rm -rf conftest* |
15736 eval "ac_cv_func_$dbfunc=yes" | 15740 eval "ac_cv_func_$dbfunc=yes" |
15737 else | 15741 else |
15738 echo "configure: failed program was:" >&5 | 15742 echo "configure: failed program was:" >&5 |
15739 cat conftest.$ac_ext >&5 | 15743 cat conftest.$ac_ext >&5 |
15748 else | 15752 else |
15749 echo "$ac_t""no" 1>&6 | 15753 echo "$ac_t""no" 1>&6 |
15750 | 15754 |
15751 | 15755 |
15752 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 | 15756 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 |
15753 echo "configure:15754: checking for $dbfunc in -ldb" >&5 | 15757 echo "configure:15758: checking for $dbfunc in -ldb" >&5 |
15754 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` | 15758 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` |
15755 | 15759 |
15756 xe_check_libs=" -ldb " | 15760 xe_check_libs=" -ldb " |
15757 cat > conftest.$ac_ext <<EOF | 15761 cat > conftest.$ac_ext <<EOF |
15758 #line 15759 "configure" | 15762 #line 15763 "configure" |
15759 #include "confdefs.h" | 15763 #include "confdefs.h" |
15760 /* Override any gcc2 internal prototype to avoid an error. */ | 15764 /* Override any gcc2 internal prototype to avoid an error. */ |
15761 /* We use char because int might match the return type of a gcc2 | 15765 /* We use char because int might match the return type of a gcc2 |
15762 builtin and then its argument prototype would still apply. */ | 15766 builtin and then its argument prototype would still apply. */ |
15763 char $dbfunc(); | 15767 char $dbfunc(); |
15764 | 15768 |
15765 int main() { | 15769 int main() { |
15766 $dbfunc() | 15770 $dbfunc() |
15767 ; return 0; } | 15771 ; return 0; } |
15768 EOF | 15772 EOF |
15769 if { (eval echo configure:15770: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15773 if { (eval echo configure:15774: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15770 rm -rf conftest* | 15774 rm -rf conftest* |
15771 eval "ac_cv_lib_$ac_lib_var=yes" | 15775 eval "ac_cv_lib_$ac_lib_var=yes" |
15772 else | 15776 else |
15773 echo "configure: failed program was:" >&5 | 15777 echo "configure: failed program was:" >&5 |
15774 cat conftest.$ac_ext >&5 | 15778 cat conftest.$ac_ext >&5 |
15798 | sed -n -e "s/[ ]*=[ \"]*/='/" -e "s/[ \"]*\$/'/" -e "s/^configure___//p"` | 15802 | sed -n -e "s/[ ]*=[ \"]*/='/" -e "s/[ \"]*\$/'/" -e "s/^configure___//p"` |
15799 rm -f $tempcname | 15803 rm -f $tempcname |
15800 echo "configure: warning: "db_create is really $dbfunc"" 1>&2 | 15804 echo "configure: warning: "db_create is really $dbfunc"" 1>&2 |
15801 | 15805 |
15802 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 | 15806 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 |
15803 echo "configure:15804: checking for $dbfunc in -ldb" >&5 | 15807 echo "configure:15808: checking for $dbfunc in -ldb" >&5 |
15804 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` | 15808 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` |
15805 | 15809 |
15806 xe_check_libs=" -ldb " | 15810 xe_check_libs=" -ldb " |
15807 cat > conftest.$ac_ext <<EOF | 15811 cat > conftest.$ac_ext <<EOF |
15808 #line 15809 "configure" | 15812 #line 15813 "configure" |
15809 #include "confdefs.h" | 15813 #include "confdefs.h" |
15810 /* Override any gcc2 internal prototype to avoid an error. */ | 15814 /* Override any gcc2 internal prototype to avoid an error. */ |
15811 /* We use char because int might match the return type of a gcc2 | 15815 /* We use char because int might match the return type of a gcc2 |
15812 builtin and then its argument prototype would still apply. */ | 15816 builtin and then its argument prototype would still apply. */ |
15813 char $dbfunc(); | 15817 char $dbfunc(); |
15814 | 15818 |
15815 int main() { | 15819 int main() { |
15816 $dbfunc() | 15820 $dbfunc() |
15817 ; return 0; } | 15821 ; return 0; } |
15818 EOF | 15822 EOF |
15819 if { (eval echo configure:15820: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15823 if { (eval echo configure:15824: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15820 rm -rf conftest* | 15824 rm -rf conftest* |
15821 eval "ac_cv_lib_$ac_lib_var=yes" | 15825 eval "ac_cv_lib_$ac_lib_var=yes" |
15822 else | 15826 else |
15823 echo "configure: failed program was:" >&5 | 15827 echo "configure: failed program was:" >&5 |
15824 cat conftest.$ac_ext >&5 | 15828 cat conftest.$ac_ext >&5 |
15873 fi | 15877 fi |
15874 | 15878 |
15875 if test "$with_socks" = "yes"; then | 15879 if test "$with_socks" = "yes"; then |
15876 | 15880 |
15877 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 | 15881 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 |
15878 echo "configure:15879: checking for SOCKSinit in -lsocks" >&5 | 15882 echo "configure:15883: checking for SOCKSinit in -lsocks" >&5 |
15879 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` | 15883 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` |
15880 | 15884 |
15881 xe_check_libs=" -lsocks " | 15885 xe_check_libs=" -lsocks " |
15882 cat > conftest.$ac_ext <<EOF | 15886 cat > conftest.$ac_ext <<EOF |
15883 #line 15884 "configure" | 15887 #line 15888 "configure" |
15884 #include "confdefs.h" | 15888 #include "confdefs.h" |
15885 /* Override any gcc2 internal prototype to avoid an error. */ | 15889 /* Override any gcc2 internal prototype to avoid an error. */ |
15886 /* We use char because int might match the return type of a gcc2 | 15890 /* We use char because int might match the return type of a gcc2 |
15887 builtin and then its argument prototype would still apply. */ | 15891 builtin and then its argument prototype would still apply. */ |
15888 char SOCKSinit(); | 15892 char SOCKSinit(); |
15889 | 15893 |
15890 int main() { | 15894 int main() { |
15891 SOCKSinit() | 15895 SOCKSinit() |
15892 ; return 0; } | 15896 ; return 0; } |
15893 EOF | 15897 EOF |
15894 if { (eval echo configure:15895: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15898 if { (eval echo configure:15899: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15895 rm -rf conftest* | 15899 rm -rf conftest* |
15896 eval "ac_cv_lib_$ac_lib_var=yes" | 15900 eval "ac_cv_lib_$ac_lib_var=yes" |
15897 else | 15901 else |
15898 echo "configure: failed program was:" >&5 | 15902 echo "configure: failed program was:" >&5 |
15899 cat conftest.$ac_ext >&5 | 15903 cat conftest.$ac_ext >&5 |
15945 fi | 15949 fi |
15946 | 15950 |
15947 if test "$use_number_lib" = "gmp"; then | 15951 if test "$use_number_lib" = "gmp"; then |
15948 ac_safe=`echo "gmp.h" | sed 'y%./+-%__p_%'` | 15952 ac_safe=`echo "gmp.h" | sed 'y%./+-%__p_%'` |
15949 echo $ac_n "checking for gmp.h""... $ac_c" 1>&6 | 15953 echo $ac_n "checking for gmp.h""... $ac_c" 1>&6 |
15950 echo "configure:15951: checking for gmp.h" >&5 | 15954 echo "configure:15955: checking for gmp.h" >&5 |
15951 | 15955 |
15952 cat > conftest.$ac_ext <<EOF | 15956 cat > conftest.$ac_ext <<EOF |
15953 #line 15954 "configure" | 15957 #line 15958 "configure" |
15954 #include "confdefs.h" | 15958 #include "confdefs.h" |
15955 #include <gmp.h> | 15959 #include <gmp.h> |
15956 EOF | 15960 EOF |
15957 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 15961 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
15958 { (eval echo configure:15959: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 15962 { (eval echo configure:15963: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
15959 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 15963 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
15960 if test -z "$ac_err"; then | 15964 if test -z "$ac_err"; then |
15961 rm -rf conftest* | 15965 rm -rf conftest* |
15962 eval "ac_cv_header_$ac_safe=yes" | 15966 eval "ac_cv_header_$ac_safe=yes" |
15963 else | 15967 else |
15971 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 15975 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
15972 echo "$ac_t""yes" 1>&6 | 15976 echo "$ac_t""yes" 1>&6 |
15973 | 15977 |
15974 | 15978 |
15975 echo $ac_n "checking for __gmpz_init in -lgmp""... $ac_c" 1>&6 | 15979 echo $ac_n "checking for __gmpz_init in -lgmp""... $ac_c" 1>&6 |
15976 echo "configure:15977: checking for __gmpz_init in -lgmp" >&5 | 15980 echo "configure:15981: checking for __gmpz_init in -lgmp" >&5 |
15977 ac_lib_var=`echo gmp'_'__gmpz_init | sed 'y%./+-%__p_%'` | 15981 ac_lib_var=`echo gmp'_'__gmpz_init | sed 'y%./+-%__p_%'` |
15978 | 15982 |
15979 xe_check_libs=" -lgmp " | 15983 xe_check_libs=" -lgmp " |
15980 cat > conftest.$ac_ext <<EOF | 15984 cat > conftest.$ac_ext <<EOF |
15981 #line 15982 "configure" | 15985 #line 15986 "configure" |
15982 #include "confdefs.h" | 15986 #include "confdefs.h" |
15983 /* Override any gcc2 internal prototype to avoid an error. */ | 15987 /* Override any gcc2 internal prototype to avoid an error. */ |
15984 /* We use char because int might match the return type of a gcc2 | 15988 /* We use char because int might match the return type of a gcc2 |
15985 builtin and then its argument prototype would still apply. */ | 15989 builtin and then its argument prototype would still apply. */ |
15986 char __gmpz_init(); | 15990 char __gmpz_init(); |
15987 | 15991 |
15988 int main() { | 15992 int main() { |
15989 __gmpz_init() | 15993 __gmpz_init() |
15990 ; return 0; } | 15994 ; return 0; } |
15991 EOF | 15995 EOF |
15992 if { (eval echo configure:15993: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15996 if { (eval echo configure:15997: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15993 rm -rf conftest* | 15997 rm -rf conftest* |
15994 eval "ac_cv_lib_$ac_lib_var=yes" | 15998 eval "ac_cv_lib_$ac_lib_var=yes" |
15995 else | 15999 else |
15996 echo "configure: failed program was:" >&5 | 16000 echo "configure: failed program was:" >&5 |
15997 cat conftest.$ac_ext >&5 | 16001 cat conftest.$ac_ext >&5 |
16036 fi | 16040 fi |
16037 elif test "$use_number_lib" = "mp"; then | 16041 elif test "$use_number_lib" = "mp"; then |
16038 for library in "" "-lcrypto"; do | 16042 for library in "" "-lcrypto"; do |
16039 ac_safe=`echo "mp.h" | sed 'y%./+-%__p_%'` | 16043 ac_safe=`echo "mp.h" | sed 'y%./+-%__p_%'` |
16040 echo $ac_n "checking for mp.h""... $ac_c" 1>&6 | 16044 echo $ac_n "checking for mp.h""... $ac_c" 1>&6 |
16041 echo "configure:16042: checking for mp.h" >&5 | 16045 echo "configure:16046: checking for mp.h" >&5 |
16042 | 16046 |
16043 cat > conftest.$ac_ext <<EOF | 16047 cat > conftest.$ac_ext <<EOF |
16044 #line 16045 "configure" | 16048 #line 16049 "configure" |
16045 #include "confdefs.h" | 16049 #include "confdefs.h" |
16046 #include <mp.h> | 16050 #include <mp.h> |
16047 EOF | 16051 EOF |
16048 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 16052 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
16049 { (eval echo configure:16050: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 16053 { (eval echo configure:16054: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
16050 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 16054 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
16051 if test -z "$ac_err"; then | 16055 if test -z "$ac_err"; then |
16052 rm -rf conftest* | 16056 rm -rf conftest* |
16053 eval "ac_cv_header_$ac_safe=yes" | 16057 eval "ac_cv_header_$ac_safe=yes" |
16054 else | 16058 else |
16064 | 16068 |
16065 | 16069 |
16066 xe_msg_checking="for mp_mfree in -lmp" | 16070 xe_msg_checking="for mp_mfree in -lmp" |
16067 test -n "$library" && xe_msg_checking="$xe_msg_checking using extra libs $library" | 16071 test -n "$library" && xe_msg_checking="$xe_msg_checking using extra libs $library" |
16068 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 16072 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
16069 echo "configure:16070: checking "$xe_msg_checking"" >&5 | 16073 echo "configure:16074: checking "$xe_msg_checking"" >&5 |
16070 ac_lib_var=`echo mp'_'mp_mfree | sed 'y%./+-%__p_%'` | 16074 ac_lib_var=`echo mp'_'mp_mfree | sed 'y%./+-%__p_%'` |
16071 | 16075 |
16072 xe_check_libs=" -lmp $library" | 16076 xe_check_libs=" -lmp $library" |
16073 cat > conftest.$ac_ext <<EOF | 16077 cat > conftest.$ac_ext <<EOF |
16074 #line 16075 "configure" | 16078 #line 16079 "configure" |
16075 #include "confdefs.h" | 16079 #include "confdefs.h" |
16076 /* Override any gcc2 internal prototype to avoid an error. */ | 16080 /* Override any gcc2 internal prototype to avoid an error. */ |
16077 /* We use char because int might match the return type of a gcc2 | 16081 /* We use char because int might match the return type of a gcc2 |
16078 builtin and then its argument prototype would still apply. */ | 16082 builtin and then its argument prototype would still apply. */ |
16079 char mp_mfree(); | 16083 char mp_mfree(); |
16080 | 16084 |
16081 int main() { | 16085 int main() { |
16082 mp_mfree() | 16086 mp_mfree() |
16083 ; return 0; } | 16087 ; return 0; } |
16084 EOF | 16088 EOF |
16085 if { (eval echo configure:16086: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 16089 if { (eval echo configure:16090: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
16086 rm -rf conftest* | 16090 rm -rf conftest* |
16087 eval "ac_cv_lib_$ac_lib_var=yes" | 16091 eval "ac_cv_lib_$ac_lib_var=yes" |
16088 else | 16092 else |
16089 echo "configure: failed program was:" >&5 | 16093 echo "configure: failed program was:" >&5 |
16090 cat conftest.$ac_ext >&5 | 16094 cat conftest.$ac_ext >&5 |
16101 echo "$ac_t""no" 1>&6 | 16105 echo "$ac_t""no" 1>&6 |
16102 | 16106 |
16103 xe_msg_checking="for mfree in -lmp" | 16107 xe_msg_checking="for mfree in -lmp" |
16104 test -n "$library" && xe_msg_checking="$xe_msg_checking using extra libs $library" | 16108 test -n "$library" && xe_msg_checking="$xe_msg_checking using extra libs $library" |
16105 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 16109 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
16106 echo "configure:16107: checking "$xe_msg_checking"" >&5 | 16110 echo "configure:16111: checking "$xe_msg_checking"" >&5 |
16107 ac_lib_var=`echo mp'_'mfree | sed 'y%./+-%__p_%'` | 16111 ac_lib_var=`echo mp'_'mfree | sed 'y%./+-%__p_%'` |
16108 | 16112 |
16109 xe_check_libs=" -lmp $library" | 16113 xe_check_libs=" -lmp $library" |
16110 cat > conftest.$ac_ext <<EOF | 16114 cat > conftest.$ac_ext <<EOF |
16111 #line 16112 "configure" | 16115 #line 16116 "configure" |
16112 #include "confdefs.h" | 16116 #include "confdefs.h" |
16113 /* Override any gcc2 internal prototype to avoid an error. */ | 16117 /* Override any gcc2 internal prototype to avoid an error. */ |
16114 /* We use char because int might match the return type of a gcc2 | 16118 /* We use char because int might match the return type of a gcc2 |
16115 builtin and then its argument prototype would still apply. */ | 16119 builtin and then its argument prototype would still apply. */ |
16116 char mfree(); | 16120 char mfree(); |
16117 | 16121 |
16118 int main() { | 16122 int main() { |
16119 mfree() | 16123 mfree() |
16120 ; return 0; } | 16124 ; return 0; } |
16121 EOF | 16125 EOF |
16122 if { (eval echo configure:16123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 16126 if { (eval echo configure:16127: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
16123 rm -rf conftest* | 16127 rm -rf conftest* |
16124 eval "ac_cv_lib_$ac_lib_var=yes" | 16128 eval "ac_cv_lib_$ac_lib_var=yes" |
16125 else | 16129 else |
16126 echo "configure: failed program was:" >&5 | 16130 echo "configure: failed program was:" >&5 |
16127 cat conftest.$ac_ext >&5 | 16131 cat conftest.$ac_ext >&5 |
16159 LIBS="$LIBS -lmp" && if test "$extra_verbose" = "yes"; then echo " Appending \"-lmp\" to \$LIBS"; fi | 16163 LIBS="$LIBS -lmp" && if test "$extra_verbose" = "yes"; then echo " Appending \"-lmp\" to \$LIBS"; fi |
16160 if test "$library" != ""; then | 16164 if test "$library" != ""; then |
16161 LIBS="$LIBS $library" && if test "$extra_verbose" = "yes"; then echo " Appending \"$library\" to \$LIBS"; fi | 16165 LIBS="$LIBS $library" && if test "$extra_verbose" = "yes"; then echo " Appending \"$library\" to \$LIBS"; fi |
16162 fi | 16166 fi |
16163 echo $ac_n "checking for mp_move""... $ac_c" 1>&6 | 16167 echo $ac_n "checking for mp_move""... $ac_c" 1>&6 |
16164 echo "configure:16165: checking for mp_move" >&5 | 16168 echo "configure:16169: checking for mp_move" >&5 |
16165 | 16169 |
16166 cat > conftest.$ac_ext <<EOF | 16170 cat > conftest.$ac_ext <<EOF |
16167 #line 16168 "configure" | 16171 #line 16172 "configure" |
16168 #include "confdefs.h" | 16172 #include "confdefs.h" |
16169 /* System header to define __stub macros and hopefully few prototypes, | 16173 /* System header to define __stub macros and hopefully few prototypes, |
16170 which can conflict with char mp_move(); below. */ | 16174 which can conflict with char mp_move(); below. */ |
16171 #include <assert.h> | 16175 #include <assert.h> |
16172 /* Override any gcc2 internal prototype to avoid an error. */ | 16176 /* Override any gcc2 internal prototype to avoid an error. */ |
16185 mp_move(); | 16189 mp_move(); |
16186 #endif | 16190 #endif |
16187 | 16191 |
16188 ; return 0; } | 16192 ; return 0; } |
16189 EOF | 16193 EOF |
16190 if { (eval echo configure:16191: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 16194 if { (eval echo configure:16195: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
16191 rm -rf conftest* | 16195 rm -rf conftest* |
16192 eval "ac_cv_func_mp_move=yes" | 16196 eval "ac_cv_func_mp_move=yes" |
16193 else | 16197 else |
16194 echo "configure: failed program was:" >&5 | 16198 echo "configure: failed program was:" >&5 |
16195 cat conftest.$ac_ext >&5 | 16199 cat conftest.$ac_ext >&5 |
16216 LIBS="$LIBS -lmp" && if test "$extra_verbose" = "yes"; then echo " Appending \"-lmp\" to \$LIBS"; fi | 16220 LIBS="$LIBS -lmp" && if test "$extra_verbose" = "yes"; then echo " Appending \"-lmp\" to \$LIBS"; fi |
16217 if test "$library" != ""; then | 16221 if test "$library" != ""; then |
16218 LIBS="$LIBS $library" && if test "$extra_verbose" = "yes"; then echo " Appending \"$library\" to \$LIBS"; fi | 16222 LIBS="$LIBS $library" && if test "$extra_verbose" = "yes"; then echo " Appending \"$library\" to \$LIBS"; fi |
16219 fi | 16223 fi |
16220 echo $ac_n "checking for move""... $ac_c" 1>&6 | 16224 echo $ac_n "checking for move""... $ac_c" 1>&6 |
16221 echo "configure:16222: checking for move" >&5 | 16225 echo "configure:16226: checking for move" >&5 |
16222 | 16226 |
16223 cat > conftest.$ac_ext <<EOF | 16227 cat > conftest.$ac_ext <<EOF |
16224 #line 16225 "configure" | 16228 #line 16229 "configure" |
16225 #include "confdefs.h" | 16229 #include "confdefs.h" |
16226 /* System header to define __stub macros and hopefully few prototypes, | 16230 /* System header to define __stub macros and hopefully few prototypes, |
16227 which can conflict with char move(); below. */ | 16231 which can conflict with char move(); below. */ |
16228 #include <assert.h> | 16232 #include <assert.h> |
16229 /* Override any gcc2 internal prototype to avoid an error. */ | 16233 /* Override any gcc2 internal prototype to avoid an error. */ |
16242 move(); | 16246 move(); |
16243 #endif | 16247 #endif |
16244 | 16248 |
16245 ; return 0; } | 16249 ; return 0; } |
16246 EOF | 16250 EOF |
16247 if { (eval echo configure:16248: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 16251 if { (eval echo configure:16252: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
16248 rm -rf conftest* | 16252 rm -rf conftest* |
16249 eval "ac_cv_func_move=yes" | 16253 eval "ac_cv_func_move=yes" |
16250 else | 16254 else |
16251 echo "configure: failed program was:" >&5 | 16255 echo "configure: failed program was:" >&5 |
16252 cat conftest.$ac_ext >&5 | 16256 cat conftest.$ac_ext >&5 |
16289 } | 16293 } |
16290 | 16294 |
16291 fi | 16295 fi |
16292 | 16296 |
16293 cat > conftest.$ac_ext <<EOF | 16297 cat > conftest.$ac_ext <<EOF |
16294 #line 16295 "configure" | 16298 #line 16299 "configure" |
16295 #include "confdefs.h" | 16299 #include "confdefs.h" |
16296 int main(int c,char *v[]){return 0;} | 16300 int main(int c,char *v[]){return 0;} |
16297 EOF | 16301 EOF |
16298 if { (eval echo configure:16299: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 16302 if { (eval echo configure:16303: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
16299 then | 16303 then |
16300 : | 16304 : |
16301 else | 16305 else |
16302 conftest_rc="$?" | 16306 conftest_rc="$?" |
16303 echo "configure: failed program was:" >&5 | 16307 echo "configure: failed program was:" >&5 |