Mercurial > emacs
comparison configure @ 31229:0c280e986946
*** empty log message ***
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Mon, 28 Aug 2000 15:05:20 +0000 |
parents | 49294d7cfd5b |
children | 298f3aff1431 |
comparison
equal
deleted
inserted
replaced
31228:65c8313ed515 | 31229:0c280e986946 |
---|---|
883 alpha*-dec-osf* ) | 883 alpha*-dec-osf* ) |
884 machine=alpha opsys=osf1 | 884 machine=alpha opsys=osf1 |
885 # This is needed to find X11R6.1 libraries for certain tests. | 885 # This is needed to find X11R6.1 libraries for certain tests. |
886 NON_GCC_LINK_TEST_OPTIONS=-Wl,-rpath,/usr/X11R6/lib | 886 NON_GCC_LINK_TEST_OPTIONS=-Wl,-rpath,/usr/X11R6/lib |
887 GCC_LINK_TEST_OPTIONS=-Wl,-rpath,/usr/X11R6/lib | 887 GCC_LINK_TEST_OPTIONS=-Wl,-rpath,/usr/X11R6/lib |
888 # This is necessary on 5.0 to avoid mangling src/Makefile due to | |
889 # non-traditional preprocessing with the current compiler defaults. | |
890 # OSF 4 can also have that compiler version, and there seems always | |
891 # to have been a usable /usr/bin/cpp. | |
892 NON_GNU_CPP='cpp' | |
888 case "${canonical}" in | 893 case "${canonical}" in |
889 # This is necessary on 5.0 to avoid mangling src/Makefile. | 894 alpha*-dec-osf[4-9]*) |
890 # Separated out in case it causes problems on earlier versions. | 895 opsys=osf5-0 ;; |
891 alpha*-dec-osf[5-9]*) | |
892 opsys=osf5-0 | |
893 NON_GNU_CPP='cpp' ;; | |
894 esac | 896 esac |
895 ;; | 897 ;; |
896 | 898 |
897 alpha*-*-linux-gnu* ) | 899 alpha*-*-linux-gnu* ) |
898 machine=alpha opsys=gnu-linux | 900 machine=alpha opsys=gnu-linux |
1727 "yes" ) CC="gcc" GCC=yes ;; | 1729 "yes" ) CC="gcc" GCC=yes ;; |
1728 "no" ) : ${CC=cc} ;; | 1730 "no" ) : ${CC=cc} ;; |
1729 * ) # Extract the first word of "gcc", so it can be a program name with args. | 1731 * ) # Extract the first word of "gcc", so it can be a program name with args. |
1730 set dummy gcc; ac_word=$2 | 1732 set dummy gcc; ac_word=$2 |
1731 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1733 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1732 echo "configure:1733: checking for $ac_word" >&5 | 1734 echo "configure:1735: checking for $ac_word" >&5 |
1733 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | 1735 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
1734 echo $ac_n "(cached) $ac_c" 1>&6 | 1736 echo $ac_n "(cached) $ac_c" 1>&6 |
1735 else | 1737 else |
1736 if test -n "$CC"; then | 1738 if test -n "$CC"; then |
1737 ac_cv_prog_CC="$CC" # Let the user override the test. | 1739 ac_cv_prog_CC="$CC" # Let the user override the test. |
1757 | 1759 |
1758 if test -z "$CC"; then | 1760 if test -z "$CC"; then |
1759 # Extract the first word of "cc", so it can be a program name with args. | 1761 # Extract the first word of "cc", so it can be a program name with args. |
1760 set dummy cc; ac_word=$2 | 1762 set dummy cc; ac_word=$2 |
1761 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1763 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1762 echo "configure:1763: checking for $ac_word" >&5 | 1764 echo "configure:1765: checking for $ac_word" >&5 |
1763 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | 1765 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
1764 echo $ac_n "(cached) $ac_c" 1>&6 | 1766 echo $ac_n "(cached) $ac_c" 1>&6 |
1765 else | 1767 else |
1766 if test -n "$CC"; then | 1768 if test -n "$CC"; then |
1767 ac_cv_prog_CC="$CC" # Let the user override the test. | 1769 ac_cv_prog_CC="$CC" # Let the user override the test. |
1808 case "`uname -s`" in | 1810 case "`uname -s`" in |
1809 *win32* | *WIN32*) | 1811 *win32* | *WIN32*) |
1810 # Extract the first word of "cl", so it can be a program name with args. | 1812 # Extract the first word of "cl", so it can be a program name with args. |
1811 set dummy cl; ac_word=$2 | 1813 set dummy cl; ac_word=$2 |
1812 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1814 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1813 echo "configure:1814: checking for $ac_word" >&5 | 1815 echo "configure:1816: checking for $ac_word" >&5 |
1814 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | 1816 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
1815 echo $ac_n "(cached) $ac_c" 1>&6 | 1817 echo $ac_n "(cached) $ac_c" 1>&6 |
1816 else | 1818 else |
1817 if test -n "$CC"; then | 1819 if test -n "$CC"; then |
1818 ac_cv_prog_CC="$CC" # Let the user override the test. | 1820 ac_cv_prog_CC="$CC" # Let the user override the test. |
1840 fi | 1842 fi |
1841 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1843 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
1842 fi | 1844 fi |
1843 | 1845 |
1844 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1846 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
1845 echo "configure:1846: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1847 echo "configure:1848: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
1846 | 1848 |
1847 ac_ext=c | 1849 ac_ext=c |
1848 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. | 1850 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
1849 ac_cpp='$CPP $CPPFLAGS' | 1851 ac_cpp='$CPP $CPPFLAGS' |
1850 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' | 1852 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' |
1851 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' | 1853 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
1852 cross_compiling=$ac_cv_prog_cc_cross | 1854 cross_compiling=$ac_cv_prog_cc_cross |
1853 | 1855 |
1854 cat > conftest.$ac_ext << EOF | 1856 cat > conftest.$ac_ext << EOF |
1855 | 1857 |
1856 #line 1857 "configure" | 1858 #line 1859 "configure" |
1857 #include "confdefs.h" | 1859 #include "confdefs.h" |
1858 | 1860 |
1859 main(){return(0);} | 1861 main(){return(0);} |
1860 EOF | 1862 EOF |
1861 if { (eval echo configure:1862: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1863 if { (eval echo configure:1864: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1862 ac_cv_prog_cc_works=yes | 1864 ac_cv_prog_cc_works=yes |
1863 # If we can't run a trivial program, we are probably using a cross compiler. | 1865 # If we can't run a trivial program, we are probably using a cross compiler. |
1864 if (./conftest; exit) 2>/dev/null; then | 1866 if (./conftest; exit) 2>/dev/null; then |
1865 ac_cv_prog_cc_cross=no | 1867 ac_cv_prog_cc_cross=no |
1866 else | 1868 else |
1882 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1884 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
1883 if test $ac_cv_prog_cc_works = no; then | 1885 if test $ac_cv_prog_cc_works = no; then |
1884 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1886 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
1885 fi | 1887 fi |
1886 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1888 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
1887 echo "configure:1888: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1889 echo "configure:1890: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
1888 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1890 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
1889 cross_compiling=$ac_cv_prog_cc_cross | 1891 cross_compiling=$ac_cv_prog_cc_cross |
1890 | 1892 |
1891 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1893 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
1892 echo "configure:1893: checking whether we are using GNU C" >&5 | 1894 echo "configure:1895: checking whether we are using GNU C" >&5 |
1893 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then | 1895 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then |
1894 echo $ac_n "(cached) $ac_c" 1>&6 | 1896 echo $ac_n "(cached) $ac_c" 1>&6 |
1895 else | 1897 else |
1896 cat > conftest.c <<EOF | 1898 cat > conftest.c <<EOF |
1897 #ifdef __GNUC__ | 1899 #ifdef __GNUC__ |
1898 yes; | 1900 yes; |
1899 #endif | 1901 #endif |
1900 EOF | 1902 EOF |
1901 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1902: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1903 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1904: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
1902 ac_cv_prog_gcc=yes | 1904 ac_cv_prog_gcc=yes |
1903 else | 1905 else |
1904 ac_cv_prog_gcc=no | 1906 ac_cv_prog_gcc=no |
1905 fi | 1907 fi |
1906 fi | 1908 fi |
1915 | 1917 |
1916 ac_test_CFLAGS="${CFLAGS+set}" | 1918 ac_test_CFLAGS="${CFLAGS+set}" |
1917 ac_save_CFLAGS="$CFLAGS" | 1919 ac_save_CFLAGS="$CFLAGS" |
1918 CFLAGS= | 1920 CFLAGS= |
1919 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1921 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
1920 echo "configure:1921: checking whether ${CC-cc} accepts -g" >&5 | 1922 echo "configure:1923: checking whether ${CC-cc} accepts -g" >&5 |
1921 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then | 1923 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then |
1922 echo $ac_n "(cached) $ac_c" 1>&6 | 1924 echo $ac_n "(cached) $ac_c" 1>&6 |
1923 else | 1925 else |
1924 echo 'void f(){}' > conftest.c | 1926 echo 'void f(){}' > conftest.c |
1925 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1927 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
1995 #### Some other nice autoconf tests. If you add a test here which | 1997 #### Some other nice autoconf tests. If you add a test here which |
1996 #### should make an entry in src/config.h, don't forget to add an | 1998 #### should make an entry in src/config.h, don't forget to add an |
1997 #### #undef clause to src/config.h.in for autoconf to modify. | 1999 #### #undef clause to src/config.h.in for autoconf to modify. |
1998 | 2000 |
1999 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 | 2001 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 |
2000 echo "configure:2001: checking whether ln -s works" >&5 | 2002 echo "configure:2003: checking whether ln -s works" >&5 |
2001 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then | 2003 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then |
2002 echo $ac_n "(cached) $ac_c" 1>&6 | 2004 echo $ac_n "(cached) $ac_c" 1>&6 |
2003 else | 2005 else |
2004 rm -f conftestdata | 2006 rm -f conftestdata |
2005 if ln -s X conftestdata 2>/dev/null | 2007 if ln -s X conftestdata 2>/dev/null |
2016 else | 2018 else |
2017 echo "$ac_t""no" 1>&6 | 2019 echo "$ac_t""no" 1>&6 |
2018 fi | 2020 fi |
2019 | 2021 |
2020 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 | 2022 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
2021 echo "configure:2022: checking how to run the C preprocessor" >&5 | 2023 echo "configure:2024: checking how to run the C preprocessor" >&5 |
2022 # On Suns, sometimes $CPP names a directory. | 2024 # On Suns, sometimes $CPP names a directory. |
2023 if test -n "$CPP" && test -d "$CPP"; then | 2025 if test -n "$CPP" && test -d "$CPP"; then |
2024 CPP= | 2026 CPP= |
2025 fi | 2027 fi |
2026 if test -z "$CPP"; then | 2028 if test -z "$CPP"; then |
2031 # substituted into the Makefile and "${CC-cc}" will confuse make. | 2033 # substituted into the Makefile and "${CC-cc}" will confuse make. |
2032 CPP="${CC-cc} -E" | 2034 CPP="${CC-cc} -E" |
2033 # On the NeXT, cc -E runs the code through the compiler's parser, | 2035 # On the NeXT, cc -E runs the code through the compiler's parser, |
2034 # not just through cpp. | 2036 # not just through cpp. |
2035 cat > conftest.$ac_ext <<EOF | 2037 cat > conftest.$ac_ext <<EOF |
2036 #line 2037 "configure" | 2038 #line 2039 "configure" |
2037 #include "confdefs.h" | 2039 #include "confdefs.h" |
2038 #include <assert.h> | 2040 #include <assert.h> |
2039 Syntax Error | 2041 Syntax Error |
2040 EOF | 2042 EOF |
2041 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2043 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2042 { (eval echo configure:2043: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2044 { (eval echo configure:2045: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2043 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2045 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2044 if test -z "$ac_err"; then | 2046 if test -z "$ac_err"; then |
2045 : | 2047 : |
2046 else | 2048 else |
2047 echo "$ac_err" >&5 | 2049 echo "$ac_err" >&5 |
2048 echo "configure: failed program was:" >&5 | 2050 echo "configure: failed program was:" >&5 |
2049 cat conftest.$ac_ext >&5 | 2051 cat conftest.$ac_ext >&5 |
2050 rm -rf conftest* | 2052 rm -rf conftest* |
2051 CPP="${CC-cc} -E -traditional-cpp" | 2053 CPP="${CC-cc} -E -traditional-cpp" |
2052 cat > conftest.$ac_ext <<EOF | 2054 cat > conftest.$ac_ext <<EOF |
2053 #line 2054 "configure" | 2055 #line 2056 "configure" |
2054 #include "confdefs.h" | 2056 #include "confdefs.h" |
2055 #include <assert.h> | 2057 #include <assert.h> |
2056 Syntax Error | 2058 Syntax Error |
2057 EOF | 2059 EOF |
2058 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2060 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2059 { (eval echo configure:2060: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2061 { (eval echo configure:2062: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2060 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2062 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2061 if test -z "$ac_err"; then | 2063 if test -z "$ac_err"; then |
2062 : | 2064 : |
2063 else | 2065 else |
2064 echo "$ac_err" >&5 | 2066 echo "$ac_err" >&5 |
2065 echo "configure: failed program was:" >&5 | 2067 echo "configure: failed program was:" >&5 |
2066 cat conftest.$ac_ext >&5 | 2068 cat conftest.$ac_ext >&5 |
2067 rm -rf conftest* | 2069 rm -rf conftest* |
2068 CPP="${CC-cc} -nologo -E" | 2070 CPP="${CC-cc} -nologo -E" |
2069 cat > conftest.$ac_ext <<EOF | 2071 cat > conftest.$ac_ext <<EOF |
2070 #line 2071 "configure" | 2072 #line 2073 "configure" |
2071 #include "confdefs.h" | 2073 #include "confdefs.h" |
2072 #include <assert.h> | 2074 #include <assert.h> |
2073 Syntax Error | 2075 Syntax Error |
2074 EOF | 2076 EOF |
2075 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2077 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2076 { (eval echo configure:2077: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2078 { (eval echo configure:2079: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2077 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2079 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2078 if test -z "$ac_err"; then | 2080 if test -z "$ac_err"; then |
2079 : | 2081 : |
2080 else | 2082 else |
2081 echo "$ac_err" >&5 | 2083 echo "$ac_err" >&5 |
2107 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | 2109 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
2108 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 2110 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
2109 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 2111 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
2110 # ./install, which can be erroneously created by make from ./install.sh. | 2112 # ./install, which can be erroneously created by make from ./install.sh. |
2111 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | 2113 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
2112 echo "configure:2113: checking for a BSD compatible install" >&5 | 2114 echo "configure:2115: checking for a BSD compatible install" >&5 |
2113 if test -z "$INSTALL"; then | 2115 if test -z "$INSTALL"; then |
2114 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then | 2116 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then |
2115 echo $ac_n "(cached) $ac_c" 1>&6 | 2117 echo $ac_n "(cached) $ac_c" 1>&6 |
2116 else | 2118 else |
2117 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" | 2119 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" |
2164 for ac_prog in 'bison -y' byacc | 2166 for ac_prog in 'bison -y' byacc |
2165 do | 2167 do |
2166 # Extract the first word of "$ac_prog", so it can be a program name with args. | 2168 # Extract the first word of "$ac_prog", so it can be a program name with args. |
2167 set dummy $ac_prog; ac_word=$2 | 2169 set dummy $ac_prog; ac_word=$2 |
2168 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2170 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2169 echo "configure:2170: checking for $ac_word" >&5 | 2171 echo "configure:2172: checking for $ac_word" >&5 |
2170 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then | 2172 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then |
2171 echo $ac_n "(cached) $ac_c" 1>&6 | 2173 echo $ac_n "(cached) $ac_c" 1>&6 |
2172 else | 2174 else |
2173 if test -n "$YACC"; then | 2175 if test -n "$YACC"; then |
2174 ac_cv_prog_YACC="$YACC" # Let the user override the test. | 2176 ac_cv_prog_YACC="$YACC" # Let the user override the test. |
2198 | 2200 |
2199 if test "x$RANLIB" = x; then | 2201 if test "x$RANLIB" = x; then |
2200 # Extract the first word of "ranlib", so it can be a program name with args. | 2202 # Extract the first word of "ranlib", so it can be a program name with args. |
2201 set dummy ranlib; ac_word=$2 | 2203 set dummy ranlib; ac_word=$2 |
2202 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2204 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2203 echo "configure:2204: checking for $ac_word" >&5 | 2205 echo "configure:2206: checking for $ac_word" >&5 |
2204 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then | 2206 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then |
2205 echo $ac_n "(cached) $ac_c" 1>&6 | 2207 echo $ac_n "(cached) $ac_c" 1>&6 |
2206 else | 2208 else |
2207 if test -n "$RANLIB"; then | 2209 if test -n "$RANLIB"; then |
2208 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 2210 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
2228 fi | 2230 fi |
2229 | 2231 |
2230 fi | 2232 fi |
2231 | 2233 |
2232 echo $ac_n "checking for AIX""... $ac_c" 1>&6 | 2234 echo $ac_n "checking for AIX""... $ac_c" 1>&6 |
2233 echo "configure:2234: checking for AIX" >&5 | 2235 echo "configure:2236: checking for AIX" >&5 |
2234 cat > conftest.$ac_ext <<EOF | 2236 cat > conftest.$ac_ext <<EOF |
2235 #line 2236 "configure" | 2237 #line 2238 "configure" |
2236 #include "confdefs.h" | 2238 #include "confdefs.h" |
2237 #ifdef _AIX | 2239 #ifdef _AIX |
2238 yes | 2240 yes |
2239 #endif | 2241 #endif |
2240 | 2242 |
2257 #### Extract some information from the operating system and machine files. | 2259 #### Extract some information from the operating system and machine files. |
2258 | 2260 |
2259 echo "checking the machine- and system-dependent files to find out | 2261 echo "checking the machine- and system-dependent files to find out |
2260 - which libraries the lib-src programs will want, and | 2262 - which libraries the lib-src programs will want, and |
2261 - whether the GNU malloc routines are usable" 1>&6 | 2263 - whether the GNU malloc routines are usable" 1>&6 |
2262 echo "configure:2263: checking the machine- and system-dependent files to find out | 2264 echo "configure:2265: checking the machine- and system-dependent files to find out |
2263 - which libraries the lib-src programs will want, and | 2265 - which libraries the lib-src programs will want, and |
2264 - whether the GNU malloc routines are usable" >&5 | 2266 - whether the GNU malloc routines are usable" >&5 |
2265 | 2267 |
2266 ### First figure out CFLAGS (which we use for running the compiler here) | 2268 ### First figure out CFLAGS (which we use for running the compiler here) |
2267 ### and REAL_CFLAGS (which we use for real compilation). | 2269 ### and REAL_CFLAGS (which we use for real compilation). |
2400 fi | 2402 fi |
2401 | 2403 |
2402 if test "$enable_largefile" != no; then | 2404 if test "$enable_largefile" != no; then |
2403 | 2405 |
2404 echo $ac_n "checking for special C compiler options needed for large files""... $ac_c" 1>&6 | 2406 echo $ac_n "checking for special C compiler options needed for large files""... $ac_c" 1>&6 |
2405 echo "configure:2406: checking for special C compiler options needed for large files" >&5 | 2407 echo "configure:2408: checking for special C compiler options needed for large files" >&5 |
2406 if eval "test \"`echo '$''{'ac_cv_sys_largefile_CC'+set}'`\" = set"; then | 2408 if eval "test \"`echo '$''{'ac_cv_sys_largefile_CC'+set}'`\" = set"; then |
2407 echo $ac_n "(cached) $ac_c" 1>&6 | 2409 echo $ac_n "(cached) $ac_c" 1>&6 |
2408 else | 2410 else |
2409 ac_cv_sys_largefile_CC=no | 2411 ac_cv_sys_largefile_CC=no |
2410 if test "$GCC" != yes; then | 2412 if test "$GCC" != yes; then |
2411 # IRIX 6.2 and later do not support large files by default, | 2413 # IRIX 6.2 and later do not support large files by default, |
2412 # so use the C compiler's -n32 option if that helps. | 2414 # so use the C compiler's -n32 option if that helps. |
2413 cat > conftest.$ac_ext <<EOF | 2415 cat > conftest.$ac_ext <<EOF |
2414 #line 2415 "configure" | 2416 #line 2417 "configure" |
2415 #include "confdefs.h" | 2417 #include "confdefs.h" |
2416 #include <sys/types.h> | 2418 #include <sys/types.h> |
2417 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1]; | 2419 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1]; |
2418 | 2420 |
2419 int main() { | 2421 int main() { |
2420 | 2422 |
2421 ; return 0; } | 2423 ; return 0; } |
2422 EOF | 2424 EOF |
2423 if { (eval echo configure:2424: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2425 if { (eval echo configure:2426: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2424 : | 2426 : |
2425 else | 2427 else |
2426 echo "configure: failed program was:" >&5 | 2428 echo "configure: failed program was:" >&5 |
2427 cat conftest.$ac_ext >&5 | 2429 cat conftest.$ac_ext >&5 |
2428 rm -rf conftest* | 2430 rm -rf conftest* |
2429 ac_save_CC="$CC" | 2431 ac_save_CC="$CC" |
2430 CC="$CC -n32" | 2432 CC="$CC -n32" |
2431 cat > conftest.$ac_ext <<EOF | 2433 cat > conftest.$ac_ext <<EOF |
2432 #line 2433 "configure" | 2434 #line 2435 "configure" |
2433 #include "confdefs.h" | 2435 #include "confdefs.h" |
2434 #include <sys/types.h> | 2436 #include <sys/types.h> |
2435 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1]; | 2437 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1]; |
2436 | 2438 |
2437 int main() { | 2439 int main() { |
2438 | 2440 |
2439 ; return 0; } | 2441 ; return 0; } |
2440 EOF | 2442 EOF |
2441 if { (eval echo configure:2442: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2443 if { (eval echo configure:2444: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2442 rm -rf conftest* | 2444 rm -rf conftest* |
2443 ac_cv_sys_largefile_CC=' -n32' | 2445 ac_cv_sys_largefile_CC=' -n32' |
2444 else | 2446 else |
2445 echo "configure: failed program was:" >&5 | 2447 echo "configure: failed program was:" >&5 |
2446 cat conftest.$ac_ext >&5 | 2448 cat conftest.$ac_ext >&5 |
2456 if test "$ac_cv_sys_largefile_CC" != no; then | 2458 if test "$ac_cv_sys_largefile_CC" != no; then |
2457 CC="$CC$ac_cv_sys_largefile_CC" | 2459 CC="$CC$ac_cv_sys_largefile_CC" |
2458 fi | 2460 fi |
2459 | 2461 |
2460 echo $ac_n "checking for _FILE_OFFSET_BITS value needed for large files""... $ac_c" 1>&6 | 2462 echo $ac_n "checking for _FILE_OFFSET_BITS value needed for large files""... $ac_c" 1>&6 |
2461 echo "configure:2462: checking for _FILE_OFFSET_BITS value needed for large files" >&5 | 2463 echo "configure:2464: checking for _FILE_OFFSET_BITS value needed for large files" >&5 |
2462 if eval "test \"`echo '$''{'ac_cv_sys_file_offset_bits'+set}'`\" = set"; then | 2464 if eval "test \"`echo '$''{'ac_cv_sys_file_offset_bits'+set}'`\" = set"; then |
2463 echo $ac_n "(cached) $ac_c" 1>&6 | 2465 echo $ac_n "(cached) $ac_c" 1>&6 |
2464 else | 2466 else |
2465 ac_cv_sys_file_offset_bits=no | 2467 ac_cv_sys_file_offset_bits=no |
2466 cat > conftest.$ac_ext <<EOF | 2468 cat > conftest.$ac_ext <<EOF |
2467 #line 2468 "configure" | 2469 #line 2470 "configure" |
2468 #include "confdefs.h" | 2470 #include "confdefs.h" |
2469 #include <sys/types.h> | 2471 #include <sys/types.h> |
2470 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1]; | 2472 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1]; |
2471 | 2473 |
2472 | 2474 |
2473 | 2475 |
2474 int main() { | 2476 int main() { |
2475 | 2477 |
2476 ; return 0; } | 2478 ; return 0; } |
2477 EOF | 2479 EOF |
2478 if { (eval echo configure:2479: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2480 if { (eval echo configure:2481: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2479 : | 2481 : |
2480 else | 2482 else |
2481 echo "configure: failed program was:" >&5 | 2483 echo "configure: failed program was:" >&5 |
2482 cat conftest.$ac_ext >&5 | 2484 cat conftest.$ac_ext >&5 |
2483 rm -rf conftest* | 2485 rm -rf conftest* |
2484 cat > conftest.$ac_ext <<EOF | 2486 cat > conftest.$ac_ext <<EOF |
2485 #line 2486 "configure" | 2487 #line 2488 "configure" |
2486 #include "confdefs.h" | 2488 #include "confdefs.h" |
2487 #define _FILE_OFFSET_BITS 64 | 2489 #define _FILE_OFFSET_BITS 64 |
2488 #include <sys/types.h> | 2490 #include <sys/types.h> |
2489 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1]; | 2491 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1]; |
2490 | 2492 |
2492 | 2494 |
2493 int main() { | 2495 int main() { |
2494 | 2496 |
2495 ; return 0; } | 2497 ; return 0; } |
2496 EOF | 2498 EOF |
2497 if { (eval echo configure:2498: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2499 if { (eval echo configure:2500: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2498 rm -rf conftest* | 2500 rm -rf conftest* |
2499 ac_cv_sys_file_offset_bits=64 | 2501 ac_cv_sys_file_offset_bits=64 |
2500 else | 2502 else |
2501 echo "configure: failed program was:" >&5 | 2503 echo "configure: failed program was:" >&5 |
2502 cat conftest.$ac_ext >&5 | 2504 cat conftest.$ac_ext >&5 |
2512 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits | 2514 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits |
2513 EOF | 2515 EOF |
2514 | 2516 |
2515 fi | 2517 fi |
2516 echo $ac_n "checking for _LARGEFILE_SOURCE value needed for large files""... $ac_c" 1>&6 | 2518 echo $ac_n "checking for _LARGEFILE_SOURCE value needed for large files""... $ac_c" 1>&6 |
2517 echo "configure:2518: checking for _LARGEFILE_SOURCE value needed for large files" >&5 | 2519 echo "configure:2520: checking for _LARGEFILE_SOURCE value needed for large files" >&5 |
2518 if eval "test \"`echo '$''{'ac_cv_sys_largefile_source'+set}'`\" = set"; then | 2520 if eval "test \"`echo '$''{'ac_cv_sys_largefile_source'+set}'`\" = set"; then |
2519 echo $ac_n "(cached) $ac_c" 1>&6 | 2521 echo $ac_n "(cached) $ac_c" 1>&6 |
2520 else | 2522 else |
2521 ac_cv_sys_largefile_source=no | 2523 ac_cv_sys_largefile_source=no |
2522 cat > conftest.$ac_ext <<EOF | 2524 cat > conftest.$ac_ext <<EOF |
2523 #line 2524 "configure" | 2525 #line 2526 "configure" |
2524 #include "confdefs.h" | 2526 #include "confdefs.h" |
2525 #include <sys/types.h> | 2527 #include <sys/types.h> |
2526 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1]; | 2528 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1]; |
2527 | 2529 |
2528 #include <stdio.h> | 2530 #include <stdio.h> |
2529 | 2531 |
2530 int main() { | 2532 int main() { |
2531 return !ftello; | 2533 return !ftello; |
2532 ; return 0; } | 2534 ; return 0; } |
2533 EOF | 2535 EOF |
2534 if { (eval echo configure:2535: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2536 if { (eval echo configure:2537: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2535 : | 2537 : |
2536 else | 2538 else |
2537 echo "configure: failed program was:" >&5 | 2539 echo "configure: failed program was:" >&5 |
2538 cat conftest.$ac_ext >&5 | 2540 cat conftest.$ac_ext >&5 |
2539 rm -rf conftest* | 2541 rm -rf conftest* |
2540 cat > conftest.$ac_ext <<EOF | 2542 cat > conftest.$ac_ext <<EOF |
2541 #line 2542 "configure" | 2543 #line 2544 "configure" |
2542 #include "confdefs.h" | 2544 #include "confdefs.h" |
2543 #define _LARGEFILE_SOURCE 1 | 2545 #define _LARGEFILE_SOURCE 1 |
2544 #include <sys/types.h> | 2546 #include <sys/types.h> |
2545 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1]; | 2547 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1]; |
2546 | 2548 |
2548 | 2550 |
2549 int main() { | 2551 int main() { |
2550 return !ftello; | 2552 return !ftello; |
2551 ; return 0; } | 2553 ; return 0; } |
2552 EOF | 2554 EOF |
2553 if { (eval echo configure:2554: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2555 if { (eval echo configure:2556: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2554 rm -rf conftest* | 2556 rm -rf conftest* |
2555 ac_cv_sys_largefile_source=1 | 2557 ac_cv_sys_largefile_source=1 |
2556 else | 2558 else |
2557 echo "configure: failed program was:" >&5 | 2559 echo "configure: failed program was:" >&5 |
2558 cat conftest.$ac_ext >&5 | 2560 cat conftest.$ac_ext >&5 |
2568 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source | 2570 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source |
2569 EOF | 2571 EOF |
2570 | 2572 |
2571 fi | 2573 fi |
2572 echo $ac_n "checking for _LARGE_FILES value needed for large files""... $ac_c" 1>&6 | 2574 echo $ac_n "checking for _LARGE_FILES value needed for large files""... $ac_c" 1>&6 |
2573 echo "configure:2574: checking for _LARGE_FILES value needed for large files" >&5 | 2575 echo "configure:2576: checking for _LARGE_FILES value needed for large files" >&5 |
2574 if eval "test \"`echo '$''{'ac_cv_sys_large_files'+set}'`\" = set"; then | 2576 if eval "test \"`echo '$''{'ac_cv_sys_large_files'+set}'`\" = set"; then |
2575 echo $ac_n "(cached) $ac_c" 1>&6 | 2577 echo $ac_n "(cached) $ac_c" 1>&6 |
2576 else | 2578 else |
2577 ac_cv_sys_large_files=no | 2579 ac_cv_sys_large_files=no |
2578 cat > conftest.$ac_ext <<EOF | 2580 cat > conftest.$ac_ext <<EOF |
2579 #line 2580 "configure" | 2581 #line 2582 "configure" |
2580 #include "confdefs.h" | 2582 #include "confdefs.h" |
2581 #include <sys/types.h> | 2583 #include <sys/types.h> |
2582 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1]; | 2584 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1]; |
2583 | 2585 |
2584 | 2586 |
2585 | 2587 |
2586 int main() { | 2588 int main() { |
2587 | 2589 |
2588 ; return 0; } | 2590 ; return 0; } |
2589 EOF | 2591 EOF |
2590 if { (eval echo configure:2591: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2592 if { (eval echo configure:2593: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2591 : | 2593 : |
2592 else | 2594 else |
2593 echo "configure: failed program was:" >&5 | 2595 echo "configure: failed program was:" >&5 |
2594 cat conftest.$ac_ext >&5 | 2596 cat conftest.$ac_ext >&5 |
2595 rm -rf conftest* | 2597 rm -rf conftest* |
2596 cat > conftest.$ac_ext <<EOF | 2598 cat > conftest.$ac_ext <<EOF |
2597 #line 2598 "configure" | 2599 #line 2600 "configure" |
2598 #include "confdefs.h" | 2600 #include "confdefs.h" |
2599 #define _LARGE_FILES 1 | 2601 #define _LARGE_FILES 1 |
2600 #include <sys/types.h> | 2602 #include <sys/types.h> |
2601 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1]; | 2603 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1]; |
2602 | 2604 |
2604 | 2606 |
2605 int main() { | 2607 int main() { |
2606 | 2608 |
2607 ; return 0; } | 2609 ; return 0; } |
2608 EOF | 2610 EOF |
2609 if { (eval echo configure:2610: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2611 if { (eval echo configure:2612: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2610 rm -rf conftest* | 2612 rm -rf conftest* |
2611 ac_cv_sys_large_files=1 | 2613 ac_cv_sys_large_files=1 |
2612 else | 2614 else |
2613 echo "configure: failed program was:" >&5 | 2615 echo "configure: failed program was:" >&5 |
2614 cat conftest.$ac_ext >&5 | 2616 cat conftest.$ac_ext >&5 |
2624 #define _LARGE_FILES $ac_cv_sys_large_files | 2626 #define _LARGE_FILES $ac_cv_sys_large_files |
2625 EOF | 2627 EOF |
2626 | 2628 |
2627 fi | 2629 fi |
2628 echo $ac_n "checking for _XOPEN_SOURCE value needed for large files""... $ac_c" 1>&6 | 2630 echo $ac_n "checking for _XOPEN_SOURCE value needed for large files""... $ac_c" 1>&6 |
2629 echo "configure:2630: checking for _XOPEN_SOURCE value needed for large files" >&5 | 2631 echo "configure:2632: checking for _XOPEN_SOURCE value needed for large files" >&5 |
2630 if eval "test \"`echo '$''{'ac_cv_sys_xopen_source'+set}'`\" = set"; then | 2632 if eval "test \"`echo '$''{'ac_cv_sys_xopen_source'+set}'`\" = set"; then |
2631 echo $ac_n "(cached) $ac_c" 1>&6 | 2633 echo $ac_n "(cached) $ac_c" 1>&6 |
2632 else | 2634 else |
2633 ac_cv_sys_xopen_source=no | 2635 ac_cv_sys_xopen_source=no |
2634 cat > conftest.$ac_ext <<EOF | 2636 cat > conftest.$ac_ext <<EOF |
2635 #line 2636 "configure" | 2637 #line 2638 "configure" |
2636 #include "confdefs.h" | 2638 #include "confdefs.h" |
2637 #include <sys/types.h> | 2639 #include <sys/types.h> |
2638 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1]; | 2640 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1]; |
2639 | 2641 |
2640 #include <stdio.h> | 2642 #include <stdio.h> |
2641 | 2643 |
2642 int main() { | 2644 int main() { |
2643 return !ftello; | 2645 return !ftello; |
2644 ; return 0; } | 2646 ; return 0; } |
2645 EOF | 2647 EOF |
2646 if { (eval echo configure:2647: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2648 if { (eval echo configure:2649: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2647 : | 2649 : |
2648 else | 2650 else |
2649 echo "configure: failed program was:" >&5 | 2651 echo "configure: failed program was:" >&5 |
2650 cat conftest.$ac_ext >&5 | 2652 cat conftest.$ac_ext >&5 |
2651 rm -rf conftest* | 2653 rm -rf conftest* |
2652 cat > conftest.$ac_ext <<EOF | 2654 cat > conftest.$ac_ext <<EOF |
2653 #line 2654 "configure" | 2655 #line 2656 "configure" |
2654 #include "confdefs.h" | 2656 #include "confdefs.h" |
2655 #define _XOPEN_SOURCE 500 | 2657 #define _XOPEN_SOURCE 500 |
2656 #include <sys/types.h> | 2658 #include <sys/types.h> |
2657 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1]; | 2659 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1]; |
2658 | 2660 |
2660 | 2662 |
2661 int main() { | 2663 int main() { |
2662 return !ftello; | 2664 return !ftello; |
2663 ; return 0; } | 2665 ; return 0; } |
2664 EOF | 2666 EOF |
2665 if { (eval echo configure:2666: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2667 if { (eval echo configure:2668: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2666 rm -rf conftest* | 2668 rm -rf conftest* |
2667 ac_cv_sys_xopen_source=500 | 2669 ac_cv_sys_xopen_source=500 |
2668 else | 2670 else |
2669 echo "configure: failed program was:" >&5 | 2671 echo "configure: failed program was:" >&5 |
2670 cat conftest.$ac_ext >&5 | 2672 cat conftest.$ac_ext >&5 |
2687 # Sound support for GNU/Linux and the free BSDs. | 2689 # Sound support for GNU/Linux and the free BSDs. |
2688 for ac_hdr in machine/soundcard.h sys/soundcard.h soundcard.h | 2690 for ac_hdr in machine/soundcard.h sys/soundcard.h soundcard.h |
2689 do | 2691 do |
2690 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 2692 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
2691 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2693 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
2692 echo "configure:2693: checking for $ac_hdr" >&5 | 2694 echo "configure:2695: checking for $ac_hdr" >&5 |
2693 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 2695 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
2694 echo $ac_n "(cached) $ac_c" 1>&6 | 2696 echo $ac_n "(cached) $ac_c" 1>&6 |
2695 else | 2697 else |
2696 cat > conftest.$ac_ext <<EOF | 2698 cat > conftest.$ac_ext <<EOF |
2697 #line 2698 "configure" | 2699 #line 2700 "configure" |
2698 #include "confdefs.h" | 2700 #include "confdefs.h" |
2699 #include <$ac_hdr> | 2701 #include <$ac_hdr> |
2700 EOF | 2702 EOF |
2701 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2703 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2702 { (eval echo configure:2703: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2704 { (eval echo configure:2705: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2703 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2705 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2704 if test -z "$ac_err"; then | 2706 if test -z "$ac_err"; then |
2705 rm -rf conftest* | 2707 rm -rf conftest* |
2706 eval "ac_cv_header_$ac_safe=yes" | 2708 eval "ac_cv_header_$ac_safe=yes" |
2707 else | 2709 else |
2725 fi | 2727 fi |
2726 done | 2728 done |
2727 | 2729 |
2728 # Emulation library used on NetBSD. | 2730 # Emulation library used on NetBSD. |
2729 echo $ac_n "checking for _oss_ioctl in -lossaudio""... $ac_c" 1>&6 | 2731 echo $ac_n "checking for _oss_ioctl in -lossaudio""... $ac_c" 1>&6 |
2730 echo "configure:2731: checking for _oss_ioctl in -lossaudio" >&5 | 2732 echo "configure:2733: checking for _oss_ioctl in -lossaudio" >&5 |
2731 ac_lib_var=`echo ossaudio'_'_oss_ioctl | sed 'y%./+-%__p_%'` | 2733 ac_lib_var=`echo ossaudio'_'_oss_ioctl | sed 'y%./+-%__p_%'` |
2732 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 2734 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
2733 echo $ac_n "(cached) $ac_c" 1>&6 | 2735 echo $ac_n "(cached) $ac_c" 1>&6 |
2734 else | 2736 else |
2735 ac_save_LIBS="$LIBS" | 2737 ac_save_LIBS="$LIBS" |
2736 LIBS="-lossaudio $LIBS" | 2738 LIBS="-lossaudio $LIBS" |
2737 cat > conftest.$ac_ext <<EOF | 2739 cat > conftest.$ac_ext <<EOF |
2738 #line 2739 "configure" | 2740 #line 2741 "configure" |
2739 #include "confdefs.h" | 2741 #include "confdefs.h" |
2740 /* Override any gcc2 internal prototype to avoid an error. */ | 2742 /* Override any gcc2 internal prototype to avoid an error. */ |
2741 /* We use char because int might match the return type of a gcc2 | 2743 /* We use char because int might match the return type of a gcc2 |
2742 builtin and then its argument prototype would still apply. */ | 2744 builtin and then its argument prototype would still apply. */ |
2743 char _oss_ioctl(); | 2745 char _oss_ioctl(); |
2744 | 2746 |
2745 int main() { | 2747 int main() { |
2746 _oss_ioctl() | 2748 _oss_ioctl() |
2747 ; return 0; } | 2749 ; return 0; } |
2748 EOF | 2750 EOF |
2749 if { (eval echo configure:2750: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2751 if { (eval echo configure:2752: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2750 rm -rf conftest* | 2752 rm -rf conftest* |
2751 eval "ac_cv_lib_$ac_lib_var=yes" | 2753 eval "ac_cv_lib_$ac_lib_var=yes" |
2752 else | 2754 else |
2753 echo "configure: failed program was:" >&5 | 2755 echo "configure: failed program was:" >&5 |
2754 cat conftest.$ac_ext >&5 | 2756 cat conftest.$ac_ext >&5 |
2769 | 2771 |
2770 | 2772 |
2771 | 2773 |
2772 for ac_hdr in sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \ | 2774 for ac_hdr in sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \ |
2773 linux/version.h sys/systeminfo.h termios.h limits.h string.h stdlib.h \ | 2775 linux/version.h sys/systeminfo.h termios.h limits.h string.h stdlib.h \ |
2774 termcap.h stdio_ext.h fcntl.h term.h | 2776 termcap.h stdio_ext.h fcntl.h term.h strings.h |
2775 do | 2777 do |
2776 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 2778 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
2777 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2779 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
2778 echo "configure:2779: checking for $ac_hdr" >&5 | 2780 echo "configure:2781: checking for $ac_hdr" >&5 |
2779 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 2781 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
2780 echo $ac_n "(cached) $ac_c" 1>&6 | 2782 echo $ac_n "(cached) $ac_c" 1>&6 |
2781 else | 2783 else |
2782 cat > conftest.$ac_ext <<EOF | 2784 cat > conftest.$ac_ext <<EOF |
2783 #line 2784 "configure" | 2785 #line 2786 "configure" |
2784 #include "confdefs.h" | 2786 #include "confdefs.h" |
2785 #include <$ac_hdr> | 2787 #include <$ac_hdr> |
2786 EOF | 2788 EOF |
2787 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2789 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2788 { (eval echo configure:2789: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2790 { (eval echo configure:2791: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2789 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2791 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2790 if test -z "$ac_err"; then | 2792 if test -z "$ac_err"; then |
2791 rm -rf conftest* | 2793 rm -rf conftest* |
2792 eval "ac_cv_header_$ac_safe=yes" | 2794 eval "ac_cv_header_$ac_safe=yes" |
2793 else | 2795 else |
2810 echo "$ac_t""no" 1>&6 | 2812 echo "$ac_t""no" 1>&6 |
2811 fi | 2813 fi |
2812 done | 2814 done |
2813 | 2815 |
2814 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | 2816 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
2815 echo "configure:2816: checking for ANSI C header files" >&5 | 2817 echo "configure:2818: checking for ANSI C header files" >&5 |
2816 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then | 2818 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then |
2817 echo $ac_n "(cached) $ac_c" 1>&6 | 2819 echo $ac_n "(cached) $ac_c" 1>&6 |
2818 else | 2820 else |
2819 cat > conftest.$ac_ext <<EOF | 2821 cat > conftest.$ac_ext <<EOF |
2820 #line 2821 "configure" | 2822 #line 2823 "configure" |
2821 #include "confdefs.h" | 2823 #include "confdefs.h" |
2822 #include <stdlib.h> | 2824 #include <stdlib.h> |
2823 #include <stdarg.h> | 2825 #include <stdarg.h> |
2824 #include <string.h> | 2826 #include <string.h> |
2825 #include <float.h> | 2827 #include <float.h> |
2826 EOF | 2828 EOF |
2827 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2829 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2828 { (eval echo configure:2829: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2830 { (eval echo configure:2831: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2829 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2831 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2830 if test -z "$ac_err"; then | 2832 if test -z "$ac_err"; then |
2831 rm -rf conftest* | 2833 rm -rf conftest* |
2832 ac_cv_header_stdc=yes | 2834 ac_cv_header_stdc=yes |
2833 else | 2835 else |
2840 rm -f conftest* | 2842 rm -f conftest* |
2841 | 2843 |
2842 if test $ac_cv_header_stdc = yes; then | 2844 if test $ac_cv_header_stdc = yes; then |
2843 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 2845 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
2844 cat > conftest.$ac_ext <<EOF | 2846 cat > conftest.$ac_ext <<EOF |
2845 #line 2846 "configure" | 2847 #line 2848 "configure" |
2846 #include "confdefs.h" | 2848 #include "confdefs.h" |
2847 #include <string.h> | 2849 #include <string.h> |
2848 EOF | 2850 EOF |
2849 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 2851 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
2850 egrep "memchr" >/dev/null 2>&1; then | 2852 egrep "memchr" >/dev/null 2>&1; then |
2858 fi | 2860 fi |
2859 | 2861 |
2860 if test $ac_cv_header_stdc = yes; then | 2862 if test $ac_cv_header_stdc = yes; then |
2861 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 2863 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
2862 cat > conftest.$ac_ext <<EOF | 2864 cat > conftest.$ac_ext <<EOF |
2863 #line 2864 "configure" | 2865 #line 2866 "configure" |
2864 #include "confdefs.h" | 2866 #include "confdefs.h" |
2865 #include <stdlib.h> | 2867 #include <stdlib.h> |
2866 EOF | 2868 EOF |
2867 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 2869 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
2868 egrep "free" >/dev/null 2>&1; then | 2870 egrep "free" >/dev/null 2>&1; then |
2879 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 2881 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
2880 if test "$cross_compiling" = yes; then | 2882 if test "$cross_compiling" = yes; then |
2881 : | 2883 : |
2882 else | 2884 else |
2883 cat > conftest.$ac_ext <<EOF | 2885 cat > conftest.$ac_ext <<EOF |
2884 #line 2885 "configure" | 2886 #line 2887 "configure" |
2885 #include "confdefs.h" | 2887 #include "confdefs.h" |
2886 #include <ctype.h> | 2888 #include <ctype.h> |
2887 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 2889 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
2888 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 2890 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
2889 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 2891 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
2890 int main () { int i; for (i = 0; i < 256; i++) | 2892 int main () { int i; for (i = 0; i < 256; i++) |
2891 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); | 2893 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); |
2892 exit (0); } | 2894 exit (0); } |
2893 | 2895 |
2894 EOF | 2896 EOF |
2895 if { (eval echo configure:2896: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 2897 if { (eval echo configure:2898: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
2896 then | 2898 then |
2897 : | 2899 : |
2898 else | 2900 else |
2899 echo "configure: failed program was:" >&5 | 2901 echo "configure: failed program was:" >&5 |
2900 cat conftest.$ac_ext >&5 | 2902 cat conftest.$ac_ext >&5 |
2914 EOF | 2916 EOF |
2915 | 2917 |
2916 fi | 2918 fi |
2917 | 2919 |
2918 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 | 2920 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 |
2919 echo "configure:2920: checking whether time.h and sys/time.h may both be included" >&5 | 2921 echo "configure:2922: checking whether time.h and sys/time.h may both be included" >&5 |
2920 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then | 2922 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then |
2921 echo $ac_n "(cached) $ac_c" 1>&6 | 2923 echo $ac_n "(cached) $ac_c" 1>&6 |
2922 else | 2924 else |
2923 cat > conftest.$ac_ext <<EOF | 2925 cat > conftest.$ac_ext <<EOF |
2924 #line 2925 "configure" | 2926 #line 2927 "configure" |
2925 #include "confdefs.h" | 2927 #include "confdefs.h" |
2926 #include <sys/types.h> | 2928 #include <sys/types.h> |
2927 #include <sys/time.h> | 2929 #include <sys/time.h> |
2928 #include <time.h> | 2930 #include <time.h> |
2929 int main() { | 2931 int main() { |
2930 struct tm *tp; | 2932 struct tm *tp; |
2931 ; return 0; } | 2933 ; return 0; } |
2932 EOF | 2934 EOF |
2933 if { (eval echo configure:2934: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2935 if { (eval echo configure:2936: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2934 rm -rf conftest* | 2936 rm -rf conftest* |
2935 ac_cv_header_time=yes | 2937 ac_cv_header_time=yes |
2936 else | 2938 else |
2937 echo "configure: failed program was:" >&5 | 2939 echo "configure: failed program was:" >&5 |
2938 cat conftest.$ac_ext >&5 | 2940 cat conftest.$ac_ext >&5 |
2949 EOF | 2951 EOF |
2950 | 2952 |
2951 fi | 2953 fi |
2952 | 2954 |
2953 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 | 2955 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 |
2954 echo "configure:2955: checking for sys_siglist declaration in signal.h or unistd.h" >&5 | 2956 echo "configure:2957: checking for sys_siglist declaration in signal.h or unistd.h" >&5 |
2955 if eval "test \"`echo '$''{'ac_cv_decl_sys_siglist'+set}'`\" = set"; then | 2957 if eval "test \"`echo '$''{'ac_cv_decl_sys_siglist'+set}'`\" = set"; then |
2956 echo $ac_n "(cached) $ac_c" 1>&6 | 2958 echo $ac_n "(cached) $ac_c" 1>&6 |
2957 else | 2959 else |
2958 cat > conftest.$ac_ext <<EOF | 2960 cat > conftest.$ac_ext <<EOF |
2959 #line 2960 "configure" | 2961 #line 2962 "configure" |
2960 #include "confdefs.h" | 2962 #include "confdefs.h" |
2961 #include <sys/types.h> | 2963 #include <sys/types.h> |
2962 #include <signal.h> | 2964 #include <signal.h> |
2963 /* NetBSD declares sys_siglist in unistd.h. */ | 2965 /* NetBSD declares sys_siglist in unistd.h. */ |
2964 #ifdef HAVE_UNISTD_H | 2966 #ifdef HAVE_UNISTD_H |
2966 #endif | 2968 #endif |
2967 int main() { | 2969 int main() { |
2968 char *msg = *(sys_siglist + 1); | 2970 char *msg = *(sys_siglist + 1); |
2969 ; return 0; } | 2971 ; return 0; } |
2970 EOF | 2972 EOF |
2971 if { (eval echo configure:2972: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2973 if { (eval echo configure:2974: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2972 rm -rf conftest* | 2974 rm -rf conftest* |
2973 ac_cv_decl_sys_siglist=yes | 2975 ac_cv_decl_sys_siglist=yes |
2974 else | 2976 else |
2975 echo "configure: failed program was:" >&5 | 2977 echo "configure: failed program was:" >&5 |
2976 cat conftest.$ac_ext >&5 | 2978 cat conftest.$ac_ext >&5 |
2987 EOF | 2989 EOF |
2988 | 2990 |
2989 fi | 2991 fi |
2990 | 2992 |
2991 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 | 2993 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 |
2992 echo "configure:2993: checking for sys/wait.h that is POSIX.1 compatible" >&5 | 2994 echo "configure:2995: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
2993 if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then | 2995 if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then |
2994 echo $ac_n "(cached) $ac_c" 1>&6 | 2996 echo $ac_n "(cached) $ac_c" 1>&6 |
2995 else | 2997 else |
2996 cat > conftest.$ac_ext <<EOF | 2998 cat > conftest.$ac_ext <<EOF |
2997 #line 2998 "configure" | 2999 #line 3000 "configure" |
2998 #include "confdefs.h" | 3000 #include "confdefs.h" |
2999 #include <sys/types.h> | 3001 #include <sys/types.h> |
3000 #include <sys/wait.h> | 3002 #include <sys/wait.h> |
3001 #ifndef WEXITSTATUS | 3003 #ifndef WEXITSTATUS |
3002 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) | 3004 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) |
3008 int s; | 3010 int s; |
3009 wait (&s); | 3011 wait (&s); |
3010 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; | 3012 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; |
3011 ; return 0; } | 3013 ; return 0; } |
3012 EOF | 3014 EOF |
3013 if { (eval echo configure:3014: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3015 if { (eval echo configure:3016: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3014 rm -rf conftest* | 3016 rm -rf conftest* |
3015 ac_cv_header_sys_wait_h=yes | 3017 ac_cv_header_sys_wait_h=yes |
3016 else | 3018 else |
3017 echo "configure: failed program was:" >&5 | 3019 echo "configure: failed program was:" >&5 |
3018 cat conftest.$ac_ext >&5 | 3020 cat conftest.$ac_ext >&5 |
3030 | 3032 |
3031 fi | 3033 fi |
3032 | 3034 |
3033 | 3035 |
3034 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 | 3036 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 |
3035 echo "configure:3036: checking for struct utimbuf" >&5 | 3037 echo "configure:3038: checking for struct utimbuf" >&5 |
3036 if eval "test \"`echo '$''{'emacs_cv_struct_utimbuf'+set}'`\" = set"; then | 3038 if eval "test \"`echo '$''{'emacs_cv_struct_utimbuf'+set}'`\" = set"; then |
3037 echo $ac_n "(cached) $ac_c" 1>&6 | 3039 echo $ac_n "(cached) $ac_c" 1>&6 |
3038 else | 3040 else |
3039 cat > conftest.$ac_ext <<EOF | 3041 cat > conftest.$ac_ext <<EOF |
3040 #line 3041 "configure" | 3042 #line 3043 "configure" |
3041 #include "confdefs.h" | 3043 #include "confdefs.h" |
3042 #ifdef TIME_WITH_SYS_TIME | 3044 #ifdef TIME_WITH_SYS_TIME |
3043 #include <sys/time.h> | 3045 #include <sys/time.h> |
3044 #include <time.h> | 3046 #include <time.h> |
3045 #else | 3047 #else |
3054 #endif | 3056 #endif |
3055 int main() { | 3057 int main() { |
3056 static struct utimbuf x; x.actime = x.modtime; | 3058 static struct utimbuf x; x.actime = x.modtime; |
3057 ; return 0; } | 3059 ; return 0; } |
3058 EOF | 3060 EOF |
3059 if { (eval echo configure:3060: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3061 if { (eval echo configure:3062: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3060 rm -rf conftest* | 3062 rm -rf conftest* |
3061 emacs_cv_struct_utimbuf=yes | 3063 emacs_cv_struct_utimbuf=yes |
3062 else | 3064 else |
3063 echo "configure: failed program was:" >&5 | 3065 echo "configure: failed program was:" >&5 |
3064 cat conftest.$ac_ext >&5 | 3066 cat conftest.$ac_ext >&5 |
3075 EOF | 3077 EOF |
3076 | 3078 |
3077 fi | 3079 fi |
3078 | 3080 |
3079 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 | 3081 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
3080 echo "configure:3081: checking return type of signal handlers" >&5 | 3082 echo "configure:3083: checking return type of signal handlers" >&5 |
3081 if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then | 3083 if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then |
3082 echo $ac_n "(cached) $ac_c" 1>&6 | 3084 echo $ac_n "(cached) $ac_c" 1>&6 |
3083 else | 3085 else |
3084 cat > conftest.$ac_ext <<EOF | 3086 cat > conftest.$ac_ext <<EOF |
3085 #line 3086 "configure" | 3087 #line 3088 "configure" |
3086 #include "confdefs.h" | 3088 #include "confdefs.h" |
3087 #include <sys/types.h> | 3089 #include <sys/types.h> |
3088 #include <signal.h> | 3090 #include <signal.h> |
3089 #ifdef signal | 3091 #ifdef signal |
3090 #undef signal | 3092 #undef signal |
3097 | 3099 |
3098 int main() { | 3100 int main() { |
3099 int i; | 3101 int i; |
3100 ; return 0; } | 3102 ; return 0; } |
3101 EOF | 3103 EOF |
3102 if { (eval echo configure:3103: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3104 if { (eval echo configure:3105: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3103 rm -rf conftest* | 3105 rm -rf conftest* |
3104 ac_cv_type_signal=void | 3106 ac_cv_type_signal=void |
3105 else | 3107 else |
3106 echo "configure: failed program was:" >&5 | 3108 echo "configure: failed program was:" >&5 |
3107 cat conftest.$ac_ext >&5 | 3109 cat conftest.$ac_ext >&5 |
3117 EOF | 3119 EOF |
3118 | 3120 |
3119 | 3121 |
3120 | 3122 |
3121 echo $ac_n "checking for speed_t""... $ac_c" 1>&6 | 3123 echo $ac_n "checking for speed_t""... $ac_c" 1>&6 |
3122 echo "configure:3123: checking for speed_t" >&5 | 3124 echo "configure:3125: checking for speed_t" >&5 |
3123 if eval "test \"`echo '$''{'emacs_cv_speed_t'+set}'`\" = set"; then | 3125 if eval "test \"`echo '$''{'emacs_cv_speed_t'+set}'`\" = set"; then |
3124 echo $ac_n "(cached) $ac_c" 1>&6 | 3126 echo $ac_n "(cached) $ac_c" 1>&6 |
3125 else | 3127 else |
3126 cat > conftest.$ac_ext <<EOF | 3128 cat > conftest.$ac_ext <<EOF |
3127 #line 3128 "configure" | 3129 #line 3130 "configure" |
3128 #include "confdefs.h" | 3130 #include "confdefs.h" |
3129 #include <termios.h> | 3131 #include <termios.h> |
3130 int main() { | 3132 int main() { |
3131 speed_t x = 1; | 3133 speed_t x = 1; |
3132 ; return 0; } | 3134 ; return 0; } |
3133 EOF | 3135 EOF |
3134 if { (eval echo configure:3135: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3136 if { (eval echo configure:3137: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3135 rm -rf conftest* | 3137 rm -rf conftest* |
3136 emacs_cv_speed_t=yes | 3138 emacs_cv_speed_t=yes |
3137 else | 3139 else |
3138 echo "configure: failed program was:" >&5 | 3140 echo "configure: failed program was:" >&5 |
3139 cat conftest.$ac_ext >&5 | 3141 cat conftest.$ac_ext >&5 |
3148 EOF | 3150 EOF |
3149 | 3151 |
3150 fi | 3152 fi |
3151 | 3153 |
3152 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 | 3154 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 |
3153 echo "configure:3154: checking for struct timeval" >&5 | 3155 echo "configure:3156: checking for struct timeval" >&5 |
3154 if eval "test \"`echo '$''{'emacs_cv_struct_timeval'+set}'`\" = set"; then | 3156 if eval "test \"`echo '$''{'emacs_cv_struct_timeval'+set}'`\" = set"; then |
3155 echo $ac_n "(cached) $ac_c" 1>&6 | 3157 echo $ac_n "(cached) $ac_c" 1>&6 |
3156 else | 3158 else |
3157 cat > conftest.$ac_ext <<EOF | 3159 cat > conftest.$ac_ext <<EOF |
3158 #line 3159 "configure" | 3160 #line 3161 "configure" |
3159 #include "confdefs.h" | 3161 #include "confdefs.h" |
3160 #ifdef TIME_WITH_SYS_TIME | 3162 #ifdef TIME_WITH_SYS_TIME |
3161 #include <sys/time.h> | 3163 #include <sys/time.h> |
3162 #include <time.h> | 3164 #include <time.h> |
3163 #else | 3165 #else |
3169 #endif | 3171 #endif |
3170 int main() { | 3172 int main() { |
3171 static struct timeval x; x.tv_sec = x.tv_usec; | 3173 static struct timeval x; x.tv_sec = x.tv_usec; |
3172 ; return 0; } | 3174 ; return 0; } |
3173 EOF | 3175 EOF |
3174 if { (eval echo configure:3175: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3176 if { (eval echo configure:3177: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3175 rm -rf conftest* | 3177 rm -rf conftest* |
3176 emacs_cv_struct_timeval=yes | 3178 emacs_cv_struct_timeval=yes |
3177 else | 3179 else |
3178 echo "configure: failed program was:" >&5 | 3180 echo "configure: failed program was:" >&5 |
3179 cat conftest.$ac_ext >&5 | 3181 cat conftest.$ac_ext >&5 |
3191 EOF | 3193 EOF |
3192 | 3194 |
3193 fi | 3195 fi |
3194 | 3196 |
3195 echo $ac_n "checking for struct exception""... $ac_c" 1>&6 | 3197 echo $ac_n "checking for struct exception""... $ac_c" 1>&6 |
3196 echo "configure:3197: checking for struct exception" >&5 | 3198 echo "configure:3199: checking for struct exception" >&5 |
3197 if eval "test \"`echo '$''{'emacs_cv_struct_exception'+set}'`\" = set"; then | 3199 if eval "test \"`echo '$''{'emacs_cv_struct_exception'+set}'`\" = set"; then |
3198 echo $ac_n "(cached) $ac_c" 1>&6 | 3200 echo $ac_n "(cached) $ac_c" 1>&6 |
3199 else | 3201 else |
3200 cat > conftest.$ac_ext <<EOF | 3202 cat > conftest.$ac_ext <<EOF |
3201 #line 3202 "configure" | 3203 #line 3204 "configure" |
3202 #include "confdefs.h" | 3204 #include "confdefs.h" |
3203 #include <math.h> | 3205 #include <math.h> |
3204 int main() { | 3206 int main() { |
3205 static struct exception x; x.arg1 = x.arg2 = x.retval; x.name = ""; x.type = 1; | 3207 static struct exception x; x.arg1 = x.arg2 = x.retval; x.name = ""; x.type = 1; |
3206 ; return 0; } | 3208 ; return 0; } |
3207 EOF | 3209 EOF |
3208 if { (eval echo configure:3209: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3210 if { (eval echo configure:3211: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3209 rm -rf conftest* | 3211 rm -rf conftest* |
3210 emacs_cv_struct_exception=yes | 3212 emacs_cv_struct_exception=yes |
3211 else | 3213 else |
3212 echo "configure: failed program was:" >&5 | 3214 echo "configure: failed program was:" >&5 |
3213 cat conftest.$ac_ext >&5 | 3215 cat conftest.$ac_ext >&5 |
3225 EOF | 3227 EOF |
3226 | 3228 |
3227 fi | 3229 fi |
3228 | 3230 |
3229 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 | 3231 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 |
3230 echo "configure:3231: checking whether struct tm is in sys/time.h or time.h" >&5 | 3232 echo "configure:3233: checking whether struct tm is in sys/time.h or time.h" >&5 |
3231 if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then | 3233 if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then |
3232 echo $ac_n "(cached) $ac_c" 1>&6 | 3234 echo $ac_n "(cached) $ac_c" 1>&6 |
3233 else | 3235 else |
3234 cat > conftest.$ac_ext <<EOF | 3236 cat > conftest.$ac_ext <<EOF |
3235 #line 3236 "configure" | 3237 #line 3238 "configure" |
3236 #include "confdefs.h" | 3238 #include "confdefs.h" |
3237 #include <sys/types.h> | 3239 #include <sys/types.h> |
3238 #include <time.h> | 3240 #include <time.h> |
3239 int main() { | 3241 int main() { |
3240 struct tm *tp; tp->tm_sec; | 3242 struct tm *tp; tp->tm_sec; |
3241 ; return 0; } | 3243 ; return 0; } |
3242 EOF | 3244 EOF |
3243 if { (eval echo configure:3244: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3245 if { (eval echo configure:3246: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3244 rm -rf conftest* | 3246 rm -rf conftest* |
3245 ac_cv_struct_tm=time.h | 3247 ac_cv_struct_tm=time.h |
3246 else | 3248 else |
3247 echo "configure: failed program was:" >&5 | 3249 echo "configure: failed program was:" >&5 |
3248 cat conftest.$ac_ext >&5 | 3250 cat conftest.$ac_ext >&5 |
3259 EOF | 3261 EOF |
3260 | 3262 |
3261 fi | 3263 fi |
3262 | 3264 |
3263 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 | 3265 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 |
3264 echo "configure:3265: checking for tm_zone in struct tm" >&5 | 3266 echo "configure:3267: checking for tm_zone in struct tm" >&5 |
3265 if eval "test \"`echo '$''{'ac_cv_struct_tm_zone'+set}'`\" = set"; then | 3267 if eval "test \"`echo '$''{'ac_cv_struct_tm_zone'+set}'`\" = set"; then |
3266 echo $ac_n "(cached) $ac_c" 1>&6 | 3268 echo $ac_n "(cached) $ac_c" 1>&6 |
3267 else | 3269 else |
3268 cat > conftest.$ac_ext <<EOF | 3270 cat > conftest.$ac_ext <<EOF |
3269 #line 3270 "configure" | 3271 #line 3272 "configure" |
3270 #include "confdefs.h" | 3272 #include "confdefs.h" |
3271 #include <sys/types.h> | 3273 #include <sys/types.h> |
3272 #include <$ac_cv_struct_tm> | 3274 #include <$ac_cv_struct_tm> |
3273 int main() { | 3275 int main() { |
3274 struct tm tm; tm.tm_zone; | 3276 struct tm tm; tm.tm_zone; |
3275 ; return 0; } | 3277 ; return 0; } |
3276 EOF | 3278 EOF |
3277 if { (eval echo configure:3278: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3279 if { (eval echo configure:3280: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3278 rm -rf conftest* | 3280 rm -rf conftest* |
3279 ac_cv_struct_tm_zone=yes | 3281 ac_cv_struct_tm_zone=yes |
3280 else | 3282 else |
3281 echo "configure: failed program was:" >&5 | 3283 echo "configure: failed program was:" >&5 |
3282 cat conftest.$ac_ext >&5 | 3284 cat conftest.$ac_ext >&5 |
3292 #define HAVE_TM_ZONE 1 | 3294 #define HAVE_TM_ZONE 1 |
3293 EOF | 3295 EOF |
3294 | 3296 |
3295 else | 3297 else |
3296 echo $ac_n "checking for tzname""... $ac_c" 1>&6 | 3298 echo $ac_n "checking for tzname""... $ac_c" 1>&6 |
3297 echo "configure:3298: checking for tzname" >&5 | 3299 echo "configure:3300: checking for tzname" >&5 |
3298 if eval "test \"`echo '$''{'ac_cv_var_tzname'+set}'`\" = set"; then | 3300 if eval "test \"`echo '$''{'ac_cv_var_tzname'+set}'`\" = set"; then |
3299 echo $ac_n "(cached) $ac_c" 1>&6 | 3301 echo $ac_n "(cached) $ac_c" 1>&6 |
3300 else | 3302 else |
3301 cat > conftest.$ac_ext <<EOF | 3303 cat > conftest.$ac_ext <<EOF |
3302 #line 3303 "configure" | 3304 #line 3305 "configure" |
3303 #include "confdefs.h" | 3305 #include "confdefs.h" |
3304 #include <time.h> | 3306 #include <time.h> |
3305 #ifndef tzname /* For SGI. */ | 3307 #ifndef tzname /* For SGI. */ |
3306 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ | 3308 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ |
3307 #endif | 3309 #endif |
3308 int main() { | 3310 int main() { |
3309 atoi(*tzname); | 3311 atoi(*tzname); |
3310 ; return 0; } | 3312 ; return 0; } |
3311 EOF | 3313 EOF |
3312 if { (eval echo configure:3313: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3314 if { (eval echo configure:3315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3313 rm -rf conftest* | 3315 rm -rf conftest* |
3314 ac_cv_var_tzname=yes | 3316 ac_cv_var_tzname=yes |
3315 else | 3317 else |
3316 echo "configure: failed program was:" >&5 | 3318 echo "configure: failed program was:" >&5 |
3317 cat conftest.$ac_ext >&5 | 3319 cat conftest.$ac_ext >&5 |
3329 | 3331 |
3330 fi | 3332 fi |
3331 fi | 3333 fi |
3332 | 3334 |
3333 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6 | 3335 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6 |
3334 echo "configure:3335: checking for tm_gmtoff in struct tm" >&5 | 3336 echo "configure:3337: checking for tm_gmtoff in struct tm" >&5 |
3335 if eval "test \"`echo '$''{'emacs_cv_tm_gmtoff'+set}'`\" = set"; then | 3337 if eval "test \"`echo '$''{'emacs_cv_tm_gmtoff'+set}'`\" = set"; then |
3336 echo $ac_n "(cached) $ac_c" 1>&6 | 3338 echo $ac_n "(cached) $ac_c" 1>&6 |
3337 else | 3339 else |
3338 cat > conftest.$ac_ext <<EOF | 3340 cat > conftest.$ac_ext <<EOF |
3339 #line 3340 "configure" | 3341 #line 3342 "configure" |
3340 #include "confdefs.h" | 3342 #include "confdefs.h" |
3341 #include <time.h> | 3343 #include <time.h> |
3342 int main() { | 3344 int main() { |
3343 struct tm t; t.tm_gmtoff = 0 | 3345 struct tm t; t.tm_gmtoff = 0 |
3344 ; return 0; } | 3346 ; return 0; } |
3345 EOF | 3347 EOF |
3346 if { (eval echo configure:3347: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3348 if { (eval echo configure:3349: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3347 rm -rf conftest* | 3349 rm -rf conftest* |
3348 emacs_cv_tm_gmtoff=yes | 3350 emacs_cv_tm_gmtoff=yes |
3349 else | 3351 else |
3350 echo "configure: failed program was:" >&5 | 3352 echo "configure: failed program was:" >&5 |
3351 cat conftest.$ac_ext >&5 | 3353 cat conftest.$ac_ext >&5 |
3363 | 3365 |
3364 fi | 3366 fi |
3365 | 3367 |
3366 | 3368 |
3367 echo $ac_n "checking for ${CC-cc} option to accept ANSI C""... $ac_c" 1>&6 | 3369 echo $ac_n "checking for ${CC-cc} option to accept ANSI C""... $ac_c" 1>&6 |
3368 echo "configure:3369: checking for ${CC-cc} option to accept ANSI C" >&5 | 3370 echo "configure:3371: checking for ${CC-cc} option to accept ANSI C" >&5 |
3369 if eval "test \"`echo '$''{'ac_cv_prog_cc_stdc'+set}'`\" = set"; then | 3371 if eval "test \"`echo '$''{'ac_cv_prog_cc_stdc'+set}'`\" = set"; then |
3370 echo $ac_n "(cached) $ac_c" 1>&6 | 3372 echo $ac_n "(cached) $ac_c" 1>&6 |
3371 else | 3373 else |
3372 ac_cv_prog_cc_stdc=no | 3374 ac_cv_prog_cc_stdc=no |
3373 ac_save_CC="$CC" | 3375 ac_save_CC="$CC" |
3380 # SVR4 -Xc -D__EXTENSIONS__ | 3382 # SVR4 -Xc -D__EXTENSIONS__ |
3381 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | 3383 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
3382 do | 3384 do |
3383 CC="$ac_save_CC $ac_arg" | 3385 CC="$ac_save_CC $ac_arg" |
3384 cat > conftest.$ac_ext <<EOF | 3386 cat > conftest.$ac_ext <<EOF |
3385 #line 3386 "configure" | 3387 #line 3388 "configure" |
3386 #include "confdefs.h" | 3388 #include "confdefs.h" |
3387 #include <stdarg.h> | 3389 #include <stdarg.h> |
3388 #include <stdio.h> | 3390 #include <stdio.h> |
3389 #include <sys/types.h> | 3391 #include <sys/types.h> |
3390 #include <sys/stat.h> | 3392 #include <sys/stat.h> |
3414 char **argv; | 3416 char **argv; |
3415 int main() { | 3417 int main() { |
3416 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | 3418 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
3417 ; return 0; } | 3419 ; return 0; } |
3418 EOF | 3420 EOF |
3419 if { (eval echo configure:3420: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3421 if { (eval echo configure:3422: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3420 rm -rf conftest* | 3422 rm -rf conftest* |
3421 ac_cv_prog_cc_stdc="$ac_arg"; break | 3423 ac_cv_prog_cc_stdc="$ac_arg"; break |
3422 else | 3424 else |
3423 echo "configure: failed program was:" >&5 | 3425 echo "configure: failed program was:" >&5 |
3424 cat conftest.$ac_ext >&5 | 3426 cat conftest.$ac_ext >&5 |
3436 echo "$ac_t""$ac_cv_prog_cc_stdc" 1>&6 | 3438 echo "$ac_t""$ac_cv_prog_cc_stdc" 1>&6 |
3437 CC="$CC $ac_cv_prog_cc_stdc" ;; | 3439 CC="$CC $ac_cv_prog_cc_stdc" ;; |
3438 esac | 3440 esac |
3439 | 3441 |
3440 echo $ac_n "checking for function prototypes""... $ac_c" 1>&6 | 3442 echo $ac_n "checking for function prototypes""... $ac_c" 1>&6 |
3441 echo "configure:3442: checking for function prototypes" >&5 | 3443 echo "configure:3444: checking for function prototypes" >&5 |
3442 if test "$ac_cv_prog_cc_stdc" != no; then | 3444 if test "$ac_cv_prog_cc_stdc" != no; then |
3443 echo "$ac_t""yes" 1>&6 | 3445 echo "$ac_t""yes" 1>&6 |
3444 cat >> confdefs.h <<\EOF | 3446 cat >> confdefs.h <<\EOF |
3445 #define PROTOTYPES 1 | 3447 #define PROTOTYPES 1 |
3446 EOF | 3448 EOF |
3448 else | 3450 else |
3449 echo "$ac_t""no" 1>&6 | 3451 echo "$ac_t""no" 1>&6 |
3450 fi | 3452 fi |
3451 | 3453 |
3452 echo $ac_n "checking for working volatile""... $ac_c" 1>&6 | 3454 echo $ac_n "checking for working volatile""... $ac_c" 1>&6 |
3453 echo "configure:3454: checking for working volatile" >&5 | 3455 echo "configure:3456: checking for working volatile" >&5 |
3454 if eval "test \"`echo '$''{'ac_cv_c_volatile'+set}'`\" = set"; then | 3456 if eval "test \"`echo '$''{'ac_cv_c_volatile'+set}'`\" = set"; then |
3455 echo $ac_n "(cached) $ac_c" 1>&6 | 3457 echo $ac_n "(cached) $ac_c" 1>&6 |
3456 else | 3458 else |
3457 cat > conftest.$ac_ext <<EOF | 3459 cat > conftest.$ac_ext <<EOF |
3458 #line 3459 "configure" | 3460 #line 3461 "configure" |
3459 #include "confdefs.h" | 3461 #include "confdefs.h" |
3460 | 3462 |
3461 int main() { | 3463 int main() { |
3462 | 3464 |
3463 volatile int x; | 3465 volatile int x; |
3464 int * volatile y; | 3466 int * volatile y; |
3465 ; return 0; } | 3467 ; return 0; } |
3466 EOF | 3468 EOF |
3467 if { (eval echo configure:3468: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3469 if { (eval echo configure:3470: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3468 rm -rf conftest* | 3470 rm -rf conftest* |
3469 ac_cv_c_volatile=yes | 3471 ac_cv_c_volatile=yes |
3470 else | 3472 else |
3471 echo "configure: failed program was:" >&5 | 3473 echo "configure: failed program was:" >&5 |
3472 cat conftest.$ac_ext >&5 | 3474 cat conftest.$ac_ext >&5 |
3483 EOF | 3485 EOF |
3484 | 3486 |
3485 fi | 3487 fi |
3486 | 3488 |
3487 echo $ac_n "checking for working const""... $ac_c" 1>&6 | 3489 echo $ac_n "checking for working const""... $ac_c" 1>&6 |
3488 echo "configure:3489: checking for working const" >&5 | 3490 echo "configure:3491: checking for working const" >&5 |
3489 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then | 3491 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then |
3490 echo $ac_n "(cached) $ac_c" 1>&6 | 3492 echo $ac_n "(cached) $ac_c" 1>&6 |
3491 else | 3493 else |
3492 cat > conftest.$ac_ext <<EOF | 3494 cat > conftest.$ac_ext <<EOF |
3493 #line 3494 "configure" | 3495 #line 3496 "configure" |
3494 #include "confdefs.h" | 3496 #include "confdefs.h" |
3495 | 3497 |
3496 int main() { | 3498 int main() { |
3497 | 3499 |
3498 /* Ultrix mips cc rejects this. */ | 3500 /* Ultrix mips cc rejects this. */ |
3537 const int foo = 10; | 3539 const int foo = 10; |
3538 } | 3540 } |
3539 | 3541 |
3540 ; return 0; } | 3542 ; return 0; } |
3541 EOF | 3543 EOF |
3542 if { (eval echo configure:3543: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3544 if { (eval echo configure:3545: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3543 rm -rf conftest* | 3545 rm -rf conftest* |
3544 ac_cv_c_const=yes | 3546 ac_cv_c_const=yes |
3545 else | 3547 else |
3546 echo "configure: failed program was:" >&5 | 3548 echo "configure: failed program was:" >&5 |
3547 cat conftest.$ac_ext >&5 | 3549 cat conftest.$ac_ext >&5 |
3558 EOF | 3560 EOF |
3559 | 3561 |
3560 fi | 3562 fi |
3561 | 3563 |
3562 echo $ac_n "checking for void * support""... $ac_c" 1>&6 | 3564 echo $ac_n "checking for void * support""... $ac_c" 1>&6 |
3563 echo "configure:3564: checking for void * support" >&5 | 3565 echo "configure:3566: checking for void * support" >&5 |
3564 if eval "test \"`echo '$''{'emacs_cv_void_star'+set}'`\" = set"; then | 3566 if eval "test \"`echo '$''{'emacs_cv_void_star'+set}'`\" = set"; then |
3565 echo $ac_n "(cached) $ac_c" 1>&6 | 3567 echo $ac_n "(cached) $ac_c" 1>&6 |
3566 else | 3568 else |
3567 cat > conftest.$ac_ext <<EOF | 3569 cat > conftest.$ac_ext <<EOF |
3568 #line 3569 "configure" | 3570 #line 3571 "configure" |
3569 #include "confdefs.h" | 3571 #include "confdefs.h" |
3570 | 3572 |
3571 int main() { | 3573 int main() { |
3572 void * foo; | 3574 void * foo; |
3573 ; return 0; } | 3575 ; return 0; } |
3574 EOF | 3576 EOF |
3575 if { (eval echo configure:3576: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3577 if { (eval echo configure:3578: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3576 rm -rf conftest* | 3578 rm -rf conftest* |
3577 emacs_cv_void_star=yes | 3579 emacs_cv_void_star=yes |
3578 else | 3580 else |
3579 echo "configure: failed program was:" >&5 | 3581 echo "configure: failed program was:" >&5 |
3580 cat conftest.$ac_ext >&5 | 3582 cat conftest.$ac_ext >&5 |
3596 EOF | 3598 EOF |
3597 | 3599 |
3598 fi | 3600 fi |
3599 | 3601 |
3600 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | 3602 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
3601 echo "configure:3602: checking whether ${MAKE-make} sets \${MAKE}" >&5 | 3603 echo "configure:3604: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
3602 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | 3604 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
3603 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then | 3605 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then |
3604 echo $ac_n "(cached) $ac_c" 1>&6 | 3606 echo $ac_n "(cached) $ac_c" 1>&6 |
3605 else | 3607 else |
3606 cat > conftestmake <<\EOF | 3608 cat > conftestmake <<\EOF |
3624 SET_MAKE="MAKE=${MAKE-make}" | 3626 SET_MAKE="MAKE=${MAKE-make}" |
3625 fi | 3627 fi |
3626 | 3628 |
3627 | 3629 |
3628 echo $ac_n "checking for long file names""... $ac_c" 1>&6 | 3630 echo $ac_n "checking for long file names""... $ac_c" 1>&6 |
3629 echo "configure:3630: checking for long file names" >&5 | 3631 echo "configure:3632: checking for long file names" >&5 |
3630 if eval "test \"`echo '$''{'ac_cv_sys_long_file_names'+set}'`\" = set"; then | 3632 if eval "test \"`echo '$''{'ac_cv_sys_long_file_names'+set}'`\" = set"; then |
3631 echo $ac_n "(cached) $ac_c" 1>&6 | 3633 echo $ac_n "(cached) $ac_c" 1>&6 |
3632 else | 3634 else |
3633 ac_cv_sys_long_file_names=yes | 3635 ac_cv_sys_long_file_names=yes |
3634 # Test for long file names in all the places we know might matter: | 3636 # Test for long file names in all the places we know might matter: |
3675 # If we find X, set shell vars x_includes and x_libraries to the | 3677 # If we find X, set shell vars x_includes and x_libraries to the |
3676 # paths, otherwise set no_x=yes. | 3678 # paths, otherwise set no_x=yes. |
3677 # Uses ac_ vars as temps to allow command line to override cache and checks. | 3679 # Uses ac_ vars as temps to allow command line to override cache and checks. |
3678 # --without-x overrides everything else, but does not touch the cache. | 3680 # --without-x overrides everything else, but does not touch the cache. |
3679 echo $ac_n "checking for X""... $ac_c" 1>&6 | 3681 echo $ac_n "checking for X""... $ac_c" 1>&6 |
3680 echo "configure:3681: checking for X" >&5 | 3682 echo "configure:3683: checking for X" >&5 |
3681 | 3683 |
3682 # Check whether --with-x or --without-x was given. | 3684 # Check whether --with-x or --without-x was given. |
3683 if test "${with_x+set}" = set; then | 3685 if test "${with_x+set}" = set; then |
3684 withval="$with_x" | 3686 withval="$with_x" |
3685 : | 3687 : |
3737 # Guess where to find include files, by looking for this one X11 .h file. | 3739 # Guess where to find include files, by looking for this one X11 .h file. |
3738 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h | 3740 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h |
3739 | 3741 |
3740 # First, try using that file with no special directory specified. | 3742 # First, try using that file with no special directory specified. |
3741 cat > conftest.$ac_ext <<EOF | 3743 cat > conftest.$ac_ext <<EOF |
3742 #line 3743 "configure" | 3744 #line 3745 "configure" |
3743 #include "confdefs.h" | 3745 #include "confdefs.h" |
3744 #include <$x_direct_test_include> | 3746 #include <$x_direct_test_include> |
3745 EOF | 3747 EOF |
3746 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3748 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3747 { (eval echo configure:3748: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3749 { (eval echo configure:3750: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3748 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 3750 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3749 if test -z "$ac_err"; then | 3751 if test -z "$ac_err"; then |
3750 rm -rf conftest* | 3752 rm -rf conftest* |
3751 # We can compile using X headers with no special include directory. | 3753 # We can compile using X headers with no special include directory. |
3752 ac_x_includes= | 3754 ac_x_includes= |
3811 # See if we find them without any special options. | 3813 # See if we find them without any special options. |
3812 # Don't add to $LIBS permanently. | 3814 # Don't add to $LIBS permanently. |
3813 ac_save_LIBS="$LIBS" | 3815 ac_save_LIBS="$LIBS" |
3814 LIBS="-l$x_direct_test_library $LIBS" | 3816 LIBS="-l$x_direct_test_library $LIBS" |
3815 cat > conftest.$ac_ext <<EOF | 3817 cat > conftest.$ac_ext <<EOF |
3816 #line 3817 "configure" | 3818 #line 3819 "configure" |
3817 #include "confdefs.h" | 3819 #include "confdefs.h" |
3818 | 3820 |
3819 int main() { | 3821 int main() { |
3820 ${x_direct_test_function}() | 3822 ${x_direct_test_function}() |
3821 ; return 0; } | 3823 ; return 0; } |
3822 EOF | 3824 EOF |
3823 if { (eval echo configure:3824: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3825 if { (eval echo configure:3826: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3824 rm -rf conftest* | 3826 rm -rf conftest* |
3825 LIBS="$ac_save_LIBS" | 3827 LIBS="$ac_save_LIBS" |
3826 # We can link X programs with no special library path. | 3828 # We can link X programs with no special library path. |
3827 ac_x_libraries= | 3829 ac_x_libraries= |
3828 else | 3830 else |
3996 # Do the opsystem or machine files prohibit the use of the GNU malloc? | 3998 # Do the opsystem or machine files prohibit the use of the GNU malloc? |
3997 # Assume not, until told otherwise. | 3999 # Assume not, until told otherwise. |
3998 GNU_MALLOC=yes | 4000 GNU_MALLOC=yes |
3999 doug_lea_malloc=yes | 4001 doug_lea_malloc=yes |
4000 echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6 | 4002 echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6 |
4001 echo "configure:4002: checking for malloc_get_state" >&5 | 4003 echo "configure:4004: checking for malloc_get_state" >&5 |
4002 if eval "test \"`echo '$''{'ac_cv_func_malloc_get_state'+set}'`\" = set"; then | 4004 if eval "test \"`echo '$''{'ac_cv_func_malloc_get_state'+set}'`\" = set"; then |
4003 echo $ac_n "(cached) $ac_c" 1>&6 | 4005 echo $ac_n "(cached) $ac_c" 1>&6 |
4004 else | 4006 else |
4005 cat > conftest.$ac_ext <<EOF | 4007 cat > conftest.$ac_ext <<EOF |
4006 #line 4007 "configure" | 4008 #line 4009 "configure" |
4007 #include "confdefs.h" | 4009 #include "confdefs.h" |
4008 /* System header to define __stub macros and hopefully few prototypes, | 4010 /* System header to define __stub macros and hopefully few prototypes, |
4009 which can conflict with char malloc_get_state(); below. */ | 4011 which can conflict with char malloc_get_state(); below. */ |
4010 #include <assert.h> | 4012 #include <assert.h> |
4011 /* Override any gcc2 internal prototype to avoid an error. */ | 4013 /* Override any gcc2 internal prototype to avoid an error. */ |
4024 malloc_get_state(); | 4026 malloc_get_state(); |
4025 #endif | 4027 #endif |
4026 | 4028 |
4027 ; return 0; } | 4029 ; return 0; } |
4028 EOF | 4030 EOF |
4029 if { (eval echo configure:4030: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4031 if { (eval echo configure:4032: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4030 rm -rf conftest* | 4032 rm -rf conftest* |
4031 eval "ac_cv_func_malloc_get_state=yes" | 4033 eval "ac_cv_func_malloc_get_state=yes" |
4032 else | 4034 else |
4033 echo "configure: failed program was:" >&5 | 4035 echo "configure: failed program was:" >&5 |
4034 cat conftest.$ac_ext >&5 | 4036 cat conftest.$ac_ext >&5 |
4045 echo "$ac_t""no" 1>&6 | 4047 echo "$ac_t""no" 1>&6 |
4046 doug_lea_malloc=no | 4048 doug_lea_malloc=no |
4047 fi | 4049 fi |
4048 | 4050 |
4049 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 | 4051 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 |
4050 echo "configure:4051: checking for malloc_set_state" >&5 | 4052 echo "configure:4053: checking for malloc_set_state" >&5 |
4051 if eval "test \"`echo '$''{'ac_cv_func_malloc_set_state'+set}'`\" = set"; then | 4053 if eval "test \"`echo '$''{'ac_cv_func_malloc_set_state'+set}'`\" = set"; then |
4052 echo $ac_n "(cached) $ac_c" 1>&6 | 4054 echo $ac_n "(cached) $ac_c" 1>&6 |
4053 else | 4055 else |
4054 cat > conftest.$ac_ext <<EOF | 4056 cat > conftest.$ac_ext <<EOF |
4055 #line 4056 "configure" | 4057 #line 4058 "configure" |
4056 #include "confdefs.h" | 4058 #include "confdefs.h" |
4057 /* System header to define __stub macros and hopefully few prototypes, | 4059 /* System header to define __stub macros and hopefully few prototypes, |
4058 which can conflict with char malloc_set_state(); below. */ | 4060 which can conflict with char malloc_set_state(); below. */ |
4059 #include <assert.h> | 4061 #include <assert.h> |
4060 /* Override any gcc2 internal prototype to avoid an error. */ | 4062 /* Override any gcc2 internal prototype to avoid an error. */ |
4073 malloc_set_state(); | 4075 malloc_set_state(); |
4074 #endif | 4076 #endif |
4075 | 4077 |
4076 ; return 0; } | 4078 ; return 0; } |
4077 EOF | 4079 EOF |
4078 if { (eval echo configure:4079: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4080 if { (eval echo configure:4081: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4079 rm -rf conftest* | 4081 rm -rf conftest* |
4080 eval "ac_cv_func_malloc_set_state=yes" | 4082 eval "ac_cv_func_malloc_set_state=yes" |
4081 else | 4083 else |
4082 echo "configure: failed program was:" >&5 | 4084 echo "configure: failed program was:" >&5 |
4083 cat conftest.$ac_ext >&5 | 4085 cat conftest.$ac_ext >&5 |
4094 echo "$ac_t""no" 1>&6 | 4096 echo "$ac_t""no" 1>&6 |
4095 doug_lea_malloc=no | 4097 doug_lea_malloc=no |
4096 fi | 4098 fi |
4097 | 4099 |
4098 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 | 4100 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 |
4099 echo "configure:4100: checking whether __after_morecore_hook exists" >&5 | 4101 echo "configure:4102: checking whether __after_morecore_hook exists" >&5 |
4100 if eval "test \"`echo '$''{'emacs_cv_var___after_morecore_hook'+set}'`\" = set"; then | 4102 if eval "test \"`echo '$''{'emacs_cv_var___after_morecore_hook'+set}'`\" = set"; then |
4101 echo $ac_n "(cached) $ac_c" 1>&6 | 4103 echo $ac_n "(cached) $ac_c" 1>&6 |
4102 else | 4104 else |
4103 cat > conftest.$ac_ext <<EOF | 4105 cat > conftest.$ac_ext <<EOF |
4104 #line 4105 "configure" | 4106 #line 4107 "configure" |
4105 #include "confdefs.h" | 4107 #include "confdefs.h" |
4106 extern void (* __after_morecore_hook)(); | 4108 extern void (* __after_morecore_hook)(); |
4107 int main() { | 4109 int main() { |
4108 __after_morecore_hook = 0 | 4110 __after_morecore_hook = 0 |
4109 ; return 0; } | 4111 ; return 0; } |
4110 EOF | 4112 EOF |
4111 if { (eval echo configure:4112: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4113 if { (eval echo configure:4114: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4112 rm -rf conftest* | 4114 rm -rf conftest* |
4113 emacs_cv_var___after_morecore_hook=yes | 4115 emacs_cv_var___after_morecore_hook=yes |
4114 else | 4116 else |
4115 echo "configure: failed program was:" >&5 | 4117 echo "configure: failed program was:" >&5 |
4116 cat conftest.$ac_ext >&5 | 4118 cat conftest.$ac_ext >&5 |
4145 fi | 4147 fi |
4146 | 4148 |
4147 LIBS="$libsrc_libs $LIBS" | 4149 LIBS="$libsrc_libs $LIBS" |
4148 | 4150 |
4149 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 | 4151 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
4150 echo "configure:4151: checking for dnet_ntoa in -ldnet" >&5 | 4152 echo "configure:4153: checking for dnet_ntoa in -ldnet" >&5 |
4151 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 4153 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
4152 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 4154 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
4153 echo $ac_n "(cached) $ac_c" 1>&6 | 4155 echo $ac_n "(cached) $ac_c" 1>&6 |
4154 else | 4156 else |
4155 ac_save_LIBS="$LIBS" | 4157 ac_save_LIBS="$LIBS" |
4156 LIBS="-ldnet $LIBS" | 4158 LIBS="-ldnet $LIBS" |
4157 cat > conftest.$ac_ext <<EOF | 4159 cat > conftest.$ac_ext <<EOF |
4158 #line 4159 "configure" | 4160 #line 4161 "configure" |
4159 #include "confdefs.h" | 4161 #include "confdefs.h" |
4160 /* Override any gcc2 internal prototype to avoid an error. */ | 4162 /* Override any gcc2 internal prototype to avoid an error. */ |
4161 /* We use char because int might match the return type of a gcc2 | 4163 /* We use char because int might match the return type of a gcc2 |
4162 builtin and then its argument prototype would still apply. */ | 4164 builtin and then its argument prototype would still apply. */ |
4163 char dnet_ntoa(); | 4165 char dnet_ntoa(); |
4164 | 4166 |
4165 int main() { | 4167 int main() { |
4166 dnet_ntoa() | 4168 dnet_ntoa() |
4167 ; return 0; } | 4169 ; return 0; } |
4168 EOF | 4170 EOF |
4169 if { (eval echo configure:4170: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4171 if { (eval echo configure:4172: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4170 rm -rf conftest* | 4172 rm -rf conftest* |
4171 eval "ac_cv_lib_$ac_lib_var=yes" | 4173 eval "ac_cv_lib_$ac_lib_var=yes" |
4172 else | 4174 else |
4173 echo "configure: failed program was:" >&5 | 4175 echo "configure: failed program was:" >&5 |
4174 cat conftest.$ac_ext >&5 | 4176 cat conftest.$ac_ext >&5 |
4193 echo "$ac_t""no" 1>&6 | 4195 echo "$ac_t""no" 1>&6 |
4194 fi | 4196 fi |
4195 | 4197 |
4196 | 4198 |
4197 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 | 4199 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 |
4198 echo "configure:4199: checking for main in -lXbsd" >&5 | 4200 echo "configure:4201: checking for main in -lXbsd" >&5 |
4199 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` | 4201 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` |
4200 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 4202 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
4201 echo $ac_n "(cached) $ac_c" 1>&6 | 4203 echo $ac_n "(cached) $ac_c" 1>&6 |
4202 else | 4204 else |
4203 ac_save_LIBS="$LIBS" | 4205 ac_save_LIBS="$LIBS" |
4204 LIBS="-lXbsd $LIBS" | 4206 LIBS="-lXbsd $LIBS" |
4205 cat > conftest.$ac_ext <<EOF | 4207 cat > conftest.$ac_ext <<EOF |
4206 #line 4207 "configure" | 4208 #line 4209 "configure" |
4207 #include "confdefs.h" | 4209 #include "confdefs.h" |
4208 | 4210 |
4209 int main() { | 4211 int main() { |
4210 main() | 4212 main() |
4211 ; return 0; } | 4213 ; return 0; } |
4212 EOF | 4214 EOF |
4213 if { (eval echo configure:4214: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4215 if { (eval echo configure:4216: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4214 rm -rf conftest* | 4216 rm -rf conftest* |
4215 eval "ac_cv_lib_$ac_lib_var=yes" | 4217 eval "ac_cv_lib_$ac_lib_var=yes" |
4216 else | 4218 else |
4217 echo "configure: failed program was:" >&5 | 4219 echo "configure: failed program was:" >&5 |
4218 cat conftest.$ac_ext >&5 | 4220 cat conftest.$ac_ext >&5 |
4230 echo "$ac_t""no" 1>&6 | 4232 echo "$ac_t""no" 1>&6 |
4231 fi | 4233 fi |
4232 | 4234 |
4233 | 4235 |
4234 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 | 4236 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 |
4235 echo "configure:4236: checking for cma_open in -lpthreads" >&5 | 4237 echo "configure:4238: checking for cma_open in -lpthreads" >&5 |
4236 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` | 4238 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` |
4237 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 4239 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
4238 echo $ac_n "(cached) $ac_c" 1>&6 | 4240 echo $ac_n "(cached) $ac_c" 1>&6 |
4239 else | 4241 else |
4240 ac_save_LIBS="$LIBS" | 4242 ac_save_LIBS="$LIBS" |
4241 LIBS="-lpthreads $LIBS" | 4243 LIBS="-lpthreads $LIBS" |
4242 cat > conftest.$ac_ext <<EOF | 4244 cat > conftest.$ac_ext <<EOF |
4243 #line 4244 "configure" | 4245 #line 4246 "configure" |
4244 #include "confdefs.h" | 4246 #include "confdefs.h" |
4245 /* Override any gcc2 internal prototype to avoid an error. */ | 4247 /* Override any gcc2 internal prototype to avoid an error. */ |
4246 /* We use char because int might match the return type of a gcc2 | 4248 /* We use char because int might match the return type of a gcc2 |
4247 builtin and then its argument prototype would still apply. */ | 4249 builtin and then its argument prototype would still apply. */ |
4248 char cma_open(); | 4250 char cma_open(); |
4249 | 4251 |
4250 int main() { | 4252 int main() { |
4251 cma_open() | 4253 cma_open() |
4252 ; return 0; } | 4254 ; return 0; } |
4253 EOF | 4255 EOF |
4254 if { (eval echo configure:4255: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4256 if { (eval echo configure:4257: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4255 rm -rf conftest* | 4257 rm -rf conftest* |
4256 eval "ac_cv_lib_$ac_lib_var=yes" | 4258 eval "ac_cv_lib_$ac_lib_var=yes" |
4257 else | 4259 else |
4258 echo "configure: failed program was:" >&5 | 4260 echo "configure: failed program was:" >&5 |
4259 cat conftest.$ac_ext >&5 | 4261 cat conftest.$ac_ext >&5 |
4278 echo "$ac_t""no" 1>&6 | 4280 echo "$ac_t""no" 1>&6 |
4279 fi | 4281 fi |
4280 | 4282 |
4281 | 4283 |
4282 echo $ac_n "checking for XFree86 in /usr/X386""... $ac_c" 1>&6 | 4284 echo $ac_n "checking for XFree86 in /usr/X386""... $ac_c" 1>&6 |
4283 echo "configure:4284: checking for XFree86 in /usr/X386" >&5 | 4285 echo "configure:4286: checking for XFree86 in /usr/X386" >&5 |
4284 if test -d /usr/X386/include; then | 4286 if test -d /usr/X386/include; then |
4285 HAVE_XFREE386=yes | 4287 HAVE_XFREE386=yes |
4286 : ${C_SWITCH_X_SITE="-I/usr/X386/include"} | 4288 : ${C_SWITCH_X_SITE="-I/usr/X386/include"} |
4287 else | 4289 else |
4288 HAVE_XFREE386=no | 4290 HAVE_XFREE386=no |
4310 export LD_RUN_PATH | 4312 export LD_RUN_PATH |
4311 fi | 4313 fi |
4312 | 4314 |
4313 if test "${opsys}" = "gnu-linux"; then | 4315 if test "${opsys}" = "gnu-linux"; then |
4314 echo $ac_n "checking whether X on GNU/Linux needs -b to link""... $ac_c" 1>&6 | 4316 echo $ac_n "checking whether X on GNU/Linux needs -b to link""... $ac_c" 1>&6 |
4315 echo "configure:4316: checking whether X on GNU/Linux needs -b to link" >&5 | 4317 echo "configure:4318: checking whether X on GNU/Linux needs -b to link" >&5 |
4316 cat > conftest.$ac_ext <<EOF | 4318 cat > conftest.$ac_ext <<EOF |
4317 #line 4318 "configure" | 4319 #line 4320 "configure" |
4318 #include "confdefs.h" | 4320 #include "confdefs.h" |
4319 | 4321 |
4320 int main() { | 4322 int main() { |
4321 XOpenDisplay ("foo"); | 4323 XOpenDisplay ("foo"); |
4322 ; return 0; } | 4324 ; return 0; } |
4323 EOF | 4325 EOF |
4324 if { (eval echo configure:4325: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4326 if { (eval echo configure:4327: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4325 rm -rf conftest* | 4327 rm -rf conftest* |
4326 xlinux_first_failure=no | 4328 xlinux_first_failure=no |
4327 else | 4329 else |
4328 echo "configure: failed program was:" >&5 | 4330 echo "configure: failed program was:" >&5 |
4329 cat conftest.$ac_ext >&5 | 4331 cat conftest.$ac_ext >&5 |
4339 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -b i486-linuxaout" | 4341 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -b i486-linuxaout" |
4340 C_SWITCH_X_SITE="$C_SWITCH_X_SITE -b i486-linuxaout" | 4342 C_SWITCH_X_SITE="$C_SWITCH_X_SITE -b i486-linuxaout" |
4341 CPPFLAGS="$CPPFLAGS -b i486-linuxaout" | 4343 CPPFLAGS="$CPPFLAGS -b i486-linuxaout" |
4342 LIBS="$LIBS -b i486-linuxaout" | 4344 LIBS="$LIBS -b i486-linuxaout" |
4343 cat > conftest.$ac_ext <<EOF | 4345 cat > conftest.$ac_ext <<EOF |
4344 #line 4345 "configure" | 4346 #line 4347 "configure" |
4345 #include "confdefs.h" | 4347 #include "confdefs.h" |
4346 | 4348 |
4347 int main() { | 4349 int main() { |
4348 XOpenDisplay ("foo"); | 4350 XOpenDisplay ("foo"); |
4349 ; return 0; } | 4351 ; return 0; } |
4350 EOF | 4352 EOF |
4351 if { (eval echo configure:4352: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4353 if { (eval echo configure:4354: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4352 rm -rf conftest* | 4354 rm -rf conftest* |
4353 xlinux_second_failure=no | 4355 xlinux_second_failure=no |
4354 else | 4356 else |
4355 echo "configure: failed program was:" >&5 | 4357 echo "configure: failed program was:" >&5 |
4356 cat conftest.$ac_ext >&5 | 4358 cat conftest.$ac_ext >&5 |
4376 | 4378 |
4377 for ac_func in XrmSetDatabase XScreenResourceString \ | 4379 for ac_func in XrmSetDatabase XScreenResourceString \ |
4378 XScreenNumberOfScreen XSetWMProtocols | 4380 XScreenNumberOfScreen XSetWMProtocols |
4379 do | 4381 do |
4380 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 4382 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
4381 echo "configure:4382: checking for $ac_func" >&5 | 4383 echo "configure:4384: checking for $ac_func" >&5 |
4382 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 4384 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
4383 echo $ac_n "(cached) $ac_c" 1>&6 | 4385 echo $ac_n "(cached) $ac_c" 1>&6 |
4384 else | 4386 else |
4385 cat > conftest.$ac_ext <<EOF | 4387 cat > conftest.$ac_ext <<EOF |
4386 #line 4387 "configure" | 4388 #line 4389 "configure" |
4387 #include "confdefs.h" | 4389 #include "confdefs.h" |
4388 /* System header to define __stub macros and hopefully few prototypes, | 4390 /* System header to define __stub macros and hopefully few prototypes, |
4389 which can conflict with char $ac_func(); below. */ | 4391 which can conflict with char $ac_func(); below. */ |
4390 #include <assert.h> | 4392 #include <assert.h> |
4391 /* Override any gcc2 internal prototype to avoid an error. */ | 4393 /* Override any gcc2 internal prototype to avoid an error. */ |
4404 $ac_func(); | 4406 $ac_func(); |
4405 #endif | 4407 #endif |
4406 | 4408 |
4407 ; return 0; } | 4409 ; return 0; } |
4408 EOF | 4410 EOF |
4409 if { (eval echo configure:4410: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4411 if { (eval echo configure:4412: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4410 rm -rf conftest* | 4412 rm -rf conftest* |
4411 eval "ac_cv_func_$ac_func=yes" | 4413 eval "ac_cv_func_$ac_func=yes" |
4412 else | 4414 else |
4413 echo "configure: failed program was:" >&5 | 4415 echo "configure: failed program was:" >&5 |
4414 cat conftest.$ac_ext >&5 | 4416 cat conftest.$ac_ext >&5 |
4432 | 4434 |
4433 fi | 4435 fi |
4434 | 4436 |
4435 if test "${window_system}" = "x11"; then | 4437 if test "${window_system}" = "x11"; then |
4436 echo $ac_n "checking X11 version 6""... $ac_c" 1>&6 | 4438 echo $ac_n "checking X11 version 6""... $ac_c" 1>&6 |
4437 echo "configure:4438: checking X11 version 6" >&5 | 4439 echo "configure:4440: checking X11 version 6" >&5 |
4438 if eval "test \"`echo '$''{'emacs_cv_x11_version_6'+set}'`\" = set"; then | 4440 if eval "test \"`echo '$''{'emacs_cv_x11_version_6'+set}'`\" = set"; then |
4439 echo $ac_n "(cached) $ac_c" 1>&6 | 4441 echo $ac_n "(cached) $ac_c" 1>&6 |
4440 else | 4442 else |
4441 cat > conftest.$ac_ext <<EOF | 4443 cat > conftest.$ac_ext <<EOF |
4442 #line 4443 "configure" | 4444 #line 4445 "configure" |
4443 #include "confdefs.h" | 4445 #include "confdefs.h" |
4444 #include <X11/Xlib.h> | 4446 #include <X11/Xlib.h> |
4445 int main() { | 4447 int main() { |
4446 #if XlibSpecificationRelease < 6 | 4448 #if XlibSpecificationRelease < 6 |
4447 fail; | 4449 fail; |
4448 #endif | 4450 #endif |
4449 | 4451 |
4450 ; return 0; } | 4452 ; return 0; } |
4451 EOF | 4453 EOF |
4452 if { (eval echo configure:4453: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4454 if { (eval echo configure:4455: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4453 rm -rf conftest* | 4455 rm -rf conftest* |
4454 emacs_cv_x11_version_6=yes | 4456 emacs_cv_x11_version_6=yes |
4455 else | 4457 else |
4456 echo "configure: failed program was:" >&5 | 4458 echo "configure: failed program was:" >&5 |
4457 cat conftest.$ac_ext >&5 | 4459 cat conftest.$ac_ext >&5 |
4472 fi | 4474 fi |
4473 fi | 4475 fi |
4474 | 4476 |
4475 if test "${window_system}" = "x11"; then | 4477 if test "${window_system}" = "x11"; then |
4476 echo $ac_n "checking X11 version 5""... $ac_c" 1>&6 | 4478 echo $ac_n "checking X11 version 5""... $ac_c" 1>&6 |
4477 echo "configure:4478: checking X11 version 5" >&5 | 4479 echo "configure:4480: checking X11 version 5" >&5 |
4478 if eval "test \"`echo '$''{'emacs_cv_x11_version_5'+set}'`\" = set"; then | 4480 if eval "test \"`echo '$''{'emacs_cv_x11_version_5'+set}'`\" = set"; then |
4479 echo $ac_n "(cached) $ac_c" 1>&6 | 4481 echo $ac_n "(cached) $ac_c" 1>&6 |
4480 else | 4482 else |
4481 cat > conftest.$ac_ext <<EOF | 4483 cat > conftest.$ac_ext <<EOF |
4482 #line 4483 "configure" | 4484 #line 4485 "configure" |
4483 #include "confdefs.h" | 4485 #include "confdefs.h" |
4484 #include <X11/Xlib.h> | 4486 #include <X11/Xlib.h> |
4485 int main() { | 4487 int main() { |
4486 #if XlibSpecificationRelease < 5 | 4488 #if XlibSpecificationRelease < 5 |
4487 fail; | 4489 fail; |
4488 #endif | 4490 #endif |
4489 | 4491 |
4490 ; return 0; } | 4492 ; return 0; } |
4491 EOF | 4493 EOF |
4492 if { (eval echo configure:4493: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4494 if { (eval echo configure:4495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4493 rm -rf conftest* | 4495 rm -rf conftest* |
4494 emacs_cv_x11_version_5=yes | 4496 emacs_cv_x11_version_5=yes |
4495 else | 4497 else |
4496 echo "configure: failed program was:" >&5 | 4498 echo "configure: failed program was:" >&5 |
4497 cat conftest.$ac_ext >&5 | 4499 cat conftest.$ac_ext >&5 |
4515 fi | 4517 fi |
4516 | 4518 |
4517 if test x"${USE_X_TOOLKIT}" = xmaybe; then | 4519 if test x"${USE_X_TOOLKIT}" = xmaybe; then |
4518 if test x"${HAVE_X11R5}" = xyes; then | 4520 if test x"${HAVE_X11R5}" = xyes; then |
4519 echo $ac_n "checking X11 version 5 with Xaw""... $ac_c" 1>&6 | 4521 echo $ac_n "checking X11 version 5 with Xaw""... $ac_c" 1>&6 |
4520 echo "configure:4521: checking X11 version 5 with Xaw" >&5 | 4522 echo "configure:4523: checking X11 version 5 with Xaw" >&5 |
4521 if eval "test \"`echo '$''{'emacs_cv_x11_version_5_with_xaw'+set}'`\" = set"; then | 4523 if eval "test \"`echo '$''{'emacs_cv_x11_version_5_with_xaw'+set}'`\" = set"; then |
4522 echo $ac_n "(cached) $ac_c" 1>&6 | 4524 echo $ac_n "(cached) $ac_c" 1>&6 |
4523 else | 4525 else |
4524 cat > conftest.$ac_ext <<EOF | 4526 cat > conftest.$ac_ext <<EOF |
4525 #line 4526 "configure" | 4527 #line 4528 "configure" |
4526 #include "confdefs.h" | 4528 #include "confdefs.h" |
4527 | 4529 |
4528 #include <X11/Intrinsic.h> | 4530 #include <X11/Intrinsic.h> |
4529 #include <X11/Xaw/Simple.h> | 4531 #include <X11/Xaw/Simple.h> |
4530 int main() { | 4532 int main() { |
4531 | 4533 |
4532 ; return 0; } | 4534 ; return 0; } |
4533 EOF | 4535 EOF |
4534 if { (eval echo configure:4535: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4536 if { (eval echo configure:4537: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4535 rm -rf conftest* | 4537 rm -rf conftest* |
4536 emacs_cv_x11_version_5_with_xaw=yes | 4538 emacs_cv_x11_version_5_with_xaw=yes |
4537 else | 4539 else |
4538 echo "configure: failed program was:" >&5 | 4540 echo "configure: failed program was:" >&5 |
4539 cat conftest.$ac_ext >&5 | 4541 cat conftest.$ac_ext >&5 |
4557 | 4559 |
4558 X_TOOLKIT_TYPE=$USE_X_TOOLKIT | 4560 X_TOOLKIT_TYPE=$USE_X_TOOLKIT |
4559 | 4561 |
4560 if test "${USE_X_TOOLKIT}" != "none"; then | 4562 if test "${USE_X_TOOLKIT}" != "none"; then |
4561 echo $ac_n "checking X11 toolkit version""... $ac_c" 1>&6 | 4563 echo $ac_n "checking X11 toolkit version""... $ac_c" 1>&6 |
4562 echo "configure:4563: checking X11 toolkit version" >&5 | 4564 echo "configure:4565: checking X11 toolkit version" >&5 |
4563 if eval "test \"`echo '$''{'emacs_cv_x11_toolkit_version_6'+set}'`\" = set"; then | 4565 if eval "test \"`echo '$''{'emacs_cv_x11_toolkit_version_6'+set}'`\" = set"; then |
4564 echo $ac_n "(cached) $ac_c" 1>&6 | 4566 echo $ac_n "(cached) $ac_c" 1>&6 |
4565 else | 4567 else |
4566 cat > conftest.$ac_ext <<EOF | 4568 cat > conftest.$ac_ext <<EOF |
4567 #line 4568 "configure" | 4569 #line 4570 "configure" |
4568 #include "confdefs.h" | 4570 #include "confdefs.h" |
4569 #include <X11/Intrinsic.h> | 4571 #include <X11/Intrinsic.h> |
4570 int main() { | 4572 int main() { |
4571 #if XtSpecificationRelease < 6 | 4573 #if XtSpecificationRelease < 6 |
4572 fail; | 4574 fail; |
4573 #endif | 4575 #endif |
4574 | 4576 |
4575 ; return 0; } | 4577 ; return 0; } |
4576 EOF | 4578 EOF |
4577 if { (eval echo configure:4578: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4579 if { (eval echo configure:4580: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4578 rm -rf conftest* | 4580 rm -rf conftest* |
4579 emacs_cv_x11_toolkit_version_6=yes | 4581 emacs_cv_x11_toolkit_version_6=yes |
4580 else | 4582 else |
4581 echo "configure: failed program was:" >&5 | 4583 echo "configure: failed program was:" >&5 |
4582 cat conftest.$ac_ext >&5 | 4584 cat conftest.$ac_ext >&5 |
4602 LIBS="-lXt -lSM -lICE $LIBS" | 4604 LIBS="-lXt -lSM -lICE $LIBS" |
4603 else | 4605 else |
4604 LIBS="-lXt $LIBS" | 4606 LIBS="-lXt $LIBS" |
4605 fi | 4607 fi |
4606 echo $ac_n "checking for XmuConvertStandardSelection in -lXmu""... $ac_c" 1>&6 | 4608 echo $ac_n "checking for XmuConvertStandardSelection in -lXmu""... $ac_c" 1>&6 |
4607 echo "configure:4608: checking for XmuConvertStandardSelection in -lXmu" >&5 | 4609 echo "configure:4610: checking for XmuConvertStandardSelection in -lXmu" >&5 |
4608 ac_lib_var=`echo Xmu'_'XmuConvertStandardSelection | sed 'y%./+-%__p_%'` | 4610 ac_lib_var=`echo Xmu'_'XmuConvertStandardSelection | sed 'y%./+-%__p_%'` |
4609 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 4611 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
4610 echo $ac_n "(cached) $ac_c" 1>&6 | 4612 echo $ac_n "(cached) $ac_c" 1>&6 |
4611 else | 4613 else |
4612 ac_save_LIBS="$LIBS" | 4614 ac_save_LIBS="$LIBS" |
4613 LIBS="-lXmu $LIBS" | 4615 LIBS="-lXmu $LIBS" |
4614 cat > conftest.$ac_ext <<EOF | 4616 cat > conftest.$ac_ext <<EOF |
4615 #line 4616 "configure" | 4617 #line 4618 "configure" |
4616 #include "confdefs.h" | 4618 #include "confdefs.h" |
4617 /* Override any gcc2 internal prototype to avoid an error. */ | 4619 /* Override any gcc2 internal prototype to avoid an error. */ |
4618 /* We use char because int might match the return type of a gcc2 | 4620 /* We use char because int might match the return type of a gcc2 |
4619 builtin and then its argument prototype would still apply. */ | 4621 builtin and then its argument prototype would still apply. */ |
4620 char XmuConvertStandardSelection(); | 4622 char XmuConvertStandardSelection(); |
4621 | 4623 |
4622 int main() { | 4624 int main() { |
4623 XmuConvertStandardSelection() | 4625 XmuConvertStandardSelection() |
4624 ; return 0; } | 4626 ; return 0; } |
4625 EOF | 4627 EOF |
4626 if { (eval echo configure:4627: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4628 if { (eval echo configure:4629: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4627 rm -rf conftest* | 4629 rm -rf conftest* |
4628 eval "ac_cv_lib_$ac_lib_var=yes" | 4630 eval "ac_cv_lib_$ac_lib_var=yes" |
4629 else | 4631 else |
4630 echo "configure: failed program was:" >&5 | 4632 echo "configure: failed program was:" >&5 |
4631 cat conftest.$ac_ext >&5 | 4633 cat conftest.$ac_ext >&5 |
4653 LIBS="$OLDLIBS" | 4655 LIBS="$OLDLIBS" |
4654 fi | 4656 fi |
4655 | 4657 |
4656 if test "${USE_X_TOOLKIT}" = "MOTIF"; then | 4658 if test "${USE_X_TOOLKIT}" = "MOTIF"; then |
4657 echo $ac_n "checking for Motif version 2.1""... $ac_c" 1>&6 | 4659 echo $ac_n "checking for Motif version 2.1""... $ac_c" 1>&6 |
4658 echo "configure:4659: checking for Motif version 2.1" >&5 | 4660 echo "configure:4661: checking for Motif version 2.1" >&5 |
4659 if eval "test \"`echo '$''{'emacs_cv_motif_version_2_1'+set}'`\" = set"; then | 4661 if eval "test \"`echo '$''{'emacs_cv_motif_version_2_1'+set}'`\" = set"; then |
4660 echo $ac_n "(cached) $ac_c" 1>&6 | 4662 echo $ac_n "(cached) $ac_c" 1>&6 |
4661 else | 4663 else |
4662 cat > conftest.$ac_ext <<EOF | 4664 cat > conftest.$ac_ext <<EOF |
4663 #line 4664 "configure" | 4665 #line 4666 "configure" |
4664 #include "confdefs.h" | 4666 #include "confdefs.h" |
4665 #include <Xm/Xm.h> | 4667 #include <Xm/Xm.h> |
4666 int main() { | 4668 int main() { |
4667 #if XmVERSION > 2 || (XmVERSION == 2 && XmREVISION >= 1) | 4669 #if XmVERSION > 2 || (XmVERSION == 2 && XmREVISION >= 1) |
4668 int x = 5; | 4670 int x = 5; |
4669 #else | 4671 #else |
4670 Motif version prior to 2.1. | 4672 Motif version prior to 2.1. |
4671 #endif | 4673 #endif |
4672 ; return 0; } | 4674 ; return 0; } |
4673 EOF | 4675 EOF |
4674 if { (eval echo configure:4675: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4676 if { (eval echo configure:4677: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4675 rm -rf conftest* | 4677 rm -rf conftest* |
4676 emacs_cv_motif_version_2_1=yes | 4678 emacs_cv_motif_version_2_1=yes |
4677 else | 4679 else |
4678 echo "configure: failed program was:" >&5 | 4680 echo "configure: failed program was:" >&5 |
4679 cat conftest.$ac_ext >&5 | 4681 cat conftest.$ac_ext >&5 |
4689 cat >> confdefs.h <<\EOF | 4691 cat >> confdefs.h <<\EOF |
4690 #define HAVE_MOTIF_2_1 1 | 4692 #define HAVE_MOTIF_2_1 1 |
4691 EOF | 4693 EOF |
4692 | 4694 |
4693 echo $ac_n "checking for XpCreateContext in -lXp""... $ac_c" 1>&6 | 4695 echo $ac_n "checking for XpCreateContext in -lXp""... $ac_c" 1>&6 |
4694 echo "configure:4695: checking for XpCreateContext in -lXp" >&5 | 4696 echo "configure:4697: checking for XpCreateContext in -lXp" >&5 |
4695 ac_lib_var=`echo Xp'_'XpCreateContext | sed 'y%./+-%__p_%'` | 4697 ac_lib_var=`echo Xp'_'XpCreateContext | sed 'y%./+-%__p_%'` |
4696 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 4698 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
4697 echo $ac_n "(cached) $ac_c" 1>&6 | 4699 echo $ac_n "(cached) $ac_c" 1>&6 |
4698 else | 4700 else |
4699 ac_save_LIBS="$LIBS" | 4701 ac_save_LIBS="$LIBS" |
4700 LIBS="-lXp -lXext $LIBS" | 4702 LIBS="-lXp -lXext $LIBS" |
4701 cat > conftest.$ac_ext <<EOF | 4703 cat > conftest.$ac_ext <<EOF |
4702 #line 4703 "configure" | 4704 #line 4705 "configure" |
4703 #include "confdefs.h" | 4705 #include "confdefs.h" |
4704 /* Override any gcc2 internal prototype to avoid an error. */ | 4706 /* Override any gcc2 internal prototype to avoid an error. */ |
4705 /* We use char because int might match the return type of a gcc2 | 4707 /* We use char because int might match the return type of a gcc2 |
4706 builtin and then its argument prototype would still apply. */ | 4708 builtin and then its argument prototype would still apply. */ |
4707 char XpCreateContext(); | 4709 char XpCreateContext(); |
4708 | 4710 |
4709 int main() { | 4711 int main() { |
4710 XpCreateContext() | 4712 XpCreateContext() |
4711 ; return 0; } | 4713 ; return 0; } |
4712 EOF | 4714 EOF |
4713 if { (eval echo configure:4714: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4715 if { (eval echo configure:4716: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4714 rm -rf conftest* | 4716 rm -rf conftest* |
4715 eval "ac_cv_lib_$ac_lib_var=yes" | 4717 eval "ac_cv_lib_$ac_lib_var=yes" |
4716 else | 4718 else |
4717 echo "configure: failed program was:" >&5 | 4719 echo "configure: failed program was:" >&5 |
4718 cat conftest.$ac_ext >&5 | 4720 cat conftest.$ac_ext >&5 |
4745 if test "${USE_X_TOOLKIT}" != "none"; then | 4747 if test "${USE_X_TOOLKIT}" != "none"; then |
4746 old_c_flags="${CFLAGS}" | 4748 old_c_flags="${CFLAGS}" |
4747 CFLAGS="${LD_SWITCH_X_SITE}" | 4749 CFLAGS="${LD_SWITCH_X_SITE}" |
4748 ac_safe=`echo "X11/Xaw3d/Scrollbar.h" | sed 'y%./+-%__p_%'` | 4750 ac_safe=`echo "X11/Xaw3d/Scrollbar.h" | sed 'y%./+-%__p_%'` |
4749 echo $ac_n "checking for X11/Xaw3d/Scrollbar.h""... $ac_c" 1>&6 | 4751 echo $ac_n "checking for X11/Xaw3d/Scrollbar.h""... $ac_c" 1>&6 |
4750 echo "configure:4751: checking for X11/Xaw3d/Scrollbar.h" >&5 | 4752 echo "configure:4753: checking for X11/Xaw3d/Scrollbar.h" >&5 |
4751 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 4753 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
4752 echo $ac_n "(cached) $ac_c" 1>&6 | 4754 echo $ac_n "(cached) $ac_c" 1>&6 |
4753 else | 4755 else |
4754 cat > conftest.$ac_ext <<EOF | 4756 cat > conftest.$ac_ext <<EOF |
4755 #line 4756 "configure" | 4757 #line 4758 "configure" |
4756 #include "confdefs.h" | 4758 #include "confdefs.h" |
4757 #include <X11/Xaw3d/Scrollbar.h> | 4759 #include <X11/Xaw3d/Scrollbar.h> |
4758 EOF | 4760 EOF |
4759 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4761 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4760 { (eval echo configure:4761: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4762 { (eval echo configure:4763: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4761 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 4763 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
4762 if test -z "$ac_err"; then | 4764 if test -z "$ac_err"; then |
4763 rm -rf conftest* | 4765 rm -rf conftest* |
4764 eval "ac_cv_header_$ac_safe=yes" | 4766 eval "ac_cv_header_$ac_safe=yes" |
4765 else | 4767 else |
4772 rm -f conftest* | 4774 rm -f conftest* |
4773 fi | 4775 fi |
4774 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 4776 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
4775 echo "$ac_t""yes" 1>&6 | 4777 echo "$ac_t""yes" 1>&6 |
4776 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw3d""... $ac_c" 1>&6 | 4778 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw3d""... $ac_c" 1>&6 |
4777 echo "configure:4778: checking for XawScrollbarSetThumb in -lXaw3d" >&5 | 4779 echo "configure:4780: checking for XawScrollbarSetThumb in -lXaw3d" >&5 |
4778 ac_lib_var=`echo Xaw3d'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 4780 ac_lib_var=`echo Xaw3d'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
4779 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 4781 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
4780 echo $ac_n "(cached) $ac_c" 1>&6 | 4782 echo $ac_n "(cached) $ac_c" 1>&6 |
4781 else | 4783 else |
4782 ac_save_LIBS="$LIBS" | 4784 ac_save_LIBS="$LIBS" |
4783 LIBS="-lXaw3d -lX11 $LIBS" | 4785 LIBS="-lXaw3d -lX11 $LIBS" |
4784 cat > conftest.$ac_ext <<EOF | 4786 cat > conftest.$ac_ext <<EOF |
4785 #line 4786 "configure" | 4787 #line 4788 "configure" |
4786 #include "confdefs.h" | 4788 #include "confdefs.h" |
4787 /* Override any gcc2 internal prototype to avoid an error. */ | 4789 /* Override any gcc2 internal prototype to avoid an error. */ |
4788 /* We use char because int might match the return type of a gcc2 | 4790 /* We use char because int might match the return type of a gcc2 |
4789 builtin and then its argument prototype would still apply. */ | 4791 builtin and then its argument prototype would still apply. */ |
4790 char XawScrollbarSetThumb(); | 4792 char XawScrollbarSetThumb(); |
4791 | 4793 |
4792 int main() { | 4794 int main() { |
4793 XawScrollbarSetThumb() | 4795 XawScrollbarSetThumb() |
4794 ; return 0; } | 4796 ; return 0; } |
4795 EOF | 4797 EOF |
4796 if { (eval echo configure:4797: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4798 if { (eval echo configure:4799: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4797 rm -rf conftest* | 4799 rm -rf conftest* |
4798 eval "ac_cv_lib_$ac_lib_var=yes" | 4800 eval "ac_cv_lib_$ac_lib_var=yes" |
4799 else | 4801 else |
4800 echo "configure: failed program was:" >&5 | 4802 echo "configure: failed program was:" >&5 |
4801 cat conftest.$ac_ext >&5 | 4803 cat conftest.$ac_ext >&5 |
4863 if test "${with_xpm}" != "no"; then | 4865 if test "${with_xpm}" != "no"; then |
4864 old_c_flags="${CFLAGS}" | 4866 old_c_flags="${CFLAGS}" |
4865 CFLAGS="${LD_SWITCH_X_SITE}" | 4867 CFLAGS="${LD_SWITCH_X_SITE}" |
4866 ac_safe=`echo "X11/xpm.h" | sed 'y%./+-%__p_%'` | 4868 ac_safe=`echo "X11/xpm.h" | sed 'y%./+-%__p_%'` |
4867 echo $ac_n "checking for X11/xpm.h""... $ac_c" 1>&6 | 4869 echo $ac_n "checking for X11/xpm.h""... $ac_c" 1>&6 |
4868 echo "configure:4869: checking for X11/xpm.h" >&5 | 4870 echo "configure:4871: checking for X11/xpm.h" >&5 |
4869 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 4871 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
4870 echo $ac_n "(cached) $ac_c" 1>&6 | 4872 echo $ac_n "(cached) $ac_c" 1>&6 |
4871 else | 4873 else |
4872 cat > conftest.$ac_ext <<EOF | 4874 cat > conftest.$ac_ext <<EOF |
4873 #line 4874 "configure" | 4875 #line 4876 "configure" |
4874 #include "confdefs.h" | 4876 #include "confdefs.h" |
4875 #include <X11/xpm.h> | 4877 #include <X11/xpm.h> |
4876 EOF | 4878 EOF |
4877 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4879 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4878 { (eval echo configure:4879: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4880 { (eval echo configure:4881: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4879 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 4881 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
4880 if test -z "$ac_err"; then | 4882 if test -z "$ac_err"; then |
4881 rm -rf conftest* | 4883 rm -rf conftest* |
4882 eval "ac_cv_header_$ac_safe=yes" | 4884 eval "ac_cv_header_$ac_safe=yes" |
4883 else | 4885 else |
4890 rm -f conftest* | 4892 rm -f conftest* |
4891 fi | 4893 fi |
4892 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 4894 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
4893 echo "$ac_t""yes" 1>&6 | 4895 echo "$ac_t""yes" 1>&6 |
4894 echo $ac_n "checking for XpmReadFileToPixmap in -lXpm""... $ac_c" 1>&6 | 4896 echo $ac_n "checking for XpmReadFileToPixmap in -lXpm""... $ac_c" 1>&6 |
4895 echo "configure:4896: checking for XpmReadFileToPixmap in -lXpm" >&5 | 4897 echo "configure:4898: checking for XpmReadFileToPixmap in -lXpm" >&5 |
4896 ac_lib_var=`echo Xpm'_'XpmReadFileToPixmap | sed 'y%./+-%__p_%'` | 4898 ac_lib_var=`echo Xpm'_'XpmReadFileToPixmap | sed 'y%./+-%__p_%'` |
4897 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 4899 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
4898 echo $ac_n "(cached) $ac_c" 1>&6 | 4900 echo $ac_n "(cached) $ac_c" 1>&6 |
4899 else | 4901 else |
4900 ac_save_LIBS="$LIBS" | 4902 ac_save_LIBS="$LIBS" |
4901 LIBS="-lXpm -lX11 $LIBS" | 4903 LIBS="-lXpm -lX11 $LIBS" |
4902 cat > conftest.$ac_ext <<EOF | 4904 cat > conftest.$ac_ext <<EOF |
4903 #line 4904 "configure" | 4905 #line 4906 "configure" |
4904 #include "confdefs.h" | 4906 #include "confdefs.h" |
4905 /* Override any gcc2 internal prototype to avoid an error. */ | 4907 /* Override any gcc2 internal prototype to avoid an error. */ |
4906 /* We use char because int might match the return type of a gcc2 | 4908 /* We use char because int might match the return type of a gcc2 |
4907 builtin and then its argument prototype would still apply. */ | 4909 builtin and then its argument prototype would still apply. */ |
4908 char XpmReadFileToPixmap(); | 4910 char XpmReadFileToPixmap(); |
4909 | 4911 |
4910 int main() { | 4912 int main() { |
4911 XpmReadFileToPixmap() | 4913 XpmReadFileToPixmap() |
4912 ; return 0; } | 4914 ; return 0; } |
4913 EOF | 4915 EOF |
4914 if { (eval echo configure:4915: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4916 if { (eval echo configure:4917: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4915 rm -rf conftest* | 4917 rm -rf conftest* |
4916 eval "ac_cv_lib_$ac_lib_var=yes" | 4918 eval "ac_cv_lib_$ac_lib_var=yes" |
4917 else | 4919 else |
4918 echo "configure: failed program was:" >&5 | 4920 echo "configure: failed program was:" >&5 |
4919 cat conftest.$ac_ext >&5 | 4921 cat conftest.$ac_ext >&5 |
4935 echo "$ac_t""no" 1>&6 | 4937 echo "$ac_t""no" 1>&6 |
4936 fi | 4938 fi |
4937 | 4939 |
4938 if test "${HAVE_XPM}" = "yes"; then | 4940 if test "${HAVE_XPM}" = "yes"; then |
4939 cat > conftest.$ac_ext <<EOF | 4941 cat > conftest.$ac_ext <<EOF |
4940 #line 4941 "configure" | 4942 #line 4943 "configure" |
4941 #include "confdefs.h" | 4943 #include "confdefs.h" |
4942 #include "X11/xpm.h" | 4944 #include "X11/xpm.h" |
4943 #ifndef XpmReturnAllocPixels | 4945 #ifndef XpmReturnAllocPixels |
4944 no_return_alloc_pixels | 4946 no_return_alloc_pixels |
4945 #endif | 4947 #endif |
4973 if test "${with_jpeg}" != "no"; then | 4975 if test "${with_jpeg}" != "no"; then |
4974 old_c_flags="${CFLAGS}" | 4976 old_c_flags="${CFLAGS}" |
4975 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" | 4977 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" |
4976 ac_safe=`echo "jerror.h" | sed 'y%./+-%__p_%'` | 4978 ac_safe=`echo "jerror.h" | sed 'y%./+-%__p_%'` |
4977 echo $ac_n "checking for jerror.h""... $ac_c" 1>&6 | 4979 echo $ac_n "checking for jerror.h""... $ac_c" 1>&6 |
4978 echo "configure:4979: checking for jerror.h" >&5 | 4980 echo "configure:4981: checking for jerror.h" >&5 |
4979 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 4981 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
4980 echo $ac_n "(cached) $ac_c" 1>&6 | 4982 echo $ac_n "(cached) $ac_c" 1>&6 |
4981 else | 4983 else |
4982 cat > conftest.$ac_ext <<EOF | 4984 cat > conftest.$ac_ext <<EOF |
4983 #line 4984 "configure" | 4985 #line 4986 "configure" |
4984 #include "confdefs.h" | 4986 #include "confdefs.h" |
4985 #include <jerror.h> | 4987 #include <jerror.h> |
4986 EOF | 4988 EOF |
4987 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4989 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4988 { (eval echo configure:4989: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4990 { (eval echo configure:4991: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4989 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 4991 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
4990 if test -z "$ac_err"; then | 4992 if test -z "$ac_err"; then |
4991 rm -rf conftest* | 4993 rm -rf conftest* |
4992 eval "ac_cv_header_$ac_safe=yes" | 4994 eval "ac_cv_header_$ac_safe=yes" |
4993 else | 4995 else |
5000 rm -f conftest* | 5002 rm -f conftest* |
5001 fi | 5003 fi |
5002 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 5004 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
5003 echo "$ac_t""yes" 1>&6 | 5005 echo "$ac_t""yes" 1>&6 |
5004 echo $ac_n "checking for jpeg_destroy_compress in -ljpeg""... $ac_c" 1>&6 | 5006 echo $ac_n "checking for jpeg_destroy_compress in -ljpeg""... $ac_c" 1>&6 |
5005 echo "configure:5006: checking for jpeg_destroy_compress in -ljpeg" >&5 | 5007 echo "configure:5008: checking for jpeg_destroy_compress in -ljpeg" >&5 |
5006 ac_lib_var=`echo jpeg'_'jpeg_destroy_compress | sed 'y%./+-%__p_%'` | 5008 ac_lib_var=`echo jpeg'_'jpeg_destroy_compress | sed 'y%./+-%__p_%'` |
5007 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5009 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5008 echo $ac_n "(cached) $ac_c" 1>&6 | 5010 echo $ac_n "(cached) $ac_c" 1>&6 |
5009 else | 5011 else |
5010 ac_save_LIBS="$LIBS" | 5012 ac_save_LIBS="$LIBS" |
5011 LIBS="-ljpeg -lX11 $LIBS" | 5013 LIBS="-ljpeg -lX11 $LIBS" |
5012 cat > conftest.$ac_ext <<EOF | 5014 cat > conftest.$ac_ext <<EOF |
5013 #line 5014 "configure" | 5015 #line 5016 "configure" |
5014 #include "confdefs.h" | 5016 #include "confdefs.h" |
5015 /* Override any gcc2 internal prototype to avoid an error. */ | 5017 /* Override any gcc2 internal prototype to avoid an error. */ |
5016 /* We use char because int might match the return type of a gcc2 | 5018 /* We use char because int might match the return type of a gcc2 |
5017 builtin and then its argument prototype would still apply. */ | 5019 builtin and then its argument prototype would still apply. */ |
5018 char jpeg_destroy_compress(); | 5020 char jpeg_destroy_compress(); |
5019 | 5021 |
5020 int main() { | 5022 int main() { |
5021 jpeg_destroy_compress() | 5023 jpeg_destroy_compress() |
5022 ; return 0; } | 5024 ; return 0; } |
5023 EOF | 5025 EOF |
5024 if { (eval echo configure:5025: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5026 if { (eval echo configure:5027: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5025 rm -rf conftest* | 5027 rm -rf conftest* |
5026 eval "ac_cv_lib_$ac_lib_var=yes" | 5028 eval "ac_cv_lib_$ac_lib_var=yes" |
5027 else | 5029 else |
5028 echo "configure: failed program was:" >&5 | 5030 echo "configure: failed program was:" >&5 |
5029 cat conftest.$ac_ext >&5 | 5031 cat conftest.$ac_ext >&5 |
5062 if test "${with_png}" != "no"; then | 5064 if test "${with_png}" != "no"; then |
5063 old_c_flags="${CFLAGS}" | 5065 old_c_flags="${CFLAGS}" |
5064 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" | 5066 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" |
5065 ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` | 5067 ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` |
5066 echo $ac_n "checking for png.h""... $ac_c" 1>&6 | 5068 echo $ac_n "checking for png.h""... $ac_c" 1>&6 |
5067 echo "configure:5068: checking for png.h" >&5 | 5069 echo "configure:5070: checking for png.h" >&5 |
5068 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 5070 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
5069 echo $ac_n "(cached) $ac_c" 1>&6 | 5071 echo $ac_n "(cached) $ac_c" 1>&6 |
5070 else | 5072 else |
5071 cat > conftest.$ac_ext <<EOF | 5073 cat > conftest.$ac_ext <<EOF |
5072 #line 5073 "configure" | 5074 #line 5075 "configure" |
5073 #include "confdefs.h" | 5075 #include "confdefs.h" |
5074 #include <png.h> | 5076 #include <png.h> |
5075 EOF | 5077 EOF |
5076 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5078 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5077 { (eval echo configure:5078: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5079 { (eval echo configure:5080: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5078 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5080 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5079 if test -z "$ac_err"; then | 5081 if test -z "$ac_err"; then |
5080 rm -rf conftest* | 5082 rm -rf conftest* |
5081 eval "ac_cv_header_$ac_safe=yes" | 5083 eval "ac_cv_header_$ac_safe=yes" |
5082 else | 5084 else |
5089 rm -f conftest* | 5091 rm -f conftest* |
5090 fi | 5092 fi |
5091 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 5093 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
5092 echo "$ac_t""yes" 1>&6 | 5094 echo "$ac_t""yes" 1>&6 |
5093 echo $ac_n "checking for png_set_expand in -lpng""... $ac_c" 1>&6 | 5095 echo $ac_n "checking for png_set_expand in -lpng""... $ac_c" 1>&6 |
5094 echo "configure:5095: checking for png_set_expand in -lpng" >&5 | 5096 echo "configure:5097: checking for png_set_expand in -lpng" >&5 |
5095 ac_lib_var=`echo png'_'png_set_expand | sed 'y%./+-%__p_%'` | 5097 ac_lib_var=`echo png'_'png_set_expand | sed 'y%./+-%__p_%'` |
5096 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5098 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5097 echo $ac_n "(cached) $ac_c" 1>&6 | 5099 echo $ac_n "(cached) $ac_c" 1>&6 |
5098 else | 5100 else |
5099 ac_save_LIBS="$LIBS" | 5101 ac_save_LIBS="$LIBS" |
5100 LIBS="-lpng -lX11 -lz -lm $LIBS" | 5102 LIBS="-lpng -lX11 -lz -lm $LIBS" |
5101 cat > conftest.$ac_ext <<EOF | 5103 cat > conftest.$ac_ext <<EOF |
5102 #line 5103 "configure" | 5104 #line 5105 "configure" |
5103 #include "confdefs.h" | 5105 #include "confdefs.h" |
5104 /* Override any gcc2 internal prototype to avoid an error. */ | 5106 /* Override any gcc2 internal prototype to avoid an error. */ |
5105 /* We use char because int might match the return type of a gcc2 | 5107 /* We use char because int might match the return type of a gcc2 |
5106 builtin and then its argument prototype would still apply. */ | 5108 builtin and then its argument prototype would still apply. */ |
5107 char png_set_expand(); | 5109 char png_set_expand(); |
5108 | 5110 |
5109 int main() { | 5111 int main() { |
5110 png_set_expand() | 5112 png_set_expand() |
5111 ; return 0; } | 5113 ; return 0; } |
5112 EOF | 5114 EOF |
5113 if { (eval echo configure:5114: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5115 if { (eval echo configure:5116: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5114 rm -rf conftest* | 5116 rm -rf conftest* |
5115 eval "ac_cv_lib_$ac_lib_var=yes" | 5117 eval "ac_cv_lib_$ac_lib_var=yes" |
5116 else | 5118 else |
5117 echo "configure: failed program was:" >&5 | 5119 echo "configure: failed program was:" >&5 |
5118 cat conftest.$ac_ext >&5 | 5120 cat conftest.$ac_ext >&5 |
5151 if test "${with_tiff}" != "no"; then | 5153 if test "${with_tiff}" != "no"; then |
5152 old_c_flags="${CFLAGS}" | 5154 old_c_flags="${CFLAGS}" |
5153 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" | 5155 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" |
5154 ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` | 5156 ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` |
5155 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 | 5157 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 |
5156 echo "configure:5157: checking for tiffio.h" >&5 | 5158 echo "configure:5159: checking for tiffio.h" >&5 |
5157 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 5159 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
5158 echo $ac_n "(cached) $ac_c" 1>&6 | 5160 echo $ac_n "(cached) $ac_c" 1>&6 |
5159 else | 5161 else |
5160 cat > conftest.$ac_ext <<EOF | 5162 cat > conftest.$ac_ext <<EOF |
5161 #line 5162 "configure" | 5163 #line 5164 "configure" |
5162 #include "confdefs.h" | 5164 #include "confdefs.h" |
5163 #include <tiffio.h> | 5165 #include <tiffio.h> |
5164 EOF | 5166 EOF |
5165 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5167 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5166 { (eval echo configure:5167: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5168 { (eval echo configure:5169: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5167 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5169 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5168 if test -z "$ac_err"; then | 5170 if test -z "$ac_err"; then |
5169 rm -rf conftest* | 5171 rm -rf conftest* |
5170 eval "ac_cv_header_$ac_safe=yes" | 5172 eval "ac_cv_header_$ac_safe=yes" |
5171 else | 5173 else |
5181 echo "$ac_t""yes" 1>&6 | 5183 echo "$ac_t""yes" 1>&6 |
5182 tifflibs="-lX11 -lz -lm" | 5184 tifflibs="-lX11 -lz -lm" |
5183 # At least one tiff package requires the jpeg library. | 5185 # At least one tiff package requires the jpeg library. |
5184 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi | 5186 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi |
5185 echo $ac_n "checking for TIFFGetVersion in -ltiff""... $ac_c" 1>&6 | 5187 echo $ac_n "checking for TIFFGetVersion in -ltiff""... $ac_c" 1>&6 |
5186 echo "configure:5187: checking for TIFFGetVersion in -ltiff" >&5 | 5188 echo "configure:5189: checking for TIFFGetVersion in -ltiff" >&5 |
5187 ac_lib_var=`echo tiff'_'TIFFGetVersion | sed 'y%./+-%__p_%'` | 5189 ac_lib_var=`echo tiff'_'TIFFGetVersion | sed 'y%./+-%__p_%'` |
5188 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5190 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5189 echo $ac_n "(cached) $ac_c" 1>&6 | 5191 echo $ac_n "(cached) $ac_c" 1>&6 |
5190 else | 5192 else |
5191 ac_save_LIBS="$LIBS" | 5193 ac_save_LIBS="$LIBS" |
5192 LIBS="-ltiff $tifflibs $LIBS" | 5194 LIBS="-ltiff $tifflibs $LIBS" |
5193 cat > conftest.$ac_ext <<EOF | 5195 cat > conftest.$ac_ext <<EOF |
5194 #line 5195 "configure" | 5196 #line 5197 "configure" |
5195 #include "confdefs.h" | 5197 #include "confdefs.h" |
5196 /* Override any gcc2 internal prototype to avoid an error. */ | 5198 /* Override any gcc2 internal prototype to avoid an error. */ |
5197 /* We use char because int might match the return type of a gcc2 | 5199 /* We use char because int might match the return type of a gcc2 |
5198 builtin and then its argument prototype would still apply. */ | 5200 builtin and then its argument prototype would still apply. */ |
5199 char TIFFGetVersion(); | 5201 char TIFFGetVersion(); |
5200 | 5202 |
5201 int main() { | 5203 int main() { |
5202 TIFFGetVersion() | 5204 TIFFGetVersion() |
5203 ; return 0; } | 5205 ; return 0; } |
5204 EOF | 5206 EOF |
5205 if { (eval echo configure:5206: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5207 if { (eval echo configure:5208: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5206 rm -rf conftest* | 5208 rm -rf conftest* |
5207 eval "ac_cv_lib_$ac_lib_var=yes" | 5209 eval "ac_cv_lib_$ac_lib_var=yes" |
5208 else | 5210 else |
5209 echo "configure: failed program was:" >&5 | 5211 echo "configure: failed program was:" >&5 |
5210 cat conftest.$ac_ext >&5 | 5212 cat conftest.$ac_ext >&5 |
5243 if test "${with_gif}" != "no"; then | 5245 if test "${with_gif}" != "no"; then |
5244 old_c_flags="${CFLAGS}" | 5246 old_c_flags="${CFLAGS}" |
5245 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" | 5247 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" |
5246 ac_safe=`echo "gif_lib.h" | sed 'y%./+-%__p_%'` | 5248 ac_safe=`echo "gif_lib.h" | sed 'y%./+-%__p_%'` |
5247 echo $ac_n "checking for gif_lib.h""... $ac_c" 1>&6 | 5249 echo $ac_n "checking for gif_lib.h""... $ac_c" 1>&6 |
5248 echo "configure:5249: checking for gif_lib.h" >&5 | 5250 echo "configure:5251: checking for gif_lib.h" >&5 |
5249 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 5251 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
5250 echo $ac_n "(cached) $ac_c" 1>&6 | 5252 echo $ac_n "(cached) $ac_c" 1>&6 |
5251 else | 5253 else |
5252 cat > conftest.$ac_ext <<EOF | 5254 cat > conftest.$ac_ext <<EOF |
5253 #line 5254 "configure" | 5255 #line 5256 "configure" |
5254 #include "confdefs.h" | 5256 #include "confdefs.h" |
5255 #include <gif_lib.h> | 5257 #include <gif_lib.h> |
5256 EOF | 5258 EOF |
5257 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5259 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5258 { (eval echo configure:5259: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5260 { (eval echo configure:5261: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5259 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5261 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5260 if test -z "$ac_err"; then | 5262 if test -z "$ac_err"; then |
5261 rm -rf conftest* | 5263 rm -rf conftest* |
5262 eval "ac_cv_header_$ac_safe=yes" | 5264 eval "ac_cv_header_$ac_safe=yes" |
5263 else | 5265 else |
5270 rm -f conftest* | 5272 rm -f conftest* |
5271 fi | 5273 fi |
5272 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 5274 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
5273 echo "$ac_t""yes" 1>&6 | 5275 echo "$ac_t""yes" 1>&6 |
5274 echo $ac_n "checking for DGifOpen in -lungif""... $ac_c" 1>&6 | 5276 echo $ac_n "checking for DGifOpen in -lungif""... $ac_c" 1>&6 |
5275 echo "configure:5276: checking for DGifOpen in -lungif" >&5 | 5277 echo "configure:5278: checking for DGifOpen in -lungif" >&5 |
5276 ac_lib_var=`echo ungif'_'DGifOpen | sed 'y%./+-%__p_%'` | 5278 ac_lib_var=`echo ungif'_'DGifOpen | sed 'y%./+-%__p_%'` |
5277 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5279 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5278 echo $ac_n "(cached) $ac_c" 1>&6 | 5280 echo $ac_n "(cached) $ac_c" 1>&6 |
5279 else | 5281 else |
5280 ac_save_LIBS="$LIBS" | 5282 ac_save_LIBS="$LIBS" |
5281 LIBS="-lungif -lX11 $LIBS" | 5283 LIBS="-lungif -lX11 $LIBS" |
5282 cat > conftest.$ac_ext <<EOF | 5284 cat > conftest.$ac_ext <<EOF |
5283 #line 5284 "configure" | 5285 #line 5286 "configure" |
5284 #include "confdefs.h" | 5286 #include "confdefs.h" |
5285 /* Override any gcc2 internal prototype to avoid an error. */ | 5287 /* Override any gcc2 internal prototype to avoid an error. */ |
5286 /* We use char because int might match the return type of a gcc2 | 5288 /* We use char because int might match the return type of a gcc2 |
5287 builtin and then its argument prototype would still apply. */ | 5289 builtin and then its argument prototype would still apply. */ |
5288 char DGifOpen(); | 5290 char DGifOpen(); |
5289 | 5291 |
5290 int main() { | 5292 int main() { |
5291 DGifOpen() | 5293 DGifOpen() |
5292 ; return 0; } | 5294 ; return 0; } |
5293 EOF | 5295 EOF |
5294 if { (eval echo configure:5295: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5296 if { (eval echo configure:5297: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5295 rm -rf conftest* | 5297 rm -rf conftest* |
5296 eval "ac_cv_lib_$ac_lib_var=yes" | 5298 eval "ac_cv_lib_$ac_lib_var=yes" |
5297 else | 5299 else |
5298 echo "configure: failed program was:" >&5 | 5300 echo "configure: failed program was:" >&5 |
5299 cat conftest.$ac_ext >&5 | 5301 cat conftest.$ac_ext >&5 |
5326 fi | 5328 fi |
5327 fi | 5329 fi |
5328 | 5330 |
5329 # If netdb.h doesn't declare h_errno, we must declare it by hand. | 5331 # If netdb.h doesn't declare h_errno, we must declare it by hand. |
5330 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 5332 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
5331 echo "configure:5332: checking whether netdb declares h_errno" >&5 | 5333 echo "configure:5334: checking whether netdb declares h_errno" >&5 |
5332 if eval "test \"`echo '$''{'emacs_cv_netdb_declares_h_errno'+set}'`\" = set"; then | 5334 if eval "test \"`echo '$''{'emacs_cv_netdb_declares_h_errno'+set}'`\" = set"; then |
5333 echo $ac_n "(cached) $ac_c" 1>&6 | 5335 echo $ac_n "(cached) $ac_c" 1>&6 |
5334 else | 5336 else |
5335 cat > conftest.$ac_ext <<EOF | 5337 cat > conftest.$ac_ext <<EOF |
5336 #line 5337 "configure" | 5338 #line 5339 "configure" |
5337 #include "confdefs.h" | 5339 #include "confdefs.h" |
5338 #include <netdb.h> | 5340 #include <netdb.h> |
5339 int main() { | 5341 int main() { |
5340 return h_errno; | 5342 return h_errno; |
5341 ; return 0; } | 5343 ; return 0; } |
5342 EOF | 5344 EOF |
5343 if { (eval echo configure:5344: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5345 if { (eval echo configure:5346: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5344 rm -rf conftest* | 5346 rm -rf conftest* |
5345 emacs_cv_netdb_declares_h_errno=yes | 5347 emacs_cv_netdb_declares_h_errno=yes |
5346 else | 5348 else |
5347 echo "configure: failed program was:" >&5 | 5349 echo "configure: failed program was:" >&5 |
5348 cat conftest.$ac_ext >&5 | 5350 cat conftest.$ac_ext >&5 |
5361 fi | 5363 fi |
5362 | 5364 |
5363 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 5365 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
5364 # for constant arguments. Useless! | 5366 # for constant arguments. Useless! |
5365 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 5367 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
5366 echo "configure:5367: checking for working alloca.h" >&5 | 5368 echo "configure:5369: checking for working alloca.h" >&5 |
5367 if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then | 5369 if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then |
5368 echo $ac_n "(cached) $ac_c" 1>&6 | 5370 echo $ac_n "(cached) $ac_c" 1>&6 |
5369 else | 5371 else |
5370 cat > conftest.$ac_ext <<EOF | 5372 cat > conftest.$ac_ext <<EOF |
5371 #line 5372 "configure" | 5373 #line 5374 "configure" |
5372 #include "confdefs.h" | 5374 #include "confdefs.h" |
5373 #include <alloca.h> | 5375 #include <alloca.h> |
5374 int main() { | 5376 int main() { |
5375 char *p = alloca(2 * sizeof(int)); | 5377 char *p = alloca(2 * sizeof(int)); |
5376 ; return 0; } | 5378 ; return 0; } |
5377 EOF | 5379 EOF |
5378 if { (eval echo configure:5379: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5380 if { (eval echo configure:5381: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5379 rm -rf conftest* | 5381 rm -rf conftest* |
5380 ac_cv_header_alloca_h=yes | 5382 ac_cv_header_alloca_h=yes |
5381 else | 5383 else |
5382 echo "configure: failed program was:" >&5 | 5384 echo "configure: failed program was:" >&5 |
5383 cat conftest.$ac_ext >&5 | 5385 cat conftest.$ac_ext >&5 |
5394 EOF | 5396 EOF |
5395 | 5397 |
5396 fi | 5398 fi |
5397 | 5399 |
5398 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 5400 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
5399 echo "configure:5400: checking for alloca" >&5 | 5401 echo "configure:5402: checking for alloca" >&5 |
5400 if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then | 5402 if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then |
5401 echo $ac_n "(cached) $ac_c" 1>&6 | 5403 echo $ac_n "(cached) $ac_c" 1>&6 |
5402 else | 5404 else |
5403 cat > conftest.$ac_ext <<EOF | 5405 cat > conftest.$ac_ext <<EOF |
5404 #line 5405 "configure" | 5406 #line 5407 "configure" |
5405 #include "confdefs.h" | 5407 #include "confdefs.h" |
5406 | 5408 |
5407 #ifdef __GNUC__ | 5409 #ifdef __GNUC__ |
5408 # define alloca __builtin_alloca | 5410 # define alloca __builtin_alloca |
5409 #else | 5411 #else |
5427 | 5429 |
5428 int main() { | 5430 int main() { |
5429 char *p = (char *) alloca(1); | 5431 char *p = (char *) alloca(1); |
5430 ; return 0; } | 5432 ; return 0; } |
5431 EOF | 5433 EOF |
5432 if { (eval echo configure:5433: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5434 if { (eval echo configure:5435: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5433 rm -rf conftest* | 5435 rm -rf conftest* |
5434 ac_cv_func_alloca_works=yes | 5436 ac_cv_func_alloca_works=yes |
5435 else | 5437 else |
5436 echo "configure: failed program was:" >&5 | 5438 echo "configure: failed program was:" >&5 |
5437 cat conftest.$ac_ext >&5 | 5439 cat conftest.$ac_ext >&5 |
5459 #define C_ALLOCA 1 | 5461 #define C_ALLOCA 1 |
5460 EOF | 5462 EOF |
5461 | 5463 |
5462 | 5464 |
5463 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 5465 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
5464 echo "configure:5465: checking whether alloca needs Cray hooks" >&5 | 5466 echo "configure:5467: checking whether alloca needs Cray hooks" >&5 |
5465 if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then | 5467 if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then |
5466 echo $ac_n "(cached) $ac_c" 1>&6 | 5468 echo $ac_n "(cached) $ac_c" 1>&6 |
5467 else | 5469 else |
5468 cat > conftest.$ac_ext <<EOF | 5470 cat > conftest.$ac_ext <<EOF |
5469 #line 5470 "configure" | 5471 #line 5472 "configure" |
5470 #include "confdefs.h" | 5472 #include "confdefs.h" |
5471 #if defined(CRAY) && ! defined(CRAY2) | 5473 #if defined(CRAY) && ! defined(CRAY2) |
5472 webecray | 5474 webecray |
5473 #else | 5475 #else |
5474 wenotbecray | 5476 wenotbecray |
5489 | 5491 |
5490 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 5492 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
5491 if test $ac_cv_os_cray = yes; then | 5493 if test $ac_cv_os_cray = yes; then |
5492 for ac_func in _getb67 GETB67 getb67; do | 5494 for ac_func in _getb67 GETB67 getb67; do |
5493 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5495 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
5494 echo "configure:5495: checking for $ac_func" >&5 | 5496 echo "configure:5497: checking for $ac_func" >&5 |
5495 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 5497 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
5496 echo $ac_n "(cached) $ac_c" 1>&6 | 5498 echo $ac_n "(cached) $ac_c" 1>&6 |
5497 else | 5499 else |
5498 cat > conftest.$ac_ext <<EOF | 5500 cat > conftest.$ac_ext <<EOF |
5499 #line 5500 "configure" | 5501 #line 5502 "configure" |
5500 #include "confdefs.h" | 5502 #include "confdefs.h" |
5501 /* System header to define __stub macros and hopefully few prototypes, | 5503 /* System header to define __stub macros and hopefully few prototypes, |
5502 which can conflict with char $ac_func(); below. */ | 5504 which can conflict with char $ac_func(); below. */ |
5503 #include <assert.h> | 5505 #include <assert.h> |
5504 /* Override any gcc2 internal prototype to avoid an error. */ | 5506 /* Override any gcc2 internal prototype to avoid an error. */ |
5517 $ac_func(); | 5519 $ac_func(); |
5518 #endif | 5520 #endif |
5519 | 5521 |
5520 ; return 0; } | 5522 ; return 0; } |
5521 EOF | 5523 EOF |
5522 if { (eval echo configure:5523: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5524 if { (eval echo configure:5525: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5523 rm -rf conftest* | 5525 rm -rf conftest* |
5524 eval "ac_cv_func_$ac_func=yes" | 5526 eval "ac_cv_func_$ac_func=yes" |
5525 else | 5527 else |
5526 echo "configure: failed program was:" >&5 | 5528 echo "configure: failed program was:" >&5 |
5527 cat conftest.$ac_ext >&5 | 5529 cat conftest.$ac_ext >&5 |
5544 | 5546 |
5545 done | 5547 done |
5546 fi | 5548 fi |
5547 | 5549 |
5548 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 5550 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
5549 echo "configure:5550: checking stack direction for C alloca" >&5 | 5551 echo "configure:5552: checking stack direction for C alloca" >&5 |
5550 if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then | 5552 if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then |
5551 echo $ac_n "(cached) $ac_c" 1>&6 | 5553 echo $ac_n "(cached) $ac_c" 1>&6 |
5552 else | 5554 else |
5553 if test "$cross_compiling" = yes; then | 5555 if test "$cross_compiling" = yes; then |
5554 ac_cv_c_stack_direction=0 | 5556 ac_cv_c_stack_direction=0 |
5555 else | 5557 else |
5556 cat > conftest.$ac_ext <<EOF | 5558 cat > conftest.$ac_ext <<EOF |
5557 #line 5558 "configure" | 5559 #line 5560 "configure" |
5558 #include "confdefs.h" | 5560 #include "confdefs.h" |
5559 find_stack_direction () | 5561 find_stack_direction () |
5560 { | 5562 { |
5561 static char *addr = 0; | 5563 static char *addr = 0; |
5562 auto char dummy; | 5564 auto char dummy; |
5571 main () | 5573 main () |
5572 { | 5574 { |
5573 exit (find_stack_direction() < 0); | 5575 exit (find_stack_direction() < 0); |
5574 } | 5576 } |
5575 EOF | 5577 EOF |
5576 if { (eval echo configure:5577: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 5578 if { (eval echo configure:5579: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
5577 then | 5579 then |
5578 ac_cv_c_stack_direction=1 | 5580 ac_cv_c_stack_direction=1 |
5579 else | 5581 else |
5580 echo "configure: failed program was:" >&5 | 5582 echo "configure: failed program was:" >&5 |
5581 cat conftest.$ac_ext >&5 | 5583 cat conftest.$ac_ext >&5 |
5596 | 5598 |
5597 | 5599 |
5598 # fmod, logb, and frexp are found in -lm on most systems. | 5600 # fmod, logb, and frexp are found in -lm on most systems. |
5599 # On HPUX 9.01, -lm does not contain logb, so check for sqrt. | 5601 # On HPUX 9.01, -lm does not contain logb, so check for sqrt. |
5600 echo $ac_n "checking for sqrt in -lm""... $ac_c" 1>&6 | 5602 echo $ac_n "checking for sqrt in -lm""... $ac_c" 1>&6 |
5601 echo "configure:5602: checking for sqrt in -lm" >&5 | 5603 echo "configure:5604: checking for sqrt in -lm" >&5 |
5602 ac_lib_var=`echo m'_'sqrt | sed 'y%./+-%__p_%'` | 5604 ac_lib_var=`echo m'_'sqrt | sed 'y%./+-%__p_%'` |
5603 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5605 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5604 echo $ac_n "(cached) $ac_c" 1>&6 | 5606 echo $ac_n "(cached) $ac_c" 1>&6 |
5605 else | 5607 else |
5606 ac_save_LIBS="$LIBS" | 5608 ac_save_LIBS="$LIBS" |
5607 LIBS="-lm $LIBS" | 5609 LIBS="-lm $LIBS" |
5608 cat > conftest.$ac_ext <<EOF | 5610 cat > conftest.$ac_ext <<EOF |
5609 #line 5610 "configure" | 5611 #line 5612 "configure" |
5610 #include "confdefs.h" | 5612 #include "confdefs.h" |
5611 /* Override any gcc2 internal prototype to avoid an error. */ | 5613 /* Override any gcc2 internal prototype to avoid an error. */ |
5612 /* We use char because int might match the return type of a gcc2 | 5614 /* We use char because int might match the return type of a gcc2 |
5613 builtin and then its argument prototype would still apply. */ | 5615 builtin and then its argument prototype would still apply. */ |
5614 char sqrt(); | 5616 char sqrt(); |
5615 | 5617 |
5616 int main() { | 5618 int main() { |
5617 sqrt() | 5619 sqrt() |
5618 ; return 0; } | 5620 ; return 0; } |
5619 EOF | 5621 EOF |
5620 if { (eval echo configure:5621: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5622 if { (eval echo configure:5623: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5621 rm -rf conftest* | 5623 rm -rf conftest* |
5622 eval "ac_cv_lib_$ac_lib_var=yes" | 5624 eval "ac_cv_lib_$ac_lib_var=yes" |
5623 else | 5625 else |
5624 echo "configure: failed program was:" >&5 | 5626 echo "configure: failed program was:" >&5 |
5625 cat conftest.$ac_ext >&5 | 5627 cat conftest.$ac_ext >&5 |
5645 fi | 5647 fi |
5646 | 5648 |
5647 | 5649 |
5648 # Check for mail-locking functions in a "mail" library | 5650 # Check for mail-locking functions in a "mail" library |
5649 echo $ac_n "checking for maillock in -lmail""... $ac_c" 1>&6 | 5651 echo $ac_n "checking for maillock in -lmail""... $ac_c" 1>&6 |
5650 echo "configure:5651: checking for maillock in -lmail" >&5 | 5652 echo "configure:5653: checking for maillock in -lmail" >&5 |
5651 ac_lib_var=`echo mail'_'maillock | sed 'y%./+-%__p_%'` | 5653 ac_lib_var=`echo mail'_'maillock | sed 'y%./+-%__p_%'` |
5652 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5654 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5653 echo $ac_n "(cached) $ac_c" 1>&6 | 5655 echo $ac_n "(cached) $ac_c" 1>&6 |
5654 else | 5656 else |
5655 ac_save_LIBS="$LIBS" | 5657 ac_save_LIBS="$LIBS" |
5656 LIBS="-lmail $LIBS" | 5658 LIBS="-lmail $LIBS" |
5657 cat > conftest.$ac_ext <<EOF | 5659 cat > conftest.$ac_ext <<EOF |
5658 #line 5659 "configure" | 5660 #line 5661 "configure" |
5659 #include "confdefs.h" | 5661 #include "confdefs.h" |
5660 /* Override any gcc2 internal prototype to avoid an error. */ | 5662 /* Override any gcc2 internal prototype to avoid an error. */ |
5661 /* We use char because int might match the return type of a gcc2 | 5663 /* We use char because int might match the return type of a gcc2 |
5662 builtin and then its argument prototype would still apply. */ | 5664 builtin and then its argument prototype would still apply. */ |
5663 char maillock(); | 5665 char maillock(); |
5664 | 5666 |
5665 int main() { | 5667 int main() { |
5666 maillock() | 5668 maillock() |
5667 ; return 0; } | 5669 ; return 0; } |
5668 EOF | 5670 EOF |
5669 if { (eval echo configure:5670: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5671 if { (eval echo configure:5672: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5670 rm -rf conftest* | 5672 rm -rf conftest* |
5671 eval "ac_cv_lib_$ac_lib_var=yes" | 5673 eval "ac_cv_lib_$ac_lib_var=yes" |
5672 else | 5674 else |
5673 echo "configure: failed program was:" >&5 | 5675 echo "configure: failed program was:" >&5 |
5674 cat conftest.$ac_ext >&5 | 5676 cat conftest.$ac_ext >&5 |
5692 else | 5694 else |
5693 echo "$ac_t""no" 1>&6 | 5695 echo "$ac_t""no" 1>&6 |
5694 fi | 5696 fi |
5695 | 5697 |
5696 echo $ac_n "checking for maillock in -llockfile""... $ac_c" 1>&6 | 5698 echo $ac_n "checking for maillock in -llockfile""... $ac_c" 1>&6 |
5697 echo "configure:5698: checking for maillock in -llockfile" >&5 | 5699 echo "configure:5700: checking for maillock in -llockfile" >&5 |
5698 ac_lib_var=`echo lockfile'_'maillock | sed 'y%./+-%__p_%'` | 5700 ac_lib_var=`echo lockfile'_'maillock | sed 'y%./+-%__p_%'` |
5699 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5701 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5700 echo $ac_n "(cached) $ac_c" 1>&6 | 5702 echo $ac_n "(cached) $ac_c" 1>&6 |
5701 else | 5703 else |
5702 ac_save_LIBS="$LIBS" | 5704 ac_save_LIBS="$LIBS" |
5703 LIBS="-llockfile $LIBS" | 5705 LIBS="-llockfile $LIBS" |
5704 cat > conftest.$ac_ext <<EOF | 5706 cat > conftest.$ac_ext <<EOF |
5705 #line 5706 "configure" | 5707 #line 5708 "configure" |
5706 #include "confdefs.h" | 5708 #include "confdefs.h" |
5707 /* Override any gcc2 internal prototype to avoid an error. */ | 5709 /* Override any gcc2 internal prototype to avoid an error. */ |
5708 /* We use char because int might match the return type of a gcc2 | 5710 /* We use char because int might match the return type of a gcc2 |
5709 builtin and then its argument prototype would still apply. */ | 5711 builtin and then its argument prototype would still apply. */ |
5710 char maillock(); | 5712 char maillock(); |
5711 | 5713 |
5712 int main() { | 5714 int main() { |
5713 maillock() | 5715 maillock() |
5714 ; return 0; } | 5716 ; return 0; } |
5715 EOF | 5717 EOF |
5716 if { (eval echo configure:5717: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5718 if { (eval echo configure:5719: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5717 rm -rf conftest* | 5719 rm -rf conftest* |
5718 eval "ac_cv_lib_$ac_lib_var=yes" | 5720 eval "ac_cv_lib_$ac_lib_var=yes" |
5719 else | 5721 else |
5720 echo "configure: failed program was:" >&5 | 5722 echo "configure: failed program was:" >&5 |
5721 cat conftest.$ac_ext >&5 | 5723 cat conftest.$ac_ext >&5 |
5745 # (no liblockfile.a installed), ensure that we don't need to. | 5747 # (no liblockfile.a installed), ensure that we don't need to. |
5746 if test "$ac_cv_lib_lockfile_maillock" = no; then | 5748 if test "$ac_cv_lib_lockfile_maillock" = no; then |
5747 # Extract the first word of "liblockfile.so", so it can be a program name with args. | 5749 # Extract the first word of "liblockfile.so", so it can be a program name with args. |
5748 set dummy liblockfile.so; ac_word=$2 | 5750 set dummy liblockfile.so; ac_word=$2 |
5749 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 5751 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
5750 echo "configure:5751: checking for $ac_word" >&5 | 5752 echo "configure:5753: checking for $ac_word" >&5 |
5751 if eval "test \"`echo '$''{'ac_cv_prog_liblockfile'+set}'`\" = set"; then | 5753 if eval "test \"`echo '$''{'ac_cv_prog_liblockfile'+set}'`\" = set"; then |
5752 echo $ac_n "(cached) $ac_c" 1>&6 | 5754 echo $ac_n "(cached) $ac_c" 1>&6 |
5753 else | 5755 else |
5754 if test -n "$liblockfile"; then | 5756 if test -n "$liblockfile"; then |
5755 ac_cv_prog_liblockfile="$liblockfile" # Let the user override the test. | 5757 ac_cv_prog_liblockfile="$liblockfile" # Let the user override the test. |
5786 else : | 5788 else : |
5787 fi | 5789 fi |
5788 for ac_func in touchlock | 5790 for ac_func in touchlock |
5789 do | 5791 do |
5790 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5792 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
5791 echo "configure:5792: checking for $ac_func" >&5 | 5793 echo "configure:5794: checking for $ac_func" >&5 |
5792 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 5794 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
5793 echo $ac_n "(cached) $ac_c" 1>&6 | 5795 echo $ac_n "(cached) $ac_c" 1>&6 |
5794 else | 5796 else |
5795 cat > conftest.$ac_ext <<EOF | 5797 cat > conftest.$ac_ext <<EOF |
5796 #line 5797 "configure" | 5798 #line 5799 "configure" |
5797 #include "confdefs.h" | 5799 #include "confdefs.h" |
5798 /* System header to define __stub macros and hopefully few prototypes, | 5800 /* System header to define __stub macros and hopefully few prototypes, |
5799 which can conflict with char $ac_func(); below. */ | 5801 which can conflict with char $ac_func(); below. */ |
5800 #include <assert.h> | 5802 #include <assert.h> |
5801 /* Override any gcc2 internal prototype to avoid an error. */ | 5803 /* Override any gcc2 internal prototype to avoid an error. */ |
5814 $ac_func(); | 5816 $ac_func(); |
5815 #endif | 5817 #endif |
5816 | 5818 |
5817 ; return 0; } | 5819 ; return 0; } |
5818 EOF | 5820 EOF |
5819 if { (eval echo configure:5820: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5821 if { (eval echo configure:5822: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5820 rm -rf conftest* | 5822 rm -rf conftest* |
5821 eval "ac_cv_func_$ac_func=yes" | 5823 eval "ac_cv_func_$ac_func=yes" |
5822 else | 5824 else |
5823 echo "configure: failed program was:" >&5 | 5825 echo "configure: failed program was:" >&5 |
5824 cat conftest.$ac_ext >&5 | 5826 cat conftest.$ac_ext >&5 |
5842 | 5844 |
5843 for ac_hdr in maillock.h | 5845 for ac_hdr in maillock.h |
5844 do | 5846 do |
5845 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5847 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5846 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5848 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5847 echo "configure:5848: checking for $ac_hdr" >&5 | 5849 echo "configure:5850: checking for $ac_hdr" >&5 |
5848 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 5850 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
5849 echo $ac_n "(cached) $ac_c" 1>&6 | 5851 echo $ac_n "(cached) $ac_c" 1>&6 |
5850 else | 5852 else |
5851 cat > conftest.$ac_ext <<EOF | 5853 cat > conftest.$ac_ext <<EOF |
5852 #line 5853 "configure" | 5854 #line 5855 "configure" |
5853 #include "confdefs.h" | 5855 #include "confdefs.h" |
5854 #include <$ac_hdr> | 5856 #include <$ac_hdr> |
5855 EOF | 5857 EOF |
5856 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5858 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5857 { (eval echo configure:5858: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5859 { (eval echo configure:5860: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5858 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5860 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5859 if test -z "$ac_err"; then | 5861 if test -z "$ac_err"; then |
5860 rm -rf conftest* | 5862 rm -rf conftest* |
5861 eval "ac_cv_header_$ac_safe=yes" | 5863 eval "ac_cv_header_$ac_safe=yes" |
5862 else | 5864 else |
5884 for ac_func in gethostname getdomainname dup2 \ | 5886 for ac_func in gethostname getdomainname dup2 \ |
5885 rename closedir mkdir rmdir sysinfo \ | 5887 rename closedir mkdir rmdir sysinfo \ |
5886 random lrand48 bcopy bcmp logb frexp fmod rint cbrt ftime res_init setsid \ | 5888 random lrand48 bcopy bcmp logb frexp fmod rint cbrt ftime res_init setsid \ |
5887 strerror fpathconf select mktime euidaccess getpagesize tzset setlocale \ | 5889 strerror fpathconf select mktime euidaccess getpagesize tzset setlocale \ |
5888 utimes setrlimit setpgid getcwd getwd shutdown strftime getaddrinfo \ | 5890 utimes setrlimit setpgid getcwd getwd shutdown strftime getaddrinfo \ |
5889 __fpending mblen mbrlen strsignal setitimer ualarm | 5891 __fpending mblen mbrlen strsignal setitimer ualarm index rindex |
5890 do | 5892 do |
5891 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5893 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
5892 echo "configure:5893: checking for $ac_func" >&5 | 5894 echo "configure:5895: checking for $ac_func" >&5 |
5893 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 5895 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
5894 echo $ac_n "(cached) $ac_c" 1>&6 | 5896 echo $ac_n "(cached) $ac_c" 1>&6 |
5895 else | 5897 else |
5896 cat > conftest.$ac_ext <<EOF | 5898 cat > conftest.$ac_ext <<EOF |
5897 #line 5898 "configure" | 5899 #line 5900 "configure" |
5898 #include "confdefs.h" | 5900 #include "confdefs.h" |
5899 /* System header to define __stub macros and hopefully few prototypes, | 5901 /* System header to define __stub macros and hopefully few prototypes, |
5900 which can conflict with char $ac_func(); below. */ | 5902 which can conflict with char $ac_func(); below. */ |
5901 #include <assert.h> | 5903 #include <assert.h> |
5902 /* Override any gcc2 internal prototype to avoid an error. */ | 5904 /* Override any gcc2 internal prototype to avoid an error. */ |
5915 $ac_func(); | 5917 $ac_func(); |
5916 #endif | 5918 #endif |
5917 | 5919 |
5918 ; return 0; } | 5920 ; return 0; } |
5919 EOF | 5921 EOF |
5920 if { (eval echo configure:5921: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5922 if { (eval echo configure:5923: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5921 rm -rf conftest* | 5923 rm -rf conftest* |
5922 eval "ac_cv_func_$ac_func=yes" | 5924 eval "ac_cv_func_$ac_func=yes" |
5923 else | 5925 else |
5924 echo "configure: failed program was:" >&5 | 5926 echo "configure: failed program was:" >&5 |
5925 cat conftest.$ac_ext >&5 | 5927 cat conftest.$ac_ext >&5 |
5944 | 5946 |
5945 for ac_hdr in sys/time.h unistd.h | 5947 for ac_hdr in sys/time.h unistd.h |
5946 do | 5948 do |
5947 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5949 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5948 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5950 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5949 echo "configure:5950: checking for $ac_hdr" >&5 | 5951 echo "configure:5952: checking for $ac_hdr" >&5 |
5950 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 5952 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
5951 echo $ac_n "(cached) $ac_c" 1>&6 | 5953 echo $ac_n "(cached) $ac_c" 1>&6 |
5952 else | 5954 else |
5953 cat > conftest.$ac_ext <<EOF | 5955 cat > conftest.$ac_ext <<EOF |
5954 #line 5955 "configure" | 5956 #line 5957 "configure" |
5955 #include "confdefs.h" | 5957 #include "confdefs.h" |
5956 #include <$ac_hdr> | 5958 #include <$ac_hdr> |
5957 EOF | 5959 EOF |
5958 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5960 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5959 { (eval echo configure:5960: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5961 { (eval echo configure:5962: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5960 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5962 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5961 if test -z "$ac_err"; then | 5963 if test -z "$ac_err"; then |
5962 rm -rf conftest* | 5964 rm -rf conftest* |
5963 eval "ac_cv_header_$ac_safe=yes" | 5965 eval "ac_cv_header_$ac_safe=yes" |
5964 else | 5966 else |
5983 done | 5985 done |
5984 | 5986 |
5985 for ac_func in alarm | 5987 for ac_func in alarm |
5986 do | 5988 do |
5987 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5989 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
5988 echo "configure:5989: checking for $ac_func" >&5 | 5990 echo "configure:5991: checking for $ac_func" >&5 |
5989 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 5991 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
5990 echo $ac_n "(cached) $ac_c" 1>&6 | 5992 echo $ac_n "(cached) $ac_c" 1>&6 |
5991 else | 5993 else |
5992 cat > conftest.$ac_ext <<EOF | 5994 cat > conftest.$ac_ext <<EOF |
5993 #line 5994 "configure" | 5995 #line 5996 "configure" |
5994 #include "confdefs.h" | 5996 #include "confdefs.h" |
5995 /* System header to define __stub macros and hopefully few prototypes, | 5997 /* System header to define __stub macros and hopefully few prototypes, |
5996 which can conflict with char $ac_func(); below. */ | 5998 which can conflict with char $ac_func(); below. */ |
5997 #include <assert.h> | 5999 #include <assert.h> |
5998 /* Override any gcc2 internal prototype to avoid an error. */ | 6000 /* Override any gcc2 internal prototype to avoid an error. */ |
6011 $ac_func(); | 6013 $ac_func(); |
6012 #endif | 6014 #endif |
6013 | 6015 |
6014 ; return 0; } | 6016 ; return 0; } |
6015 EOF | 6017 EOF |
6016 if { (eval echo configure:6017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6018 if { (eval echo configure:6019: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6017 rm -rf conftest* | 6019 rm -rf conftest* |
6018 eval "ac_cv_func_$ac_func=yes" | 6020 eval "ac_cv_func_$ac_func=yes" |
6019 else | 6021 else |
6020 echo "configure: failed program was:" >&5 | 6022 echo "configure: failed program was:" >&5 |
6021 cat conftest.$ac_ext >&5 | 6023 cat conftest.$ac_ext >&5 |
6036 echo "$ac_t""no" 1>&6 | 6038 echo "$ac_t""no" 1>&6 |
6037 fi | 6039 fi |
6038 done | 6040 done |
6039 | 6041 |
6040 echo $ac_n "checking for working mktime""... $ac_c" 1>&6 | 6042 echo $ac_n "checking for working mktime""... $ac_c" 1>&6 |
6041 echo "configure:6042: checking for working mktime" >&5 | 6043 echo "configure:6044: checking for working mktime" >&5 |
6042 if eval "test \"`echo '$''{'ac_cv_func_working_mktime'+set}'`\" = set"; then | 6044 if eval "test \"`echo '$''{'ac_cv_func_working_mktime'+set}'`\" = set"; then |
6043 echo $ac_n "(cached) $ac_c" 1>&6 | 6045 echo $ac_n "(cached) $ac_c" 1>&6 |
6044 else | 6046 else |
6045 if test "$cross_compiling" = yes; then | 6047 if test "$cross_compiling" = yes; then |
6046 ac_cv_func_working_mktime=no | 6048 ac_cv_func_working_mktime=no |
6047 else | 6049 else |
6048 cat > conftest.$ac_ext <<EOF | 6050 cat > conftest.$ac_ext <<EOF |
6049 #line 6050 "configure" | 6051 #line 6052 "configure" |
6050 #include "confdefs.h" | 6052 #include "confdefs.h" |
6051 /* Test program from Paul Eggert (eggert@twinsun.com) | 6053 /* Test program from Paul Eggert (eggert@twinsun.com) |
6052 and Tony Leneis (tony@plaza.ds.adp.com). */ | 6054 and Tony Leneis (tony@plaza.ds.adp.com). */ |
6053 #if TIME_WITH_SYS_TIME | 6055 #if TIME_WITH_SYS_TIME |
6054 # include <sys/time.h> | 6056 # include <sys/time.h> |
6193 irix_6_4_bug (); | 6195 irix_6_4_bug (); |
6194 spring_forward_gap (); | 6196 spring_forward_gap (); |
6195 exit (0); | 6197 exit (0); |
6196 } | 6198 } |
6197 EOF | 6199 EOF |
6198 if { (eval echo configure:6199: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 6200 if { (eval echo configure:6201: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
6199 then | 6201 then |
6200 ac_cv_func_working_mktime=yes | 6202 ac_cv_func_working_mktime=yes |
6201 else | 6203 else |
6202 echo "configure: failed program was:" >&5 | 6204 echo "configure: failed program was:" >&5 |
6203 cat conftest.$ac_ext >&5 | 6205 cat conftest.$ac_ext >&5 |
6225 | 6227 |
6226 # Some systems with -lutil have (and need) -lkvm as well, some do not. | 6228 # Some systems with -lutil have (and need) -lkvm as well, some do not. |
6227 # On Solaris, -lkvm requires nlist from -lelf, so check that first | 6229 # On Solaris, -lkvm requires nlist from -lelf, so check that first |
6228 # to get the right answer into the cache. | 6230 # to get the right answer into the cache. |
6229 echo $ac_n "checking for elf_begin in -lelf""... $ac_c" 1>&6 | 6231 echo $ac_n "checking for elf_begin in -lelf""... $ac_c" 1>&6 |
6230 echo "configure:6231: checking for elf_begin in -lelf" >&5 | 6232 echo "configure:6233: checking for elf_begin in -lelf" >&5 |
6231 ac_lib_var=`echo elf'_'elf_begin | sed 'y%./+-%__p_%'` | 6233 ac_lib_var=`echo elf'_'elf_begin | sed 'y%./+-%__p_%'` |
6232 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 6234 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
6233 echo $ac_n "(cached) $ac_c" 1>&6 | 6235 echo $ac_n "(cached) $ac_c" 1>&6 |
6234 else | 6236 else |
6235 ac_save_LIBS="$LIBS" | 6237 ac_save_LIBS="$LIBS" |
6236 LIBS="-lelf $LIBS" | 6238 LIBS="-lelf $LIBS" |
6237 cat > conftest.$ac_ext <<EOF | 6239 cat > conftest.$ac_ext <<EOF |
6238 #line 6239 "configure" | 6240 #line 6241 "configure" |
6239 #include "confdefs.h" | 6241 #include "confdefs.h" |
6240 /* Override any gcc2 internal prototype to avoid an error. */ | 6242 /* Override any gcc2 internal prototype to avoid an error. */ |
6241 /* We use char because int might match the return type of a gcc2 | 6243 /* We use char because int might match the return type of a gcc2 |
6242 builtin and then its argument prototype would still apply. */ | 6244 builtin and then its argument prototype would still apply. */ |
6243 char elf_begin(); | 6245 char elf_begin(); |
6244 | 6246 |
6245 int main() { | 6247 int main() { |
6246 elf_begin() | 6248 elf_begin() |
6247 ; return 0; } | 6249 ; return 0; } |
6248 EOF | 6250 EOF |
6249 if { (eval echo configure:6250: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6251 if { (eval echo configure:6252: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6250 rm -rf conftest* | 6252 rm -rf conftest* |
6251 eval "ac_cv_lib_$ac_lib_var=yes" | 6253 eval "ac_cv_lib_$ac_lib_var=yes" |
6252 else | 6254 else |
6253 echo "configure: failed program was:" >&5 | 6255 echo "configure: failed program was:" >&5 |
6254 cat conftest.$ac_ext >&5 | 6256 cat conftest.$ac_ext >&5 |
6265 else | 6267 else |
6266 echo "$ac_t""no" 1>&6 | 6268 echo "$ac_t""no" 1>&6 |
6267 fi | 6269 fi |
6268 | 6270 |
6269 echo $ac_n "checking for kvm_open in -lkvm""... $ac_c" 1>&6 | 6271 echo $ac_n "checking for kvm_open in -lkvm""... $ac_c" 1>&6 |
6270 echo "configure:6271: checking for kvm_open in -lkvm" >&5 | 6272 echo "configure:6273: checking for kvm_open in -lkvm" >&5 |
6271 ac_lib_var=`echo kvm'_'kvm_open | sed 'y%./+-%__p_%'` | 6273 ac_lib_var=`echo kvm'_'kvm_open | sed 'y%./+-%__p_%'` |
6272 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 6274 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
6273 echo $ac_n "(cached) $ac_c" 1>&6 | 6275 echo $ac_n "(cached) $ac_c" 1>&6 |
6274 else | 6276 else |
6275 ac_save_LIBS="$LIBS" | 6277 ac_save_LIBS="$LIBS" |
6276 LIBS="-lkvm $LIBS" | 6278 LIBS="-lkvm $LIBS" |
6277 cat > conftest.$ac_ext <<EOF | 6279 cat > conftest.$ac_ext <<EOF |
6278 #line 6279 "configure" | 6280 #line 6281 "configure" |
6279 #include "confdefs.h" | 6281 #include "confdefs.h" |
6280 /* Override any gcc2 internal prototype to avoid an error. */ | 6282 /* Override any gcc2 internal prototype to avoid an error. */ |
6281 /* We use char because int might match the return type of a gcc2 | 6283 /* We use char because int might match the return type of a gcc2 |
6282 builtin and then its argument prototype would still apply. */ | 6284 builtin and then its argument prototype would still apply. */ |
6283 char kvm_open(); | 6285 char kvm_open(); |
6284 | 6286 |
6285 int main() { | 6287 int main() { |
6286 kvm_open() | 6288 kvm_open() |
6287 ; return 0; } | 6289 ; return 0; } |
6288 EOF | 6290 EOF |
6289 if { (eval echo configure:6290: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6291 if { (eval echo configure:6292: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6290 rm -rf conftest* | 6292 rm -rf conftest* |
6291 eval "ac_cv_lib_$ac_lib_var=yes" | 6293 eval "ac_cv_lib_$ac_lib_var=yes" |
6292 else | 6294 else |
6293 echo "configure: failed program was:" >&5 | 6295 echo "configure: failed program was:" >&5 |
6294 cat conftest.$ac_ext >&5 | 6296 cat conftest.$ac_ext >&5 |
6306 echo "$ac_t""no" 1>&6 | 6308 echo "$ac_t""no" 1>&6 |
6307 fi | 6309 fi |
6308 | 6310 |
6309 # Check for the 4.4BSD definition of getloadavg. | 6311 # Check for the 4.4BSD definition of getloadavg. |
6310 echo $ac_n "checking for getloadavg in -lutil""... $ac_c" 1>&6 | 6312 echo $ac_n "checking for getloadavg in -lutil""... $ac_c" 1>&6 |
6311 echo "configure:6312: checking for getloadavg in -lutil" >&5 | 6313 echo "configure:6314: checking for getloadavg in -lutil" >&5 |
6312 ac_lib_var=`echo util'_'getloadavg | sed 'y%./+-%__p_%'` | 6314 ac_lib_var=`echo util'_'getloadavg | sed 'y%./+-%__p_%'` |
6313 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 6315 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
6314 echo $ac_n "(cached) $ac_c" 1>&6 | 6316 echo $ac_n "(cached) $ac_c" 1>&6 |
6315 else | 6317 else |
6316 ac_save_LIBS="$LIBS" | 6318 ac_save_LIBS="$LIBS" |
6317 LIBS="-lutil $LIBS" | 6319 LIBS="-lutil $LIBS" |
6318 cat > conftest.$ac_ext <<EOF | 6320 cat > conftest.$ac_ext <<EOF |
6319 #line 6320 "configure" | 6321 #line 6322 "configure" |
6320 #include "confdefs.h" | 6322 #include "confdefs.h" |
6321 /* Override any gcc2 internal prototype to avoid an error. */ | 6323 /* Override any gcc2 internal prototype to avoid an error. */ |
6322 /* We use char because int might match the return type of a gcc2 | 6324 /* We use char because int might match the return type of a gcc2 |
6323 builtin and then its argument prototype would still apply. */ | 6325 builtin and then its argument prototype would still apply. */ |
6324 char getloadavg(); | 6326 char getloadavg(); |
6325 | 6327 |
6326 int main() { | 6328 int main() { |
6327 getloadavg() | 6329 getloadavg() |
6328 ; return 0; } | 6330 ; return 0; } |
6329 EOF | 6331 EOF |
6330 if { (eval echo configure:6331: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6332 if { (eval echo configure:6333: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6331 rm -rf conftest* | 6333 rm -rf conftest* |
6332 eval "ac_cv_lib_$ac_lib_var=yes" | 6334 eval "ac_cv_lib_$ac_lib_var=yes" |
6333 else | 6335 else |
6334 echo "configure: failed program was:" >&5 | 6336 echo "configure: failed program was:" >&5 |
6335 cat conftest.$ac_ext >&5 | 6337 cat conftest.$ac_ext >&5 |
6351 if test $ac_have_func = no; then | 6353 if test $ac_have_func = no; then |
6352 # There is a commonly available library for RS/6000 AIX. | 6354 # There is a commonly available library for RS/6000 AIX. |
6353 # Since it is not a standard part of AIX, it might be installed locally. | 6355 # Since it is not a standard part of AIX, it might be installed locally. |
6354 ac_getloadavg_LIBS="$LIBS"; LIBS="-L/usr/local/lib $LIBS" | 6356 ac_getloadavg_LIBS="$LIBS"; LIBS="-L/usr/local/lib $LIBS" |
6355 echo $ac_n "checking for getloadavg in -lgetloadavg""... $ac_c" 1>&6 | 6357 echo $ac_n "checking for getloadavg in -lgetloadavg""... $ac_c" 1>&6 |
6356 echo "configure:6357: checking for getloadavg in -lgetloadavg" >&5 | 6358 echo "configure:6359: checking for getloadavg in -lgetloadavg" >&5 |
6357 ac_lib_var=`echo getloadavg'_'getloadavg | sed 'y%./+-%__p_%'` | 6359 ac_lib_var=`echo getloadavg'_'getloadavg | sed 'y%./+-%__p_%'` |
6358 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 6360 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
6359 echo $ac_n "(cached) $ac_c" 1>&6 | 6361 echo $ac_n "(cached) $ac_c" 1>&6 |
6360 else | 6362 else |
6361 ac_save_LIBS="$LIBS" | 6363 ac_save_LIBS="$LIBS" |
6362 LIBS="-lgetloadavg $LIBS" | 6364 LIBS="-lgetloadavg $LIBS" |
6363 cat > conftest.$ac_ext <<EOF | 6365 cat > conftest.$ac_ext <<EOF |
6364 #line 6365 "configure" | 6366 #line 6367 "configure" |
6365 #include "confdefs.h" | 6367 #include "confdefs.h" |
6366 /* Override any gcc2 internal prototype to avoid an error. */ | 6368 /* Override any gcc2 internal prototype to avoid an error. */ |
6367 /* We use char because int might match the return type of a gcc2 | 6369 /* We use char because int might match the return type of a gcc2 |
6368 builtin and then its argument prototype would still apply. */ | 6370 builtin and then its argument prototype would still apply. */ |
6369 char getloadavg(); | 6371 char getloadavg(); |
6370 | 6372 |
6371 int main() { | 6373 int main() { |
6372 getloadavg() | 6374 getloadavg() |
6373 ; return 0; } | 6375 ; return 0; } |
6374 EOF | 6376 EOF |
6375 if { (eval echo configure:6376: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6377 if { (eval echo configure:6378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6376 rm -rf conftest* | 6378 rm -rf conftest* |
6377 eval "ac_cv_lib_$ac_lib_var=yes" | 6379 eval "ac_cv_lib_$ac_lib_var=yes" |
6378 else | 6380 else |
6379 echo "configure: failed program was:" >&5 | 6381 echo "configure: failed program was:" >&5 |
6380 cat conftest.$ac_ext >&5 | 6382 cat conftest.$ac_ext >&5 |
6397 | 6399 |
6398 # Make sure it is really in the library, if we think we found it. | 6400 # Make sure it is really in the library, if we think we found it. |
6399 for ac_func in getloadavg | 6401 for ac_func in getloadavg |
6400 do | 6402 do |
6401 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 6403 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
6402 echo "configure:6403: checking for $ac_func" >&5 | 6404 echo "configure:6405: checking for $ac_func" >&5 |
6403 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 6405 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
6404 echo $ac_n "(cached) $ac_c" 1>&6 | 6406 echo $ac_n "(cached) $ac_c" 1>&6 |
6405 else | 6407 else |
6406 cat > conftest.$ac_ext <<EOF | 6408 cat > conftest.$ac_ext <<EOF |
6407 #line 6408 "configure" | 6409 #line 6410 "configure" |
6408 #include "confdefs.h" | 6410 #include "confdefs.h" |
6409 /* System header to define __stub macros and hopefully few prototypes, | 6411 /* System header to define __stub macros and hopefully few prototypes, |
6410 which can conflict with char $ac_func(); below. */ | 6412 which can conflict with char $ac_func(); below. */ |
6411 #include <assert.h> | 6413 #include <assert.h> |
6412 /* Override any gcc2 internal prototype to avoid an error. */ | 6414 /* Override any gcc2 internal prototype to avoid an error. */ |
6425 $ac_func(); | 6427 $ac_func(); |
6426 #endif | 6428 #endif |
6427 | 6429 |
6428 ; return 0; } | 6430 ; return 0; } |
6429 EOF | 6431 EOF |
6430 if { (eval echo configure:6431: \"$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 |
6431 rm -rf conftest* | 6433 rm -rf conftest* |
6432 eval "ac_cv_func_$ac_func=yes" | 6434 eval "ac_cv_func_$ac_func=yes" |
6433 else | 6435 else |
6434 echo "configure: failed program was:" >&5 | 6436 echo "configure: failed program was:" >&5 |
6435 cat conftest.$ac_ext >&5 | 6437 cat conftest.$ac_ext >&5 |
6463 else | 6465 else |
6464 # Figure out what our getloadavg.c needs. | 6466 # Figure out what our getloadavg.c needs. |
6465 ac_have_func=no | 6467 ac_have_func=no |
6466 ac_safe=`echo "sys/dg_sys_info.h" | sed 'y%./+-%__p_%'` | 6468 ac_safe=`echo "sys/dg_sys_info.h" | sed 'y%./+-%__p_%'` |
6467 echo $ac_n "checking for sys/dg_sys_info.h""... $ac_c" 1>&6 | 6469 echo $ac_n "checking for sys/dg_sys_info.h""... $ac_c" 1>&6 |
6468 echo "configure:6469: checking for sys/dg_sys_info.h" >&5 | 6470 echo "configure:6471: checking for sys/dg_sys_info.h" >&5 |
6469 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 6471 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
6470 echo $ac_n "(cached) $ac_c" 1>&6 | 6472 echo $ac_n "(cached) $ac_c" 1>&6 |
6471 else | 6473 else |
6472 cat > conftest.$ac_ext <<EOF | 6474 cat > conftest.$ac_ext <<EOF |
6473 #line 6474 "configure" | 6475 #line 6476 "configure" |
6474 #include "confdefs.h" | 6476 #include "confdefs.h" |
6475 #include <sys/dg_sys_info.h> | 6477 #include <sys/dg_sys_info.h> |
6476 EOF | 6478 EOF |
6477 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6479 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6478 { (eval echo configure:6479: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6480 { (eval echo configure:6481: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6479 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6481 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6480 if test -z "$ac_err"; then | 6482 if test -z "$ac_err"; then |
6481 rm -rf conftest* | 6483 rm -rf conftest* |
6482 eval "ac_cv_header_$ac_safe=yes" | 6484 eval "ac_cv_header_$ac_safe=yes" |
6483 else | 6485 else |
6494 ac_have_func=yes; cat >> confdefs.h <<\EOF | 6496 ac_have_func=yes; cat >> confdefs.h <<\EOF |
6495 #define DGUX 1 | 6497 #define DGUX 1 |
6496 EOF | 6498 EOF |
6497 | 6499 |
6498 echo $ac_n "checking for dg_sys_info in -ldgc""... $ac_c" 1>&6 | 6500 echo $ac_n "checking for dg_sys_info in -ldgc""... $ac_c" 1>&6 |
6499 echo "configure:6500: checking for dg_sys_info in -ldgc" >&5 | 6501 echo "configure:6502: checking for dg_sys_info in -ldgc" >&5 |
6500 ac_lib_var=`echo dgc'_'dg_sys_info | sed 'y%./+-%__p_%'` | 6502 ac_lib_var=`echo dgc'_'dg_sys_info | sed 'y%./+-%__p_%'` |
6501 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 6503 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
6502 echo $ac_n "(cached) $ac_c" 1>&6 | 6504 echo $ac_n "(cached) $ac_c" 1>&6 |
6503 else | 6505 else |
6504 ac_save_LIBS="$LIBS" | 6506 ac_save_LIBS="$LIBS" |
6505 LIBS="-ldgc $LIBS" | 6507 LIBS="-ldgc $LIBS" |
6506 cat > conftest.$ac_ext <<EOF | 6508 cat > conftest.$ac_ext <<EOF |
6507 #line 6508 "configure" | 6509 #line 6510 "configure" |
6508 #include "confdefs.h" | 6510 #include "confdefs.h" |
6509 /* Override any gcc2 internal prototype to avoid an error. */ | 6511 /* Override any gcc2 internal prototype to avoid an error. */ |
6510 /* We use char because int might match the return type of a gcc2 | 6512 /* We use char because int might match the return type of a gcc2 |
6511 builtin and then its argument prototype would still apply. */ | 6513 builtin and then its argument prototype would still apply. */ |
6512 char dg_sys_info(); | 6514 char dg_sys_info(); |
6513 | 6515 |
6514 int main() { | 6516 int main() { |
6515 dg_sys_info() | 6517 dg_sys_info() |
6516 ; return 0; } | 6518 ; return 0; } |
6517 EOF | 6519 EOF |
6518 if { (eval echo configure:6519: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6520 if { (eval echo configure:6521: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6519 rm -rf conftest* | 6521 rm -rf conftest* |
6520 eval "ac_cv_lib_$ac_lib_var=yes" | 6522 eval "ac_cv_lib_$ac_lib_var=yes" |
6521 else | 6523 else |
6522 echo "configure: failed program was:" >&5 | 6524 echo "configure: failed program was:" >&5 |
6523 cat conftest.$ac_ext >&5 | 6525 cat conftest.$ac_ext >&5 |
6558 fi | 6560 fi |
6559 | 6561 |
6560 if test $ac_have_func = no; then | 6562 if test $ac_have_func = no; then |
6561 ac_safe=`echo "inq_stats/cpustats.h" | sed 'y%./+-%__p_%'` | 6563 ac_safe=`echo "inq_stats/cpustats.h" | sed 'y%./+-%__p_%'` |
6562 echo $ac_n "checking for inq_stats/cpustats.h""... $ac_c" 1>&6 | 6564 echo $ac_n "checking for inq_stats/cpustats.h""... $ac_c" 1>&6 |
6563 echo "configure:6564: checking for inq_stats/cpustats.h" >&5 | 6565 echo "configure:6566: checking for inq_stats/cpustats.h" >&5 |
6564 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 6566 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
6565 echo $ac_n "(cached) $ac_c" 1>&6 | 6567 echo $ac_n "(cached) $ac_c" 1>&6 |
6566 else | 6568 else |
6567 cat > conftest.$ac_ext <<EOF | 6569 cat > conftest.$ac_ext <<EOF |
6568 #line 6569 "configure" | 6570 #line 6571 "configure" |
6569 #include "confdefs.h" | 6571 #include "confdefs.h" |
6570 #include <inq_stats/cpustats.h> | 6572 #include <inq_stats/cpustats.h> |
6571 EOF | 6573 EOF |
6572 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6574 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6573 { (eval echo configure:6574: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6575 { (eval echo configure:6576: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6574 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6576 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6575 if test -z "$ac_err"; then | 6577 if test -z "$ac_err"; then |
6576 rm -rf conftest* | 6578 rm -rf conftest* |
6577 eval "ac_cv_header_$ac_safe=yes" | 6579 eval "ac_cv_header_$ac_safe=yes" |
6578 else | 6580 else |
6601 fi | 6603 fi |
6602 | 6604 |
6603 if test $ac_have_func = no; then | 6605 if test $ac_have_func = no; then |
6604 ac_safe=`echo "sys/cpustats.h" | sed 'y%./+-%__p_%'` | 6606 ac_safe=`echo "sys/cpustats.h" | sed 'y%./+-%__p_%'` |
6605 echo $ac_n "checking for sys/cpustats.h""... $ac_c" 1>&6 | 6607 echo $ac_n "checking for sys/cpustats.h""... $ac_c" 1>&6 |
6606 echo "configure:6607: checking for sys/cpustats.h" >&5 | 6608 echo "configure:6609: checking for sys/cpustats.h" >&5 |
6607 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 6609 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
6608 echo $ac_n "(cached) $ac_c" 1>&6 | 6610 echo $ac_n "(cached) $ac_c" 1>&6 |
6609 else | 6611 else |
6610 cat > conftest.$ac_ext <<EOF | 6612 cat > conftest.$ac_ext <<EOF |
6611 #line 6612 "configure" | 6613 #line 6614 "configure" |
6612 #include "confdefs.h" | 6614 #include "confdefs.h" |
6613 #include <sys/cpustats.h> | 6615 #include <sys/cpustats.h> |
6614 EOF | 6616 EOF |
6615 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6617 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6616 { (eval echo configure:6617: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6618 { (eval echo configure:6619: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6617 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6619 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6618 if test -z "$ac_err"; then | 6620 if test -z "$ac_err"; then |
6619 rm -rf conftest* | 6621 rm -rf conftest* |
6620 eval "ac_cv_header_$ac_safe=yes" | 6622 eval "ac_cv_header_$ac_safe=yes" |
6621 else | 6623 else |
6642 if test $ac_have_func = no; then | 6644 if test $ac_have_func = no; then |
6643 for ac_hdr in mach/mach.h | 6645 for ac_hdr in mach/mach.h |
6644 do | 6646 do |
6645 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 6647 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
6646 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 6648 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
6647 echo "configure:6648: checking for $ac_hdr" >&5 | 6649 echo "configure:6650: checking for $ac_hdr" >&5 |
6648 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 6650 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
6649 echo $ac_n "(cached) $ac_c" 1>&6 | 6651 echo $ac_n "(cached) $ac_c" 1>&6 |
6650 else | 6652 else |
6651 cat > conftest.$ac_ext <<EOF | 6653 cat > conftest.$ac_ext <<EOF |
6652 #line 6653 "configure" | 6654 #line 6655 "configure" |
6653 #include "confdefs.h" | 6655 #include "confdefs.h" |
6654 #include <$ac_hdr> | 6656 #include <$ac_hdr> |
6655 EOF | 6657 EOF |
6656 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6658 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6657 { (eval echo configure:6658: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6659 { (eval echo configure:6660: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6658 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6660 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6659 if test -z "$ac_err"; then | 6661 if test -z "$ac_err"; then |
6660 rm -rf conftest* | 6662 rm -rf conftest* |
6661 eval "ac_cv_header_$ac_safe=yes" | 6663 eval "ac_cv_header_$ac_safe=yes" |
6662 else | 6664 else |
6682 | 6684 |
6683 fi | 6685 fi |
6684 | 6686 |
6685 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 6687 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
6686 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 6688 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
6687 echo "configure:6688: checking for nlist.h" >&5 | 6689 echo "configure:6690: checking for nlist.h" >&5 |
6688 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 6690 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
6689 echo $ac_n "(cached) $ac_c" 1>&6 | 6691 echo $ac_n "(cached) $ac_c" 1>&6 |
6690 else | 6692 else |
6691 cat > conftest.$ac_ext <<EOF | 6693 cat > conftest.$ac_ext <<EOF |
6692 #line 6693 "configure" | 6694 #line 6695 "configure" |
6693 #include "confdefs.h" | 6695 #include "confdefs.h" |
6694 #include <nlist.h> | 6696 #include <nlist.h> |
6695 EOF | 6697 EOF |
6696 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6698 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6697 { (eval echo configure:6698: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6699 { (eval echo configure:6700: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6698 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6700 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6699 if test -z "$ac_err"; then | 6701 if test -z "$ac_err"; then |
6700 rm -rf conftest* | 6702 rm -rf conftest* |
6701 eval "ac_cv_header_$ac_safe=yes" | 6703 eval "ac_cv_header_$ac_safe=yes" |
6702 else | 6704 else |
6713 cat >> confdefs.h <<\EOF | 6715 cat >> confdefs.h <<\EOF |
6714 #define NLIST_STRUCT 1 | 6716 #define NLIST_STRUCT 1 |
6715 EOF | 6717 EOF |
6716 | 6718 |
6717 echo $ac_n "checking for n_un in struct nlist""... $ac_c" 1>&6 | 6719 echo $ac_n "checking for n_un in struct nlist""... $ac_c" 1>&6 |
6718 echo "configure:6719: checking for n_un in struct nlist" >&5 | 6720 echo "configure:6721: checking for n_un in struct nlist" >&5 |
6719 if eval "test \"`echo '$''{'ac_cv_struct_nlist_n_un'+set}'`\" = set"; then | 6721 if eval "test \"`echo '$''{'ac_cv_struct_nlist_n_un'+set}'`\" = set"; then |
6720 echo $ac_n "(cached) $ac_c" 1>&6 | 6722 echo $ac_n "(cached) $ac_c" 1>&6 |
6721 else | 6723 else |
6722 cat > conftest.$ac_ext <<EOF | 6724 cat > conftest.$ac_ext <<EOF |
6723 #line 6724 "configure" | 6725 #line 6726 "configure" |
6724 #include "confdefs.h" | 6726 #include "confdefs.h" |
6725 #include <nlist.h> | 6727 #include <nlist.h> |
6726 int main() { | 6728 int main() { |
6727 struct nlist n; n.n_un.n_name = 0; | 6729 struct nlist n; n.n_un.n_name = 0; |
6728 ; return 0; } | 6730 ; return 0; } |
6729 EOF | 6731 EOF |
6730 if { (eval echo configure:6731: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 6732 if { (eval echo configure:6733: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
6731 rm -rf conftest* | 6733 rm -rf conftest* |
6732 ac_cv_struct_nlist_n_un=yes | 6734 ac_cv_struct_nlist_n_un=yes |
6733 else | 6735 else |
6734 echo "configure: failed program was:" >&5 | 6736 echo "configure: failed program was:" >&5 |
6735 cat conftest.$ac_ext >&5 | 6737 cat conftest.$ac_ext >&5 |
6752 fi | 6754 fi |
6753 fi # Do not have getloadavg in system libraries. | 6755 fi # Do not have getloadavg in system libraries. |
6754 | 6756 |
6755 # Some definitions of getloadavg require that the program be installed setgid. | 6757 # Some definitions of getloadavg require that the program be installed setgid. |
6756 echo $ac_n "checking whether getloadavg requires setgid""... $ac_c" 1>&6 | 6758 echo $ac_n "checking whether getloadavg requires setgid""... $ac_c" 1>&6 |
6757 echo "configure:6758: checking whether getloadavg requires setgid" >&5 | 6759 echo "configure:6760: checking whether getloadavg requires setgid" >&5 |
6758 if eval "test \"`echo '$''{'ac_cv_func_getloadavg_setgid'+set}'`\" = set"; then | 6760 if eval "test \"`echo '$''{'ac_cv_func_getloadavg_setgid'+set}'`\" = set"; then |
6759 echo $ac_n "(cached) $ac_c" 1>&6 | 6761 echo $ac_n "(cached) $ac_c" 1>&6 |
6760 else | 6762 else |
6761 cat > conftest.$ac_ext <<EOF | 6763 cat > conftest.$ac_ext <<EOF |
6762 #line 6763 "configure" | 6764 #line 6765 "configure" |
6763 #include "confdefs.h" | 6765 #include "confdefs.h" |
6764 #include "$srcdir/getloadavg.c" | 6766 #include "$srcdir/getloadavg.c" |
6765 #ifdef LDAV_PRIVILEGED | 6767 #ifdef LDAV_PRIVILEGED |
6766 Yowza Am I SETGID yet | 6768 Yowza Am I SETGID yet |
6767 #endif | 6769 #endif |
6788 NEED_SETGID=false | 6790 NEED_SETGID=false |
6789 fi | 6791 fi |
6790 | 6792 |
6791 if test $ac_cv_func_getloadavg_setgid = yes; then | 6793 if test $ac_cv_func_getloadavg_setgid = yes; then |
6792 echo $ac_n "checking group of /dev/kmem""... $ac_c" 1>&6 | 6794 echo $ac_n "checking group of /dev/kmem""... $ac_c" 1>&6 |
6793 echo "configure:6794: checking group of /dev/kmem" >&5 | 6795 echo "configure:6796: checking group of /dev/kmem" >&5 |
6794 if eval "test \"`echo '$''{'ac_cv_group_kmem'+set}'`\" = set"; then | 6796 if eval "test \"`echo '$''{'ac_cv_group_kmem'+set}'`\" = set"; then |
6795 echo $ac_n "(cached) $ac_c" 1>&6 | 6797 echo $ac_n "(cached) $ac_c" 1>&6 |
6796 else | 6798 else |
6797 # On Solaris, /dev/kmem is a symlink. Get info on the real file. | 6799 # On Solaris, /dev/kmem is a symlink. Get info on the real file. |
6798 ac_ls_output=`ls -lgL /dev/kmem 2>/dev/null` | 6800 ac_ls_output=`ls -lgL /dev/kmem 2>/dev/null` |
6811 | 6813 |
6812 | 6814 |
6813 for ac_func in ftello | 6815 for ac_func in ftello |
6814 do | 6816 do |
6815 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 6817 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
6816 echo "configure:6817: checking for $ac_func" >&5 | 6818 echo "configure:6819: checking for $ac_func" >&5 |
6817 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 6819 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
6818 echo $ac_n "(cached) $ac_c" 1>&6 | 6820 echo $ac_n "(cached) $ac_c" 1>&6 |
6819 else | 6821 else |
6820 cat > conftest.$ac_ext <<EOF | 6822 cat > conftest.$ac_ext <<EOF |
6821 #line 6822 "configure" | 6823 #line 6824 "configure" |
6822 #include "confdefs.h" | 6824 #include "confdefs.h" |
6823 /* System header to define __stub macros and hopefully few prototypes, | 6825 /* System header to define __stub macros and hopefully few prototypes, |
6824 which can conflict with char $ac_func(); below. */ | 6826 which can conflict with char $ac_func(); below. */ |
6825 #include <assert.h> | 6827 #include <assert.h> |
6826 /* Override any gcc2 internal prototype to avoid an error. */ | 6828 /* Override any gcc2 internal prototype to avoid an error. */ |
6839 $ac_func(); | 6841 $ac_func(); |
6840 #endif | 6842 #endif |
6841 | 6843 |
6842 ; return 0; } | 6844 ; return 0; } |
6843 EOF | 6845 EOF |
6844 if { (eval echo configure:6845: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6846 if { (eval echo configure:6847: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6845 rm -rf conftest* | 6847 rm -rf conftest* |
6846 eval "ac_cv_func_$ac_func=yes" | 6848 eval "ac_cv_func_$ac_func=yes" |
6847 else | 6849 else |
6848 echo "configure: failed program was:" >&5 | 6850 echo "configure: failed program was:" >&5 |
6849 cat conftest.$ac_ext >&5 | 6851 cat conftest.$ac_ext >&5 |
6869 # UNIX98 PTYs. AC_SYS_LARGEFILE should have defined _XOPEN_SOURCE | 6871 # UNIX98 PTYs. AC_SYS_LARGEFILE should have defined _XOPEN_SOURCE |
6870 # if we need it. | 6872 # if we need it. |
6871 for ac_func in grantpt | 6873 for ac_func in grantpt |
6872 do | 6874 do |
6873 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 6875 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
6874 echo "configure:6875: checking for $ac_func" >&5 | 6876 echo "configure:6877: checking for $ac_func" >&5 |
6875 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 6877 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
6876 echo $ac_n "(cached) $ac_c" 1>&6 | 6878 echo $ac_n "(cached) $ac_c" 1>&6 |
6877 else | 6879 else |
6878 cat > conftest.$ac_ext <<EOF | 6880 cat > conftest.$ac_ext <<EOF |
6879 #line 6880 "configure" | 6881 #line 6882 "configure" |
6880 #include "confdefs.h" | 6882 #include "confdefs.h" |
6881 /* System header to define __stub macros and hopefully few prototypes, | 6883 /* System header to define __stub macros and hopefully few prototypes, |
6882 which can conflict with char $ac_func(); below. */ | 6884 which can conflict with char $ac_func(); below. */ |
6883 #include <assert.h> | 6885 #include <assert.h> |
6884 /* Override any gcc2 internal prototype to avoid an error. */ | 6886 /* Override any gcc2 internal prototype to avoid an error. */ |
6897 $ac_func(); | 6899 $ac_func(); |
6898 #endif | 6900 #endif |
6899 | 6901 |
6900 ; return 0; } | 6902 ; return 0; } |
6901 EOF | 6903 EOF |
6902 if { (eval echo configure:6903: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6904 if { (eval echo configure:6905: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6903 rm -rf conftest* | 6905 rm -rf conftest* |
6904 eval "ac_cv_func_$ac_func=yes" | 6906 eval "ac_cv_func_$ac_func=yes" |
6905 else | 6907 else |
6906 echo "configure: failed program was:" >&5 | 6908 echo "configure: failed program was:" >&5 |
6907 cat conftest.$ac_ext >&5 | 6909 cat conftest.$ac_ext >&5 |
6926 | 6928 |
6927 # PTY-related GNU extensions. | 6929 # PTY-related GNU extensions. |
6928 for ac_func in getpt | 6930 for ac_func in getpt |
6929 do | 6931 do |
6930 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 6932 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
6931 echo "configure:6932: checking for $ac_func" >&5 | 6933 echo "configure:6934: checking for $ac_func" >&5 |
6932 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 6934 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
6933 echo $ac_n "(cached) $ac_c" 1>&6 | 6935 echo $ac_n "(cached) $ac_c" 1>&6 |
6934 else | 6936 else |
6935 cat > conftest.$ac_ext <<EOF | 6937 cat > conftest.$ac_ext <<EOF |
6936 #line 6937 "configure" | 6938 #line 6939 "configure" |
6937 #include "confdefs.h" | 6939 #include "confdefs.h" |
6938 /* System header to define __stub macros and hopefully few prototypes, | 6940 /* System header to define __stub macros and hopefully few prototypes, |
6939 which can conflict with char $ac_func(); below. */ | 6941 which can conflict with char $ac_func(); below. */ |
6940 #include <assert.h> | 6942 #include <assert.h> |
6941 /* Override any gcc2 internal prototype to avoid an error. */ | 6943 /* Override any gcc2 internal prototype to avoid an error. */ |
6954 $ac_func(); | 6956 $ac_func(); |
6955 #endif | 6957 #endif |
6956 | 6958 |
6957 ; return 0; } | 6959 ; return 0; } |
6958 EOF | 6960 EOF |
6959 if { (eval echo configure:6960: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6961 if { (eval echo configure:6962: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6960 rm -rf conftest* | 6962 rm -rf conftest* |
6961 eval "ac_cv_func_$ac_func=yes" | 6963 eval "ac_cv_func_$ac_func=yes" |
6962 else | 6964 else |
6963 echo "configure: failed program was:" >&5 | 6965 echo "configure: failed program was:" >&5 |
6964 cat conftest.$ac_ext >&5 | 6966 cat conftest.$ac_ext >&5 |
6984 # Check this now, so that we will NOT find the above functions in ncurses. | 6986 # Check this now, so that we will NOT find the above functions in ncurses. |
6985 # That is because we have not set up to link ncurses in lib-src. | 6987 # That is because we have not set up to link ncurses in lib-src. |
6986 # It's better to believe a function is not available | 6988 # It's better to believe a function is not available |
6987 # than to expect to find it in ncurses. | 6989 # than to expect to find it in ncurses. |
6988 echo $ac_n "checking for tparm in -lncurses""... $ac_c" 1>&6 | 6990 echo $ac_n "checking for tparm in -lncurses""... $ac_c" 1>&6 |
6989 echo "configure:6990: checking for tparm in -lncurses" >&5 | 6991 echo "configure:6992: checking for tparm in -lncurses" >&5 |
6990 ac_lib_var=`echo ncurses'_'tparm | sed 'y%./+-%__p_%'` | 6992 ac_lib_var=`echo ncurses'_'tparm | sed 'y%./+-%__p_%'` |
6991 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 6993 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
6992 echo $ac_n "(cached) $ac_c" 1>&6 | 6994 echo $ac_n "(cached) $ac_c" 1>&6 |
6993 else | 6995 else |
6994 ac_save_LIBS="$LIBS" | 6996 ac_save_LIBS="$LIBS" |
6995 LIBS="-lncurses $LIBS" | 6997 LIBS="-lncurses $LIBS" |
6996 cat > conftest.$ac_ext <<EOF | 6998 cat > conftest.$ac_ext <<EOF |
6997 #line 6998 "configure" | 6999 #line 7000 "configure" |
6998 #include "confdefs.h" | 7000 #include "confdefs.h" |
6999 /* Override any gcc2 internal prototype to avoid an error. */ | 7001 /* Override any gcc2 internal prototype to avoid an error. */ |
7000 /* We use char because int might match the return type of a gcc2 | 7002 /* We use char because int might match the return type of a gcc2 |
7001 builtin and then its argument prototype would still apply. */ | 7003 builtin and then its argument prototype would still apply. */ |
7002 char tparm(); | 7004 char tparm(); |
7003 | 7005 |
7004 int main() { | 7006 int main() { |
7005 tparm() | 7007 tparm() |
7006 ; return 0; } | 7008 ; return 0; } |
7007 EOF | 7009 EOF |
7008 if { (eval echo configure:7009: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7010 if { (eval echo configure:7011: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7009 rm -rf conftest* | 7011 rm -rf conftest* |
7010 eval "ac_cv_lib_$ac_lib_var=yes" | 7012 eval "ac_cv_lib_$ac_lib_var=yes" |
7011 else | 7013 else |
7012 echo "configure: failed program was:" >&5 | 7014 echo "configure: failed program was:" >&5 |
7013 cat conftest.$ac_ext >&5 | 7015 cat conftest.$ac_ext >&5 |
7034 | 7036 |
7035 | 7037 |
7036 # These tell us which Kerberos-related libraries to use. | 7038 # These tell us which Kerberos-related libraries to use. |
7037 if test "${with_kerberos+set}" = set; then | 7039 if test "${with_kerberos+set}" = set; then |
7038 echo $ac_n "checking for com_err in -lcom_err""... $ac_c" 1>&6 | 7040 echo $ac_n "checking for com_err in -lcom_err""... $ac_c" 1>&6 |
7039 echo "configure:7040: checking for com_err in -lcom_err" >&5 | 7041 echo "configure:7042: checking for com_err in -lcom_err" >&5 |
7040 ac_lib_var=`echo com_err'_'com_err | sed 'y%./+-%__p_%'` | 7042 ac_lib_var=`echo com_err'_'com_err | sed 'y%./+-%__p_%'` |
7041 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 7043 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
7042 echo $ac_n "(cached) $ac_c" 1>&6 | 7044 echo $ac_n "(cached) $ac_c" 1>&6 |
7043 else | 7045 else |
7044 ac_save_LIBS="$LIBS" | 7046 ac_save_LIBS="$LIBS" |
7045 LIBS="-lcom_err $LIBS" | 7047 LIBS="-lcom_err $LIBS" |
7046 cat > conftest.$ac_ext <<EOF | 7048 cat > conftest.$ac_ext <<EOF |
7047 #line 7048 "configure" | 7049 #line 7050 "configure" |
7048 #include "confdefs.h" | 7050 #include "confdefs.h" |
7049 /* Override any gcc2 internal prototype to avoid an error. */ | 7051 /* Override any gcc2 internal prototype to avoid an error. */ |
7050 /* We use char because int might match the return type of a gcc2 | 7052 /* We use char because int might match the return type of a gcc2 |
7051 builtin and then its argument prototype would still apply. */ | 7053 builtin and then its argument prototype would still apply. */ |
7052 char com_err(); | 7054 char com_err(); |
7053 | 7055 |
7054 int main() { | 7056 int main() { |
7055 com_err() | 7057 com_err() |
7056 ; return 0; } | 7058 ; return 0; } |
7057 EOF | 7059 EOF |
7058 if { (eval echo configure:7059: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7060 if { (eval echo configure:7061: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7059 rm -rf conftest* | 7061 rm -rf conftest* |
7060 eval "ac_cv_lib_$ac_lib_var=yes" | 7062 eval "ac_cv_lib_$ac_lib_var=yes" |
7061 else | 7063 else |
7062 echo "configure: failed program was:" >&5 | 7064 echo "configure: failed program was:" >&5 |
7063 cat conftest.$ac_ext >&5 | 7065 cat conftest.$ac_ext >&5 |
7081 else | 7083 else |
7082 echo "$ac_t""no" 1>&6 | 7084 echo "$ac_t""no" 1>&6 |
7083 fi | 7085 fi |
7084 | 7086 |
7085 echo $ac_n "checking for mit_des_cbc_encrypt in -lk5crypto""... $ac_c" 1>&6 | 7087 echo $ac_n "checking for mit_des_cbc_encrypt in -lk5crypto""... $ac_c" 1>&6 |
7086 echo "configure:7087: checking for mit_des_cbc_encrypt in -lk5crypto" >&5 | 7088 echo "configure:7089: checking for mit_des_cbc_encrypt in -lk5crypto" >&5 |
7087 ac_lib_var=`echo k5crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'` | 7089 ac_lib_var=`echo k5crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'` |
7088 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 7090 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
7089 echo $ac_n "(cached) $ac_c" 1>&6 | 7091 echo $ac_n "(cached) $ac_c" 1>&6 |
7090 else | 7092 else |
7091 ac_save_LIBS="$LIBS" | 7093 ac_save_LIBS="$LIBS" |
7092 LIBS="-lk5crypto $LIBS" | 7094 LIBS="-lk5crypto $LIBS" |
7093 cat > conftest.$ac_ext <<EOF | 7095 cat > conftest.$ac_ext <<EOF |
7094 #line 7095 "configure" | 7096 #line 7097 "configure" |
7095 #include "confdefs.h" | 7097 #include "confdefs.h" |
7096 /* Override any gcc2 internal prototype to avoid an error. */ | 7098 /* Override any gcc2 internal prototype to avoid an error. */ |
7097 /* We use char because int might match the return type of a gcc2 | 7099 /* We use char because int might match the return type of a gcc2 |
7098 builtin and then its argument prototype would still apply. */ | 7100 builtin and then its argument prototype would still apply. */ |
7099 char mit_des_cbc_encrypt(); | 7101 char mit_des_cbc_encrypt(); |
7100 | 7102 |
7101 int main() { | 7103 int main() { |
7102 mit_des_cbc_encrypt() | 7104 mit_des_cbc_encrypt() |
7103 ; return 0; } | 7105 ; return 0; } |
7104 EOF | 7106 EOF |
7105 if { (eval echo configure:7106: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7107 if { (eval echo configure:7108: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7106 rm -rf conftest* | 7108 rm -rf conftest* |
7107 eval "ac_cv_lib_$ac_lib_var=yes" | 7109 eval "ac_cv_lib_$ac_lib_var=yes" |
7108 else | 7110 else |
7109 echo "configure: failed program was:" >&5 | 7111 echo "configure: failed program was:" >&5 |
7110 cat conftest.$ac_ext >&5 | 7112 cat conftest.$ac_ext >&5 |
7128 else | 7130 else |
7129 echo "$ac_t""no" 1>&6 | 7131 echo "$ac_t""no" 1>&6 |
7130 fi | 7132 fi |
7131 | 7133 |
7132 echo $ac_n "checking for mit_des_cbc_encrypt in -lcrypto""... $ac_c" 1>&6 | 7134 echo $ac_n "checking for mit_des_cbc_encrypt in -lcrypto""... $ac_c" 1>&6 |
7133 echo "configure:7134: checking for mit_des_cbc_encrypt in -lcrypto" >&5 | 7135 echo "configure:7136: checking for mit_des_cbc_encrypt in -lcrypto" >&5 |
7134 ac_lib_var=`echo crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'` | 7136 ac_lib_var=`echo crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'` |
7135 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 7137 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
7136 echo $ac_n "(cached) $ac_c" 1>&6 | 7138 echo $ac_n "(cached) $ac_c" 1>&6 |
7137 else | 7139 else |
7138 ac_save_LIBS="$LIBS" | 7140 ac_save_LIBS="$LIBS" |
7139 LIBS="-lcrypto $LIBS" | 7141 LIBS="-lcrypto $LIBS" |
7140 cat > conftest.$ac_ext <<EOF | 7142 cat > conftest.$ac_ext <<EOF |
7141 #line 7142 "configure" | 7143 #line 7144 "configure" |
7142 #include "confdefs.h" | 7144 #include "confdefs.h" |
7143 /* Override any gcc2 internal prototype to avoid an error. */ | 7145 /* Override any gcc2 internal prototype to avoid an error. */ |
7144 /* We use char because int might match the return type of a gcc2 | 7146 /* We use char because int might match the return type of a gcc2 |
7145 builtin and then its argument prototype would still apply. */ | 7147 builtin and then its argument prototype would still apply. */ |
7146 char mit_des_cbc_encrypt(); | 7148 char mit_des_cbc_encrypt(); |
7147 | 7149 |
7148 int main() { | 7150 int main() { |
7149 mit_des_cbc_encrypt() | 7151 mit_des_cbc_encrypt() |
7150 ; return 0; } | 7152 ; return 0; } |
7151 EOF | 7153 EOF |
7152 if { (eval echo configure:7153: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7154 if { (eval echo configure:7155: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7153 rm -rf conftest* | 7155 rm -rf conftest* |
7154 eval "ac_cv_lib_$ac_lib_var=yes" | 7156 eval "ac_cv_lib_$ac_lib_var=yes" |
7155 else | 7157 else |
7156 echo "configure: failed program was:" >&5 | 7158 echo "configure: failed program was:" >&5 |
7157 cat conftest.$ac_ext >&5 | 7159 cat conftest.$ac_ext >&5 |
7175 else | 7177 else |
7176 echo "$ac_t""no" 1>&6 | 7178 echo "$ac_t""no" 1>&6 |
7177 fi | 7179 fi |
7178 | 7180 |
7179 echo $ac_n "checking for krb5_init_context in -lkrb5""... $ac_c" 1>&6 | 7181 echo $ac_n "checking for krb5_init_context in -lkrb5""... $ac_c" 1>&6 |
7180 echo "configure:7181: checking for krb5_init_context in -lkrb5" >&5 | 7182 echo "configure:7183: checking for krb5_init_context in -lkrb5" >&5 |
7181 ac_lib_var=`echo krb5'_'krb5_init_context | sed 'y%./+-%__p_%'` | 7183 ac_lib_var=`echo krb5'_'krb5_init_context | sed 'y%./+-%__p_%'` |
7182 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 7184 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
7183 echo $ac_n "(cached) $ac_c" 1>&6 | 7185 echo $ac_n "(cached) $ac_c" 1>&6 |
7184 else | 7186 else |
7185 ac_save_LIBS="$LIBS" | 7187 ac_save_LIBS="$LIBS" |
7186 LIBS="-lkrb5 $LIBS" | 7188 LIBS="-lkrb5 $LIBS" |
7187 cat > conftest.$ac_ext <<EOF | 7189 cat > conftest.$ac_ext <<EOF |
7188 #line 7189 "configure" | 7190 #line 7191 "configure" |
7189 #include "confdefs.h" | 7191 #include "confdefs.h" |
7190 /* Override any gcc2 internal prototype to avoid an error. */ | 7192 /* Override any gcc2 internal prototype to avoid an error. */ |
7191 /* We use char because int might match the return type of a gcc2 | 7193 /* We use char because int might match the return type of a gcc2 |
7192 builtin and then its argument prototype would still apply. */ | 7194 builtin and then its argument prototype would still apply. */ |
7193 char krb5_init_context(); | 7195 char krb5_init_context(); |
7194 | 7196 |
7195 int main() { | 7197 int main() { |
7196 krb5_init_context() | 7198 krb5_init_context() |
7197 ; return 0; } | 7199 ; return 0; } |
7198 EOF | 7200 EOF |
7199 if { (eval echo configure:7200: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7201 if { (eval echo configure:7202: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7200 rm -rf conftest* | 7202 rm -rf conftest* |
7201 eval "ac_cv_lib_$ac_lib_var=yes" | 7203 eval "ac_cv_lib_$ac_lib_var=yes" |
7202 else | 7204 else |
7203 echo "configure: failed program was:" >&5 | 7205 echo "configure: failed program was:" >&5 |
7204 cat conftest.$ac_ext >&5 | 7206 cat conftest.$ac_ext >&5 |
7223 echo "$ac_t""no" 1>&6 | 7225 echo "$ac_t""no" 1>&6 |
7224 fi | 7226 fi |
7225 | 7227 |
7226 if test "${with_kerberos5+set}" != set; then | 7228 if test "${with_kerberos5+set}" != set; then |
7227 echo $ac_n "checking for des_cbc_encrypt in -ldes425""... $ac_c" 1>&6 | 7229 echo $ac_n "checking for des_cbc_encrypt in -ldes425""... $ac_c" 1>&6 |
7228 echo "configure:7229: checking for des_cbc_encrypt in -ldes425" >&5 | 7230 echo "configure:7231: checking for des_cbc_encrypt in -ldes425" >&5 |
7229 ac_lib_var=`echo des425'_'des_cbc_encrypt | sed 'y%./+-%__p_%'` | 7231 ac_lib_var=`echo des425'_'des_cbc_encrypt | sed 'y%./+-%__p_%'` |
7230 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 7232 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
7231 echo $ac_n "(cached) $ac_c" 1>&6 | 7233 echo $ac_n "(cached) $ac_c" 1>&6 |
7232 else | 7234 else |
7233 ac_save_LIBS="$LIBS" | 7235 ac_save_LIBS="$LIBS" |
7234 LIBS="-ldes425 $LIBS" | 7236 LIBS="-ldes425 $LIBS" |
7235 cat > conftest.$ac_ext <<EOF | 7237 cat > conftest.$ac_ext <<EOF |
7236 #line 7237 "configure" | 7238 #line 7239 "configure" |
7237 #include "confdefs.h" | 7239 #include "confdefs.h" |
7238 /* Override any gcc2 internal prototype to avoid an error. */ | 7240 /* Override any gcc2 internal prototype to avoid an error. */ |
7239 /* We use char because int might match the return type of a gcc2 | 7241 /* We use char because int might match the return type of a gcc2 |
7240 builtin and then its argument prototype would still apply. */ | 7242 builtin and then its argument prototype would still apply. */ |
7241 char des_cbc_encrypt(); | 7243 char des_cbc_encrypt(); |
7242 | 7244 |
7243 int main() { | 7245 int main() { |
7244 des_cbc_encrypt() | 7246 des_cbc_encrypt() |
7245 ; return 0; } | 7247 ; return 0; } |
7246 EOF | 7248 EOF |
7247 if { (eval echo configure:7248: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7249 if { (eval echo configure:7250: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7248 rm -rf conftest* | 7250 rm -rf conftest* |
7249 eval "ac_cv_lib_$ac_lib_var=yes" | 7251 eval "ac_cv_lib_$ac_lib_var=yes" |
7250 else | 7252 else |
7251 echo "configure: failed program was:" >&5 | 7253 echo "configure: failed program was:" >&5 |
7252 cat conftest.$ac_ext >&5 | 7254 cat conftest.$ac_ext >&5 |
7268 LIBS="-ldes425 $LIBS" | 7270 LIBS="-ldes425 $LIBS" |
7269 | 7271 |
7270 else | 7272 else |
7271 echo "$ac_t""no" 1>&6 | 7273 echo "$ac_t""no" 1>&6 |
7272 echo $ac_n "checking for des_cbc_encrypt in -ldes""... $ac_c" 1>&6 | 7274 echo $ac_n "checking for des_cbc_encrypt in -ldes""... $ac_c" 1>&6 |
7273 echo "configure:7274: checking for des_cbc_encrypt in -ldes" >&5 | 7275 echo "configure:7276: checking for des_cbc_encrypt in -ldes" >&5 |
7274 ac_lib_var=`echo des'_'des_cbc_encrypt | sed 'y%./+-%__p_%'` | 7276 ac_lib_var=`echo des'_'des_cbc_encrypt | sed 'y%./+-%__p_%'` |
7275 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 7277 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
7276 echo $ac_n "(cached) $ac_c" 1>&6 | 7278 echo $ac_n "(cached) $ac_c" 1>&6 |
7277 else | 7279 else |
7278 ac_save_LIBS="$LIBS" | 7280 ac_save_LIBS="$LIBS" |
7279 LIBS="-ldes $LIBS" | 7281 LIBS="-ldes $LIBS" |
7280 cat > conftest.$ac_ext <<EOF | 7282 cat > conftest.$ac_ext <<EOF |
7281 #line 7282 "configure" | 7283 #line 7284 "configure" |
7282 #include "confdefs.h" | 7284 #include "confdefs.h" |
7283 /* Override any gcc2 internal prototype to avoid an error. */ | 7285 /* Override any gcc2 internal prototype to avoid an error. */ |
7284 /* We use char because int might match the return type of a gcc2 | 7286 /* We use char because int might match the return type of a gcc2 |
7285 builtin and then its argument prototype would still apply. */ | 7287 builtin and then its argument prototype would still apply. */ |
7286 char des_cbc_encrypt(); | 7288 char des_cbc_encrypt(); |
7287 | 7289 |
7288 int main() { | 7290 int main() { |
7289 des_cbc_encrypt() | 7291 des_cbc_encrypt() |
7290 ; return 0; } | 7292 ; return 0; } |
7291 EOF | 7293 EOF |
7292 if { (eval echo configure:7293: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7294 if { (eval echo configure:7295: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7293 rm -rf conftest* | 7295 rm -rf conftest* |
7294 eval "ac_cv_lib_$ac_lib_var=yes" | 7296 eval "ac_cv_lib_$ac_lib_var=yes" |
7295 else | 7297 else |
7296 echo "configure: failed program was:" >&5 | 7298 echo "configure: failed program was:" >&5 |
7297 cat conftest.$ac_ext >&5 | 7299 cat conftest.$ac_ext >&5 |
7317 fi | 7319 fi |
7318 | 7320 |
7319 fi | 7321 fi |
7320 | 7322 |
7321 echo $ac_n "checking for krb_get_cred in -lkrb4""... $ac_c" 1>&6 | 7323 echo $ac_n "checking for krb_get_cred in -lkrb4""... $ac_c" 1>&6 |
7322 echo "configure:7323: checking for krb_get_cred in -lkrb4" >&5 | 7324 echo "configure:7325: checking for krb_get_cred in -lkrb4" >&5 |
7323 ac_lib_var=`echo krb4'_'krb_get_cred | sed 'y%./+-%__p_%'` | 7325 ac_lib_var=`echo krb4'_'krb_get_cred | sed 'y%./+-%__p_%'` |
7324 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 7326 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
7325 echo $ac_n "(cached) $ac_c" 1>&6 | 7327 echo $ac_n "(cached) $ac_c" 1>&6 |
7326 else | 7328 else |
7327 ac_save_LIBS="$LIBS" | 7329 ac_save_LIBS="$LIBS" |
7328 LIBS="-lkrb4 $LIBS" | 7330 LIBS="-lkrb4 $LIBS" |
7329 cat > conftest.$ac_ext <<EOF | 7331 cat > conftest.$ac_ext <<EOF |
7330 #line 7331 "configure" | 7332 #line 7333 "configure" |
7331 #include "confdefs.h" | 7333 #include "confdefs.h" |
7332 /* Override any gcc2 internal prototype to avoid an error. */ | 7334 /* Override any gcc2 internal prototype to avoid an error. */ |
7333 /* We use char because int might match the return type of a gcc2 | 7335 /* We use char because int might match the return type of a gcc2 |
7334 builtin and then its argument prototype would still apply. */ | 7336 builtin and then its argument prototype would still apply. */ |
7335 char krb_get_cred(); | 7337 char krb_get_cred(); |
7336 | 7338 |
7337 int main() { | 7339 int main() { |
7338 krb_get_cred() | 7340 krb_get_cred() |
7339 ; return 0; } | 7341 ; return 0; } |
7340 EOF | 7342 EOF |
7341 if { (eval echo configure:7342: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7343 if { (eval echo configure:7344: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7342 rm -rf conftest* | 7344 rm -rf conftest* |
7343 eval "ac_cv_lib_$ac_lib_var=yes" | 7345 eval "ac_cv_lib_$ac_lib_var=yes" |
7344 else | 7346 else |
7345 echo "configure: failed program was:" >&5 | 7347 echo "configure: failed program was:" >&5 |
7346 cat conftest.$ac_ext >&5 | 7348 cat conftest.$ac_ext >&5 |
7362 LIBS="-lkrb4 $LIBS" | 7364 LIBS="-lkrb4 $LIBS" |
7363 | 7365 |
7364 else | 7366 else |
7365 echo "$ac_t""no" 1>&6 | 7367 echo "$ac_t""no" 1>&6 |
7366 echo $ac_n "checking for krb_get_cred in -lkrb""... $ac_c" 1>&6 | 7368 echo $ac_n "checking for krb_get_cred in -lkrb""... $ac_c" 1>&6 |
7367 echo "configure:7368: checking for krb_get_cred in -lkrb" >&5 | 7369 echo "configure:7370: checking for krb_get_cred in -lkrb" >&5 |
7368 ac_lib_var=`echo krb'_'krb_get_cred | sed 'y%./+-%__p_%'` | 7370 ac_lib_var=`echo krb'_'krb_get_cred | sed 'y%./+-%__p_%'` |
7369 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 7371 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
7370 echo $ac_n "(cached) $ac_c" 1>&6 | 7372 echo $ac_n "(cached) $ac_c" 1>&6 |
7371 else | 7373 else |
7372 ac_save_LIBS="$LIBS" | 7374 ac_save_LIBS="$LIBS" |
7373 LIBS="-lkrb $LIBS" | 7375 LIBS="-lkrb $LIBS" |
7374 cat > conftest.$ac_ext <<EOF | 7376 cat > conftest.$ac_ext <<EOF |
7375 #line 7376 "configure" | 7377 #line 7378 "configure" |
7376 #include "confdefs.h" | 7378 #include "confdefs.h" |
7377 /* Override any gcc2 internal prototype to avoid an error. */ | 7379 /* Override any gcc2 internal prototype to avoid an error. */ |
7378 /* We use char because int might match the return type of a gcc2 | 7380 /* We use char because int might match the return type of a gcc2 |
7379 builtin and then its argument prototype would still apply. */ | 7381 builtin and then its argument prototype would still apply. */ |
7380 char krb_get_cred(); | 7382 char krb_get_cred(); |
7381 | 7383 |
7382 int main() { | 7384 int main() { |
7383 krb_get_cred() | 7385 krb_get_cred() |
7384 ; return 0; } | 7386 ; return 0; } |
7385 EOF | 7387 EOF |
7386 if { (eval echo configure:7387: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7388 if { (eval echo configure:7389: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7387 rm -rf conftest* | 7389 rm -rf conftest* |
7388 eval "ac_cv_lib_$ac_lib_var=yes" | 7390 eval "ac_cv_lib_$ac_lib_var=yes" |
7389 else | 7391 else |
7390 echo "configure: failed program was:" >&5 | 7392 echo "configure: failed program was:" >&5 |
7391 cat conftest.$ac_ext >&5 | 7393 cat conftest.$ac_ext >&5 |
7417 if test "${with_kerberos5+set}" = set; then | 7419 if test "${with_kerberos5+set}" = set; then |
7418 for ac_hdr in krb5.h | 7420 for ac_hdr in krb5.h |
7419 do | 7421 do |
7420 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 7422 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
7421 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 7423 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
7422 echo "configure:7423: checking for $ac_hdr" >&5 | 7424 echo "configure:7425: checking for $ac_hdr" >&5 |
7423 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 7425 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
7424 echo $ac_n "(cached) $ac_c" 1>&6 | 7426 echo $ac_n "(cached) $ac_c" 1>&6 |
7425 else | 7427 else |
7426 cat > conftest.$ac_ext <<EOF | 7428 cat > conftest.$ac_ext <<EOF |
7427 #line 7428 "configure" | 7429 #line 7430 "configure" |
7428 #include "confdefs.h" | 7430 #include "confdefs.h" |
7429 #include <$ac_hdr> | 7431 #include <$ac_hdr> |
7430 EOF | 7432 EOF |
7431 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7433 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7432 { (eval echo configure:7433: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7434 { (eval echo configure:7435: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7433 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7435 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7434 if test -z "$ac_err"; then | 7436 if test -z "$ac_err"; then |
7435 rm -rf conftest* | 7437 rm -rf conftest* |
7436 eval "ac_cv_header_$ac_safe=yes" | 7438 eval "ac_cv_header_$ac_safe=yes" |
7437 else | 7439 else |
7458 else | 7460 else |
7459 for ac_hdr in des.h | 7461 for ac_hdr in des.h |
7460 do | 7462 do |
7461 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 7463 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
7462 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 7464 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
7463 echo "configure:7464: checking for $ac_hdr" >&5 | 7465 echo "configure:7466: checking for $ac_hdr" >&5 |
7464 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 7466 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
7465 echo $ac_n "(cached) $ac_c" 1>&6 | 7467 echo $ac_n "(cached) $ac_c" 1>&6 |
7466 else | 7468 else |
7467 cat > conftest.$ac_ext <<EOF | 7469 cat > conftest.$ac_ext <<EOF |
7468 #line 7469 "configure" | 7470 #line 7471 "configure" |
7469 #include "confdefs.h" | 7471 #include "confdefs.h" |
7470 #include <$ac_hdr> | 7472 #include <$ac_hdr> |
7471 EOF | 7473 EOF |
7472 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7474 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7473 { (eval echo configure:7474: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7475 { (eval echo configure:7476: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7474 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7476 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7475 if test -z "$ac_err"; then | 7477 if test -z "$ac_err"; then |
7476 rm -rf conftest* | 7478 rm -rf conftest* |
7477 eval "ac_cv_header_$ac_safe=yes" | 7479 eval "ac_cv_header_$ac_safe=yes" |
7478 else | 7480 else |
7495 echo "$ac_t""no" 1>&6 | 7497 echo "$ac_t""no" 1>&6 |
7496 for ac_hdr in kerberosIV/des.h | 7498 for ac_hdr in kerberosIV/des.h |
7497 do | 7499 do |
7498 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 7500 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
7499 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 7501 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
7500 echo "configure:7501: checking for $ac_hdr" >&5 | 7502 echo "configure:7503: checking for $ac_hdr" >&5 |
7501 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 7503 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
7502 echo $ac_n "(cached) $ac_c" 1>&6 | 7504 echo $ac_n "(cached) $ac_c" 1>&6 |
7503 else | 7505 else |
7504 cat > conftest.$ac_ext <<EOF | 7506 cat > conftest.$ac_ext <<EOF |
7505 #line 7506 "configure" | 7507 #line 7508 "configure" |
7506 #include "confdefs.h" | 7508 #include "confdefs.h" |
7507 #include <$ac_hdr> | 7509 #include <$ac_hdr> |
7508 EOF | 7510 EOF |
7509 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7511 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7510 { (eval echo configure:7511: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7512 { (eval echo configure:7513: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7511 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7513 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7512 if test -z "$ac_err"; then | 7514 if test -z "$ac_err"; then |
7513 rm -rf conftest* | 7515 rm -rf conftest* |
7514 eval "ac_cv_header_$ac_safe=yes" | 7516 eval "ac_cv_header_$ac_safe=yes" |
7515 else | 7517 else |
7532 echo "$ac_t""no" 1>&6 | 7534 echo "$ac_t""no" 1>&6 |
7533 for ac_hdr in kerberos/des.h | 7535 for ac_hdr in kerberos/des.h |
7534 do | 7536 do |
7535 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 7537 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
7536 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 7538 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
7537 echo "configure:7538: checking for $ac_hdr" >&5 | 7539 echo "configure:7540: checking for $ac_hdr" >&5 |
7538 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 7540 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
7539 echo $ac_n "(cached) $ac_c" 1>&6 | 7541 echo $ac_n "(cached) $ac_c" 1>&6 |
7540 else | 7542 else |
7541 cat > conftest.$ac_ext <<EOF | 7543 cat > conftest.$ac_ext <<EOF |
7542 #line 7543 "configure" | 7544 #line 7545 "configure" |
7543 #include "confdefs.h" | 7545 #include "confdefs.h" |
7544 #include <$ac_hdr> | 7546 #include <$ac_hdr> |
7545 EOF | 7547 EOF |
7546 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7548 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7547 { (eval echo configure:7548: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7549 { (eval echo configure:7550: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7548 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7550 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7549 if test -z "$ac_err"; then | 7551 if test -z "$ac_err"; then |
7550 rm -rf conftest* | 7552 rm -rf conftest* |
7551 eval "ac_cv_header_$ac_safe=yes" | 7553 eval "ac_cv_header_$ac_safe=yes" |
7552 else | 7554 else |
7578 | 7580 |
7579 for ac_hdr in krb.h | 7581 for ac_hdr in krb.h |
7580 do | 7582 do |
7581 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 7583 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
7582 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 7584 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
7583 echo "configure:7584: checking for $ac_hdr" >&5 | 7585 echo "configure:7586: checking for $ac_hdr" >&5 |
7584 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 7586 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
7585 echo $ac_n "(cached) $ac_c" 1>&6 | 7587 echo $ac_n "(cached) $ac_c" 1>&6 |
7586 else | 7588 else |
7587 cat > conftest.$ac_ext <<EOF | 7589 cat > conftest.$ac_ext <<EOF |
7588 #line 7589 "configure" | 7590 #line 7591 "configure" |
7589 #include "confdefs.h" | 7591 #include "confdefs.h" |
7590 #include <$ac_hdr> | 7592 #include <$ac_hdr> |
7591 EOF | 7593 EOF |
7592 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7594 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7593 { (eval echo configure:7594: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7595 { (eval echo configure:7596: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7594 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7596 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7595 if test -z "$ac_err"; then | 7597 if test -z "$ac_err"; then |
7596 rm -rf conftest* | 7598 rm -rf conftest* |
7597 eval "ac_cv_header_$ac_safe=yes" | 7599 eval "ac_cv_header_$ac_safe=yes" |
7598 else | 7600 else |
7615 echo "$ac_t""no" 1>&6 | 7617 echo "$ac_t""no" 1>&6 |
7616 for ac_hdr in kerberosIV/krb.h | 7618 for ac_hdr in kerberosIV/krb.h |
7617 do | 7619 do |
7618 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 7620 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
7619 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 7621 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
7620 echo "configure:7621: checking for $ac_hdr" >&5 | 7622 echo "configure:7623: checking for $ac_hdr" >&5 |
7621 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 7623 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
7622 echo $ac_n "(cached) $ac_c" 1>&6 | 7624 echo $ac_n "(cached) $ac_c" 1>&6 |
7623 else | 7625 else |
7624 cat > conftest.$ac_ext <<EOF | 7626 cat > conftest.$ac_ext <<EOF |
7625 #line 7626 "configure" | 7627 #line 7628 "configure" |
7626 #include "confdefs.h" | 7628 #include "confdefs.h" |
7627 #include <$ac_hdr> | 7629 #include <$ac_hdr> |
7628 EOF | 7630 EOF |
7629 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7631 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7630 { (eval echo configure:7631: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7632 { (eval echo configure:7633: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7631 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7633 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7632 if test -z "$ac_err"; then | 7634 if test -z "$ac_err"; then |
7633 rm -rf conftest* | 7635 rm -rf conftest* |
7634 eval "ac_cv_header_$ac_safe=yes" | 7636 eval "ac_cv_header_$ac_safe=yes" |
7635 else | 7637 else |
7652 echo "$ac_t""no" 1>&6 | 7654 echo "$ac_t""no" 1>&6 |
7653 for ac_hdr in kerberos/krb.h | 7655 for ac_hdr in kerberos/krb.h |
7654 do | 7656 do |
7655 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 7657 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
7656 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 7658 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
7657 echo "configure:7658: checking for $ac_hdr" >&5 | 7659 echo "configure:7660: checking for $ac_hdr" >&5 |
7658 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 7660 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
7659 echo $ac_n "(cached) $ac_c" 1>&6 | 7661 echo $ac_n "(cached) $ac_c" 1>&6 |
7660 else | 7662 else |
7661 cat > conftest.$ac_ext <<EOF | 7663 cat > conftest.$ac_ext <<EOF |
7662 #line 7663 "configure" | 7664 #line 7665 "configure" |
7663 #include "confdefs.h" | 7665 #include "confdefs.h" |
7664 #include <$ac_hdr> | 7666 #include <$ac_hdr> |
7665 EOF | 7667 EOF |
7666 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7668 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7667 { (eval echo configure:7668: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7669 { (eval echo configure:7670: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7668 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7670 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7669 if test -z "$ac_err"; then | 7671 if test -z "$ac_err"; then |
7670 rm -rf conftest* | 7672 rm -rf conftest* |
7671 eval "ac_cv_header_$ac_safe=yes" | 7673 eval "ac_cv_header_$ac_safe=yes" |
7672 else | 7674 else |
7699 fi | 7701 fi |
7700 for ac_hdr in com_err.h | 7702 for ac_hdr in com_err.h |
7701 do | 7703 do |
7702 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 7704 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
7703 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 7705 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
7704 echo "configure:7705: checking for $ac_hdr" >&5 | 7706 echo "configure:7707: checking for $ac_hdr" >&5 |
7705 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 7707 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
7706 echo $ac_n "(cached) $ac_c" 1>&6 | 7708 echo $ac_n "(cached) $ac_c" 1>&6 |
7707 else | 7709 else |
7708 cat > conftest.$ac_ext <<EOF | 7710 cat > conftest.$ac_ext <<EOF |
7709 #line 7710 "configure" | 7711 #line 7712 "configure" |
7710 #include "confdefs.h" | 7712 #include "confdefs.h" |
7711 #include <$ac_hdr> | 7713 #include <$ac_hdr> |
7712 EOF | 7714 EOF |
7713 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7715 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7714 { (eval echo configure:7715: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7716 { (eval echo configure:7717: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7715 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7717 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7716 if test -z "$ac_err"; then | 7718 if test -z "$ac_err"; then |
7717 rm -rf conftest* | 7719 rm -rf conftest* |
7718 eval "ac_cv_header_$ac_safe=yes" | 7720 eval "ac_cv_header_$ac_safe=yes" |
7719 else | 7721 else |
7740 fi | 7742 fi |
7741 | 7743 |
7742 # Solaris requires -lintl if you want strerror (which calls dgettext) | 7744 # Solaris requires -lintl if you want strerror (which calls dgettext) |
7743 # to return localized messages. | 7745 # to return localized messages. |
7744 echo $ac_n "checking for dgettext in -lintl""... $ac_c" 1>&6 | 7746 echo $ac_n "checking for dgettext in -lintl""... $ac_c" 1>&6 |
7745 echo "configure:7746: checking for dgettext in -lintl" >&5 | 7747 echo "configure:7748: checking for dgettext in -lintl" >&5 |
7746 ac_lib_var=`echo intl'_'dgettext | sed 'y%./+-%__p_%'` | 7748 ac_lib_var=`echo intl'_'dgettext | sed 'y%./+-%__p_%'` |
7747 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 7749 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
7748 echo $ac_n "(cached) $ac_c" 1>&6 | 7750 echo $ac_n "(cached) $ac_c" 1>&6 |
7749 else | 7751 else |
7750 ac_save_LIBS="$LIBS" | 7752 ac_save_LIBS="$LIBS" |
7751 LIBS="-lintl $LIBS" | 7753 LIBS="-lintl $LIBS" |
7752 cat > conftest.$ac_ext <<EOF | 7754 cat > conftest.$ac_ext <<EOF |
7753 #line 7754 "configure" | 7755 #line 7756 "configure" |
7754 #include "confdefs.h" | 7756 #include "confdefs.h" |
7755 /* Override any gcc2 internal prototype to avoid an error. */ | 7757 /* Override any gcc2 internal prototype to avoid an error. */ |
7756 /* We use char because int might match the return type of a gcc2 | 7758 /* We use char because int might match the return type of a gcc2 |
7757 builtin and then its argument prototype would still apply. */ | 7759 builtin and then its argument prototype would still apply. */ |
7758 char dgettext(); | 7760 char dgettext(); |
7759 | 7761 |
7760 int main() { | 7762 int main() { |
7761 dgettext() | 7763 dgettext() |
7762 ; return 0; } | 7764 ; return 0; } |
7763 EOF | 7765 EOF |
7764 if { (eval echo configure:7765: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7766 if { (eval echo configure:7767: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7765 rm -rf conftest* | 7767 rm -rf conftest* |
7766 eval "ac_cv_lib_$ac_lib_var=yes" | 7768 eval "ac_cv_lib_$ac_lib_var=yes" |
7767 else | 7769 else |
7768 echo "configure: failed program was:" >&5 | 7770 echo "configure: failed program was:" >&5 |
7769 cat conftest.$ac_ext >&5 | 7771 cat conftest.$ac_ext >&5 |
7788 echo "$ac_t""no" 1>&6 | 7790 echo "$ac_t""no" 1>&6 |
7789 fi | 7791 fi |
7790 | 7792 |
7791 | 7793 |
7792 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 7794 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
7793 echo "configure:7794: checking whether localtime caches TZ" >&5 | 7795 echo "configure:7796: checking whether localtime caches TZ" >&5 |
7794 if eval "test \"`echo '$''{'emacs_cv_localtime_cache'+set}'`\" = set"; then | 7796 if eval "test \"`echo '$''{'emacs_cv_localtime_cache'+set}'`\" = set"; then |
7795 echo $ac_n "(cached) $ac_c" 1>&6 | 7797 echo $ac_n "(cached) $ac_c" 1>&6 |
7796 else | 7798 else |
7797 if test x$ac_cv_func_tzset = xyes; then | 7799 if test x$ac_cv_func_tzset = xyes; then |
7798 if test "$cross_compiling" = yes; then | 7800 if test "$cross_compiling" = yes; then |
7799 # If we have tzset, assume the worst when cross-compiling. | 7801 # If we have tzset, assume the worst when cross-compiling. |
7800 emacs_cv_localtime_cache=yes | 7802 emacs_cv_localtime_cache=yes |
7801 else | 7803 else |
7802 cat > conftest.$ac_ext <<EOF | 7804 cat > conftest.$ac_ext <<EOF |
7803 #line 7804 "configure" | 7805 #line 7806 "configure" |
7804 #include "confdefs.h" | 7806 #include "confdefs.h" |
7805 #include <time.h> | 7807 #include <time.h> |
7806 extern char **environ; | 7808 extern char **environ; |
7807 unset_TZ () | 7809 unset_TZ () |
7808 { | 7810 { |
7830 if (localtime (&now)->tm_hour != hour_unset) | 7832 if (localtime (&now)->tm_hour != hour_unset) |
7831 exit (1); | 7833 exit (1); |
7832 exit (0); | 7834 exit (0); |
7833 } | 7835 } |
7834 EOF | 7836 EOF |
7835 if { (eval echo configure:7836: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 7837 if { (eval echo configure:7838: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
7836 then | 7838 then |
7837 emacs_cv_localtime_cache=no | 7839 emacs_cv_localtime_cache=no |
7838 else | 7840 else |
7839 echo "configure: failed program was:" >&5 | 7841 echo "configure: failed program was:" >&5 |
7840 cat conftest.$ac_ext >&5 | 7842 cat conftest.$ac_ext >&5 |
7860 | 7862 |
7861 if test "x$HAVE_TIMEVAL" = xyes; then | 7863 if test "x$HAVE_TIMEVAL" = xyes; then |
7862 for ac_func in gettimeofday | 7864 for ac_func in gettimeofday |
7863 do | 7865 do |
7864 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7866 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
7865 echo "configure:7866: checking for $ac_func" >&5 | 7867 echo "configure:7868: checking for $ac_func" >&5 |
7866 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 7868 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
7867 echo $ac_n "(cached) $ac_c" 1>&6 | 7869 echo $ac_n "(cached) $ac_c" 1>&6 |
7868 else | 7870 else |
7869 cat > conftest.$ac_ext <<EOF | 7871 cat > conftest.$ac_ext <<EOF |
7870 #line 7871 "configure" | 7872 #line 7873 "configure" |
7871 #include "confdefs.h" | 7873 #include "confdefs.h" |
7872 /* System header to define __stub macros and hopefully few prototypes, | 7874 /* System header to define __stub macros and hopefully few prototypes, |
7873 which can conflict with char $ac_func(); below. */ | 7875 which can conflict with char $ac_func(); below. */ |
7874 #include <assert.h> | 7876 #include <assert.h> |
7875 /* Override any gcc2 internal prototype to avoid an error. */ | 7877 /* Override any gcc2 internal prototype to avoid an error. */ |
7888 $ac_func(); | 7890 $ac_func(); |
7889 #endif | 7891 #endif |
7890 | 7892 |
7891 ; return 0; } | 7893 ; return 0; } |
7892 EOF | 7894 EOF |
7893 if { (eval echo configure:7894: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7895 if { (eval echo configure:7896: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7894 rm -rf conftest* | 7896 rm -rf conftest* |
7895 eval "ac_cv_func_$ac_func=yes" | 7897 eval "ac_cv_func_$ac_func=yes" |
7896 else | 7898 else |
7897 echo "configure: failed program was:" >&5 | 7899 echo "configure: failed program was:" >&5 |
7898 cat conftest.$ac_ext >&5 | 7900 cat conftest.$ac_ext >&5 |
7913 echo "$ac_t""no" 1>&6 | 7915 echo "$ac_t""no" 1>&6 |
7914 fi | 7916 fi |
7915 done | 7917 done |
7916 | 7918 |
7917 echo $ac_n "checking whether gettimeofday can accept two arguments""... $ac_c" 1>&6 | 7919 echo $ac_n "checking whether gettimeofday can accept two arguments""... $ac_c" 1>&6 |
7918 echo "configure:7919: checking whether gettimeofday can accept two arguments" >&5 | 7920 echo "configure:7921: checking whether gettimeofday can accept two arguments" >&5 |
7919 if eval "test \"`echo '$''{'emacs_cv_gettimeofday_two_arguments'+set}'`\" = set"; then | 7921 if eval "test \"`echo '$''{'emacs_cv_gettimeofday_two_arguments'+set}'`\" = set"; then |
7920 echo $ac_n "(cached) $ac_c" 1>&6 | 7922 echo $ac_n "(cached) $ac_c" 1>&6 |
7921 else | 7923 else |
7922 cat > conftest.$ac_ext <<EOF | 7924 cat > conftest.$ac_ext <<EOF |
7923 #line 7924 "configure" | 7925 #line 7926 "configure" |
7924 #include "confdefs.h" | 7926 #include "confdefs.h" |
7925 | 7927 |
7926 #ifdef TIME_WITH_SYS_TIME | 7928 #ifdef TIME_WITH_SYS_TIME |
7927 #include <sys/time.h> | 7929 #include <sys/time.h> |
7928 #include <time.h> | 7930 #include <time.h> |
7936 int main() { | 7938 int main() { |
7937 struct timeval time; | 7939 struct timeval time; |
7938 gettimeofday (&time, 0); | 7940 gettimeofday (&time, 0); |
7939 ; return 0; } | 7941 ; return 0; } |
7940 EOF | 7942 EOF |
7941 if { (eval echo configure:7942: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 7943 if { (eval echo configure:7944: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
7942 rm -rf conftest* | 7944 rm -rf conftest* |
7943 emacs_cv_gettimeofday_two_arguments=yes | 7945 emacs_cv_gettimeofday_two_arguments=yes |
7944 else | 7946 else |
7945 echo "configure: failed program was:" >&5 | 7947 echo "configure: failed program was:" >&5 |
7946 cat conftest.$ac_ext >&5 | 7948 cat conftest.$ac_ext >&5 |
7959 fi | 7961 fi |
7960 fi | 7962 fi |
7961 | 7963 |
7962 if test "$ac_cv_func_gettimeofday" = yes; then | 7964 if test "$ac_cv_func_gettimeofday" = yes; then |
7963 echo $ac_n "checking for struct timezone""... $ac_c" 1>&6 | 7965 echo $ac_n "checking for struct timezone""... $ac_c" 1>&6 |
7964 echo "configure:7965: checking for struct timezone" >&5 | 7966 echo "configure:7967: checking for struct timezone" >&5 |
7965 if eval "test \"`echo '$''{'emacs_cv_struct_timezone'+set}'`\" = set"; then | 7967 if eval "test \"`echo '$''{'emacs_cv_struct_timezone'+set}'`\" = set"; then |
7966 echo $ac_n "(cached) $ac_c" 1>&6 | 7968 echo $ac_n "(cached) $ac_c" 1>&6 |
7967 else | 7969 else |
7968 cat > conftest.$ac_ext <<EOF | 7970 cat > conftest.$ac_ext <<EOF |
7969 #line 7970 "configure" | 7971 #line 7972 "configure" |
7970 #include "confdefs.h" | 7972 #include "confdefs.h" |
7971 #include <sys/time.h> | 7973 #include <sys/time.h> |
7972 int main() { | 7974 int main() { |
7973 struct timezone tz; | 7975 struct timezone tz; |
7974 ; return 0; } | 7976 ; return 0; } |
7975 EOF | 7977 EOF |
7976 if { (eval echo configure:7977: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 7978 if { (eval echo configure:7979: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
7977 rm -rf conftest* | 7979 rm -rf conftest* |
7978 if test "$cross_compiling" = yes; then | 7980 if test "$cross_compiling" = yes; then |
7979 emacs_cv_struct_timezone=yes | 7981 emacs_cv_struct_timezone=yes |
7980 else | 7982 else |
7981 cat > conftest.$ac_ext <<EOF | 7983 cat > conftest.$ac_ext <<EOF |
7982 #line 7983 "configure" | 7984 #line 7985 "configure" |
7983 #include "confdefs.h" | 7985 #include "confdefs.h" |
7984 | 7986 |
7985 #ifdef TIME_WITH_SYS_TIME | 7987 #ifdef TIME_WITH_SYS_TIME |
7986 #include <sys/time.h> | 7988 #include <sys/time.h> |
7987 #include <time.h> | 7989 #include <time.h> |
7996 struct timeval time; | 7998 struct timeval time; |
7997 struct timezone dummy; | 7999 struct timezone dummy; |
7998 exit (gettimeofday (&time, &dummy)); | 8000 exit (gettimeofday (&time, &dummy)); |
7999 } | 8001 } |
8000 EOF | 8002 EOF |
8001 if { (eval echo configure:8002: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 8003 if { (eval echo configure:8004: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
8002 then | 8004 then |
8003 emacs_cv_struct_timezone=yes | 8005 emacs_cv_struct_timezone=yes |
8004 else | 8006 else |
8005 echo "configure: failed program was:" >&5 | 8007 echo "configure: failed program was:" >&5 |
8006 cat conftest.$ac_ext >&5 | 8008 cat conftest.$ac_ext >&5 |
8022 echo "$ac_t""$emacs_cv_struct_timezone" 1>&6 | 8024 echo "$ac_t""$emacs_cv_struct_timezone" 1>&6 |
8023 fi | 8025 fi |
8024 | 8026 |
8025 ok_so_far=yes | 8027 ok_so_far=yes |
8026 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 8028 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
8027 echo "configure:8028: checking for socket" >&5 | 8029 echo "configure:8030: checking for socket" >&5 |
8028 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then | 8030 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then |
8029 echo $ac_n "(cached) $ac_c" 1>&6 | 8031 echo $ac_n "(cached) $ac_c" 1>&6 |
8030 else | 8032 else |
8031 cat > conftest.$ac_ext <<EOF | 8033 cat > conftest.$ac_ext <<EOF |
8032 #line 8033 "configure" | 8034 #line 8035 "configure" |
8033 #include "confdefs.h" | 8035 #include "confdefs.h" |
8034 /* System header to define __stub macros and hopefully few prototypes, | 8036 /* System header to define __stub macros and hopefully few prototypes, |
8035 which can conflict with char socket(); below. */ | 8037 which can conflict with char socket(); below. */ |
8036 #include <assert.h> | 8038 #include <assert.h> |
8037 /* Override any gcc2 internal prototype to avoid an error. */ | 8039 /* Override any gcc2 internal prototype to avoid an error. */ |
8050 socket(); | 8052 socket(); |
8051 #endif | 8053 #endif |
8052 | 8054 |
8053 ; return 0; } | 8055 ; return 0; } |
8054 EOF | 8056 EOF |
8055 if { (eval echo configure:8056: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8057 if { (eval echo configure:8058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8056 rm -rf conftest* | 8058 rm -rf conftest* |
8057 eval "ac_cv_func_socket=yes" | 8059 eval "ac_cv_func_socket=yes" |
8058 else | 8060 else |
8059 echo "configure: failed program was:" >&5 | 8061 echo "configure: failed program was:" >&5 |
8060 cat conftest.$ac_ext >&5 | 8062 cat conftest.$ac_ext >&5 |
8073 fi | 8075 fi |
8074 | 8076 |
8075 if test $ok_so_far = yes; then | 8077 if test $ok_so_far = yes; then |
8076 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 8078 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
8077 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 8079 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
8078 echo "configure:8079: checking for netinet/in.h" >&5 | 8080 echo "configure:8081: checking for netinet/in.h" >&5 |
8079 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 8081 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
8080 echo $ac_n "(cached) $ac_c" 1>&6 | 8082 echo $ac_n "(cached) $ac_c" 1>&6 |
8081 else | 8083 else |
8082 cat > conftest.$ac_ext <<EOF | 8084 cat > conftest.$ac_ext <<EOF |
8083 #line 8084 "configure" | 8085 #line 8086 "configure" |
8084 #include "confdefs.h" | 8086 #include "confdefs.h" |
8085 #include <netinet/in.h> | 8087 #include <netinet/in.h> |
8086 EOF | 8088 EOF |
8087 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8089 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8088 { (eval echo configure:8089: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8090 { (eval echo configure:8091: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8089 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8091 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8090 if test -z "$ac_err"; then | 8092 if test -z "$ac_err"; then |
8091 rm -rf conftest* | 8093 rm -rf conftest* |
8092 eval "ac_cv_header_$ac_safe=yes" | 8094 eval "ac_cv_header_$ac_safe=yes" |
8093 else | 8095 else |
8109 | 8111 |
8110 fi | 8112 fi |
8111 if test $ok_so_far = yes; then | 8113 if test $ok_so_far = yes; then |
8112 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 8114 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
8113 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 8115 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
8114 echo "configure:8115: checking for arpa/inet.h" >&5 | 8116 echo "configure:8117: checking for arpa/inet.h" >&5 |
8115 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 8117 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
8116 echo $ac_n "(cached) $ac_c" 1>&6 | 8118 echo $ac_n "(cached) $ac_c" 1>&6 |
8117 else | 8119 else |
8118 cat > conftest.$ac_ext <<EOF | 8120 cat > conftest.$ac_ext <<EOF |
8119 #line 8120 "configure" | 8121 #line 8122 "configure" |
8120 #include "confdefs.h" | 8122 #include "confdefs.h" |
8121 #include <arpa/inet.h> | 8123 #include <arpa/inet.h> |
8122 EOF | 8124 EOF |
8123 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8125 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8124 { (eval echo configure:8125: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8126 { (eval echo configure:8127: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8125 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8127 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8126 if test -z "$ac_err"; then | 8128 if test -z "$ac_err"; then |
8127 rm -rf conftest* | 8129 rm -rf conftest* |
8128 eval "ac_cv_header_$ac_safe=yes" | 8130 eval "ac_cv_header_$ac_safe=yes" |
8129 else | 8131 else |
8157 EOF | 8159 EOF |
8158 | 8160 |
8159 fi | 8161 fi |
8160 | 8162 |
8161 echo $ac_n "checking whether system supports dynamic ptys""... $ac_c" 1>&6 | 8163 echo $ac_n "checking whether system supports dynamic ptys""... $ac_c" 1>&6 |
8162 echo "configure:8163: checking whether system supports dynamic ptys" >&5 | 8164 echo "configure:8165: checking whether system supports dynamic ptys" >&5 |
8163 if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then | 8165 if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then |
8164 echo "$ac_t""yes" 1>&6 | 8166 echo "$ac_t""yes" 1>&6 |
8165 cat >> confdefs.h <<\EOF | 8167 cat >> confdefs.h <<\EOF |
8166 #define HAVE_DEV_PTMX 1 | 8168 #define HAVE_DEV_PTMX 1 |
8167 EOF | 8169 EOF |
8169 else | 8171 else |
8170 echo "$ac_t""no" 1>&6 | 8172 echo "$ac_t""no" 1>&6 |
8171 fi | 8173 fi |
8172 | 8174 |
8173 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 | 8175 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 |
8174 echo "configure:8175: checking for pid_t" >&5 | 8176 echo "configure:8177: checking for pid_t" >&5 |
8175 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then | 8177 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then |
8176 echo $ac_n "(cached) $ac_c" 1>&6 | 8178 echo $ac_n "(cached) $ac_c" 1>&6 |
8177 else | 8179 else |
8178 cat > conftest.$ac_ext <<EOF | 8180 cat > conftest.$ac_ext <<EOF |
8179 #line 8180 "configure" | 8181 #line 8182 "configure" |
8180 #include "confdefs.h" | 8182 #include "confdefs.h" |
8181 #include <sys/types.h> | 8183 #include <sys/types.h> |
8182 #if STDC_HEADERS | 8184 #if STDC_HEADERS |
8183 #include <stdlib.h> | 8185 #include <stdlib.h> |
8184 #include <stddef.h> | 8186 #include <stddef.h> |
8203 | 8205 |
8204 fi | 8206 fi |
8205 | 8207 |
8206 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` | 8208 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` |
8207 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 | 8209 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 |
8208 echo "configure:8209: checking for vfork.h" >&5 | 8210 echo "configure:8211: checking for vfork.h" >&5 |
8209 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 8211 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
8210 echo $ac_n "(cached) $ac_c" 1>&6 | 8212 echo $ac_n "(cached) $ac_c" 1>&6 |
8211 else | 8213 else |
8212 cat > conftest.$ac_ext <<EOF | 8214 cat > conftest.$ac_ext <<EOF |
8213 #line 8214 "configure" | 8215 #line 8216 "configure" |
8214 #include "confdefs.h" | 8216 #include "confdefs.h" |
8215 #include <vfork.h> | 8217 #include <vfork.h> |
8216 EOF | 8218 EOF |
8217 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8219 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8218 { (eval echo configure:8219: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8220 { (eval echo configure:8221: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8219 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8221 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8220 if test -z "$ac_err"; then | 8222 if test -z "$ac_err"; then |
8221 rm -rf conftest* | 8223 rm -rf conftest* |
8222 eval "ac_cv_header_$ac_safe=yes" | 8224 eval "ac_cv_header_$ac_safe=yes" |
8223 else | 8225 else |
8238 else | 8240 else |
8239 echo "$ac_t""no" 1>&6 | 8241 echo "$ac_t""no" 1>&6 |
8240 fi | 8242 fi |
8241 | 8243 |
8242 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 | 8244 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 |
8243 echo "configure:8244: checking for working vfork" >&5 | 8245 echo "configure:8246: checking for working vfork" >&5 |
8244 if eval "test \"`echo '$''{'ac_cv_func_vfork_works'+set}'`\" = set"; then | 8246 if eval "test \"`echo '$''{'ac_cv_func_vfork_works'+set}'`\" = set"; then |
8245 echo $ac_n "(cached) $ac_c" 1>&6 | 8247 echo $ac_n "(cached) $ac_c" 1>&6 |
8246 else | 8248 else |
8247 if test "$cross_compiling" = yes; then | 8249 if test "$cross_compiling" = yes; then |
8248 echo $ac_n "checking for vfork""... $ac_c" 1>&6 | 8250 echo $ac_n "checking for vfork""... $ac_c" 1>&6 |
8249 echo "configure:8250: checking for vfork" >&5 | 8251 echo "configure:8252: checking for vfork" >&5 |
8250 if eval "test \"`echo '$''{'ac_cv_func_vfork'+set}'`\" = set"; then | 8252 if eval "test \"`echo '$''{'ac_cv_func_vfork'+set}'`\" = set"; then |
8251 echo $ac_n "(cached) $ac_c" 1>&6 | 8253 echo $ac_n "(cached) $ac_c" 1>&6 |
8252 else | 8254 else |
8253 cat > conftest.$ac_ext <<EOF | 8255 cat > conftest.$ac_ext <<EOF |
8254 #line 8255 "configure" | 8256 #line 8257 "configure" |
8255 #include "confdefs.h" | 8257 #include "confdefs.h" |
8256 /* System header to define __stub macros and hopefully few prototypes, | 8258 /* System header to define __stub macros and hopefully few prototypes, |
8257 which can conflict with char vfork(); below. */ | 8259 which can conflict with char vfork(); below. */ |
8258 #include <assert.h> | 8260 #include <assert.h> |
8259 /* Override any gcc2 internal prototype to avoid an error. */ | 8261 /* Override any gcc2 internal prototype to avoid an error. */ |
8272 vfork(); | 8274 vfork(); |
8273 #endif | 8275 #endif |
8274 | 8276 |
8275 ; return 0; } | 8277 ; return 0; } |
8276 EOF | 8278 EOF |
8277 if { (eval echo configure:8278: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8279 if { (eval echo configure:8280: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8278 rm -rf conftest* | 8280 rm -rf conftest* |
8279 eval "ac_cv_func_vfork=yes" | 8281 eval "ac_cv_func_vfork=yes" |
8280 else | 8282 else |
8281 echo "configure: failed program was:" >&5 | 8283 echo "configure: failed program was:" >&5 |
8282 cat conftest.$ac_ext >&5 | 8284 cat conftest.$ac_ext >&5 |
8294 fi | 8296 fi |
8295 | 8297 |
8296 ac_cv_func_vfork_works=$ac_cv_func_vfork | 8298 ac_cv_func_vfork_works=$ac_cv_func_vfork |
8297 else | 8299 else |
8298 cat > conftest.$ac_ext <<EOF | 8300 cat > conftest.$ac_ext <<EOF |
8299 #line 8300 "configure" | 8301 #line 8302 "configure" |
8300 #include "confdefs.h" | 8302 #include "confdefs.h" |
8301 /* Thanks to Paul Eggert for this test. */ | 8303 /* Thanks to Paul Eggert for this test. */ |
8302 #include <stdio.h> | 8304 #include <stdio.h> |
8303 #include <sys/types.h> | 8305 #include <sys/types.h> |
8304 #include <sys/stat.h> | 8306 #include <sys/stat.h> |
8389 || fstat(fileno(stdout), &st) != 0 | 8391 || fstat(fileno(stdout), &st) != 0 |
8390 ); | 8392 ); |
8391 } | 8393 } |
8392 } | 8394 } |
8393 EOF | 8395 EOF |
8394 if { (eval echo configure:8395: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 8396 if { (eval echo configure:8397: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
8395 then | 8397 then |
8396 ac_cv_func_vfork_works=yes | 8398 ac_cv_func_vfork_works=yes |
8397 else | 8399 else |
8398 echo "configure: failed program was:" >&5 | 8400 echo "configure: failed program was:" >&5 |
8399 cat conftest.$ac_ext >&5 | 8401 cat conftest.$ac_ext >&5 |
8414 fi | 8416 fi |
8415 | 8417 |
8416 | 8418 |
8417 # Fixme: This should be replaced when we have autoconf 2.14. | 8419 # Fixme: This should be replaced when we have autoconf 2.14. |
8418 echo $ac_n "checking for size_t""... $ac_c" 1>&6 | 8420 echo $ac_n "checking for size_t""... $ac_c" 1>&6 |
8419 echo "configure:8420: checking for size_t" >&5 | 8421 echo "configure:8422: checking for size_t" >&5 |
8420 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then | 8422 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then |
8421 echo $ac_n "(cached) $ac_c" 1>&6 | 8423 echo $ac_n "(cached) $ac_c" 1>&6 |
8422 else | 8424 else |
8423 cat > conftest.$ac_ext <<EOF | 8425 cat > conftest.$ac_ext <<EOF |
8424 #line 8425 "configure" | 8426 #line 8427 "configure" |
8425 #include "confdefs.h" | 8427 #include "confdefs.h" |
8426 #include <sys/types.h> | 8428 #include <sys/types.h> |
8427 #if STDC_HEADERS | 8429 #if STDC_HEADERS |
8428 #include <stdlib.h> | 8430 #include <stdlib.h> |
8429 #include <stddef.h> | 8431 #include <stddef.h> |