Mercurial > emacs
comparison configure @ 28418:5b7b3b5d54df
* configure.in: Line up "--help" output a little better.
author | Ken Raeburn <raeburn@raeburn.org> |
---|---|
date | Thu, 30 Mar 2000 10:06:34 +0000 |
parents | ee660e36891c |
children | 7d75f0ff6c50 |
comparison
equal
deleted
inserted
replaced
28417:4b675266db04 | 28418:5b7b3b5d54df |
---|---|
16 ac_help="$ac_help | 16 ac_help="$ac_help |
17 --without-pop don't support POP mail retrieval with movemail" | 17 --without-pop don't support POP mail retrieval with movemail" |
18 ac_help="$ac_help | 18 ac_help="$ac_help |
19 --with-kerberos support Kerberos-authenticated POP" | 19 --with-kerberos support Kerberos-authenticated POP" |
20 ac_help="$ac_help | 20 ac_help="$ac_help |
21 --with-kerberos5 support Kerberos version 5 authenticated POP" | 21 --with-kerberos5 support Kerberos version 5 authenticated POP" |
22 ac_help="$ac_help | 22 ac_help="$ac_help |
23 --with-hesiod support Hesiod to get the POP server host" | 23 --with-hesiod support Hesiod to get the POP server host" |
24 ac_help="$ac_help | 24 ac_help="$ac_help |
25 --with-x-toolkit=KIT use an X toolkit (KIT = yes/lucid/athena/motif/no)" | 25 --with-x-toolkit=KIT use an X toolkit (KIT = yes/lucid/athena/motif/no)" |
26 ac_help="$ac_help | 26 ac_help="$ac_help |
32 ac_help="$ac_help | 32 ac_help="$ac_help |
33 --with-gif use -lungif for displaying GIF images" | 33 --with-gif use -lungif for displaying GIF images" |
34 ac_help="$ac_help | 34 ac_help="$ac_help |
35 --with-png use -lpng for displaying PNG images" | 35 --with-png use -lpng for displaying PNG images" |
36 ac_help="$ac_help | 36 ac_help="$ac_help |
37 --without-toolkit-scroll-bars don't use Motif or Xaw3d scroll bars" | 37 --without-toolkit-scroll-bars |
38 don't use Motif or Xaw3d scroll bars" | |
38 ac_help="$ac_help | 39 ac_help="$ac_help |
39 --with-x use the X Window System" | 40 --with-x use the X Window System" |
40 | 41 |
41 # Initialize some variables set by options. | 42 # Initialize some variables set by options. |
42 # The variables have the same names as the options, with | 43 # The variables have the same names as the options, with |
742 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then : | 743 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then : |
743 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } | 744 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } |
744 fi | 745 fi |
745 | 746 |
746 echo $ac_n "checking host system type""... $ac_c" 1>&6 | 747 echo $ac_n "checking host system type""... $ac_c" 1>&6 |
747 echo "configure:748: checking host system type" >&5 | 748 echo "configure:749: checking host system type" >&5 |
748 | 749 |
749 host_alias=$host | 750 host_alias=$host |
750 case "$host_alias" in | 751 case "$host_alias" in |
751 NONE) | 752 NONE) |
752 case $nonopt in | 753 case $nonopt in |
1701 "yes" ) CC="gcc" GCC=yes ;; | 1702 "yes" ) CC="gcc" GCC=yes ;; |
1702 "no" ) : ${CC=cc} ;; | 1703 "no" ) : ${CC=cc} ;; |
1703 * ) # Extract the first word of "gcc", so it can be a program name with args. | 1704 * ) # Extract the first word of "gcc", so it can be a program name with args. |
1704 set dummy gcc; ac_word=$2 | 1705 set dummy gcc; ac_word=$2 |
1705 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1706 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1706 echo "configure:1707: checking for $ac_word" >&5 | 1707 echo "configure:1708: checking for $ac_word" >&5 |
1707 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | 1708 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
1708 echo $ac_n "(cached) $ac_c" 1>&6 | 1709 echo $ac_n "(cached) $ac_c" 1>&6 |
1709 else | 1710 else |
1710 if test -n "$CC"; then | 1711 if test -n "$CC"; then |
1711 ac_cv_prog_CC="$CC" # Let the user override the test. | 1712 ac_cv_prog_CC="$CC" # Let the user override the test. |
1731 | 1732 |
1732 if test -z "$CC"; then | 1733 if test -z "$CC"; then |
1733 # Extract the first word of "cc", so it can be a program name with args. | 1734 # Extract the first word of "cc", so it can be a program name with args. |
1734 set dummy cc; ac_word=$2 | 1735 set dummy cc; ac_word=$2 |
1735 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1736 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1736 echo "configure:1737: checking for $ac_word" >&5 | 1737 echo "configure:1738: checking for $ac_word" >&5 |
1737 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | 1738 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
1738 echo $ac_n "(cached) $ac_c" 1>&6 | 1739 echo $ac_n "(cached) $ac_c" 1>&6 |
1739 else | 1740 else |
1740 if test -n "$CC"; then | 1741 if test -n "$CC"; then |
1741 ac_cv_prog_CC="$CC" # Let the user override the test. | 1742 ac_cv_prog_CC="$CC" # Let the user override the test. |
1782 case "`uname -s`" in | 1783 case "`uname -s`" in |
1783 *win32* | *WIN32*) | 1784 *win32* | *WIN32*) |
1784 # Extract the first word of "cl", so it can be a program name with args. | 1785 # Extract the first word of "cl", so it can be a program name with args. |
1785 set dummy cl; ac_word=$2 | 1786 set dummy cl; ac_word=$2 |
1786 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1787 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1787 echo "configure:1788: checking for $ac_word" >&5 | 1788 echo "configure:1789: checking for $ac_word" >&5 |
1788 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | 1789 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
1789 echo $ac_n "(cached) $ac_c" 1>&6 | 1790 echo $ac_n "(cached) $ac_c" 1>&6 |
1790 else | 1791 else |
1791 if test -n "$CC"; then | 1792 if test -n "$CC"; then |
1792 ac_cv_prog_CC="$CC" # Let the user override the test. | 1793 ac_cv_prog_CC="$CC" # Let the user override the test. |
1814 fi | 1815 fi |
1815 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1816 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
1816 fi | 1817 fi |
1817 | 1818 |
1818 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1819 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
1819 echo "configure:1820: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1820 echo "configure:1821: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
1820 | 1821 |
1821 ac_ext=c | 1822 ac_ext=c |
1822 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. | 1823 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
1823 ac_cpp='$CPP $CPPFLAGS' | 1824 ac_cpp='$CPP $CPPFLAGS' |
1824 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' | 1825 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' |
1825 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' | 1826 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
1826 cross_compiling=$ac_cv_prog_cc_cross | 1827 cross_compiling=$ac_cv_prog_cc_cross |
1827 | 1828 |
1828 cat > conftest.$ac_ext << EOF | 1829 cat > conftest.$ac_ext << EOF |
1829 | 1830 |
1830 #line 1831 "configure" | 1831 #line 1832 "configure" |
1831 #include "confdefs.h" | 1832 #include "confdefs.h" |
1832 | 1833 |
1833 main(){return(0);} | 1834 main(){return(0);} |
1834 EOF | 1835 EOF |
1835 if { (eval echo configure:1836: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1836 if { (eval echo configure:1837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1836 ac_cv_prog_cc_works=yes | 1837 ac_cv_prog_cc_works=yes |
1837 # If we can't run a trivial program, we are probably using a cross compiler. | 1838 # If we can't run a trivial program, we are probably using a cross compiler. |
1838 if (./conftest; exit) 2>/dev/null; then | 1839 if (./conftest; exit) 2>/dev/null; then |
1839 ac_cv_prog_cc_cross=no | 1840 ac_cv_prog_cc_cross=no |
1840 else | 1841 else |
1856 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1857 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
1857 if test $ac_cv_prog_cc_works = no; then | 1858 if test $ac_cv_prog_cc_works = no; then |
1858 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1859 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
1859 fi | 1860 fi |
1860 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1861 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
1861 echo "configure:1862: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1862 echo "configure:1863: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
1862 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1863 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
1863 cross_compiling=$ac_cv_prog_cc_cross | 1864 cross_compiling=$ac_cv_prog_cc_cross |
1864 | 1865 |
1865 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1866 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
1866 echo "configure:1867: checking whether we are using GNU C" >&5 | 1867 echo "configure:1868: checking whether we are using GNU C" >&5 |
1867 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then | 1868 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then |
1868 echo $ac_n "(cached) $ac_c" 1>&6 | 1869 echo $ac_n "(cached) $ac_c" 1>&6 |
1869 else | 1870 else |
1870 cat > conftest.c <<EOF | 1871 cat > conftest.c <<EOF |
1871 #ifdef __GNUC__ | 1872 #ifdef __GNUC__ |
1872 yes; | 1873 yes; |
1873 #endif | 1874 #endif |
1874 EOF | 1875 EOF |
1875 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1876: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1876 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1877: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
1876 ac_cv_prog_gcc=yes | 1877 ac_cv_prog_gcc=yes |
1877 else | 1878 else |
1878 ac_cv_prog_gcc=no | 1879 ac_cv_prog_gcc=no |
1879 fi | 1880 fi |
1880 fi | 1881 fi |
1889 | 1890 |
1890 ac_test_CFLAGS="${CFLAGS+set}" | 1891 ac_test_CFLAGS="${CFLAGS+set}" |
1891 ac_save_CFLAGS="$CFLAGS" | 1892 ac_save_CFLAGS="$CFLAGS" |
1892 CFLAGS= | 1893 CFLAGS= |
1893 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1894 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
1894 echo "configure:1895: checking whether ${CC-cc} accepts -g" >&5 | 1895 echo "configure:1896: checking whether ${CC-cc} accepts -g" >&5 |
1895 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then | 1896 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then |
1896 echo $ac_n "(cached) $ac_c" 1>&6 | 1897 echo $ac_n "(cached) $ac_c" 1>&6 |
1897 else | 1898 else |
1898 echo 'void f(){}' > conftest.c | 1899 echo 'void f(){}' > conftest.c |
1899 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1900 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
1969 #### Some other nice autoconf tests. If you add a test here which | 1970 #### Some other nice autoconf tests. If you add a test here which |
1970 #### should make an entry in src/config.h, don't forget to add an | 1971 #### should make an entry in src/config.h, don't forget to add an |
1971 #### #undef clause to src/config.h.in for autoconf to modify. | 1972 #### #undef clause to src/config.h.in for autoconf to modify. |
1972 | 1973 |
1973 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 | 1974 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 |
1974 echo "configure:1975: checking whether ln -s works" >&5 | 1975 echo "configure:1976: checking whether ln -s works" >&5 |
1975 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then | 1976 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then |
1976 echo $ac_n "(cached) $ac_c" 1>&6 | 1977 echo $ac_n "(cached) $ac_c" 1>&6 |
1977 else | 1978 else |
1978 rm -f conftestdata | 1979 rm -f conftestdata |
1979 if ln -s X conftestdata 2>/dev/null | 1980 if ln -s X conftestdata 2>/dev/null |
1990 else | 1991 else |
1991 echo "$ac_t""no" 1>&6 | 1992 echo "$ac_t""no" 1>&6 |
1992 fi | 1993 fi |
1993 | 1994 |
1994 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 | 1995 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
1995 echo "configure:1996: checking how to run the C preprocessor" >&5 | 1996 echo "configure:1997: checking how to run the C preprocessor" >&5 |
1996 # On Suns, sometimes $CPP names a directory. | 1997 # On Suns, sometimes $CPP names a directory. |
1997 if test -n "$CPP" && test -d "$CPP"; then | 1998 if test -n "$CPP" && test -d "$CPP"; then |
1998 CPP= | 1999 CPP= |
1999 fi | 2000 fi |
2000 if test -z "$CPP"; then | 2001 if test -z "$CPP"; then |
2005 # substituted into the Makefile and "${CC-cc}" will confuse make. | 2006 # substituted into the Makefile and "${CC-cc}" will confuse make. |
2006 CPP="${CC-cc} -E" | 2007 CPP="${CC-cc} -E" |
2007 # On the NeXT, cc -E runs the code through the compiler's parser, | 2008 # On the NeXT, cc -E runs the code through the compiler's parser, |
2008 # not just through cpp. | 2009 # not just through cpp. |
2009 cat > conftest.$ac_ext <<EOF | 2010 cat > conftest.$ac_ext <<EOF |
2010 #line 2011 "configure" | 2011 #line 2012 "configure" |
2011 #include "confdefs.h" | 2012 #include "confdefs.h" |
2012 #include <assert.h> | 2013 #include <assert.h> |
2013 Syntax Error | 2014 Syntax Error |
2014 EOF | 2015 EOF |
2015 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2016 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2016 { (eval echo configure:2017: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2017 { (eval echo configure:2018: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2017 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2018 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2018 if test -z "$ac_err"; then | 2019 if test -z "$ac_err"; then |
2019 : | 2020 : |
2020 else | 2021 else |
2021 echo "$ac_err" >&5 | 2022 echo "$ac_err" >&5 |
2022 echo "configure: failed program was:" >&5 | 2023 echo "configure: failed program was:" >&5 |
2023 cat conftest.$ac_ext >&5 | 2024 cat conftest.$ac_ext >&5 |
2024 rm -rf conftest* | 2025 rm -rf conftest* |
2025 CPP="${CC-cc} -E -traditional-cpp" | 2026 CPP="${CC-cc} -E -traditional-cpp" |
2026 cat > conftest.$ac_ext <<EOF | 2027 cat > conftest.$ac_ext <<EOF |
2027 #line 2028 "configure" | 2028 #line 2029 "configure" |
2028 #include "confdefs.h" | 2029 #include "confdefs.h" |
2029 #include <assert.h> | 2030 #include <assert.h> |
2030 Syntax Error | 2031 Syntax Error |
2031 EOF | 2032 EOF |
2032 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2033 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2033 { (eval echo configure:2034: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2034 { (eval echo configure:2035: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2034 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2035 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2035 if test -z "$ac_err"; then | 2036 if test -z "$ac_err"; then |
2036 : | 2037 : |
2037 else | 2038 else |
2038 echo "$ac_err" >&5 | 2039 echo "$ac_err" >&5 |
2039 echo "configure: failed program was:" >&5 | 2040 echo "configure: failed program was:" >&5 |
2040 cat conftest.$ac_ext >&5 | 2041 cat conftest.$ac_ext >&5 |
2041 rm -rf conftest* | 2042 rm -rf conftest* |
2042 CPP="${CC-cc} -nologo -E" | 2043 CPP="${CC-cc} -nologo -E" |
2043 cat > conftest.$ac_ext <<EOF | 2044 cat > conftest.$ac_ext <<EOF |
2044 #line 2045 "configure" | 2045 #line 2046 "configure" |
2045 #include "confdefs.h" | 2046 #include "confdefs.h" |
2046 #include <assert.h> | 2047 #include <assert.h> |
2047 Syntax Error | 2048 Syntax Error |
2048 EOF | 2049 EOF |
2049 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2050 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2050 { (eval echo configure:2051: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2051 { (eval echo configure:2052: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2051 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2052 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2052 if test -z "$ac_err"; then | 2053 if test -z "$ac_err"; then |
2053 : | 2054 : |
2054 else | 2055 else |
2055 echo "$ac_err" >&5 | 2056 echo "$ac_err" >&5 |
2081 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | 2082 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
2082 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 2083 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
2083 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 2084 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
2084 # ./install, which can be erroneously created by make from ./install.sh. | 2085 # ./install, which can be erroneously created by make from ./install.sh. |
2085 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | 2086 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
2086 echo "configure:2087: checking for a BSD compatible install" >&5 | 2087 echo "configure:2088: checking for a BSD compatible install" >&5 |
2087 if test -z "$INSTALL"; then | 2088 if test -z "$INSTALL"; then |
2088 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then | 2089 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then |
2089 echo $ac_n "(cached) $ac_c" 1>&6 | 2090 echo $ac_n "(cached) $ac_c" 1>&6 |
2090 else | 2091 else |
2091 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" | 2092 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" |
2138 for ac_prog in 'bison -y' byacc | 2139 for ac_prog in 'bison -y' byacc |
2139 do | 2140 do |
2140 # Extract the first word of "$ac_prog", so it can be a program name with args. | 2141 # Extract the first word of "$ac_prog", so it can be a program name with args. |
2141 set dummy $ac_prog; ac_word=$2 | 2142 set dummy $ac_prog; ac_word=$2 |
2142 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2143 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2143 echo "configure:2144: checking for $ac_word" >&5 | 2144 echo "configure:2145: checking for $ac_word" >&5 |
2144 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then | 2145 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then |
2145 echo $ac_n "(cached) $ac_c" 1>&6 | 2146 echo $ac_n "(cached) $ac_c" 1>&6 |
2146 else | 2147 else |
2147 if test -n "$YACC"; then | 2148 if test -n "$YACC"; then |
2148 ac_cv_prog_YACC="$YACC" # Let the user override the test. | 2149 ac_cv_prog_YACC="$YACC" # Let the user override the test. |
2172 | 2173 |
2173 if test "x$RANLIB" = x; then | 2174 if test "x$RANLIB" = x; then |
2174 # Extract the first word of "ranlib", so it can be a program name with args. | 2175 # Extract the first word of "ranlib", so it can be a program name with args. |
2175 set dummy ranlib; ac_word=$2 | 2176 set dummy ranlib; ac_word=$2 |
2176 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2177 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2177 echo "configure:2178: checking for $ac_word" >&5 | 2178 echo "configure:2179: checking for $ac_word" >&5 |
2178 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then | 2179 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then |
2179 echo $ac_n "(cached) $ac_c" 1>&6 | 2180 echo $ac_n "(cached) $ac_c" 1>&6 |
2180 else | 2181 else |
2181 if test -n "$RANLIB"; then | 2182 if test -n "$RANLIB"; then |
2182 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 2183 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
2202 fi | 2203 fi |
2203 | 2204 |
2204 fi | 2205 fi |
2205 | 2206 |
2206 echo $ac_n "checking for AIX""... $ac_c" 1>&6 | 2207 echo $ac_n "checking for AIX""... $ac_c" 1>&6 |
2207 echo "configure:2208: checking for AIX" >&5 | 2208 echo "configure:2209: checking for AIX" >&5 |
2208 cat > conftest.$ac_ext <<EOF | 2209 cat > conftest.$ac_ext <<EOF |
2209 #line 2210 "configure" | 2210 #line 2211 "configure" |
2210 #include "confdefs.h" | 2211 #include "confdefs.h" |
2211 #ifdef _AIX | 2212 #ifdef _AIX |
2212 yes | 2213 yes |
2213 #endif | 2214 #endif |
2214 | 2215 |
2231 # Sound support for GNU/Linux and the free BSDs. | 2232 # Sound support for GNU/Linux and the free BSDs. |
2232 for ac_hdr in machine/soundcard.h sys/soundcard.h | 2233 for ac_hdr in machine/soundcard.h sys/soundcard.h |
2233 do | 2234 do |
2234 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 2235 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
2235 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2236 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
2236 echo "configure:2237: checking for $ac_hdr" >&5 | 2237 echo "configure:2238: checking for $ac_hdr" >&5 |
2237 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 2238 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
2238 echo $ac_n "(cached) $ac_c" 1>&6 | 2239 echo $ac_n "(cached) $ac_c" 1>&6 |
2239 else | 2240 else |
2240 cat > conftest.$ac_ext <<EOF | 2241 cat > conftest.$ac_ext <<EOF |
2241 #line 2242 "configure" | 2242 #line 2243 "configure" |
2242 #include "confdefs.h" | 2243 #include "confdefs.h" |
2243 #include <$ac_hdr> | 2244 #include <$ac_hdr> |
2244 EOF | 2245 EOF |
2245 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2246 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2246 { (eval echo configure:2247: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2247 { (eval echo configure:2248: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2247 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2248 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2248 if test -z "$ac_err"; then | 2249 if test -z "$ac_err"; then |
2249 rm -rf conftest* | 2250 rm -rf conftest* |
2250 eval "ac_cv_header_$ac_safe=yes" | 2251 eval "ac_cv_header_$ac_safe=yes" |
2251 else | 2252 else |
2274 linux/version.h sys/systeminfo.h termios.h limits.h string.h stdlib.h \ | 2275 linux/version.h sys/systeminfo.h termios.h limits.h string.h stdlib.h \ |
2275 termcap.h stdio_ext.h | 2276 termcap.h stdio_ext.h |
2276 do | 2277 do |
2277 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 2278 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
2278 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2279 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
2279 echo "configure:2280: checking for $ac_hdr" >&5 | 2280 echo "configure:2281: checking for $ac_hdr" >&5 |
2280 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 2281 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
2281 echo $ac_n "(cached) $ac_c" 1>&6 | 2282 echo $ac_n "(cached) $ac_c" 1>&6 |
2282 else | 2283 else |
2283 cat > conftest.$ac_ext <<EOF | 2284 cat > conftest.$ac_ext <<EOF |
2284 #line 2285 "configure" | 2285 #line 2286 "configure" |
2285 #include "confdefs.h" | 2286 #include "confdefs.h" |
2286 #include <$ac_hdr> | 2287 #include <$ac_hdr> |
2287 EOF | 2288 EOF |
2288 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2289 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2289 { (eval echo configure:2290: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2290 { (eval echo configure:2291: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2290 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2291 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2291 if test -z "$ac_err"; then | 2292 if test -z "$ac_err"; then |
2292 rm -rf conftest* | 2293 rm -rf conftest* |
2293 eval "ac_cv_header_$ac_safe=yes" | 2294 eval "ac_cv_header_$ac_safe=yes" |
2294 else | 2295 else |
2311 echo "$ac_t""no" 1>&6 | 2312 echo "$ac_t""no" 1>&6 |
2312 fi | 2313 fi |
2313 done | 2314 done |
2314 | 2315 |
2315 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | 2316 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
2316 echo "configure:2317: checking for ANSI C header files" >&5 | 2317 echo "configure:2318: checking for ANSI C header files" >&5 |
2317 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then | 2318 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then |
2318 echo $ac_n "(cached) $ac_c" 1>&6 | 2319 echo $ac_n "(cached) $ac_c" 1>&6 |
2319 else | 2320 else |
2320 cat > conftest.$ac_ext <<EOF | 2321 cat > conftest.$ac_ext <<EOF |
2321 #line 2322 "configure" | 2322 #line 2323 "configure" |
2322 #include "confdefs.h" | 2323 #include "confdefs.h" |
2323 #include <stdlib.h> | 2324 #include <stdlib.h> |
2324 #include <stdarg.h> | 2325 #include <stdarg.h> |
2325 #include <string.h> | 2326 #include <string.h> |
2326 #include <float.h> | 2327 #include <float.h> |
2327 EOF | 2328 EOF |
2328 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2329 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2329 { (eval echo configure:2330: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2330 { (eval echo configure:2331: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2330 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2331 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2331 if test -z "$ac_err"; then | 2332 if test -z "$ac_err"; then |
2332 rm -rf conftest* | 2333 rm -rf conftest* |
2333 ac_cv_header_stdc=yes | 2334 ac_cv_header_stdc=yes |
2334 else | 2335 else |
2341 rm -f conftest* | 2342 rm -f conftest* |
2342 | 2343 |
2343 if test $ac_cv_header_stdc = yes; then | 2344 if test $ac_cv_header_stdc = yes; then |
2344 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 2345 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
2345 cat > conftest.$ac_ext <<EOF | 2346 cat > conftest.$ac_ext <<EOF |
2346 #line 2347 "configure" | 2347 #line 2348 "configure" |
2347 #include "confdefs.h" | 2348 #include "confdefs.h" |
2348 #include <string.h> | 2349 #include <string.h> |
2349 EOF | 2350 EOF |
2350 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 2351 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
2351 egrep "memchr" >/dev/null 2>&1; then | 2352 egrep "memchr" >/dev/null 2>&1; then |
2359 fi | 2360 fi |
2360 | 2361 |
2361 if test $ac_cv_header_stdc = yes; then | 2362 if test $ac_cv_header_stdc = yes; then |
2362 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 2363 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
2363 cat > conftest.$ac_ext <<EOF | 2364 cat > conftest.$ac_ext <<EOF |
2364 #line 2365 "configure" | 2365 #line 2366 "configure" |
2365 #include "confdefs.h" | 2366 #include "confdefs.h" |
2366 #include <stdlib.h> | 2367 #include <stdlib.h> |
2367 EOF | 2368 EOF |
2368 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 2369 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
2369 egrep "free" >/dev/null 2>&1; then | 2370 egrep "free" >/dev/null 2>&1; then |
2380 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 2381 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
2381 if test "$cross_compiling" = yes; then | 2382 if test "$cross_compiling" = yes; then |
2382 : | 2383 : |
2383 else | 2384 else |
2384 cat > conftest.$ac_ext <<EOF | 2385 cat > conftest.$ac_ext <<EOF |
2385 #line 2386 "configure" | 2386 #line 2387 "configure" |
2386 #include "confdefs.h" | 2387 #include "confdefs.h" |
2387 #include <ctype.h> | 2388 #include <ctype.h> |
2388 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 2389 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
2389 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 2390 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
2390 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 2391 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
2391 int main () { int i; for (i = 0; i < 256; i++) | 2392 int main () { int i; for (i = 0; i < 256; i++) |
2392 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); | 2393 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); |
2393 exit (0); } | 2394 exit (0); } |
2394 | 2395 |
2395 EOF | 2396 EOF |
2396 if { (eval echo configure:2397: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 2397 if { (eval echo configure:2398: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
2397 then | 2398 then |
2398 : | 2399 : |
2399 else | 2400 else |
2400 echo "configure: failed program was:" >&5 | 2401 echo "configure: failed program was:" >&5 |
2401 cat conftest.$ac_ext >&5 | 2402 cat conftest.$ac_ext >&5 |
2415 EOF | 2416 EOF |
2416 | 2417 |
2417 fi | 2418 fi |
2418 | 2419 |
2419 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 | 2420 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 |
2420 echo "configure:2421: checking whether time.h and sys/time.h may both be included" >&5 | 2421 echo "configure:2422: checking whether time.h and sys/time.h may both be included" >&5 |
2421 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then | 2422 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then |
2422 echo $ac_n "(cached) $ac_c" 1>&6 | 2423 echo $ac_n "(cached) $ac_c" 1>&6 |
2423 else | 2424 else |
2424 cat > conftest.$ac_ext <<EOF | 2425 cat > conftest.$ac_ext <<EOF |
2425 #line 2426 "configure" | 2426 #line 2427 "configure" |
2426 #include "confdefs.h" | 2427 #include "confdefs.h" |
2427 #include <sys/types.h> | 2428 #include <sys/types.h> |
2428 #include <sys/time.h> | 2429 #include <sys/time.h> |
2429 #include <time.h> | 2430 #include <time.h> |
2430 int main() { | 2431 int main() { |
2431 struct tm *tp; | 2432 struct tm *tp; |
2432 ; return 0; } | 2433 ; return 0; } |
2433 EOF | 2434 EOF |
2434 if { (eval echo configure:2435: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2435 if { (eval echo configure:2436: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2435 rm -rf conftest* | 2436 rm -rf conftest* |
2436 ac_cv_header_time=yes | 2437 ac_cv_header_time=yes |
2437 else | 2438 else |
2438 echo "configure: failed program was:" >&5 | 2439 echo "configure: failed program was:" >&5 |
2439 cat conftest.$ac_ext >&5 | 2440 cat conftest.$ac_ext >&5 |
2450 EOF | 2451 EOF |
2451 | 2452 |
2452 fi | 2453 fi |
2453 | 2454 |
2454 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 | 2455 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 |
2455 echo "configure:2456: checking for sys_siglist declaration in signal.h or unistd.h" >&5 | 2456 echo "configure:2457: checking for sys_siglist declaration in signal.h or unistd.h" >&5 |
2456 if eval "test \"`echo '$''{'ac_cv_decl_sys_siglist'+set}'`\" = set"; then | 2457 if eval "test \"`echo '$''{'ac_cv_decl_sys_siglist'+set}'`\" = set"; then |
2457 echo $ac_n "(cached) $ac_c" 1>&6 | 2458 echo $ac_n "(cached) $ac_c" 1>&6 |
2458 else | 2459 else |
2459 cat > conftest.$ac_ext <<EOF | 2460 cat > conftest.$ac_ext <<EOF |
2460 #line 2461 "configure" | 2461 #line 2462 "configure" |
2461 #include "confdefs.h" | 2462 #include "confdefs.h" |
2462 #include <sys/types.h> | 2463 #include <sys/types.h> |
2463 #include <signal.h> | 2464 #include <signal.h> |
2464 /* NetBSD declares sys_siglist in unistd.h. */ | 2465 /* NetBSD declares sys_siglist in unistd.h. */ |
2465 #ifdef HAVE_UNISTD_H | 2466 #ifdef HAVE_UNISTD_H |
2467 #endif | 2468 #endif |
2468 int main() { | 2469 int main() { |
2469 char *msg = *(sys_siglist + 1); | 2470 char *msg = *(sys_siglist + 1); |
2470 ; return 0; } | 2471 ; return 0; } |
2471 EOF | 2472 EOF |
2472 if { (eval echo configure:2473: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2473 if { (eval echo configure:2474: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2473 rm -rf conftest* | 2474 rm -rf conftest* |
2474 ac_cv_decl_sys_siglist=yes | 2475 ac_cv_decl_sys_siglist=yes |
2475 else | 2476 else |
2476 echo "configure: failed program was:" >&5 | 2477 echo "configure: failed program was:" >&5 |
2477 cat conftest.$ac_ext >&5 | 2478 cat conftest.$ac_ext >&5 |
2489 | 2490 |
2490 fi | 2491 fi |
2491 | 2492 |
2492 | 2493 |
2493 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 | 2494 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 |
2494 echo "configure:2495: checking for struct utimbuf" >&5 | 2495 echo "configure:2496: checking for struct utimbuf" >&5 |
2495 if eval "test \"`echo '$''{'emacs_cv_struct_utimbuf'+set}'`\" = set"; then | 2496 if eval "test \"`echo '$''{'emacs_cv_struct_utimbuf'+set}'`\" = set"; then |
2496 echo $ac_n "(cached) $ac_c" 1>&6 | 2497 echo $ac_n "(cached) $ac_c" 1>&6 |
2497 else | 2498 else |
2498 cat > conftest.$ac_ext <<EOF | 2499 cat > conftest.$ac_ext <<EOF |
2499 #line 2500 "configure" | 2500 #line 2501 "configure" |
2500 #include "confdefs.h" | 2501 #include "confdefs.h" |
2501 #ifdef TIME_WITH_SYS_TIME | 2502 #ifdef TIME_WITH_SYS_TIME |
2502 #include <sys/time.h> | 2503 #include <sys/time.h> |
2503 #include <time.h> | 2504 #include <time.h> |
2504 #else | 2505 #else |
2513 #endif | 2514 #endif |
2514 int main() { | 2515 int main() { |
2515 static struct utimbuf x; x.actime = x.modtime; | 2516 static struct utimbuf x; x.actime = x.modtime; |
2516 ; return 0; } | 2517 ; return 0; } |
2517 EOF | 2518 EOF |
2518 if { (eval echo configure:2519: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2519 if { (eval echo configure:2520: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2519 rm -rf conftest* | 2520 rm -rf conftest* |
2520 emacs_cv_struct_utimbuf=yes | 2521 emacs_cv_struct_utimbuf=yes |
2521 else | 2522 else |
2522 echo "configure: failed program was:" >&5 | 2523 echo "configure: failed program was:" >&5 |
2523 cat conftest.$ac_ext >&5 | 2524 cat conftest.$ac_ext >&5 |
2534 EOF | 2535 EOF |
2535 | 2536 |
2536 fi | 2537 fi |
2537 | 2538 |
2538 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 | 2539 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
2539 echo "configure:2540: checking return type of signal handlers" >&5 | 2540 echo "configure:2541: checking return type of signal handlers" >&5 |
2540 if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then | 2541 if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then |
2541 echo $ac_n "(cached) $ac_c" 1>&6 | 2542 echo $ac_n "(cached) $ac_c" 1>&6 |
2542 else | 2543 else |
2543 cat > conftest.$ac_ext <<EOF | 2544 cat > conftest.$ac_ext <<EOF |
2544 #line 2545 "configure" | 2545 #line 2546 "configure" |
2545 #include "confdefs.h" | 2546 #include "confdefs.h" |
2546 #include <sys/types.h> | 2547 #include <sys/types.h> |
2547 #include <signal.h> | 2548 #include <signal.h> |
2548 #ifdef signal | 2549 #ifdef signal |
2549 #undef signal | 2550 #undef signal |
2556 | 2557 |
2557 int main() { | 2558 int main() { |
2558 int i; | 2559 int i; |
2559 ; return 0; } | 2560 ; return 0; } |
2560 EOF | 2561 EOF |
2561 if { (eval echo configure:2562: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2562 if { (eval echo configure:2563: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2562 rm -rf conftest* | 2563 rm -rf conftest* |
2563 ac_cv_type_signal=void | 2564 ac_cv_type_signal=void |
2564 else | 2565 else |
2565 echo "configure: failed program was:" >&5 | 2566 echo "configure: failed program was:" >&5 |
2566 cat conftest.$ac_ext >&5 | 2567 cat conftest.$ac_ext >&5 |
2576 EOF | 2577 EOF |
2577 | 2578 |
2578 | 2579 |
2579 | 2580 |
2580 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 | 2581 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 |
2581 echo "configure:2582: checking for struct timeval" >&5 | 2582 echo "configure:2583: checking for struct timeval" >&5 |
2582 if eval "test \"`echo '$''{'emacs_cv_struct_timeval'+set}'`\" = set"; then | 2583 if eval "test \"`echo '$''{'emacs_cv_struct_timeval'+set}'`\" = set"; then |
2583 echo $ac_n "(cached) $ac_c" 1>&6 | 2584 echo $ac_n "(cached) $ac_c" 1>&6 |
2584 else | 2585 else |
2585 cat > conftest.$ac_ext <<EOF | 2586 cat > conftest.$ac_ext <<EOF |
2586 #line 2587 "configure" | 2587 #line 2588 "configure" |
2587 #include "confdefs.h" | 2588 #include "confdefs.h" |
2588 #ifdef TIME_WITH_SYS_TIME | 2589 #ifdef TIME_WITH_SYS_TIME |
2589 #include <sys/time.h> | 2590 #include <sys/time.h> |
2590 #include <time.h> | 2591 #include <time.h> |
2591 #else | 2592 #else |
2597 #endif | 2598 #endif |
2598 int main() { | 2599 int main() { |
2599 static struct timeval x; x.tv_sec = x.tv_usec; | 2600 static struct timeval x; x.tv_sec = x.tv_usec; |
2600 ; return 0; } | 2601 ; return 0; } |
2601 EOF | 2602 EOF |
2602 if { (eval echo configure:2603: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2603 if { (eval echo configure:2604: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2603 rm -rf conftest* | 2604 rm -rf conftest* |
2604 emacs_cv_struct_timeval=yes | 2605 emacs_cv_struct_timeval=yes |
2605 else | 2606 else |
2606 echo "configure: failed program was:" >&5 | 2607 echo "configure: failed program was:" >&5 |
2607 cat conftest.$ac_ext >&5 | 2608 cat conftest.$ac_ext >&5 |
2619 EOF | 2620 EOF |
2620 | 2621 |
2621 fi | 2622 fi |
2622 | 2623 |
2623 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 | 2624 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 |
2624 echo "configure:2625: checking whether struct tm is in sys/time.h or time.h" >&5 | 2625 echo "configure:2626: checking whether struct tm is in sys/time.h or time.h" >&5 |
2625 if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then | 2626 if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then |
2626 echo $ac_n "(cached) $ac_c" 1>&6 | 2627 echo $ac_n "(cached) $ac_c" 1>&6 |
2627 else | 2628 else |
2628 cat > conftest.$ac_ext <<EOF | 2629 cat > conftest.$ac_ext <<EOF |
2629 #line 2630 "configure" | 2630 #line 2631 "configure" |
2630 #include "confdefs.h" | 2631 #include "confdefs.h" |
2631 #include <sys/types.h> | 2632 #include <sys/types.h> |
2632 #include <time.h> | 2633 #include <time.h> |
2633 int main() { | 2634 int main() { |
2634 struct tm *tp; tp->tm_sec; | 2635 struct tm *tp; tp->tm_sec; |
2635 ; return 0; } | 2636 ; return 0; } |
2636 EOF | 2637 EOF |
2637 if { (eval echo configure:2638: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2638 if { (eval echo configure:2639: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2638 rm -rf conftest* | 2639 rm -rf conftest* |
2639 ac_cv_struct_tm=time.h | 2640 ac_cv_struct_tm=time.h |
2640 else | 2641 else |
2641 echo "configure: failed program was:" >&5 | 2642 echo "configure: failed program was:" >&5 |
2642 cat conftest.$ac_ext >&5 | 2643 cat conftest.$ac_ext >&5 |
2653 EOF | 2654 EOF |
2654 | 2655 |
2655 fi | 2656 fi |
2656 | 2657 |
2657 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 | 2658 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 |
2658 echo "configure:2659: checking for tm_zone in struct tm" >&5 | 2659 echo "configure:2660: checking for tm_zone in struct tm" >&5 |
2659 if eval "test \"`echo '$''{'ac_cv_struct_tm_zone'+set}'`\" = set"; then | 2660 if eval "test \"`echo '$''{'ac_cv_struct_tm_zone'+set}'`\" = set"; then |
2660 echo $ac_n "(cached) $ac_c" 1>&6 | 2661 echo $ac_n "(cached) $ac_c" 1>&6 |
2661 else | 2662 else |
2662 cat > conftest.$ac_ext <<EOF | 2663 cat > conftest.$ac_ext <<EOF |
2663 #line 2664 "configure" | 2664 #line 2665 "configure" |
2664 #include "confdefs.h" | 2665 #include "confdefs.h" |
2665 #include <sys/types.h> | 2666 #include <sys/types.h> |
2666 #include <$ac_cv_struct_tm> | 2667 #include <$ac_cv_struct_tm> |
2667 int main() { | 2668 int main() { |
2668 struct tm tm; tm.tm_zone; | 2669 struct tm tm; tm.tm_zone; |
2669 ; return 0; } | 2670 ; return 0; } |
2670 EOF | 2671 EOF |
2671 if { (eval echo configure:2672: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2672 if { (eval echo configure:2673: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2672 rm -rf conftest* | 2673 rm -rf conftest* |
2673 ac_cv_struct_tm_zone=yes | 2674 ac_cv_struct_tm_zone=yes |
2674 else | 2675 else |
2675 echo "configure: failed program was:" >&5 | 2676 echo "configure: failed program was:" >&5 |
2676 cat conftest.$ac_ext >&5 | 2677 cat conftest.$ac_ext >&5 |
2686 #define HAVE_TM_ZONE 1 | 2687 #define HAVE_TM_ZONE 1 |
2687 EOF | 2688 EOF |
2688 | 2689 |
2689 else | 2690 else |
2690 echo $ac_n "checking for tzname""... $ac_c" 1>&6 | 2691 echo $ac_n "checking for tzname""... $ac_c" 1>&6 |
2691 echo "configure:2692: checking for tzname" >&5 | 2692 echo "configure:2693: checking for tzname" >&5 |
2692 if eval "test \"`echo '$''{'ac_cv_var_tzname'+set}'`\" = set"; then | 2693 if eval "test \"`echo '$''{'ac_cv_var_tzname'+set}'`\" = set"; then |
2693 echo $ac_n "(cached) $ac_c" 1>&6 | 2694 echo $ac_n "(cached) $ac_c" 1>&6 |
2694 else | 2695 else |
2695 cat > conftest.$ac_ext <<EOF | 2696 cat > conftest.$ac_ext <<EOF |
2696 #line 2697 "configure" | 2697 #line 2698 "configure" |
2697 #include "confdefs.h" | 2698 #include "confdefs.h" |
2698 #include <time.h> | 2699 #include <time.h> |
2699 #ifndef tzname /* For SGI. */ | 2700 #ifndef tzname /* For SGI. */ |
2700 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ | 2701 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ |
2701 #endif | 2702 #endif |
2702 int main() { | 2703 int main() { |
2703 atoi(*tzname); | 2704 atoi(*tzname); |
2704 ; return 0; } | 2705 ; return 0; } |
2705 EOF | 2706 EOF |
2706 if { (eval echo configure:2707: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2707 if { (eval echo configure:2708: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2707 rm -rf conftest* | 2708 rm -rf conftest* |
2708 ac_cv_var_tzname=yes | 2709 ac_cv_var_tzname=yes |
2709 else | 2710 else |
2710 echo "configure: failed program was:" >&5 | 2711 echo "configure: failed program was:" >&5 |
2711 cat conftest.$ac_ext >&5 | 2712 cat conftest.$ac_ext >&5 |
2723 | 2724 |
2724 fi | 2725 fi |
2725 fi | 2726 fi |
2726 | 2727 |
2727 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6 | 2728 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6 |
2728 echo "configure:2729: checking for tm_gmtoff in struct tm" >&5 | 2729 echo "configure:2730: checking for tm_gmtoff in struct tm" >&5 |
2729 if eval "test \"`echo '$''{'emacs_cv_tm_gmtoff'+set}'`\" = set"; then | 2730 if eval "test \"`echo '$''{'emacs_cv_tm_gmtoff'+set}'`\" = set"; then |
2730 echo $ac_n "(cached) $ac_c" 1>&6 | 2731 echo $ac_n "(cached) $ac_c" 1>&6 |
2731 else | 2732 else |
2732 cat > conftest.$ac_ext <<EOF | 2733 cat > conftest.$ac_ext <<EOF |
2733 #line 2734 "configure" | 2734 #line 2735 "configure" |
2734 #include "confdefs.h" | 2735 #include "confdefs.h" |
2735 #include <time.h> | 2736 #include <time.h> |
2736 int main() { | 2737 int main() { |
2737 struct tm t; t.tm_gmtoff = 0 | 2738 struct tm t; t.tm_gmtoff = 0 |
2738 ; return 0; } | 2739 ; return 0; } |
2739 EOF | 2740 EOF |
2740 if { (eval echo configure:2741: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2741 if { (eval echo configure:2742: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2741 rm -rf conftest* | 2742 rm -rf conftest* |
2742 emacs_cv_tm_gmtoff=yes | 2743 emacs_cv_tm_gmtoff=yes |
2743 else | 2744 else |
2744 echo "configure: failed program was:" >&5 | 2745 echo "configure: failed program was:" >&5 |
2745 cat conftest.$ac_ext >&5 | 2746 cat conftest.$ac_ext >&5 |
2757 | 2758 |
2758 fi | 2759 fi |
2759 | 2760 |
2760 | 2761 |
2761 echo $ac_n "checking for ${CC-cc} option to accept ANSI C""... $ac_c" 1>&6 | 2762 echo $ac_n "checking for ${CC-cc} option to accept ANSI C""... $ac_c" 1>&6 |
2762 echo "configure:2763: checking for ${CC-cc} option to accept ANSI C" >&5 | 2763 echo "configure:2764: checking for ${CC-cc} option to accept ANSI C" >&5 |
2763 if eval "test \"`echo '$''{'ac_cv_prog_cc_stdc'+set}'`\" = set"; then | 2764 if eval "test \"`echo '$''{'ac_cv_prog_cc_stdc'+set}'`\" = set"; then |
2764 echo $ac_n "(cached) $ac_c" 1>&6 | 2765 echo $ac_n "(cached) $ac_c" 1>&6 |
2765 else | 2766 else |
2766 ac_cv_prog_cc_stdc=no | 2767 ac_cv_prog_cc_stdc=no |
2767 ac_save_CC="$CC" | 2768 ac_save_CC="$CC" |
2774 # SVR4 -Xc -D__EXTENSIONS__ | 2775 # SVR4 -Xc -D__EXTENSIONS__ |
2775 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | 2776 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
2776 do | 2777 do |
2777 CC="$ac_save_CC $ac_arg" | 2778 CC="$ac_save_CC $ac_arg" |
2778 cat > conftest.$ac_ext <<EOF | 2779 cat > conftest.$ac_ext <<EOF |
2779 #line 2780 "configure" | 2780 #line 2781 "configure" |
2780 #include "confdefs.h" | 2781 #include "confdefs.h" |
2781 #include <stdarg.h> | 2782 #include <stdarg.h> |
2782 #include <stdio.h> | 2783 #include <stdio.h> |
2783 #include <sys/types.h> | 2784 #include <sys/types.h> |
2784 #include <sys/stat.h> | 2785 #include <sys/stat.h> |
2808 char **argv; | 2809 char **argv; |
2809 int main() { | 2810 int main() { |
2810 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | 2811 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
2811 ; return 0; } | 2812 ; return 0; } |
2812 EOF | 2813 EOF |
2813 if { (eval echo configure:2814: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2814 if { (eval echo configure:2815: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2814 rm -rf conftest* | 2815 rm -rf conftest* |
2815 ac_cv_prog_cc_stdc="$ac_arg"; break | 2816 ac_cv_prog_cc_stdc="$ac_arg"; break |
2816 else | 2817 else |
2817 echo "configure: failed program was:" >&5 | 2818 echo "configure: failed program was:" >&5 |
2818 cat conftest.$ac_ext >&5 | 2819 cat conftest.$ac_ext >&5 |
2830 echo "$ac_t""$ac_cv_prog_cc_stdc" 1>&6 | 2831 echo "$ac_t""$ac_cv_prog_cc_stdc" 1>&6 |
2831 CC="$CC $ac_cv_prog_cc_stdc" ;; | 2832 CC="$CC $ac_cv_prog_cc_stdc" ;; |
2832 esac | 2833 esac |
2833 | 2834 |
2834 echo $ac_n "checking for function prototypes""... $ac_c" 1>&6 | 2835 echo $ac_n "checking for function prototypes""... $ac_c" 1>&6 |
2835 echo "configure:2836: checking for function prototypes" >&5 | 2836 echo "configure:2837: checking for function prototypes" >&5 |
2836 if test "$ac_cv_prog_cc_stdc" != no; then | 2837 if test "$ac_cv_prog_cc_stdc" != no; then |
2837 echo "$ac_t""yes" 1>&6 | 2838 echo "$ac_t""yes" 1>&6 |
2838 cat >> confdefs.h <<\EOF | 2839 cat >> confdefs.h <<\EOF |
2839 #define PROTOTYPES 1 | 2840 #define PROTOTYPES 1 |
2840 EOF | 2841 EOF |
2842 else | 2843 else |
2843 echo "$ac_t""no" 1>&6 | 2844 echo "$ac_t""no" 1>&6 |
2844 fi | 2845 fi |
2845 | 2846 |
2846 echo $ac_n "checking for working volatile""... $ac_c" 1>&6 | 2847 echo $ac_n "checking for working volatile""... $ac_c" 1>&6 |
2847 echo "configure:2848: checking for working volatile" >&5 | 2848 echo "configure:2849: checking for working volatile" >&5 |
2848 if eval "test \"`echo '$''{'ac_cv_c_volatile'+set}'`\" = set"; then | 2849 if eval "test \"`echo '$''{'ac_cv_c_volatile'+set}'`\" = set"; then |
2849 echo $ac_n "(cached) $ac_c" 1>&6 | 2850 echo $ac_n "(cached) $ac_c" 1>&6 |
2850 else | 2851 else |
2851 cat > conftest.$ac_ext <<EOF | 2852 cat > conftest.$ac_ext <<EOF |
2852 #line 2853 "configure" | 2853 #line 2854 "configure" |
2853 #include "confdefs.h" | 2854 #include "confdefs.h" |
2854 | 2855 |
2855 int main() { | 2856 int main() { |
2856 | 2857 |
2857 volatile int x; | 2858 volatile int x; |
2858 int * volatile y; | 2859 int * volatile y; |
2859 ; return 0; } | 2860 ; return 0; } |
2860 EOF | 2861 EOF |
2861 if { (eval echo configure:2862: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2862 if { (eval echo configure:2863: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2862 rm -rf conftest* | 2863 rm -rf conftest* |
2863 ac_cv_c_volatile=yes | 2864 ac_cv_c_volatile=yes |
2864 else | 2865 else |
2865 echo "configure: failed program was:" >&5 | 2866 echo "configure: failed program was:" >&5 |
2866 cat conftest.$ac_ext >&5 | 2867 cat conftest.$ac_ext >&5 |
2877 EOF | 2878 EOF |
2878 | 2879 |
2879 fi | 2880 fi |
2880 | 2881 |
2881 echo $ac_n "checking for working const""... $ac_c" 1>&6 | 2882 echo $ac_n "checking for working const""... $ac_c" 1>&6 |
2882 echo "configure:2883: checking for working const" >&5 | 2883 echo "configure:2884: checking for working const" >&5 |
2883 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then | 2884 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then |
2884 echo $ac_n "(cached) $ac_c" 1>&6 | 2885 echo $ac_n "(cached) $ac_c" 1>&6 |
2885 else | 2886 else |
2886 cat > conftest.$ac_ext <<EOF | 2887 cat > conftest.$ac_ext <<EOF |
2887 #line 2888 "configure" | 2888 #line 2889 "configure" |
2888 #include "confdefs.h" | 2889 #include "confdefs.h" |
2889 | 2890 |
2890 int main() { | 2891 int main() { |
2891 | 2892 |
2892 /* Ultrix mips cc rejects this. */ | 2893 /* Ultrix mips cc rejects this. */ |
2893 typedef int charset[2]; const charset x = {0,0}; | 2894 typedef int charset[2]; const charset x; |
2894 /* SunOS 4.1.1 cc rejects this. */ | 2895 /* SunOS 4.1.1 cc rejects this. */ |
2895 char const *const *ccp; | 2896 char const *const *ccp; |
2896 char **p; | 2897 char **p; |
2897 /* NEC SVR4.0.2 mips cc rejects this. */ | 2898 /* NEC SVR4.0.2 mips cc rejects this. */ |
2898 struct point {int x, y;}; | 2899 struct point {int x, y;}; |
2931 const int foo = 10; | 2932 const int foo = 10; |
2932 } | 2933 } |
2933 | 2934 |
2934 ; return 0; } | 2935 ; return 0; } |
2935 EOF | 2936 EOF |
2936 if { (eval echo configure:2937: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2937 if { (eval echo configure:2938: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2937 rm -rf conftest* | 2938 rm -rf conftest* |
2938 ac_cv_c_const=yes | 2939 ac_cv_c_const=yes |
2939 else | 2940 else |
2940 echo "configure: failed program was:" >&5 | 2941 echo "configure: failed program was:" >&5 |
2941 cat conftest.$ac_ext >&5 | 2942 cat conftest.$ac_ext >&5 |
2951 #define const | 2952 #define const |
2952 EOF | 2953 EOF |
2953 | 2954 |
2954 fi | 2955 fi |
2955 | 2956 |
2956 echo $ac_n "checking for inline""... $ac_c" 1>&6 | 2957 echo $ac_n "checking for void * support""... $ac_c" 1>&6 |
2957 echo "configure:2958: checking for inline" >&5 | 2958 echo "configure:2959: checking for void * support" >&5 |
2958 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then | 2959 if eval "test \"`echo '$''{'emacs_cv_void_star'+set}'`\" = set"; then |
2959 echo $ac_n "(cached) $ac_c" 1>&6 | 2960 echo $ac_n "(cached) $ac_c" 1>&6 |
2960 else | 2961 else |
2961 ac_cv_c_inline=no | |
2962 for ac_kw in inline __inline__ __inline; do | |
2963 cat > conftest.$ac_ext <<EOF | 2962 cat > conftest.$ac_ext <<EOF |
2964 #line 2965 "configure" | 2963 #line 2964 "configure" |
2965 #include "confdefs.h" | |
2966 | |
2967 int main() { | |
2968 } int $ac_kw foo() { | |
2969 ; return 0; } | |
2970 EOF | |
2971 if { (eval echo configure:2972: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | |
2972 rm -rf conftest* | |
2973 ac_cv_c_inline=$ac_kw; break | |
2974 else | |
2975 echo "configure: failed program was:" >&5 | |
2976 cat conftest.$ac_ext >&5 | |
2977 fi | |
2978 rm -f conftest* | |
2979 done | |
2980 | |
2981 fi | |
2982 | |
2983 echo "$ac_t""$ac_cv_c_inline" 1>&6 | |
2984 case "$ac_cv_c_inline" in | |
2985 inline | yes) ;; | |
2986 no) cat >> confdefs.h <<\EOF | |
2987 #define inline | |
2988 EOF | |
2989 ;; | |
2990 *) cat >> confdefs.h <<EOF | |
2991 #define inline $ac_cv_c_inline | |
2992 EOF | |
2993 ;; | |
2994 esac | |
2995 | |
2996 echo $ac_n "checking for void * support""... $ac_c" 1>&6 | |
2997 echo "configure:2998: checking for void * support" >&5 | |
2998 if eval "test \"`echo '$''{'emacs_cv_void_star'+set}'`\" = set"; then | |
2999 echo $ac_n "(cached) $ac_c" 1>&6 | |
3000 else | |
3001 cat > conftest.$ac_ext <<EOF | |
3002 #line 3003 "configure" | |
3003 #include "confdefs.h" | 2964 #include "confdefs.h" |
3004 | 2965 |
3005 int main() { | 2966 int main() { |
3006 void * foo; | 2967 void * foo; |
3007 ; return 0; } | 2968 ; return 0; } |
3008 EOF | 2969 EOF |
3009 if { (eval echo configure:3010: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2970 if { (eval echo configure:2971: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3010 rm -rf conftest* | 2971 rm -rf conftest* |
3011 emacs_cv_void_star=yes | 2972 emacs_cv_void_star=yes |
3012 else | 2973 else |
3013 echo "configure: failed program was:" >&5 | 2974 echo "configure: failed program was:" >&5 |
3014 cat conftest.$ac_ext >&5 | 2975 cat conftest.$ac_ext >&5 |
3030 EOF | 2991 EOF |
3031 | 2992 |
3032 fi | 2993 fi |
3033 | 2994 |
3034 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | 2995 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
3035 echo "configure:3036: checking whether ${MAKE-make} sets \${MAKE}" >&5 | 2996 echo "configure:2997: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
3036 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | 2997 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
3037 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then | 2998 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then |
3038 echo $ac_n "(cached) $ac_c" 1>&6 | 2999 echo $ac_n "(cached) $ac_c" 1>&6 |
3039 else | 3000 else |
3040 cat > conftestmake <<\EOF | 3001 cat > conftestmake <<\EOF |
3058 SET_MAKE="MAKE=${MAKE-make}" | 3019 SET_MAKE="MAKE=${MAKE-make}" |
3059 fi | 3020 fi |
3060 | 3021 |
3061 | 3022 |
3062 echo $ac_n "checking for long file names""... $ac_c" 1>&6 | 3023 echo $ac_n "checking for long file names""... $ac_c" 1>&6 |
3063 echo "configure:3064: checking for long file names" >&5 | 3024 echo "configure:3025: checking for long file names" >&5 |
3064 if eval "test \"`echo '$''{'ac_cv_sys_long_file_names'+set}'`\" = set"; then | 3025 if eval "test \"`echo '$''{'ac_cv_sys_long_file_names'+set}'`\" = set"; then |
3065 echo $ac_n "(cached) $ac_c" 1>&6 | 3026 echo $ac_n "(cached) $ac_c" 1>&6 |
3066 else | 3027 else |
3067 ac_cv_sys_long_file_names=yes | 3028 ac_cv_sys_long_file_names=yes |
3068 # Test for long file names in all the places we know might matter: | 3029 # Test for long file names in all the places we know might matter: |
3109 # If we find X, set shell vars x_includes and x_libraries to the | 3070 # If we find X, set shell vars x_includes and x_libraries to the |
3110 # paths, otherwise set no_x=yes. | 3071 # paths, otherwise set no_x=yes. |
3111 # Uses ac_ vars as temps to allow command line to override cache and checks. | 3072 # Uses ac_ vars as temps to allow command line to override cache and checks. |
3112 # --without-x overrides everything else, but does not touch the cache. | 3073 # --without-x overrides everything else, but does not touch the cache. |
3113 echo $ac_n "checking for X""... $ac_c" 1>&6 | 3074 echo $ac_n "checking for X""... $ac_c" 1>&6 |
3114 echo "configure:3115: checking for X" >&5 | 3075 echo "configure:3076: checking for X" >&5 |
3115 | 3076 |
3116 # Check whether --with-x or --without-x was given. | 3077 # Check whether --with-x or --without-x was given. |
3117 if test "${with_x+set}" = set; then | 3078 if test "${with_x+set}" = set; then |
3118 withval="$with_x" | 3079 withval="$with_x" |
3119 : | 3080 : |
3171 # Guess where to find include files, by looking for this one X11 .h file. | 3132 # Guess where to find include files, by looking for this one X11 .h file. |
3172 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h | 3133 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h |
3173 | 3134 |
3174 # First, try using that file with no special directory specified. | 3135 # First, try using that file with no special directory specified. |
3175 cat > conftest.$ac_ext <<EOF | 3136 cat > conftest.$ac_ext <<EOF |
3176 #line 3177 "configure" | 3137 #line 3138 "configure" |
3177 #include "confdefs.h" | 3138 #include "confdefs.h" |
3178 #include <$x_direct_test_include> | 3139 #include <$x_direct_test_include> |
3179 EOF | 3140 EOF |
3180 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3141 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3181 { (eval echo configure:3182: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3142 { (eval echo configure:3143: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3182 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 3143 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3183 if test -z "$ac_err"; then | 3144 if test -z "$ac_err"; then |
3184 rm -rf conftest* | 3145 rm -rf conftest* |
3185 # We can compile using X headers with no special include directory. | 3146 # We can compile using X headers with no special include directory. |
3186 ac_x_includes= | 3147 ac_x_includes= |
3245 # See if we find them without any special options. | 3206 # See if we find them without any special options. |
3246 # Don't add to $LIBS permanently. | 3207 # Don't add to $LIBS permanently. |
3247 ac_save_LIBS="$LIBS" | 3208 ac_save_LIBS="$LIBS" |
3248 LIBS="-l$x_direct_test_library $LIBS" | 3209 LIBS="-l$x_direct_test_library $LIBS" |
3249 cat > conftest.$ac_ext <<EOF | 3210 cat > conftest.$ac_ext <<EOF |
3250 #line 3251 "configure" | 3211 #line 3212 "configure" |
3251 #include "confdefs.h" | 3212 #include "confdefs.h" |
3252 | 3213 |
3253 int main() { | 3214 int main() { |
3254 ${x_direct_test_function}() | 3215 ${x_direct_test_function}() |
3255 ; return 0; } | 3216 ; return 0; } |
3256 EOF | 3217 EOF |
3257 if { (eval echo configure:3258: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3218 if { (eval echo configure:3219: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3258 rm -rf conftest* | 3219 rm -rf conftest* |
3259 LIBS="$ac_save_LIBS" | 3220 LIBS="$ac_save_LIBS" |
3260 # We can link X programs with no special library path. | 3221 # We can link X programs with no special library path. |
3261 ac_x_libraries= | 3222 ac_x_libraries= |
3262 else | 3223 else |
3427 #### Extract some information from the operating system and machine files. | 3388 #### Extract some information from the operating system and machine files. |
3428 | 3389 |
3429 echo "checking the machine- and system-dependent files to find out | 3390 echo "checking the machine- and system-dependent files to find out |
3430 - which libraries the lib-src programs will want, and | 3391 - which libraries the lib-src programs will want, and |
3431 - whether the GNU malloc routines are usable" 1>&6 | 3392 - whether the GNU malloc routines are usable" 1>&6 |
3432 echo "configure:3433: checking the machine- and system-dependent files to find out | 3393 echo "configure:3394: checking the machine- and system-dependent files to find out |
3433 - which libraries the lib-src programs will want, and | 3394 - which libraries the lib-src programs will want, and |
3434 - whether the GNU malloc routines are usable" >&5 | 3395 - whether the GNU malloc routines are usable" >&5 |
3435 | 3396 |
3436 ### First figure out CFLAGS (which we use for running the compiler here) | 3397 ### First figure out CFLAGS (which we use for running the compiler here) |
3437 ### and REAL_CFLAGS (which we use for real compilation). | 3398 ### and REAL_CFLAGS (which we use for real compilation). |
3561 # Do the opsystem or machine files prohibit the use of the GNU malloc? | 3522 # Do the opsystem or machine files prohibit the use of the GNU malloc? |
3562 # Assume not, until told otherwise. | 3523 # Assume not, until told otherwise. |
3563 GNU_MALLOC=yes | 3524 GNU_MALLOC=yes |
3564 doug_lea_malloc=yes | 3525 doug_lea_malloc=yes |
3565 echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6 | 3526 echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6 |
3566 echo "configure:3567: checking for malloc_get_state" >&5 | 3527 echo "configure:3528: checking for malloc_get_state" >&5 |
3567 if eval "test \"`echo '$''{'ac_cv_func_malloc_get_state'+set}'`\" = set"; then | 3528 if eval "test \"`echo '$''{'ac_cv_func_malloc_get_state'+set}'`\" = set"; then |
3568 echo $ac_n "(cached) $ac_c" 1>&6 | 3529 echo $ac_n "(cached) $ac_c" 1>&6 |
3569 else | 3530 else |
3570 cat > conftest.$ac_ext <<EOF | 3531 cat > conftest.$ac_ext <<EOF |
3571 #line 3572 "configure" | 3532 #line 3533 "configure" |
3572 #include "confdefs.h" | 3533 #include "confdefs.h" |
3573 /* System header to define __stub macros and hopefully few prototypes, | 3534 /* System header to define __stub macros and hopefully few prototypes, |
3574 which can conflict with char malloc_get_state(); below. */ | 3535 which can conflict with char malloc_get_state(); below. */ |
3575 #include <assert.h> | 3536 #include <assert.h> |
3576 /* Override any gcc2 internal prototype to avoid an error. */ | 3537 /* Override any gcc2 internal prototype to avoid an error. */ |
3589 malloc_get_state(); | 3550 malloc_get_state(); |
3590 #endif | 3551 #endif |
3591 | 3552 |
3592 ; return 0; } | 3553 ; return 0; } |
3593 EOF | 3554 EOF |
3594 if { (eval echo configure:3595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3555 if { (eval echo configure:3556: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3595 rm -rf conftest* | 3556 rm -rf conftest* |
3596 eval "ac_cv_func_malloc_get_state=yes" | 3557 eval "ac_cv_func_malloc_get_state=yes" |
3597 else | 3558 else |
3598 echo "configure: failed program was:" >&5 | 3559 echo "configure: failed program was:" >&5 |
3599 cat conftest.$ac_ext >&5 | 3560 cat conftest.$ac_ext >&5 |
3610 echo "$ac_t""no" 1>&6 | 3571 echo "$ac_t""no" 1>&6 |
3611 doug_lea_malloc=no | 3572 doug_lea_malloc=no |
3612 fi | 3573 fi |
3613 | 3574 |
3614 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 | 3575 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 |
3615 echo "configure:3616: checking for malloc_set_state" >&5 | 3576 echo "configure:3577: checking for malloc_set_state" >&5 |
3616 if eval "test \"`echo '$''{'ac_cv_func_malloc_set_state'+set}'`\" = set"; then | 3577 if eval "test \"`echo '$''{'ac_cv_func_malloc_set_state'+set}'`\" = set"; then |
3617 echo $ac_n "(cached) $ac_c" 1>&6 | 3578 echo $ac_n "(cached) $ac_c" 1>&6 |
3618 else | 3579 else |
3619 cat > conftest.$ac_ext <<EOF | 3580 cat > conftest.$ac_ext <<EOF |
3620 #line 3621 "configure" | 3581 #line 3582 "configure" |
3621 #include "confdefs.h" | 3582 #include "confdefs.h" |
3622 /* System header to define __stub macros and hopefully few prototypes, | 3583 /* System header to define __stub macros and hopefully few prototypes, |
3623 which can conflict with char malloc_set_state(); below. */ | 3584 which can conflict with char malloc_set_state(); below. */ |
3624 #include <assert.h> | 3585 #include <assert.h> |
3625 /* Override any gcc2 internal prototype to avoid an error. */ | 3586 /* Override any gcc2 internal prototype to avoid an error. */ |
3638 malloc_set_state(); | 3599 malloc_set_state(); |
3639 #endif | 3600 #endif |
3640 | 3601 |
3641 ; return 0; } | 3602 ; return 0; } |
3642 EOF | 3603 EOF |
3643 if { (eval echo configure:3644: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3604 if { (eval echo configure:3605: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3644 rm -rf conftest* | 3605 rm -rf conftest* |
3645 eval "ac_cv_func_malloc_set_state=yes" | 3606 eval "ac_cv_func_malloc_set_state=yes" |
3646 else | 3607 else |
3647 echo "configure: failed program was:" >&5 | 3608 echo "configure: failed program was:" >&5 |
3648 cat conftest.$ac_ext >&5 | 3609 cat conftest.$ac_ext >&5 |
3659 echo "$ac_t""no" 1>&6 | 3620 echo "$ac_t""no" 1>&6 |
3660 doug_lea_malloc=no | 3621 doug_lea_malloc=no |
3661 fi | 3622 fi |
3662 | 3623 |
3663 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 | 3624 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 |
3664 echo "configure:3665: checking whether __after_morecore_hook exists" >&5 | 3625 echo "configure:3626: checking whether __after_morecore_hook exists" >&5 |
3665 if eval "test \"`echo '$''{'emacs_cv_var___after_morecore_hook'+set}'`\" = set"; then | 3626 if eval "test \"`echo '$''{'emacs_cv_var___after_morecore_hook'+set}'`\" = set"; then |
3666 echo $ac_n "(cached) $ac_c" 1>&6 | 3627 echo $ac_n "(cached) $ac_c" 1>&6 |
3667 else | 3628 else |
3668 cat > conftest.$ac_ext <<EOF | 3629 cat > conftest.$ac_ext <<EOF |
3669 #line 3670 "configure" | 3630 #line 3631 "configure" |
3670 #include "confdefs.h" | 3631 #include "confdefs.h" |
3671 extern void (* __after_morecore_hook)(); | 3632 extern void (* __after_morecore_hook)(); |
3672 int main() { | 3633 int main() { |
3673 __after_morecore_hook = 0 | 3634 __after_morecore_hook = 0 |
3674 ; return 0; } | 3635 ; return 0; } |
3675 EOF | 3636 EOF |
3676 if { (eval echo configure:3677: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3637 if { (eval echo configure:3638: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3677 rm -rf conftest* | 3638 rm -rf conftest* |
3678 emacs_cv_var___after_morecore_hook=yes | 3639 emacs_cv_var___after_morecore_hook=yes |
3679 else | 3640 else |
3680 echo "configure: failed program was:" >&5 | 3641 echo "configure: failed program was:" >&5 |
3681 cat conftest.$ac_ext >&5 | 3642 cat conftest.$ac_ext >&5 |
3718 fi | 3679 fi |
3719 | 3680 |
3720 LIBS="$libsrc_libs $LIBS" | 3681 LIBS="$libsrc_libs $LIBS" |
3721 | 3682 |
3722 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 | 3683 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
3723 echo "configure:3724: checking for dnet_ntoa in -ldnet" >&5 | 3684 echo "configure:3685: checking for dnet_ntoa in -ldnet" >&5 |
3724 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 3685 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
3725 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 3686 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
3726 echo $ac_n "(cached) $ac_c" 1>&6 | 3687 echo $ac_n "(cached) $ac_c" 1>&6 |
3727 else | 3688 else |
3728 ac_save_LIBS="$LIBS" | 3689 ac_save_LIBS="$LIBS" |
3729 LIBS="-ldnet $LIBS" | 3690 LIBS="-ldnet $LIBS" |
3730 cat > conftest.$ac_ext <<EOF | 3691 cat > conftest.$ac_ext <<EOF |
3731 #line 3732 "configure" | 3692 #line 3693 "configure" |
3732 #include "confdefs.h" | 3693 #include "confdefs.h" |
3733 /* Override any gcc2 internal prototype to avoid an error. */ | 3694 /* Override any gcc2 internal prototype to avoid an error. */ |
3734 /* We use char because int might match the return type of a gcc2 | 3695 /* We use char because int might match the return type of a gcc2 |
3735 builtin and then its argument prototype would still apply. */ | 3696 builtin and then its argument prototype would still apply. */ |
3736 char dnet_ntoa(); | 3697 char dnet_ntoa(); |
3737 | 3698 |
3738 int main() { | 3699 int main() { |
3739 dnet_ntoa() | 3700 dnet_ntoa() |
3740 ; return 0; } | 3701 ; return 0; } |
3741 EOF | 3702 EOF |
3742 if { (eval echo configure:3743: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3703 if { (eval echo configure:3704: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3743 rm -rf conftest* | 3704 rm -rf conftest* |
3744 eval "ac_cv_lib_$ac_lib_var=yes" | 3705 eval "ac_cv_lib_$ac_lib_var=yes" |
3745 else | 3706 else |
3746 echo "configure: failed program was:" >&5 | 3707 echo "configure: failed program was:" >&5 |
3747 cat conftest.$ac_ext >&5 | 3708 cat conftest.$ac_ext >&5 |
3766 echo "$ac_t""no" 1>&6 | 3727 echo "$ac_t""no" 1>&6 |
3767 fi | 3728 fi |
3768 | 3729 |
3769 | 3730 |
3770 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 | 3731 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 |
3771 echo "configure:3772: checking for main in -lXbsd" >&5 | 3732 echo "configure:3733: checking for main in -lXbsd" >&5 |
3772 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` | 3733 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` |
3773 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 3734 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
3774 echo $ac_n "(cached) $ac_c" 1>&6 | 3735 echo $ac_n "(cached) $ac_c" 1>&6 |
3775 else | 3736 else |
3776 ac_save_LIBS="$LIBS" | 3737 ac_save_LIBS="$LIBS" |
3777 LIBS="-lXbsd $LIBS" | 3738 LIBS="-lXbsd $LIBS" |
3778 cat > conftest.$ac_ext <<EOF | 3739 cat > conftest.$ac_ext <<EOF |
3779 #line 3780 "configure" | 3740 #line 3741 "configure" |
3780 #include "confdefs.h" | 3741 #include "confdefs.h" |
3781 | 3742 |
3782 int main() { | 3743 int main() { |
3783 main() | 3744 main() |
3784 ; return 0; } | 3745 ; return 0; } |
3785 EOF | 3746 EOF |
3786 if { (eval echo configure:3787: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3747 if { (eval echo configure:3748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3787 rm -rf conftest* | 3748 rm -rf conftest* |
3788 eval "ac_cv_lib_$ac_lib_var=yes" | 3749 eval "ac_cv_lib_$ac_lib_var=yes" |
3789 else | 3750 else |
3790 echo "configure: failed program was:" >&5 | 3751 echo "configure: failed program was:" >&5 |
3791 cat conftest.$ac_ext >&5 | 3752 cat conftest.$ac_ext >&5 |
3803 echo "$ac_t""no" 1>&6 | 3764 echo "$ac_t""no" 1>&6 |
3804 fi | 3765 fi |
3805 | 3766 |
3806 | 3767 |
3807 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 | 3768 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 |
3808 echo "configure:3809: checking for cma_open in -lpthreads" >&5 | 3769 echo "configure:3770: checking for cma_open in -lpthreads" >&5 |
3809 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` | 3770 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` |
3810 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 3771 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
3811 echo $ac_n "(cached) $ac_c" 1>&6 | 3772 echo $ac_n "(cached) $ac_c" 1>&6 |
3812 else | 3773 else |
3813 ac_save_LIBS="$LIBS" | 3774 ac_save_LIBS="$LIBS" |
3814 LIBS="-lpthreads $LIBS" | 3775 LIBS="-lpthreads $LIBS" |
3815 cat > conftest.$ac_ext <<EOF | 3776 cat > conftest.$ac_ext <<EOF |
3816 #line 3817 "configure" | 3777 #line 3778 "configure" |
3817 #include "confdefs.h" | 3778 #include "confdefs.h" |
3818 /* Override any gcc2 internal prototype to avoid an error. */ | 3779 /* Override any gcc2 internal prototype to avoid an error. */ |
3819 /* We use char because int might match the return type of a gcc2 | 3780 /* We use char because int might match the return type of a gcc2 |
3820 builtin and then its argument prototype would still apply. */ | 3781 builtin and then its argument prototype would still apply. */ |
3821 char cma_open(); | 3782 char cma_open(); |
3822 | 3783 |
3823 int main() { | 3784 int main() { |
3824 cma_open() | 3785 cma_open() |
3825 ; return 0; } | 3786 ; return 0; } |
3826 EOF | 3787 EOF |
3827 if { (eval echo configure:3828: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3788 if { (eval echo configure:3789: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3828 rm -rf conftest* | 3789 rm -rf conftest* |
3829 eval "ac_cv_lib_$ac_lib_var=yes" | 3790 eval "ac_cv_lib_$ac_lib_var=yes" |
3830 else | 3791 else |
3831 echo "configure: failed program was:" >&5 | 3792 echo "configure: failed program was:" >&5 |
3832 cat conftest.$ac_ext >&5 | 3793 cat conftest.$ac_ext >&5 |
3851 echo "$ac_t""no" 1>&6 | 3812 echo "$ac_t""no" 1>&6 |
3852 fi | 3813 fi |
3853 | 3814 |
3854 | 3815 |
3855 echo $ac_n "checking for XFree86 in /usr/X386""... $ac_c" 1>&6 | 3816 echo $ac_n "checking for XFree86 in /usr/X386""... $ac_c" 1>&6 |
3856 echo "configure:3857: checking for XFree86 in /usr/X386" >&5 | 3817 echo "configure:3818: checking for XFree86 in /usr/X386" >&5 |
3857 if test -d /usr/X386/include; then | 3818 if test -d /usr/X386/include; then |
3858 HAVE_XFREE386=yes | 3819 HAVE_XFREE386=yes |
3859 : ${C_SWITCH_X_SITE="-I/usr/X386/include"} | 3820 : ${C_SWITCH_X_SITE="-I/usr/X386/include"} |
3860 else | 3821 else |
3861 HAVE_XFREE386=no | 3822 HAVE_XFREE386=no |
3880 export LD_RUN_PATH | 3841 export LD_RUN_PATH |
3881 fi | 3842 fi |
3882 | 3843 |
3883 if test "${opsys}" = "gnu-linux"; then | 3844 if test "${opsys}" = "gnu-linux"; then |
3884 echo $ac_n "checking whether X on GNU/Linux needs -b to link""... $ac_c" 1>&6 | 3845 echo $ac_n "checking whether X on GNU/Linux needs -b to link""... $ac_c" 1>&6 |
3885 echo "configure:3886: checking whether X on GNU/Linux needs -b to link" >&5 | 3846 echo "configure:3847: checking whether X on GNU/Linux needs -b to link" >&5 |
3886 cat > conftest.$ac_ext <<EOF | 3847 cat > conftest.$ac_ext <<EOF |
3887 #line 3888 "configure" | 3848 #line 3849 "configure" |
3888 #include "confdefs.h" | 3849 #include "confdefs.h" |
3889 | 3850 |
3890 int main() { | 3851 int main() { |
3891 XOpenDisplay ("foo"); | 3852 XOpenDisplay ("foo"); |
3892 ; return 0; } | 3853 ; return 0; } |
3893 EOF | 3854 EOF |
3894 if { (eval echo configure:3895: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3855 if { (eval echo configure:3856: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3895 rm -rf conftest* | 3856 rm -rf conftest* |
3896 xlinux_first_failure=no | 3857 xlinux_first_failure=no |
3897 else | 3858 else |
3898 echo "configure: failed program was:" >&5 | 3859 echo "configure: failed program was:" >&5 |
3899 cat conftest.$ac_ext >&5 | 3860 cat conftest.$ac_ext >&5 |
3909 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -b i486-linuxaout" | 3870 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -b i486-linuxaout" |
3910 C_SWITCH_X_SITE="$C_SWITCH_X_SITE -b i486-linuxaout" | 3871 C_SWITCH_X_SITE="$C_SWITCH_X_SITE -b i486-linuxaout" |
3911 CPPFLAGS="$CPPFLAGS -b i486-linuxaout" | 3872 CPPFLAGS="$CPPFLAGS -b i486-linuxaout" |
3912 LIBS="$LIBS -b i486-linuxaout" | 3873 LIBS="$LIBS -b i486-linuxaout" |
3913 cat > conftest.$ac_ext <<EOF | 3874 cat > conftest.$ac_ext <<EOF |
3914 #line 3915 "configure" | 3875 #line 3876 "configure" |
3915 #include "confdefs.h" | 3876 #include "confdefs.h" |
3916 | 3877 |
3917 int main() { | 3878 int main() { |
3918 XOpenDisplay ("foo"); | 3879 XOpenDisplay ("foo"); |
3919 ; return 0; } | 3880 ; return 0; } |
3920 EOF | 3881 EOF |
3921 if { (eval echo configure:3922: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3882 if { (eval echo configure:3883: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3922 rm -rf conftest* | 3883 rm -rf conftest* |
3923 xlinux_second_failure=no | 3884 xlinux_second_failure=no |
3924 else | 3885 else |
3925 echo "configure: failed program was:" >&5 | 3886 echo "configure: failed program was:" >&5 |
3926 cat conftest.$ac_ext >&5 | 3887 cat conftest.$ac_ext >&5 |
3946 | 3907 |
3947 for ac_func in XrmSetDatabase XScreenResourceString \ | 3908 for ac_func in XrmSetDatabase XScreenResourceString \ |
3948 XScreenNumberOfScreen XSetWMProtocols | 3909 XScreenNumberOfScreen XSetWMProtocols |
3949 do | 3910 do |
3950 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 3911 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
3951 echo "configure:3952: checking for $ac_func" >&5 | 3912 echo "configure:3913: checking for $ac_func" >&5 |
3952 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 3913 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
3953 echo $ac_n "(cached) $ac_c" 1>&6 | 3914 echo $ac_n "(cached) $ac_c" 1>&6 |
3954 else | 3915 else |
3955 cat > conftest.$ac_ext <<EOF | 3916 cat > conftest.$ac_ext <<EOF |
3956 #line 3957 "configure" | 3917 #line 3918 "configure" |
3957 #include "confdefs.h" | 3918 #include "confdefs.h" |
3958 /* System header to define __stub macros and hopefully few prototypes, | 3919 /* System header to define __stub macros and hopefully few prototypes, |
3959 which can conflict with char $ac_func(); below. */ | 3920 which can conflict with char $ac_func(); below. */ |
3960 #include <assert.h> | 3921 #include <assert.h> |
3961 /* Override any gcc2 internal prototype to avoid an error. */ | 3922 /* Override any gcc2 internal prototype to avoid an error. */ |
3974 $ac_func(); | 3935 $ac_func(); |
3975 #endif | 3936 #endif |
3976 | 3937 |
3977 ; return 0; } | 3938 ; return 0; } |
3978 EOF | 3939 EOF |
3979 if { (eval echo configure:3980: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3940 if { (eval echo configure:3941: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3980 rm -rf conftest* | 3941 rm -rf conftest* |
3981 eval "ac_cv_func_$ac_func=yes" | 3942 eval "ac_cv_func_$ac_func=yes" |
3982 else | 3943 else |
3983 echo "configure: failed program was:" >&5 | 3944 echo "configure: failed program was:" >&5 |
3984 cat conftest.$ac_ext >&5 | 3945 cat conftest.$ac_ext >&5 |
4002 | 3963 |
4003 fi | 3964 fi |
4004 | 3965 |
4005 if test "${window_system}" = "x11"; then | 3966 if test "${window_system}" = "x11"; then |
4006 echo $ac_n "checking X11 version 6""... $ac_c" 1>&6 | 3967 echo $ac_n "checking X11 version 6""... $ac_c" 1>&6 |
4007 echo "configure:4008: checking X11 version 6" >&5 | 3968 echo "configure:3969: checking X11 version 6" >&5 |
4008 if eval "test \"`echo '$''{'emacs_cv_x11_version_6'+set}'`\" = set"; then | 3969 if eval "test \"`echo '$''{'emacs_cv_x11_version_6'+set}'`\" = set"; then |
4009 echo $ac_n "(cached) $ac_c" 1>&6 | 3970 echo $ac_n "(cached) $ac_c" 1>&6 |
4010 else | 3971 else |
4011 cat > conftest.$ac_ext <<EOF | 3972 cat > conftest.$ac_ext <<EOF |
4012 #line 4013 "configure" | 3973 #line 3974 "configure" |
4013 #include "confdefs.h" | 3974 #include "confdefs.h" |
4014 #include <X11/Xlib.h> | 3975 #include <X11/Xlib.h> |
4015 int main() { | 3976 int main() { |
4016 #if XlibSpecificationRelease < 6 | 3977 #if XlibSpecificationRelease < 6 |
4017 fail; | 3978 fail; |
4018 #endif | 3979 #endif |
4019 | 3980 |
4020 ; return 0; } | 3981 ; return 0; } |
4021 EOF | 3982 EOF |
4022 if { (eval echo configure:4023: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3983 if { (eval echo configure:3984: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4023 rm -rf conftest* | 3984 rm -rf conftest* |
4024 emacs_cv_x11_version_6=yes | 3985 emacs_cv_x11_version_6=yes |
4025 else | 3986 else |
4026 echo "configure: failed program was:" >&5 | 3987 echo "configure: failed program was:" >&5 |
4027 cat conftest.$ac_ext >&5 | 3988 cat conftest.$ac_ext >&5 |
4042 fi | 4003 fi |
4043 fi | 4004 fi |
4044 | 4005 |
4045 if test "${window_system}" = "x11"; then | 4006 if test "${window_system}" = "x11"; then |
4046 echo $ac_n "checking X11 version 5""... $ac_c" 1>&6 | 4007 echo $ac_n "checking X11 version 5""... $ac_c" 1>&6 |
4047 echo "configure:4048: checking X11 version 5" >&5 | 4008 echo "configure:4009: checking X11 version 5" >&5 |
4048 if eval "test \"`echo '$''{'emacs_cv_x11_version_5'+set}'`\" = set"; then | 4009 if eval "test \"`echo '$''{'emacs_cv_x11_version_5'+set}'`\" = set"; then |
4049 echo $ac_n "(cached) $ac_c" 1>&6 | 4010 echo $ac_n "(cached) $ac_c" 1>&6 |
4050 else | 4011 else |
4051 cat > conftest.$ac_ext <<EOF | 4012 cat > conftest.$ac_ext <<EOF |
4052 #line 4053 "configure" | 4013 #line 4014 "configure" |
4053 #include "confdefs.h" | 4014 #include "confdefs.h" |
4054 #include <X11/Xlib.h> | 4015 #include <X11/Xlib.h> |
4055 int main() { | 4016 int main() { |
4056 #if XlibSpecificationRelease < 5 | 4017 #if XlibSpecificationRelease < 5 |
4057 fail; | 4018 fail; |
4058 #endif | 4019 #endif |
4059 | 4020 |
4060 ; return 0; } | 4021 ; return 0; } |
4061 EOF | 4022 EOF |
4062 if { (eval echo configure:4063: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4023 if { (eval echo configure:4024: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4063 rm -rf conftest* | 4024 rm -rf conftest* |
4064 emacs_cv_x11_version_5=yes | 4025 emacs_cv_x11_version_5=yes |
4065 else | 4026 else |
4066 echo "configure: failed program was:" >&5 | 4027 echo "configure: failed program was:" >&5 |
4067 cat conftest.$ac_ext >&5 | 4028 cat conftest.$ac_ext >&5 |
4085 fi | 4046 fi |
4086 | 4047 |
4087 if test x"${USE_X_TOOLKIT}" = xmaybe; then | 4048 if test x"${USE_X_TOOLKIT}" = xmaybe; then |
4088 if test x"${HAVE_X11R5}" = xyes; then | 4049 if test x"${HAVE_X11R5}" = xyes; then |
4089 echo $ac_n "checking X11 version 5 with Xaw""... $ac_c" 1>&6 | 4050 echo $ac_n "checking X11 version 5 with Xaw""... $ac_c" 1>&6 |
4090 echo "configure:4091: checking X11 version 5 with Xaw" >&5 | 4051 echo "configure:4052: checking X11 version 5 with Xaw" >&5 |
4091 if eval "test \"`echo '$''{'emacs_cv_x11_version_5_with_xaw'+set}'`\" = set"; then | 4052 if eval "test \"`echo '$''{'emacs_cv_x11_version_5_with_xaw'+set}'`\" = set"; then |
4092 echo $ac_n "(cached) $ac_c" 1>&6 | 4053 echo $ac_n "(cached) $ac_c" 1>&6 |
4093 else | 4054 else |
4094 cat > conftest.$ac_ext <<EOF | 4055 cat > conftest.$ac_ext <<EOF |
4095 #line 4096 "configure" | 4056 #line 4057 "configure" |
4096 #include "confdefs.h" | 4057 #include "confdefs.h" |
4097 | 4058 |
4098 #include <X11/Intrinsic.h> | 4059 #include <X11/Intrinsic.h> |
4099 #include <X11/Xaw/Simple.h> | 4060 #include <X11/Xaw/Simple.h> |
4100 int main() { | 4061 int main() { |
4101 | 4062 |
4102 ; return 0; } | 4063 ; return 0; } |
4103 EOF | 4064 EOF |
4104 if { (eval echo configure:4105: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4065 if { (eval echo configure:4066: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4105 rm -rf conftest* | 4066 rm -rf conftest* |
4106 emacs_cv_x11_version_5_with_xaw=yes | 4067 emacs_cv_x11_version_5_with_xaw=yes |
4107 else | 4068 else |
4108 echo "configure: failed program was:" >&5 | 4069 echo "configure: failed program was:" >&5 |
4109 cat conftest.$ac_ext >&5 | 4070 cat conftest.$ac_ext >&5 |
4127 | 4088 |
4128 X_TOOLKIT_TYPE=$USE_X_TOOLKIT | 4089 X_TOOLKIT_TYPE=$USE_X_TOOLKIT |
4129 | 4090 |
4130 if test "${USE_X_TOOLKIT}" != "none"; then | 4091 if test "${USE_X_TOOLKIT}" != "none"; then |
4131 echo $ac_n "checking X11 toolkit version""... $ac_c" 1>&6 | 4092 echo $ac_n "checking X11 toolkit version""... $ac_c" 1>&6 |
4132 echo "configure:4133: checking X11 toolkit version" >&5 | 4093 echo "configure:4094: checking X11 toolkit version" >&5 |
4133 if eval "test \"`echo '$''{'emacs_cv_x11_toolkit_version_6'+set}'`\" = set"; then | 4094 if eval "test \"`echo '$''{'emacs_cv_x11_toolkit_version_6'+set}'`\" = set"; then |
4134 echo $ac_n "(cached) $ac_c" 1>&6 | 4095 echo $ac_n "(cached) $ac_c" 1>&6 |
4135 else | 4096 else |
4136 cat > conftest.$ac_ext <<EOF | 4097 cat > conftest.$ac_ext <<EOF |
4137 #line 4138 "configure" | 4098 #line 4099 "configure" |
4138 #include "confdefs.h" | 4099 #include "confdefs.h" |
4139 #include <X11/Intrinsic.h> | 4100 #include <X11/Intrinsic.h> |
4140 int main() { | 4101 int main() { |
4141 #if XtSpecificationRelease < 6 | 4102 #if XtSpecificationRelease < 6 |
4142 fail; | 4103 fail; |
4143 #endif | 4104 #endif |
4144 | 4105 |
4145 ; return 0; } | 4106 ; return 0; } |
4146 EOF | 4107 EOF |
4147 if { (eval echo configure:4148: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4108 if { (eval echo configure:4109: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4148 rm -rf conftest* | 4109 rm -rf conftest* |
4149 emacs_cv_x11_toolkit_version_6=yes | 4110 emacs_cv_x11_toolkit_version_6=yes |
4150 else | 4111 else |
4151 echo "configure: failed program was:" >&5 | 4112 echo "configure: failed program was:" >&5 |
4152 cat conftest.$ac_ext >&5 | 4113 cat conftest.$ac_ext >&5 |
4172 LIBS="-lXt -lSM -lICE $LIBS" | 4133 LIBS="-lXt -lSM -lICE $LIBS" |
4173 else | 4134 else |
4174 LIBS="-lXt $LIBS" | 4135 LIBS="-lXt $LIBS" |
4175 fi | 4136 fi |
4176 echo $ac_n "checking for XmuConvertStandardSelection in -lXmu""... $ac_c" 1>&6 | 4137 echo $ac_n "checking for XmuConvertStandardSelection in -lXmu""... $ac_c" 1>&6 |
4177 echo "configure:4178: checking for XmuConvertStandardSelection in -lXmu" >&5 | 4138 echo "configure:4139: checking for XmuConvertStandardSelection in -lXmu" >&5 |
4178 ac_lib_var=`echo Xmu'_'XmuConvertStandardSelection | sed 'y%./+-%__p_%'` | 4139 ac_lib_var=`echo Xmu'_'XmuConvertStandardSelection | sed 'y%./+-%__p_%'` |
4179 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 4140 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
4180 echo $ac_n "(cached) $ac_c" 1>&6 | 4141 echo $ac_n "(cached) $ac_c" 1>&6 |
4181 else | 4142 else |
4182 ac_save_LIBS="$LIBS" | 4143 ac_save_LIBS="$LIBS" |
4183 LIBS="-lXmu $LIBS" | 4144 LIBS="-lXmu $LIBS" |
4184 cat > conftest.$ac_ext <<EOF | 4145 cat > conftest.$ac_ext <<EOF |
4185 #line 4186 "configure" | 4146 #line 4147 "configure" |
4186 #include "confdefs.h" | 4147 #include "confdefs.h" |
4187 /* Override any gcc2 internal prototype to avoid an error. */ | 4148 /* Override any gcc2 internal prototype to avoid an error. */ |
4188 /* We use char because int might match the return type of a gcc2 | 4149 /* We use char because int might match the return type of a gcc2 |
4189 builtin and then its argument prototype would still apply. */ | 4150 builtin and then its argument prototype would still apply. */ |
4190 char XmuConvertStandardSelection(); | 4151 char XmuConvertStandardSelection(); |
4191 | 4152 |
4192 int main() { | 4153 int main() { |
4193 XmuConvertStandardSelection() | 4154 XmuConvertStandardSelection() |
4194 ; return 0; } | 4155 ; return 0; } |
4195 EOF | 4156 EOF |
4196 if { (eval echo configure:4197: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4157 if { (eval echo configure:4158: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4197 rm -rf conftest* | 4158 rm -rf conftest* |
4198 eval "ac_cv_lib_$ac_lib_var=yes" | 4159 eval "ac_cv_lib_$ac_lib_var=yes" |
4199 else | 4160 else |
4200 echo "configure: failed program was:" >&5 | 4161 echo "configure: failed program was:" >&5 |
4201 cat conftest.$ac_ext >&5 | 4162 cat conftest.$ac_ext >&5 |
4223 LIBS="$OLDLIBS" | 4184 LIBS="$OLDLIBS" |
4224 fi | 4185 fi |
4225 | 4186 |
4226 if test "${USE_X_TOOLKIT}" = "MOTIF"; then | 4187 if test "${USE_X_TOOLKIT}" = "MOTIF"; then |
4227 echo $ac_n "checking for Motif version 2.1""... $ac_c" 1>&6 | 4188 echo $ac_n "checking for Motif version 2.1""... $ac_c" 1>&6 |
4228 echo "configure:4229: checking for Motif version 2.1" >&5 | 4189 echo "configure:4190: checking for Motif version 2.1" >&5 |
4229 if eval "test \"`echo '$''{'emacs_cv_motif_version_2_1'+set}'`\" = set"; then | 4190 if eval "test \"`echo '$''{'emacs_cv_motif_version_2_1'+set}'`\" = set"; then |
4230 echo $ac_n "(cached) $ac_c" 1>&6 | 4191 echo $ac_n "(cached) $ac_c" 1>&6 |
4231 else | 4192 else |
4232 cat > conftest.$ac_ext <<EOF | 4193 cat > conftest.$ac_ext <<EOF |
4233 #line 4234 "configure" | 4194 #line 4195 "configure" |
4234 #include "confdefs.h" | 4195 #include "confdefs.h" |
4235 #include <Xm/Xm.h> | 4196 #include <Xm/Xm.h> |
4236 int main() { | 4197 int main() { |
4237 #if XmVERSION > 2 || (XmVERSION == 2 && XmREVISION >= 1) | 4198 #if XmVERSION > 2 || (XmVERSION == 2 && XmREVISION >= 1) |
4238 int x = 5; | 4199 int x = 5; |
4239 #else | 4200 #else |
4240 Motif version prior to 2.1. | 4201 Motif version prior to 2.1. |
4241 #endif | 4202 #endif |
4242 ; return 0; } | 4203 ; return 0; } |
4243 EOF | 4204 EOF |
4244 if { (eval echo configure:4245: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4205 if { (eval echo configure:4206: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4245 rm -rf conftest* | 4206 rm -rf conftest* |
4246 emacs_cv_motif_version_2_1=yes | 4207 emacs_cv_motif_version_2_1=yes |
4247 else | 4208 else |
4248 echo "configure: failed program was:" >&5 | 4209 echo "configure: failed program was:" >&5 |
4249 cat conftest.$ac_ext >&5 | 4210 cat conftest.$ac_ext >&5 |
4259 cat >> confdefs.h <<\EOF | 4220 cat >> confdefs.h <<\EOF |
4260 #define HAVE_MOTIF_2_1 1 | 4221 #define HAVE_MOTIF_2_1 1 |
4261 EOF | 4222 EOF |
4262 | 4223 |
4263 echo $ac_n "checking for XpCreateContext in -lXp""... $ac_c" 1>&6 | 4224 echo $ac_n "checking for XpCreateContext in -lXp""... $ac_c" 1>&6 |
4264 echo "configure:4265: checking for XpCreateContext in -lXp" >&5 | 4225 echo "configure:4226: checking for XpCreateContext in -lXp" >&5 |
4265 ac_lib_var=`echo Xp'_'XpCreateContext | sed 'y%./+-%__p_%'` | 4226 ac_lib_var=`echo Xp'_'XpCreateContext | sed 'y%./+-%__p_%'` |
4266 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 4227 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
4267 echo $ac_n "(cached) $ac_c" 1>&6 | 4228 echo $ac_n "(cached) $ac_c" 1>&6 |
4268 else | 4229 else |
4269 ac_save_LIBS="$LIBS" | 4230 ac_save_LIBS="$LIBS" |
4270 LIBS="-lXp $LIBS" | 4231 LIBS="-lXp $LIBS" |
4271 cat > conftest.$ac_ext <<EOF | 4232 cat > conftest.$ac_ext <<EOF |
4272 #line 4273 "configure" | 4233 #line 4234 "configure" |
4273 #include "confdefs.h" | 4234 #include "confdefs.h" |
4274 /* Override any gcc2 internal prototype to avoid an error. */ | 4235 /* Override any gcc2 internal prototype to avoid an error. */ |
4275 /* We use char because int might match the return type of a gcc2 | 4236 /* We use char because int might match the return type of a gcc2 |
4276 builtin and then its argument prototype would still apply. */ | 4237 builtin and then its argument prototype would still apply. */ |
4277 char XpCreateContext(); | 4238 char XpCreateContext(); |
4278 | 4239 |
4279 int main() { | 4240 int main() { |
4280 XpCreateContext() | 4241 XpCreateContext() |
4281 ; return 0; } | 4242 ; return 0; } |
4282 EOF | 4243 EOF |
4283 if { (eval echo configure:4284: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4244 if { (eval echo configure:4245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4284 rm -rf conftest* | 4245 rm -rf conftest* |
4285 eval "ac_cv_lib_$ac_lib_var=yes" | 4246 eval "ac_cv_lib_$ac_lib_var=yes" |
4286 else | 4247 else |
4287 echo "configure: failed program was:" >&5 | 4248 echo "configure: failed program was:" >&5 |
4288 cat conftest.$ac_ext >&5 | 4249 cat conftest.$ac_ext >&5 |
4316 if test "${USE_X_TOOLKIT}" != "none"; then | 4277 if test "${USE_X_TOOLKIT}" != "none"; then |
4317 old_c_flags="${CFLAGS}" | 4278 old_c_flags="${CFLAGS}" |
4318 CFLAGS="${LD_SWITCH_X_SITE}" | 4279 CFLAGS="${LD_SWITCH_X_SITE}" |
4319 ac_safe=`echo "X11/Xaw3d/Scrollbar.h" | sed 'y%./+-%__p_%'` | 4280 ac_safe=`echo "X11/Xaw3d/Scrollbar.h" | sed 'y%./+-%__p_%'` |
4320 echo $ac_n "checking for X11/Xaw3d/Scrollbar.h""... $ac_c" 1>&6 | 4281 echo $ac_n "checking for X11/Xaw3d/Scrollbar.h""... $ac_c" 1>&6 |
4321 echo "configure:4322: checking for X11/Xaw3d/Scrollbar.h" >&5 | 4282 echo "configure:4283: checking for X11/Xaw3d/Scrollbar.h" >&5 |
4322 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 4283 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
4323 echo $ac_n "(cached) $ac_c" 1>&6 | 4284 echo $ac_n "(cached) $ac_c" 1>&6 |
4324 else | 4285 else |
4325 cat > conftest.$ac_ext <<EOF | 4286 cat > conftest.$ac_ext <<EOF |
4326 #line 4327 "configure" | 4287 #line 4288 "configure" |
4327 #include "confdefs.h" | 4288 #include "confdefs.h" |
4328 #include <X11/Xaw3d/Scrollbar.h> | 4289 #include <X11/Xaw3d/Scrollbar.h> |
4329 EOF | 4290 EOF |
4330 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4291 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4331 { (eval echo configure:4332: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4292 { (eval echo configure:4293: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4332 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 4293 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
4333 if test -z "$ac_err"; then | 4294 if test -z "$ac_err"; then |
4334 rm -rf conftest* | 4295 rm -rf conftest* |
4335 eval "ac_cv_header_$ac_safe=yes" | 4296 eval "ac_cv_header_$ac_safe=yes" |
4336 else | 4297 else |
4343 rm -f conftest* | 4304 rm -f conftest* |
4344 fi | 4305 fi |
4345 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 4306 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
4346 echo "$ac_t""yes" 1>&6 | 4307 echo "$ac_t""yes" 1>&6 |
4347 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw3d""... $ac_c" 1>&6 | 4308 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw3d""... $ac_c" 1>&6 |
4348 echo "configure:4349: checking for XawScrollbarSetThumb in -lXaw3d" >&5 | 4309 echo "configure:4310: checking for XawScrollbarSetThumb in -lXaw3d" >&5 |
4349 ac_lib_var=`echo Xaw3d'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 4310 ac_lib_var=`echo Xaw3d'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
4350 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 4311 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
4351 echo $ac_n "(cached) $ac_c" 1>&6 | 4312 echo $ac_n "(cached) $ac_c" 1>&6 |
4352 else | 4313 else |
4353 ac_save_LIBS="$LIBS" | 4314 ac_save_LIBS="$LIBS" |
4354 LIBS="-lXaw3d -lX11 $LIBS" | 4315 LIBS="-lXaw3d -lX11 $LIBS" |
4355 cat > conftest.$ac_ext <<EOF | 4316 cat > conftest.$ac_ext <<EOF |
4356 #line 4357 "configure" | 4317 #line 4318 "configure" |
4357 #include "confdefs.h" | 4318 #include "confdefs.h" |
4358 /* Override any gcc2 internal prototype to avoid an error. */ | 4319 /* Override any gcc2 internal prototype to avoid an error. */ |
4359 /* We use char because int might match the return type of a gcc2 | 4320 /* We use char because int might match the return type of a gcc2 |
4360 builtin and then its argument prototype would still apply. */ | 4321 builtin and then its argument prototype would still apply. */ |
4361 char XawScrollbarSetThumb(); | 4322 char XawScrollbarSetThumb(); |
4362 | 4323 |
4363 int main() { | 4324 int main() { |
4364 XawScrollbarSetThumb() | 4325 XawScrollbarSetThumb() |
4365 ; return 0; } | 4326 ; return 0; } |
4366 EOF | 4327 EOF |
4367 if { (eval echo configure:4368: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4328 if { (eval echo configure:4329: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4368 rm -rf conftest* | 4329 rm -rf conftest* |
4369 eval "ac_cv_lib_$ac_lib_var=yes" | 4330 eval "ac_cv_lib_$ac_lib_var=yes" |
4370 else | 4331 else |
4371 echo "configure: failed program was:" >&5 | 4332 echo "configure: failed program was:" >&5 |
4372 cat conftest.$ac_ext >&5 | 4333 cat conftest.$ac_ext >&5 |
4426 if test "${with_xpm}" != "no"; then | 4387 if test "${with_xpm}" != "no"; then |
4427 old_c_flags="${CFLAGS}" | 4388 old_c_flags="${CFLAGS}" |
4428 CFLAGS="${LD_SWITCH_X_SITE}" | 4389 CFLAGS="${LD_SWITCH_X_SITE}" |
4429 ac_safe=`echo "X11/xpm.h" | sed 'y%./+-%__p_%'` | 4390 ac_safe=`echo "X11/xpm.h" | sed 'y%./+-%__p_%'` |
4430 echo $ac_n "checking for X11/xpm.h""... $ac_c" 1>&6 | 4391 echo $ac_n "checking for X11/xpm.h""... $ac_c" 1>&6 |
4431 echo "configure:4432: checking for X11/xpm.h" >&5 | 4392 echo "configure:4393: checking for X11/xpm.h" >&5 |
4432 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 4393 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
4433 echo $ac_n "(cached) $ac_c" 1>&6 | 4394 echo $ac_n "(cached) $ac_c" 1>&6 |
4434 else | 4395 else |
4435 cat > conftest.$ac_ext <<EOF | 4396 cat > conftest.$ac_ext <<EOF |
4436 #line 4437 "configure" | 4397 #line 4398 "configure" |
4437 #include "confdefs.h" | 4398 #include "confdefs.h" |
4438 #include <X11/xpm.h> | 4399 #include <X11/xpm.h> |
4439 EOF | 4400 EOF |
4440 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4401 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4441 { (eval echo configure:4442: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4402 { (eval echo configure:4403: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4442 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 4403 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
4443 if test -z "$ac_err"; then | 4404 if test -z "$ac_err"; then |
4444 rm -rf conftest* | 4405 rm -rf conftest* |
4445 eval "ac_cv_header_$ac_safe=yes" | 4406 eval "ac_cv_header_$ac_safe=yes" |
4446 else | 4407 else |
4453 rm -f conftest* | 4414 rm -f conftest* |
4454 fi | 4415 fi |
4455 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 4416 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
4456 echo "$ac_t""yes" 1>&6 | 4417 echo "$ac_t""yes" 1>&6 |
4457 echo $ac_n "checking for XpmReadFileToPixmap in -lXpm""... $ac_c" 1>&6 | 4418 echo $ac_n "checking for XpmReadFileToPixmap in -lXpm""... $ac_c" 1>&6 |
4458 echo "configure:4459: checking for XpmReadFileToPixmap in -lXpm" >&5 | 4419 echo "configure:4420: checking for XpmReadFileToPixmap in -lXpm" >&5 |
4459 ac_lib_var=`echo Xpm'_'XpmReadFileToPixmap | sed 'y%./+-%__p_%'` | 4420 ac_lib_var=`echo Xpm'_'XpmReadFileToPixmap | sed 'y%./+-%__p_%'` |
4460 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 4421 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
4461 echo $ac_n "(cached) $ac_c" 1>&6 | 4422 echo $ac_n "(cached) $ac_c" 1>&6 |
4462 else | 4423 else |
4463 ac_save_LIBS="$LIBS" | 4424 ac_save_LIBS="$LIBS" |
4464 LIBS="-lXpm -lX11 $LIBS" | 4425 LIBS="-lXpm -lX11 $LIBS" |
4465 cat > conftest.$ac_ext <<EOF | 4426 cat > conftest.$ac_ext <<EOF |
4466 #line 4467 "configure" | 4427 #line 4428 "configure" |
4467 #include "confdefs.h" | 4428 #include "confdefs.h" |
4468 /* Override any gcc2 internal prototype to avoid an error. */ | 4429 /* Override any gcc2 internal prototype to avoid an error. */ |
4469 /* We use char because int might match the return type of a gcc2 | 4430 /* We use char because int might match the return type of a gcc2 |
4470 builtin and then its argument prototype would still apply. */ | 4431 builtin and then its argument prototype would still apply. */ |
4471 char XpmReadFileToPixmap(); | 4432 char XpmReadFileToPixmap(); |
4472 | 4433 |
4473 int main() { | 4434 int main() { |
4474 XpmReadFileToPixmap() | 4435 XpmReadFileToPixmap() |
4475 ; return 0; } | 4436 ; return 0; } |
4476 EOF | 4437 EOF |
4477 if { (eval echo configure:4478: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4438 if { (eval echo configure:4439: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4478 rm -rf conftest* | 4439 rm -rf conftest* |
4479 eval "ac_cv_lib_$ac_lib_var=yes" | 4440 eval "ac_cv_lib_$ac_lib_var=yes" |
4480 else | 4441 else |
4481 echo "configure: failed program was:" >&5 | 4442 echo "configure: failed program was:" >&5 |
4482 cat conftest.$ac_ext >&5 | 4443 cat conftest.$ac_ext >&5 |
4515 if test "${with_jpeg}" != "no"; then | 4476 if test "${with_jpeg}" != "no"; then |
4516 old_c_flags="${CFLAGS}" | 4477 old_c_flags="${CFLAGS}" |
4517 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" | 4478 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" |
4518 ac_safe=`echo "jerror.h" | sed 'y%./+-%__p_%'` | 4479 ac_safe=`echo "jerror.h" | sed 'y%./+-%__p_%'` |
4519 echo $ac_n "checking for jerror.h""... $ac_c" 1>&6 | 4480 echo $ac_n "checking for jerror.h""... $ac_c" 1>&6 |
4520 echo "configure:4521: checking for jerror.h" >&5 | 4481 echo "configure:4482: checking for jerror.h" >&5 |
4521 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 4482 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
4522 echo $ac_n "(cached) $ac_c" 1>&6 | 4483 echo $ac_n "(cached) $ac_c" 1>&6 |
4523 else | 4484 else |
4524 cat > conftest.$ac_ext <<EOF | 4485 cat > conftest.$ac_ext <<EOF |
4525 #line 4526 "configure" | 4486 #line 4487 "configure" |
4526 #include "confdefs.h" | 4487 #include "confdefs.h" |
4527 #include <jerror.h> | 4488 #include <jerror.h> |
4528 EOF | 4489 EOF |
4529 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4490 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4530 { (eval echo configure:4531: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4491 { (eval echo configure:4492: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4531 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 4492 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
4532 if test -z "$ac_err"; then | 4493 if test -z "$ac_err"; then |
4533 rm -rf conftest* | 4494 rm -rf conftest* |
4534 eval "ac_cv_header_$ac_safe=yes" | 4495 eval "ac_cv_header_$ac_safe=yes" |
4535 else | 4496 else |
4542 rm -f conftest* | 4503 rm -f conftest* |
4543 fi | 4504 fi |
4544 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 4505 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
4545 echo "$ac_t""yes" 1>&6 | 4506 echo "$ac_t""yes" 1>&6 |
4546 echo $ac_n "checking for jpeg_destroy_compress in -ljpeg""... $ac_c" 1>&6 | 4507 echo $ac_n "checking for jpeg_destroy_compress in -ljpeg""... $ac_c" 1>&6 |
4547 echo "configure:4548: checking for jpeg_destroy_compress in -ljpeg" >&5 | 4508 echo "configure:4509: checking for jpeg_destroy_compress in -ljpeg" >&5 |
4548 ac_lib_var=`echo jpeg'_'jpeg_destroy_compress | sed 'y%./+-%__p_%'` | 4509 ac_lib_var=`echo jpeg'_'jpeg_destroy_compress | sed 'y%./+-%__p_%'` |
4549 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 4510 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
4550 echo $ac_n "(cached) $ac_c" 1>&6 | 4511 echo $ac_n "(cached) $ac_c" 1>&6 |
4551 else | 4512 else |
4552 ac_save_LIBS="$LIBS" | 4513 ac_save_LIBS="$LIBS" |
4553 LIBS="-ljpeg -lX11 $LIBS" | 4514 LIBS="-ljpeg -lX11 $LIBS" |
4554 cat > conftest.$ac_ext <<EOF | 4515 cat > conftest.$ac_ext <<EOF |
4555 #line 4556 "configure" | 4516 #line 4517 "configure" |
4556 #include "confdefs.h" | 4517 #include "confdefs.h" |
4557 /* Override any gcc2 internal prototype to avoid an error. */ | 4518 /* Override any gcc2 internal prototype to avoid an error. */ |
4558 /* We use char because int might match the return type of a gcc2 | 4519 /* We use char because int might match the return type of a gcc2 |
4559 builtin and then its argument prototype would still apply. */ | 4520 builtin and then its argument prototype would still apply. */ |
4560 char jpeg_destroy_compress(); | 4521 char jpeg_destroy_compress(); |
4561 | 4522 |
4562 int main() { | 4523 int main() { |
4563 jpeg_destroy_compress() | 4524 jpeg_destroy_compress() |
4564 ; return 0; } | 4525 ; return 0; } |
4565 EOF | 4526 EOF |
4566 if { (eval echo configure:4567: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4527 if { (eval echo configure:4528: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4567 rm -rf conftest* | 4528 rm -rf conftest* |
4568 eval "ac_cv_lib_$ac_lib_var=yes" | 4529 eval "ac_cv_lib_$ac_lib_var=yes" |
4569 else | 4530 else |
4570 echo "configure: failed program was:" >&5 | 4531 echo "configure: failed program was:" >&5 |
4571 cat conftest.$ac_ext >&5 | 4532 cat conftest.$ac_ext >&5 |
4604 if test "${with_png}" != "no"; then | 4565 if test "${with_png}" != "no"; then |
4605 old_c_flags="${CFLAGS}" | 4566 old_c_flags="${CFLAGS}" |
4606 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" | 4567 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" |
4607 ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` | 4568 ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` |
4608 echo $ac_n "checking for png.h""... $ac_c" 1>&6 | 4569 echo $ac_n "checking for png.h""... $ac_c" 1>&6 |
4609 echo "configure:4610: checking for png.h" >&5 | 4570 echo "configure:4571: checking for png.h" >&5 |
4610 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 4571 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
4611 echo $ac_n "(cached) $ac_c" 1>&6 | 4572 echo $ac_n "(cached) $ac_c" 1>&6 |
4612 else | 4573 else |
4613 cat > conftest.$ac_ext <<EOF | 4574 cat > conftest.$ac_ext <<EOF |
4614 #line 4615 "configure" | 4575 #line 4576 "configure" |
4615 #include "confdefs.h" | 4576 #include "confdefs.h" |
4616 #include <png.h> | 4577 #include <png.h> |
4617 EOF | 4578 EOF |
4618 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4579 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4619 { (eval echo configure:4620: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4580 { (eval echo configure:4581: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4620 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 4581 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
4621 if test -z "$ac_err"; then | 4582 if test -z "$ac_err"; then |
4622 rm -rf conftest* | 4583 rm -rf conftest* |
4623 eval "ac_cv_header_$ac_safe=yes" | 4584 eval "ac_cv_header_$ac_safe=yes" |
4624 else | 4585 else |
4631 rm -f conftest* | 4592 rm -f conftest* |
4632 fi | 4593 fi |
4633 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 4594 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
4634 echo "$ac_t""yes" 1>&6 | 4595 echo "$ac_t""yes" 1>&6 |
4635 echo $ac_n "checking for png_set_expand in -lpng""... $ac_c" 1>&6 | 4596 echo $ac_n "checking for png_set_expand in -lpng""... $ac_c" 1>&6 |
4636 echo "configure:4637: checking for png_set_expand in -lpng" >&5 | 4597 echo "configure:4598: checking for png_set_expand in -lpng" >&5 |
4637 ac_lib_var=`echo png'_'png_set_expand | sed 'y%./+-%__p_%'` | 4598 ac_lib_var=`echo png'_'png_set_expand | sed 'y%./+-%__p_%'` |
4638 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 4599 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
4639 echo $ac_n "(cached) $ac_c" 1>&6 | 4600 echo $ac_n "(cached) $ac_c" 1>&6 |
4640 else | 4601 else |
4641 ac_save_LIBS="$LIBS" | 4602 ac_save_LIBS="$LIBS" |
4642 LIBS="-lpng -lX11 -lz -lm $LIBS" | 4603 LIBS="-lpng -lX11 -lz -lm $LIBS" |
4643 cat > conftest.$ac_ext <<EOF | 4604 cat > conftest.$ac_ext <<EOF |
4644 #line 4645 "configure" | 4605 #line 4606 "configure" |
4645 #include "confdefs.h" | 4606 #include "confdefs.h" |
4646 /* Override any gcc2 internal prototype to avoid an error. */ | 4607 /* Override any gcc2 internal prototype to avoid an error. */ |
4647 /* We use char because int might match the return type of a gcc2 | 4608 /* We use char because int might match the return type of a gcc2 |
4648 builtin and then its argument prototype would still apply. */ | 4609 builtin and then its argument prototype would still apply. */ |
4649 char png_set_expand(); | 4610 char png_set_expand(); |
4650 | 4611 |
4651 int main() { | 4612 int main() { |
4652 png_set_expand() | 4613 png_set_expand() |
4653 ; return 0; } | 4614 ; return 0; } |
4654 EOF | 4615 EOF |
4655 if { (eval echo configure:4656: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4616 if { (eval echo configure:4617: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4656 rm -rf conftest* | 4617 rm -rf conftest* |
4657 eval "ac_cv_lib_$ac_lib_var=yes" | 4618 eval "ac_cv_lib_$ac_lib_var=yes" |
4658 else | 4619 else |
4659 echo "configure: failed program was:" >&5 | 4620 echo "configure: failed program was:" >&5 |
4660 cat conftest.$ac_ext >&5 | 4621 cat conftest.$ac_ext >&5 |
4693 if test "${with_tiff}" != "no"; then | 4654 if test "${with_tiff}" != "no"; then |
4694 old_c_flags="${CFLAGS}" | 4655 old_c_flags="${CFLAGS}" |
4695 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" | 4656 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" |
4696 ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` | 4657 ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` |
4697 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 | 4658 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 |
4698 echo "configure:4699: checking for tiffio.h" >&5 | 4659 echo "configure:4660: checking for tiffio.h" >&5 |
4699 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 4660 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
4700 echo $ac_n "(cached) $ac_c" 1>&6 | 4661 echo $ac_n "(cached) $ac_c" 1>&6 |
4701 else | 4662 else |
4702 cat > conftest.$ac_ext <<EOF | 4663 cat > conftest.$ac_ext <<EOF |
4703 #line 4704 "configure" | 4664 #line 4665 "configure" |
4704 #include "confdefs.h" | 4665 #include "confdefs.h" |
4705 #include <tiffio.h> | 4666 #include <tiffio.h> |
4706 EOF | 4667 EOF |
4707 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4668 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4708 { (eval echo configure:4709: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4669 { (eval echo configure:4670: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4709 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 4670 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
4710 if test -z "$ac_err"; then | 4671 if test -z "$ac_err"; then |
4711 rm -rf conftest* | 4672 rm -rf conftest* |
4712 eval "ac_cv_header_$ac_safe=yes" | 4673 eval "ac_cv_header_$ac_safe=yes" |
4713 else | 4674 else |
4723 echo "$ac_t""yes" 1>&6 | 4684 echo "$ac_t""yes" 1>&6 |
4724 tifflibs="-lX11 -lz -lm" | 4685 tifflibs="-lX11 -lz -lm" |
4725 # At least one tiff package requires the jpeg library. | 4686 # At least one tiff package requires the jpeg library. |
4726 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi | 4687 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi |
4727 echo $ac_n "checking for TIFFGetVersion in -ltiff""... $ac_c" 1>&6 | 4688 echo $ac_n "checking for TIFFGetVersion in -ltiff""... $ac_c" 1>&6 |
4728 echo "configure:4729: checking for TIFFGetVersion in -ltiff" >&5 | 4689 echo "configure:4690: checking for TIFFGetVersion in -ltiff" >&5 |
4729 ac_lib_var=`echo tiff'_'TIFFGetVersion | sed 'y%./+-%__p_%'` | 4690 ac_lib_var=`echo tiff'_'TIFFGetVersion | sed 'y%./+-%__p_%'` |
4730 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 4691 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
4731 echo $ac_n "(cached) $ac_c" 1>&6 | 4692 echo $ac_n "(cached) $ac_c" 1>&6 |
4732 else | 4693 else |
4733 ac_save_LIBS="$LIBS" | 4694 ac_save_LIBS="$LIBS" |
4734 LIBS="-ltiff $tifflibs $LIBS" | 4695 LIBS="-ltiff $tifflibs $LIBS" |
4735 cat > conftest.$ac_ext <<EOF | 4696 cat > conftest.$ac_ext <<EOF |
4736 #line 4737 "configure" | 4697 #line 4698 "configure" |
4737 #include "confdefs.h" | 4698 #include "confdefs.h" |
4738 /* Override any gcc2 internal prototype to avoid an error. */ | 4699 /* Override any gcc2 internal prototype to avoid an error. */ |
4739 /* We use char because int might match the return type of a gcc2 | 4700 /* We use char because int might match the return type of a gcc2 |
4740 builtin and then its argument prototype would still apply. */ | 4701 builtin and then its argument prototype would still apply. */ |
4741 char TIFFGetVersion(); | 4702 char TIFFGetVersion(); |
4742 | 4703 |
4743 int main() { | 4704 int main() { |
4744 TIFFGetVersion() | 4705 TIFFGetVersion() |
4745 ; return 0; } | 4706 ; return 0; } |
4746 EOF | 4707 EOF |
4747 if { (eval echo configure:4748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4708 if { (eval echo configure:4709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4748 rm -rf conftest* | 4709 rm -rf conftest* |
4749 eval "ac_cv_lib_$ac_lib_var=yes" | 4710 eval "ac_cv_lib_$ac_lib_var=yes" |
4750 else | 4711 else |
4751 echo "configure: failed program was:" >&5 | 4712 echo "configure: failed program was:" >&5 |
4752 cat conftest.$ac_ext >&5 | 4713 cat conftest.$ac_ext >&5 |
4785 if test "${with_gif}" != "no"; then | 4746 if test "${with_gif}" != "no"; then |
4786 old_c_flags="${CFLAGS}" | 4747 old_c_flags="${CFLAGS}" |
4787 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" | 4748 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" |
4788 ac_safe=`echo "gif_lib.h" | sed 'y%./+-%__p_%'` | 4749 ac_safe=`echo "gif_lib.h" | sed 'y%./+-%__p_%'` |
4789 echo $ac_n "checking for gif_lib.h""... $ac_c" 1>&6 | 4750 echo $ac_n "checking for gif_lib.h""... $ac_c" 1>&6 |
4790 echo "configure:4791: checking for gif_lib.h" >&5 | 4751 echo "configure:4752: checking for gif_lib.h" >&5 |
4791 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 4752 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
4792 echo $ac_n "(cached) $ac_c" 1>&6 | 4753 echo $ac_n "(cached) $ac_c" 1>&6 |
4793 else | 4754 else |
4794 cat > conftest.$ac_ext <<EOF | 4755 cat > conftest.$ac_ext <<EOF |
4795 #line 4796 "configure" | 4756 #line 4757 "configure" |
4796 #include "confdefs.h" | 4757 #include "confdefs.h" |
4797 #include <gif_lib.h> | 4758 #include <gif_lib.h> |
4798 EOF | 4759 EOF |
4799 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4760 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4800 { (eval echo configure:4801: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4761 { (eval echo configure:4762: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4801 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 4762 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
4802 if test -z "$ac_err"; then | 4763 if test -z "$ac_err"; then |
4803 rm -rf conftest* | 4764 rm -rf conftest* |
4804 eval "ac_cv_header_$ac_safe=yes" | 4765 eval "ac_cv_header_$ac_safe=yes" |
4805 else | 4766 else |
4812 rm -f conftest* | 4773 rm -f conftest* |
4813 fi | 4774 fi |
4814 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 4775 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
4815 echo "$ac_t""yes" 1>&6 | 4776 echo "$ac_t""yes" 1>&6 |
4816 echo $ac_n "checking for DGifOpen in -lungif""... $ac_c" 1>&6 | 4777 echo $ac_n "checking for DGifOpen in -lungif""... $ac_c" 1>&6 |
4817 echo "configure:4818: checking for DGifOpen in -lungif" >&5 | 4778 echo "configure:4779: checking for DGifOpen in -lungif" >&5 |
4818 ac_lib_var=`echo ungif'_'DGifOpen | sed 'y%./+-%__p_%'` | 4779 ac_lib_var=`echo ungif'_'DGifOpen | sed 'y%./+-%__p_%'` |
4819 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 4780 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
4820 echo $ac_n "(cached) $ac_c" 1>&6 | 4781 echo $ac_n "(cached) $ac_c" 1>&6 |
4821 else | 4782 else |
4822 ac_save_LIBS="$LIBS" | 4783 ac_save_LIBS="$LIBS" |
4823 LIBS="-lungif -lX11 $LIBS" | 4784 LIBS="-lungif -lX11 $LIBS" |
4824 cat > conftest.$ac_ext <<EOF | 4785 cat > conftest.$ac_ext <<EOF |
4825 #line 4826 "configure" | 4786 #line 4787 "configure" |
4826 #include "confdefs.h" | 4787 #include "confdefs.h" |
4827 /* Override any gcc2 internal prototype to avoid an error. */ | 4788 /* Override any gcc2 internal prototype to avoid an error. */ |
4828 /* We use char because int might match the return type of a gcc2 | 4789 /* We use char because int might match the return type of a gcc2 |
4829 builtin and then its argument prototype would still apply. */ | 4790 builtin and then its argument prototype would still apply. */ |
4830 char DGifOpen(); | 4791 char DGifOpen(); |
4831 | 4792 |
4832 int main() { | 4793 int main() { |
4833 DGifOpen() | 4794 DGifOpen() |
4834 ; return 0; } | 4795 ; return 0; } |
4835 EOF | 4796 EOF |
4836 if { (eval echo configure:4837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4797 if { (eval echo configure:4798: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4837 rm -rf conftest* | 4798 rm -rf conftest* |
4838 eval "ac_cv_lib_$ac_lib_var=yes" | 4799 eval "ac_cv_lib_$ac_lib_var=yes" |
4839 else | 4800 else |
4840 echo "configure: failed program was:" >&5 | 4801 echo "configure: failed program was:" >&5 |
4841 cat conftest.$ac_ext >&5 | 4802 cat conftest.$ac_ext >&5 |
4868 fi | 4829 fi |
4869 fi | 4830 fi |
4870 | 4831 |
4871 # If netdb.h doesn't declare h_errno, we must declare it by hand. | 4832 # If netdb.h doesn't declare h_errno, we must declare it by hand. |
4872 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 4833 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
4873 echo "configure:4874: checking whether netdb declares h_errno" >&5 | 4834 echo "configure:4835: checking whether netdb declares h_errno" >&5 |
4874 if eval "test \"`echo '$''{'emacs_cv_netdb_declares_h_errno'+set}'`\" = set"; then | 4835 if eval "test \"`echo '$''{'emacs_cv_netdb_declares_h_errno'+set}'`\" = set"; then |
4875 echo $ac_n "(cached) $ac_c" 1>&6 | 4836 echo $ac_n "(cached) $ac_c" 1>&6 |
4876 else | 4837 else |
4877 cat > conftest.$ac_ext <<EOF | 4838 cat > conftest.$ac_ext <<EOF |
4878 #line 4879 "configure" | 4839 #line 4840 "configure" |
4879 #include "confdefs.h" | 4840 #include "confdefs.h" |
4880 #include <netdb.h> | 4841 #include <netdb.h> |
4881 int main() { | 4842 int main() { |
4882 return h_errno; | 4843 return h_errno; |
4883 ; return 0; } | 4844 ; return 0; } |
4884 EOF | 4845 EOF |
4885 if { (eval echo configure:4886: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4846 if { (eval echo configure:4847: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4886 rm -rf conftest* | 4847 rm -rf conftest* |
4887 emacs_cv_netdb_declares_h_errno=yes | 4848 emacs_cv_netdb_declares_h_errno=yes |
4888 else | 4849 else |
4889 echo "configure: failed program was:" >&5 | 4850 echo "configure: failed program was:" >&5 |
4890 cat conftest.$ac_ext >&5 | 4851 cat conftest.$ac_ext >&5 |
4903 fi | 4864 fi |
4904 | 4865 |
4905 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 4866 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
4906 # for constant arguments. Useless! | 4867 # for constant arguments. Useless! |
4907 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 4868 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
4908 echo "configure:4909: checking for working alloca.h" >&5 | 4869 echo "configure:4870: checking for working alloca.h" >&5 |
4909 if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then | 4870 if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then |
4910 echo $ac_n "(cached) $ac_c" 1>&6 | 4871 echo $ac_n "(cached) $ac_c" 1>&6 |
4911 else | 4872 else |
4912 cat > conftest.$ac_ext <<EOF | 4873 cat > conftest.$ac_ext <<EOF |
4913 #line 4914 "configure" | 4874 #line 4875 "configure" |
4914 #include "confdefs.h" | 4875 #include "confdefs.h" |
4915 #include <alloca.h> | 4876 #include <alloca.h> |
4916 int main() { | 4877 int main() { |
4917 void *p = alloca(2 * sizeof(int)); | 4878 char *p = alloca(2 * sizeof(int)); |
4918 ; return 0; } | 4879 ; return 0; } |
4919 EOF | 4880 EOF |
4920 if { (eval echo configure:4921: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4881 if { (eval echo configure:4882: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4921 rm -rf conftest* | 4882 rm -rf conftest* |
4922 ac_cv_header_alloca_h=yes | 4883 ac_cv_header_alloca_h=yes |
4923 else | 4884 else |
4924 echo "configure: failed program was:" >&5 | 4885 echo "configure: failed program was:" >&5 |
4925 cat conftest.$ac_ext >&5 | 4886 cat conftest.$ac_ext >&5 |
4936 EOF | 4897 EOF |
4937 | 4898 |
4938 fi | 4899 fi |
4939 | 4900 |
4940 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 4901 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
4941 echo "configure:4942: checking for alloca" >&5 | 4902 echo "configure:4903: checking for alloca" >&5 |
4942 if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then | 4903 if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then |
4943 echo $ac_n "(cached) $ac_c" 1>&6 | 4904 echo $ac_n "(cached) $ac_c" 1>&6 |
4944 else | 4905 else |
4945 cat > conftest.$ac_ext <<EOF | 4906 cat > conftest.$ac_ext <<EOF |
4946 #line 4947 "configure" | 4907 #line 4908 "configure" |
4947 #include "confdefs.h" | 4908 #include "confdefs.h" |
4948 | 4909 |
4949 #ifdef __GNUC__ | 4910 #ifdef __GNUC__ |
4950 # define alloca __builtin_alloca | 4911 # define alloca __builtin_alloca |
4951 #else | 4912 #else |
4969 | 4930 |
4970 int main() { | 4931 int main() { |
4971 char *p = (char *) alloca(1); | 4932 char *p = (char *) alloca(1); |
4972 ; return 0; } | 4933 ; return 0; } |
4973 EOF | 4934 EOF |
4974 if { (eval echo configure:4975: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4935 if { (eval echo configure:4936: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4975 rm -rf conftest* | 4936 rm -rf conftest* |
4976 ac_cv_func_alloca_works=yes | 4937 ac_cv_func_alloca_works=yes |
4977 else | 4938 else |
4978 echo "configure: failed program was:" >&5 | 4939 echo "configure: failed program was:" >&5 |
4979 cat conftest.$ac_ext >&5 | 4940 cat conftest.$ac_ext >&5 |
5001 #define C_ALLOCA 1 | 4962 #define C_ALLOCA 1 |
5002 EOF | 4963 EOF |
5003 | 4964 |
5004 | 4965 |
5005 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 4966 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
5006 echo "configure:5007: checking whether alloca needs Cray hooks" >&5 | 4967 echo "configure:4968: checking whether alloca needs Cray hooks" >&5 |
5007 if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then | 4968 if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then |
5008 echo $ac_n "(cached) $ac_c" 1>&6 | 4969 echo $ac_n "(cached) $ac_c" 1>&6 |
5009 else | 4970 else |
5010 cat > conftest.$ac_ext <<EOF | 4971 cat > conftest.$ac_ext <<EOF |
5011 #line 5012 "configure" | 4972 #line 4973 "configure" |
5012 #include "confdefs.h" | 4973 #include "confdefs.h" |
5013 #if defined(CRAY) && ! defined(CRAY2) | 4974 #if defined(CRAY) && ! defined(CRAY2) |
5014 webecray | 4975 webecray |
5015 #else | 4976 #else |
5016 wenotbecray | 4977 wenotbecray |
5031 | 4992 |
5032 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 4993 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
5033 if test $ac_cv_os_cray = yes; then | 4994 if test $ac_cv_os_cray = yes; then |
5034 for ac_func in _getb67 GETB67 getb67; do | 4995 for ac_func in _getb67 GETB67 getb67; do |
5035 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 4996 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
5036 echo "configure:5037: checking for $ac_func" >&5 | 4997 echo "configure:4998: checking for $ac_func" >&5 |
5037 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 4998 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
5038 echo $ac_n "(cached) $ac_c" 1>&6 | 4999 echo $ac_n "(cached) $ac_c" 1>&6 |
5039 else | 5000 else |
5040 cat > conftest.$ac_ext <<EOF | 5001 cat > conftest.$ac_ext <<EOF |
5041 #line 5042 "configure" | 5002 #line 5003 "configure" |
5042 #include "confdefs.h" | 5003 #include "confdefs.h" |
5043 /* System header to define __stub macros and hopefully few prototypes, | 5004 /* System header to define __stub macros and hopefully few prototypes, |
5044 which can conflict with char $ac_func(); below. */ | 5005 which can conflict with char $ac_func(); below. */ |
5045 #include <assert.h> | 5006 #include <assert.h> |
5046 /* Override any gcc2 internal prototype to avoid an error. */ | 5007 /* Override any gcc2 internal prototype to avoid an error. */ |
5059 $ac_func(); | 5020 $ac_func(); |
5060 #endif | 5021 #endif |
5061 | 5022 |
5062 ; return 0; } | 5023 ; return 0; } |
5063 EOF | 5024 EOF |
5064 if { (eval echo configure:5065: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5025 if { (eval echo configure:5026: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5065 rm -rf conftest* | 5026 rm -rf conftest* |
5066 eval "ac_cv_func_$ac_func=yes" | 5027 eval "ac_cv_func_$ac_func=yes" |
5067 else | 5028 else |
5068 echo "configure: failed program was:" >&5 | 5029 echo "configure: failed program was:" >&5 |
5069 cat conftest.$ac_ext >&5 | 5030 cat conftest.$ac_ext >&5 |
5086 | 5047 |
5087 done | 5048 done |
5088 fi | 5049 fi |
5089 | 5050 |
5090 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 5051 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
5091 echo "configure:5092: checking stack direction for C alloca" >&5 | 5052 echo "configure:5053: checking stack direction for C alloca" >&5 |
5092 if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then | 5053 if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then |
5093 echo $ac_n "(cached) $ac_c" 1>&6 | 5054 echo $ac_n "(cached) $ac_c" 1>&6 |
5094 else | 5055 else |
5095 if test "$cross_compiling" = yes; then | 5056 if test "$cross_compiling" = yes; then |
5096 ac_cv_c_stack_direction=0 | 5057 ac_cv_c_stack_direction=0 |
5097 else | 5058 else |
5098 cat > conftest.$ac_ext <<EOF | 5059 cat > conftest.$ac_ext <<EOF |
5099 #line 5100 "configure" | 5060 #line 5061 "configure" |
5100 #include "confdefs.h" | 5061 #include "confdefs.h" |
5101 find_stack_direction () | 5062 find_stack_direction () |
5102 { | 5063 { |
5103 static char *addr = 0; | 5064 static char *addr = 0; |
5104 auto char dummy; | 5065 auto char dummy; |
5113 main () | 5074 main () |
5114 { | 5075 { |
5115 exit (find_stack_direction() < 0); | 5076 exit (find_stack_direction() < 0); |
5116 } | 5077 } |
5117 EOF | 5078 EOF |
5118 if { (eval echo configure:5119: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 5079 if { (eval echo configure:5080: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
5119 then | 5080 then |
5120 ac_cv_c_stack_direction=1 | 5081 ac_cv_c_stack_direction=1 |
5121 else | 5082 else |
5122 echo "configure: failed program was:" >&5 | 5083 echo "configure: failed program was:" >&5 |
5123 cat conftest.$ac_ext >&5 | 5084 cat conftest.$ac_ext >&5 |
5138 | 5099 |
5139 | 5100 |
5140 # fmod, logb, and frexp are found in -lm on most systems. | 5101 # fmod, logb, and frexp are found in -lm on most systems. |
5141 # On HPUX 9.01, -lm does not contain logb, so check for sqrt. | 5102 # On HPUX 9.01, -lm does not contain logb, so check for sqrt. |
5142 echo $ac_n "checking for sqrt in -lm""... $ac_c" 1>&6 | 5103 echo $ac_n "checking for sqrt in -lm""... $ac_c" 1>&6 |
5143 echo "configure:5144: checking for sqrt in -lm" >&5 | 5104 echo "configure:5105: checking for sqrt in -lm" >&5 |
5144 ac_lib_var=`echo m'_'sqrt | sed 'y%./+-%__p_%'` | 5105 ac_lib_var=`echo m'_'sqrt | sed 'y%./+-%__p_%'` |
5145 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5106 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5146 echo $ac_n "(cached) $ac_c" 1>&6 | 5107 echo $ac_n "(cached) $ac_c" 1>&6 |
5147 else | 5108 else |
5148 ac_save_LIBS="$LIBS" | 5109 ac_save_LIBS="$LIBS" |
5149 LIBS="-lm $LIBS" | 5110 LIBS="-lm $LIBS" |
5150 cat > conftest.$ac_ext <<EOF | 5111 cat > conftest.$ac_ext <<EOF |
5151 #line 5152 "configure" | 5112 #line 5113 "configure" |
5152 #include "confdefs.h" | 5113 #include "confdefs.h" |
5153 /* Override any gcc2 internal prototype to avoid an error. */ | 5114 /* Override any gcc2 internal prototype to avoid an error. */ |
5154 /* We use char because int might match the return type of a gcc2 | 5115 /* We use char because int might match the return type of a gcc2 |
5155 builtin and then its argument prototype would still apply. */ | 5116 builtin and then its argument prototype would still apply. */ |
5156 char sqrt(); | 5117 char sqrt(); |
5157 | 5118 |
5158 int main() { | 5119 int main() { |
5159 sqrt() | 5120 sqrt() |
5160 ; return 0; } | 5121 ; return 0; } |
5161 EOF | 5122 EOF |
5162 if { (eval echo configure:5163: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5123 if { (eval echo configure:5124: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5163 rm -rf conftest* | 5124 rm -rf conftest* |
5164 eval "ac_cv_lib_$ac_lib_var=yes" | 5125 eval "ac_cv_lib_$ac_lib_var=yes" |
5165 else | 5126 else |
5166 echo "configure: failed program was:" >&5 | 5127 echo "configure: failed program was:" >&5 |
5167 cat conftest.$ac_ext >&5 | 5128 cat conftest.$ac_ext >&5 |
5187 fi | 5148 fi |
5188 | 5149 |
5189 | 5150 |
5190 # Check for mail-locking functions in a "mail" library | 5151 # Check for mail-locking functions in a "mail" library |
5191 echo $ac_n "checking for maillock in -lmail""... $ac_c" 1>&6 | 5152 echo $ac_n "checking for maillock in -lmail""... $ac_c" 1>&6 |
5192 echo "configure:5193: checking for maillock in -lmail" >&5 | 5153 echo "configure:5154: checking for maillock in -lmail" >&5 |
5193 ac_lib_var=`echo mail'_'maillock | sed 'y%./+-%__p_%'` | 5154 ac_lib_var=`echo mail'_'maillock | sed 'y%./+-%__p_%'` |
5194 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5155 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5195 echo $ac_n "(cached) $ac_c" 1>&6 | 5156 echo $ac_n "(cached) $ac_c" 1>&6 |
5196 else | 5157 else |
5197 ac_save_LIBS="$LIBS" | 5158 ac_save_LIBS="$LIBS" |
5198 LIBS="-lmail $LIBS" | 5159 LIBS="-lmail $LIBS" |
5199 cat > conftest.$ac_ext <<EOF | 5160 cat > conftest.$ac_ext <<EOF |
5200 #line 5201 "configure" | 5161 #line 5162 "configure" |
5201 #include "confdefs.h" | 5162 #include "confdefs.h" |
5202 /* Override any gcc2 internal prototype to avoid an error. */ | 5163 /* Override any gcc2 internal prototype to avoid an error. */ |
5203 /* We use char because int might match the return type of a gcc2 | 5164 /* We use char because int might match the return type of a gcc2 |
5204 builtin and then its argument prototype would still apply. */ | 5165 builtin and then its argument prototype would still apply. */ |
5205 char maillock(); | 5166 char maillock(); |
5206 | 5167 |
5207 int main() { | 5168 int main() { |
5208 maillock() | 5169 maillock() |
5209 ; return 0; } | 5170 ; return 0; } |
5210 EOF | 5171 EOF |
5211 if { (eval echo configure:5212: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5172 if { (eval echo configure:5173: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5212 rm -rf conftest* | 5173 rm -rf conftest* |
5213 eval "ac_cv_lib_$ac_lib_var=yes" | 5174 eval "ac_cv_lib_$ac_lib_var=yes" |
5214 else | 5175 else |
5215 echo "configure: failed program was:" >&5 | 5176 echo "configure: failed program was:" >&5 |
5216 cat conftest.$ac_ext >&5 | 5177 cat conftest.$ac_ext >&5 |
5234 else | 5195 else |
5235 echo "$ac_t""no" 1>&6 | 5196 echo "$ac_t""no" 1>&6 |
5236 fi | 5197 fi |
5237 | 5198 |
5238 echo $ac_n "checking for maillock in -llockfile""... $ac_c" 1>&6 | 5199 echo $ac_n "checking for maillock in -llockfile""... $ac_c" 1>&6 |
5239 echo "configure:5240: checking for maillock in -llockfile" >&5 | 5200 echo "configure:5201: checking for maillock in -llockfile" >&5 |
5240 ac_lib_var=`echo lockfile'_'maillock | sed 'y%./+-%__p_%'` | 5201 ac_lib_var=`echo lockfile'_'maillock | sed 'y%./+-%__p_%'` |
5241 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5202 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5242 echo $ac_n "(cached) $ac_c" 1>&6 | 5203 echo $ac_n "(cached) $ac_c" 1>&6 |
5243 else | 5204 else |
5244 ac_save_LIBS="$LIBS" | 5205 ac_save_LIBS="$LIBS" |
5245 LIBS="-llockfile $LIBS" | 5206 LIBS="-llockfile $LIBS" |
5246 cat > conftest.$ac_ext <<EOF | 5207 cat > conftest.$ac_ext <<EOF |
5247 #line 5248 "configure" | 5208 #line 5209 "configure" |
5248 #include "confdefs.h" | 5209 #include "confdefs.h" |
5249 /* Override any gcc2 internal prototype to avoid an error. */ | 5210 /* Override any gcc2 internal prototype to avoid an error. */ |
5250 /* We use char because int might match the return type of a gcc2 | 5211 /* We use char because int might match the return type of a gcc2 |
5251 builtin and then its argument prototype would still apply. */ | 5212 builtin and then its argument prototype would still apply. */ |
5252 char maillock(); | 5213 char maillock(); |
5253 | 5214 |
5254 int main() { | 5215 int main() { |
5255 maillock() | 5216 maillock() |
5256 ; return 0; } | 5217 ; return 0; } |
5257 EOF | 5218 EOF |
5258 if { (eval echo configure:5259: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5219 if { (eval echo configure:5220: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5259 rm -rf conftest* | 5220 rm -rf conftest* |
5260 eval "ac_cv_lib_$ac_lib_var=yes" | 5221 eval "ac_cv_lib_$ac_lib_var=yes" |
5261 else | 5222 else |
5262 echo "configure: failed program was:" >&5 | 5223 echo "configure: failed program was:" >&5 |
5263 cat conftest.$ac_ext >&5 | 5224 cat conftest.$ac_ext >&5 |
5287 # (no liblockfile.a installed), ensure that we don't need to. | 5248 # (no liblockfile.a installed), ensure that we don't need to. |
5288 if test "$ac_cv_lib_lockfile_maillock" = no; then | 5249 if test "$ac_cv_lib_lockfile_maillock" = no; then |
5289 # Extract the first word of "liblockfile.so", so it can be a program name with args. | 5250 # Extract the first word of "liblockfile.so", so it can be a program name with args. |
5290 set dummy liblockfile.so; ac_word=$2 | 5251 set dummy liblockfile.so; ac_word=$2 |
5291 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 5252 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
5292 echo "configure:5293: checking for $ac_word" >&5 | 5253 echo "configure:5254: checking for $ac_word" >&5 |
5293 if eval "test \"`echo '$''{'ac_cv_prog_liblockfile'+set}'`\" = set"; then | 5254 if eval "test \"`echo '$''{'ac_cv_prog_liblockfile'+set}'`\" = set"; then |
5294 echo $ac_n "(cached) $ac_c" 1>&6 | 5255 echo $ac_n "(cached) $ac_c" 1>&6 |
5295 else | 5256 else |
5296 if test -n "$liblockfile"; then | 5257 if test -n "$liblockfile"; then |
5297 ac_cv_prog_liblockfile="$liblockfile" # Let the user override the test. | 5258 ac_cv_prog_liblockfile="$liblockfile" # Let the user override the test. |
5328 else : | 5289 else : |
5329 fi | 5290 fi |
5330 for ac_func in touchlock | 5291 for ac_func in touchlock |
5331 do | 5292 do |
5332 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5293 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
5333 echo "configure:5334: checking for $ac_func" >&5 | 5294 echo "configure:5295: checking for $ac_func" >&5 |
5334 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 5295 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
5335 echo $ac_n "(cached) $ac_c" 1>&6 | 5296 echo $ac_n "(cached) $ac_c" 1>&6 |
5336 else | 5297 else |
5337 cat > conftest.$ac_ext <<EOF | 5298 cat > conftest.$ac_ext <<EOF |
5338 #line 5339 "configure" | 5299 #line 5300 "configure" |
5339 #include "confdefs.h" | 5300 #include "confdefs.h" |
5340 /* System header to define __stub macros and hopefully few prototypes, | 5301 /* System header to define __stub macros and hopefully few prototypes, |
5341 which can conflict with char $ac_func(); below. */ | 5302 which can conflict with char $ac_func(); below. */ |
5342 #include <assert.h> | 5303 #include <assert.h> |
5343 /* Override any gcc2 internal prototype to avoid an error. */ | 5304 /* Override any gcc2 internal prototype to avoid an error. */ |
5356 $ac_func(); | 5317 $ac_func(); |
5357 #endif | 5318 #endif |
5358 | 5319 |
5359 ; return 0; } | 5320 ; return 0; } |
5360 EOF | 5321 EOF |
5361 if { (eval echo configure:5362: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5322 if { (eval echo configure:5323: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5362 rm -rf conftest* | 5323 rm -rf conftest* |
5363 eval "ac_cv_func_$ac_func=yes" | 5324 eval "ac_cv_func_$ac_func=yes" |
5364 else | 5325 else |
5365 echo "configure: failed program was:" >&5 | 5326 echo "configure: failed program was:" >&5 |
5366 cat conftest.$ac_ext >&5 | 5327 cat conftest.$ac_ext >&5 |
5384 | 5345 |
5385 for ac_hdr in maillock.h | 5346 for ac_hdr in maillock.h |
5386 do | 5347 do |
5387 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5348 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5388 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5349 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5389 echo "configure:5390: checking for $ac_hdr" >&5 | 5350 echo "configure:5351: checking for $ac_hdr" >&5 |
5390 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 5351 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
5391 echo $ac_n "(cached) $ac_c" 1>&6 | 5352 echo $ac_n "(cached) $ac_c" 1>&6 |
5392 else | 5353 else |
5393 cat > conftest.$ac_ext <<EOF | 5354 cat > conftest.$ac_ext <<EOF |
5394 #line 5395 "configure" | 5355 #line 5356 "configure" |
5395 #include "confdefs.h" | 5356 #include "confdefs.h" |
5396 #include <$ac_hdr> | 5357 #include <$ac_hdr> |
5397 EOF | 5358 EOF |
5398 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5359 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5399 { (eval echo configure:5400: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5360 { (eval echo configure:5361: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5400 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5361 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5401 if test -z "$ac_err"; then | 5362 if test -z "$ac_err"; then |
5402 rm -rf conftest* | 5363 rm -rf conftest* |
5403 eval "ac_cv_header_$ac_safe=yes" | 5364 eval "ac_cv_header_$ac_safe=yes" |
5404 else | 5365 else |
5429 strerror fpathconf select mktime euidaccess getpagesize tzset setlocale \ | 5390 strerror fpathconf select mktime euidaccess getpagesize tzset setlocale \ |
5430 utimes setrlimit setpgid getcwd shutdown strftime getaddrinfo \ | 5391 utimes setrlimit setpgid getcwd shutdown strftime getaddrinfo \ |
5431 __fpending ftello getloadavg mblen mbrlen strsignal setitimer ualarm | 5392 __fpending ftello getloadavg mblen mbrlen strsignal setitimer ualarm |
5432 do | 5393 do |
5433 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5394 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
5434 echo "configure:5435: checking for $ac_func" >&5 | 5395 echo "configure:5396: checking for $ac_func" >&5 |
5435 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 5396 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
5436 echo $ac_n "(cached) $ac_c" 1>&6 | 5397 echo $ac_n "(cached) $ac_c" 1>&6 |
5437 else | 5398 else |
5438 cat > conftest.$ac_ext <<EOF | 5399 cat > conftest.$ac_ext <<EOF |
5439 #line 5440 "configure" | 5400 #line 5401 "configure" |
5440 #include "confdefs.h" | 5401 #include "confdefs.h" |
5441 /* System header to define __stub macros and hopefully few prototypes, | 5402 /* System header to define __stub macros and hopefully few prototypes, |
5442 which can conflict with char $ac_func(); below. */ | 5403 which can conflict with char $ac_func(); below. */ |
5443 #include <assert.h> | 5404 #include <assert.h> |
5444 /* Override any gcc2 internal prototype to avoid an error. */ | 5405 /* Override any gcc2 internal prototype to avoid an error. */ |
5457 $ac_func(); | 5418 $ac_func(); |
5458 #endif | 5419 #endif |
5459 | 5420 |
5460 ; return 0; } | 5421 ; return 0; } |
5461 EOF | 5422 EOF |
5462 if { (eval echo configure:5463: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5423 if { (eval echo configure:5424: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5463 rm -rf conftest* | 5424 rm -rf conftest* |
5464 eval "ac_cv_func_$ac_func=yes" | 5425 eval "ac_cv_func_$ac_func=yes" |
5465 else | 5426 else |
5466 echo "configure: failed program was:" >&5 | 5427 echo "configure: failed program was:" >&5 |
5467 cat conftest.$ac_ext >&5 | 5428 cat conftest.$ac_ext >&5 |
5487 # Check this now, so that we will NOT find the above functions in ncurses. | 5448 # Check this now, so that we will NOT find the above functions in ncurses. |
5488 # That is because we have not set up to link ncurses in lib-src. | 5449 # That is because we have not set up to link ncurses in lib-src. |
5489 # It's better to believe a function is not available | 5450 # It's better to believe a function is not available |
5490 # than to expect to find it in ncurses. | 5451 # than to expect to find it in ncurses. |
5491 echo $ac_n "checking for tparm in -lncurses""... $ac_c" 1>&6 | 5452 echo $ac_n "checking for tparm in -lncurses""... $ac_c" 1>&6 |
5492 echo "configure:5493: checking for tparm in -lncurses" >&5 | 5453 echo "configure:5454: checking for tparm in -lncurses" >&5 |
5493 ac_lib_var=`echo ncurses'_'tparm | sed 'y%./+-%__p_%'` | 5454 ac_lib_var=`echo ncurses'_'tparm | sed 'y%./+-%__p_%'` |
5494 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5455 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5495 echo $ac_n "(cached) $ac_c" 1>&6 | 5456 echo $ac_n "(cached) $ac_c" 1>&6 |
5496 else | 5457 else |
5497 ac_save_LIBS="$LIBS" | 5458 ac_save_LIBS="$LIBS" |
5498 LIBS="-lncurses $LIBS" | 5459 LIBS="-lncurses $LIBS" |
5499 cat > conftest.$ac_ext <<EOF | 5460 cat > conftest.$ac_ext <<EOF |
5500 #line 5501 "configure" | 5461 #line 5462 "configure" |
5501 #include "confdefs.h" | 5462 #include "confdefs.h" |
5502 /* Override any gcc2 internal prototype to avoid an error. */ | 5463 /* Override any gcc2 internal prototype to avoid an error. */ |
5503 /* We use char because int might match the return type of a gcc2 | 5464 /* We use char because int might match the return type of a gcc2 |
5504 builtin and then its argument prototype would still apply. */ | 5465 builtin and then its argument prototype would still apply. */ |
5505 char tparm(); | 5466 char tparm(); |
5506 | 5467 |
5507 int main() { | 5468 int main() { |
5508 tparm() | 5469 tparm() |
5509 ; return 0; } | 5470 ; return 0; } |
5510 EOF | 5471 EOF |
5511 if { (eval echo configure:5512: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5472 if { (eval echo configure:5473: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5512 rm -rf conftest* | 5473 rm -rf conftest* |
5513 eval "ac_cv_lib_$ac_lib_var=yes" | 5474 eval "ac_cv_lib_$ac_lib_var=yes" |
5514 else | 5475 else |
5515 echo "configure: failed program was:" >&5 | 5476 echo "configure: failed program was:" >&5 |
5516 cat conftest.$ac_ext >&5 | 5477 cat conftest.$ac_ext >&5 |
5537 | 5498 |
5538 | 5499 |
5539 # These tell us which Kerberos-related libraries to use. | 5500 # These tell us which Kerberos-related libraries to use. |
5540 if test "${with_kerberos+set}" = set; then | 5501 if test "${with_kerberos+set}" = set; then |
5541 echo $ac_n "checking for com_err in -lcom_err""... $ac_c" 1>&6 | 5502 echo $ac_n "checking for com_err in -lcom_err""... $ac_c" 1>&6 |
5542 echo "configure:5543: checking for com_err in -lcom_err" >&5 | 5503 echo "configure:5504: checking for com_err in -lcom_err" >&5 |
5543 ac_lib_var=`echo com_err'_'com_err | sed 'y%./+-%__p_%'` | 5504 ac_lib_var=`echo com_err'_'com_err | sed 'y%./+-%__p_%'` |
5544 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5505 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5545 echo $ac_n "(cached) $ac_c" 1>&6 | 5506 echo $ac_n "(cached) $ac_c" 1>&6 |
5546 else | 5507 else |
5547 ac_save_LIBS="$LIBS" | 5508 ac_save_LIBS="$LIBS" |
5548 LIBS="-lcom_err $LIBS" | 5509 LIBS="-lcom_err $LIBS" |
5549 cat > conftest.$ac_ext <<EOF | 5510 cat > conftest.$ac_ext <<EOF |
5550 #line 5551 "configure" | 5511 #line 5512 "configure" |
5551 #include "confdefs.h" | 5512 #include "confdefs.h" |
5552 /* Override any gcc2 internal prototype to avoid an error. */ | 5513 /* Override any gcc2 internal prototype to avoid an error. */ |
5553 /* We use char because int might match the return type of a gcc2 | 5514 /* We use char because int might match the return type of a gcc2 |
5554 builtin and then its argument prototype would still apply. */ | 5515 builtin and then its argument prototype would still apply. */ |
5555 char com_err(); | 5516 char com_err(); |
5556 | 5517 |
5557 int main() { | 5518 int main() { |
5558 com_err() | 5519 com_err() |
5559 ; return 0; } | 5520 ; return 0; } |
5560 EOF | 5521 EOF |
5561 if { (eval echo configure:5562: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5522 if { (eval echo configure:5523: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5562 rm -rf conftest* | 5523 rm -rf conftest* |
5563 eval "ac_cv_lib_$ac_lib_var=yes" | 5524 eval "ac_cv_lib_$ac_lib_var=yes" |
5564 else | 5525 else |
5565 echo "configure: failed program was:" >&5 | 5526 echo "configure: failed program was:" >&5 |
5566 cat conftest.$ac_ext >&5 | 5527 cat conftest.$ac_ext >&5 |
5584 else | 5545 else |
5585 echo "$ac_t""no" 1>&6 | 5546 echo "$ac_t""no" 1>&6 |
5586 fi | 5547 fi |
5587 | 5548 |
5588 echo $ac_n "checking for mit_des_cbc_encrypt in -lk5crypto""... $ac_c" 1>&6 | 5549 echo $ac_n "checking for mit_des_cbc_encrypt in -lk5crypto""... $ac_c" 1>&6 |
5589 echo "configure:5590: checking for mit_des_cbc_encrypt in -lk5crypto" >&5 | 5550 echo "configure:5551: checking for mit_des_cbc_encrypt in -lk5crypto" >&5 |
5590 ac_lib_var=`echo k5crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'` | 5551 ac_lib_var=`echo k5crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'` |
5591 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5552 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5592 echo $ac_n "(cached) $ac_c" 1>&6 | 5553 echo $ac_n "(cached) $ac_c" 1>&6 |
5593 else | 5554 else |
5594 ac_save_LIBS="$LIBS" | 5555 ac_save_LIBS="$LIBS" |
5595 LIBS="-lk5crypto $LIBS" | 5556 LIBS="-lk5crypto $LIBS" |
5596 cat > conftest.$ac_ext <<EOF | 5557 cat > conftest.$ac_ext <<EOF |
5597 #line 5598 "configure" | 5558 #line 5559 "configure" |
5598 #include "confdefs.h" | 5559 #include "confdefs.h" |
5599 /* Override any gcc2 internal prototype to avoid an error. */ | 5560 /* Override any gcc2 internal prototype to avoid an error. */ |
5600 /* We use char because int might match the return type of a gcc2 | 5561 /* We use char because int might match the return type of a gcc2 |
5601 builtin and then its argument prototype would still apply. */ | 5562 builtin and then its argument prototype would still apply. */ |
5602 char mit_des_cbc_encrypt(); | 5563 char mit_des_cbc_encrypt(); |
5603 | 5564 |
5604 int main() { | 5565 int main() { |
5605 mit_des_cbc_encrypt() | 5566 mit_des_cbc_encrypt() |
5606 ; return 0; } | 5567 ; return 0; } |
5607 EOF | 5568 EOF |
5608 if { (eval echo configure:5609: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5569 if { (eval echo configure:5570: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5609 rm -rf conftest* | 5570 rm -rf conftest* |
5610 eval "ac_cv_lib_$ac_lib_var=yes" | 5571 eval "ac_cv_lib_$ac_lib_var=yes" |
5611 else | 5572 else |
5612 echo "configure: failed program was:" >&5 | 5573 echo "configure: failed program was:" >&5 |
5613 cat conftest.$ac_ext >&5 | 5574 cat conftest.$ac_ext >&5 |
5631 else | 5592 else |
5632 echo "$ac_t""no" 1>&6 | 5593 echo "$ac_t""no" 1>&6 |
5633 fi | 5594 fi |
5634 | 5595 |
5635 echo $ac_n "checking for mit_des_cbc_encrypt in -lcrypto""... $ac_c" 1>&6 | 5596 echo $ac_n "checking for mit_des_cbc_encrypt in -lcrypto""... $ac_c" 1>&6 |
5636 echo "configure:5637: checking for mit_des_cbc_encrypt in -lcrypto" >&5 | 5597 echo "configure:5598: checking for mit_des_cbc_encrypt in -lcrypto" >&5 |
5637 ac_lib_var=`echo crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'` | 5598 ac_lib_var=`echo crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'` |
5638 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5599 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5639 echo $ac_n "(cached) $ac_c" 1>&6 | 5600 echo $ac_n "(cached) $ac_c" 1>&6 |
5640 else | 5601 else |
5641 ac_save_LIBS="$LIBS" | 5602 ac_save_LIBS="$LIBS" |
5642 LIBS="-lcrypto $LIBS" | 5603 LIBS="-lcrypto $LIBS" |
5643 cat > conftest.$ac_ext <<EOF | 5604 cat > conftest.$ac_ext <<EOF |
5644 #line 5645 "configure" | 5605 #line 5606 "configure" |
5645 #include "confdefs.h" | 5606 #include "confdefs.h" |
5646 /* Override any gcc2 internal prototype to avoid an error. */ | 5607 /* Override any gcc2 internal prototype to avoid an error. */ |
5647 /* We use char because int might match the return type of a gcc2 | 5608 /* We use char because int might match the return type of a gcc2 |
5648 builtin and then its argument prototype would still apply. */ | 5609 builtin and then its argument prototype would still apply. */ |
5649 char mit_des_cbc_encrypt(); | 5610 char mit_des_cbc_encrypt(); |
5650 | 5611 |
5651 int main() { | 5612 int main() { |
5652 mit_des_cbc_encrypt() | 5613 mit_des_cbc_encrypt() |
5653 ; return 0; } | 5614 ; return 0; } |
5654 EOF | 5615 EOF |
5655 if { (eval echo configure:5656: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5616 if { (eval echo configure:5617: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5656 rm -rf conftest* | 5617 rm -rf conftest* |
5657 eval "ac_cv_lib_$ac_lib_var=yes" | 5618 eval "ac_cv_lib_$ac_lib_var=yes" |
5658 else | 5619 else |
5659 echo "configure: failed program was:" >&5 | 5620 echo "configure: failed program was:" >&5 |
5660 cat conftest.$ac_ext >&5 | 5621 cat conftest.$ac_ext >&5 |
5678 else | 5639 else |
5679 echo "$ac_t""no" 1>&6 | 5640 echo "$ac_t""no" 1>&6 |
5680 fi | 5641 fi |
5681 | 5642 |
5682 echo $ac_n "checking for krb5_init_context in -lkrb5""... $ac_c" 1>&6 | 5643 echo $ac_n "checking for krb5_init_context in -lkrb5""... $ac_c" 1>&6 |
5683 echo "configure:5684: checking for krb5_init_context in -lkrb5" >&5 | 5644 echo "configure:5645: checking for krb5_init_context in -lkrb5" >&5 |
5684 ac_lib_var=`echo krb5'_'krb5_init_context | sed 'y%./+-%__p_%'` | 5645 ac_lib_var=`echo krb5'_'krb5_init_context | sed 'y%./+-%__p_%'` |
5685 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5646 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5686 echo $ac_n "(cached) $ac_c" 1>&6 | 5647 echo $ac_n "(cached) $ac_c" 1>&6 |
5687 else | 5648 else |
5688 ac_save_LIBS="$LIBS" | 5649 ac_save_LIBS="$LIBS" |
5689 LIBS="-lkrb5 $LIBS" | 5650 LIBS="-lkrb5 $LIBS" |
5690 cat > conftest.$ac_ext <<EOF | 5651 cat > conftest.$ac_ext <<EOF |
5691 #line 5692 "configure" | 5652 #line 5653 "configure" |
5692 #include "confdefs.h" | 5653 #include "confdefs.h" |
5693 /* Override any gcc2 internal prototype to avoid an error. */ | 5654 /* Override any gcc2 internal prototype to avoid an error. */ |
5694 /* We use char because int might match the return type of a gcc2 | 5655 /* We use char because int might match the return type of a gcc2 |
5695 builtin and then its argument prototype would still apply. */ | 5656 builtin and then its argument prototype would still apply. */ |
5696 char krb5_init_context(); | 5657 char krb5_init_context(); |
5697 | 5658 |
5698 int main() { | 5659 int main() { |
5699 krb5_init_context() | 5660 krb5_init_context() |
5700 ; return 0; } | 5661 ; return 0; } |
5701 EOF | 5662 EOF |
5702 if { (eval echo configure:5703: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5663 if { (eval echo configure:5664: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5703 rm -rf conftest* | 5664 rm -rf conftest* |
5704 eval "ac_cv_lib_$ac_lib_var=yes" | 5665 eval "ac_cv_lib_$ac_lib_var=yes" |
5705 else | 5666 else |
5706 echo "configure: failed program was:" >&5 | 5667 echo "configure: failed program was:" >&5 |
5707 cat conftest.$ac_ext >&5 | 5668 cat conftest.$ac_ext >&5 |
5726 echo "$ac_t""no" 1>&6 | 5687 echo "$ac_t""no" 1>&6 |
5727 fi | 5688 fi |
5728 | 5689 |
5729 if test "${with_kerberos5+set}" != set; then | 5690 if test "${with_kerberos5+set}" != set; then |
5730 echo $ac_n "checking for des_cbc_encrypt in -ldes425""... $ac_c" 1>&6 | 5691 echo $ac_n "checking for des_cbc_encrypt in -ldes425""... $ac_c" 1>&6 |
5731 echo "configure:5732: checking for des_cbc_encrypt in -ldes425" >&5 | 5692 echo "configure:5693: checking for des_cbc_encrypt in -ldes425" >&5 |
5732 ac_lib_var=`echo des425'_'des_cbc_encrypt | sed 'y%./+-%__p_%'` | 5693 ac_lib_var=`echo des425'_'des_cbc_encrypt | sed 'y%./+-%__p_%'` |
5733 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5694 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5734 echo $ac_n "(cached) $ac_c" 1>&6 | 5695 echo $ac_n "(cached) $ac_c" 1>&6 |
5735 else | 5696 else |
5736 ac_save_LIBS="$LIBS" | 5697 ac_save_LIBS="$LIBS" |
5737 LIBS="-ldes425 $LIBS" | 5698 LIBS="-ldes425 $LIBS" |
5738 cat > conftest.$ac_ext <<EOF | 5699 cat > conftest.$ac_ext <<EOF |
5739 #line 5740 "configure" | 5700 #line 5701 "configure" |
5740 #include "confdefs.h" | 5701 #include "confdefs.h" |
5741 /* Override any gcc2 internal prototype to avoid an error. */ | 5702 /* Override any gcc2 internal prototype to avoid an error. */ |
5742 /* We use char because int might match the return type of a gcc2 | 5703 /* We use char because int might match the return type of a gcc2 |
5743 builtin and then its argument prototype would still apply. */ | 5704 builtin and then its argument prototype would still apply. */ |
5744 char des_cbc_encrypt(); | 5705 char des_cbc_encrypt(); |
5745 | 5706 |
5746 int main() { | 5707 int main() { |
5747 des_cbc_encrypt() | 5708 des_cbc_encrypt() |
5748 ; return 0; } | 5709 ; return 0; } |
5749 EOF | 5710 EOF |
5750 if { (eval echo configure:5751: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5711 if { (eval echo configure:5712: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5751 rm -rf conftest* | 5712 rm -rf conftest* |
5752 eval "ac_cv_lib_$ac_lib_var=yes" | 5713 eval "ac_cv_lib_$ac_lib_var=yes" |
5753 else | 5714 else |
5754 echo "configure: failed program was:" >&5 | 5715 echo "configure: failed program was:" >&5 |
5755 cat conftest.$ac_ext >&5 | 5716 cat conftest.$ac_ext >&5 |
5771 LIBS="-ldes425 $LIBS" | 5732 LIBS="-ldes425 $LIBS" |
5772 | 5733 |
5773 else | 5734 else |
5774 echo "$ac_t""no" 1>&6 | 5735 echo "$ac_t""no" 1>&6 |
5775 echo $ac_n "checking for des_cbc_encrypt in -ldes""... $ac_c" 1>&6 | 5736 echo $ac_n "checking for des_cbc_encrypt in -ldes""... $ac_c" 1>&6 |
5776 echo "configure:5777: checking for des_cbc_encrypt in -ldes" >&5 | 5737 echo "configure:5738: checking for des_cbc_encrypt in -ldes" >&5 |
5777 ac_lib_var=`echo des'_'des_cbc_encrypt | sed 'y%./+-%__p_%'` | 5738 ac_lib_var=`echo des'_'des_cbc_encrypt | sed 'y%./+-%__p_%'` |
5778 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5739 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5779 echo $ac_n "(cached) $ac_c" 1>&6 | 5740 echo $ac_n "(cached) $ac_c" 1>&6 |
5780 else | 5741 else |
5781 ac_save_LIBS="$LIBS" | 5742 ac_save_LIBS="$LIBS" |
5782 LIBS="-ldes $LIBS" | 5743 LIBS="-ldes $LIBS" |
5783 cat > conftest.$ac_ext <<EOF | 5744 cat > conftest.$ac_ext <<EOF |
5784 #line 5785 "configure" | 5745 #line 5746 "configure" |
5785 #include "confdefs.h" | 5746 #include "confdefs.h" |
5786 /* Override any gcc2 internal prototype to avoid an error. */ | 5747 /* Override any gcc2 internal prototype to avoid an error. */ |
5787 /* We use char because int might match the return type of a gcc2 | 5748 /* We use char because int might match the return type of a gcc2 |
5788 builtin and then its argument prototype would still apply. */ | 5749 builtin and then its argument prototype would still apply. */ |
5789 char des_cbc_encrypt(); | 5750 char des_cbc_encrypt(); |
5790 | 5751 |
5791 int main() { | 5752 int main() { |
5792 des_cbc_encrypt() | 5753 des_cbc_encrypt() |
5793 ; return 0; } | 5754 ; return 0; } |
5794 EOF | 5755 EOF |
5795 if { (eval echo configure:5796: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5756 if { (eval echo configure:5757: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5796 rm -rf conftest* | 5757 rm -rf conftest* |
5797 eval "ac_cv_lib_$ac_lib_var=yes" | 5758 eval "ac_cv_lib_$ac_lib_var=yes" |
5798 else | 5759 else |
5799 echo "configure: failed program was:" >&5 | 5760 echo "configure: failed program was:" >&5 |
5800 cat conftest.$ac_ext >&5 | 5761 cat conftest.$ac_ext >&5 |
5820 fi | 5781 fi |
5821 | 5782 |
5822 fi | 5783 fi |
5823 | 5784 |
5824 echo $ac_n "checking for krb_get_cred in -lkrb4""... $ac_c" 1>&6 | 5785 echo $ac_n "checking for krb_get_cred in -lkrb4""... $ac_c" 1>&6 |
5825 echo "configure:5826: checking for krb_get_cred in -lkrb4" >&5 | 5786 echo "configure:5787: checking for krb_get_cred in -lkrb4" >&5 |
5826 ac_lib_var=`echo krb4'_'krb_get_cred | sed 'y%./+-%__p_%'` | 5787 ac_lib_var=`echo krb4'_'krb_get_cred | sed 'y%./+-%__p_%'` |
5827 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5788 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5828 echo $ac_n "(cached) $ac_c" 1>&6 | 5789 echo $ac_n "(cached) $ac_c" 1>&6 |
5829 else | 5790 else |
5830 ac_save_LIBS="$LIBS" | 5791 ac_save_LIBS="$LIBS" |
5831 LIBS="-lkrb4 $LIBS" | 5792 LIBS="-lkrb4 $LIBS" |
5832 cat > conftest.$ac_ext <<EOF | 5793 cat > conftest.$ac_ext <<EOF |
5833 #line 5834 "configure" | 5794 #line 5795 "configure" |
5834 #include "confdefs.h" | 5795 #include "confdefs.h" |
5835 /* Override any gcc2 internal prototype to avoid an error. */ | 5796 /* Override any gcc2 internal prototype to avoid an error. */ |
5836 /* We use char because int might match the return type of a gcc2 | 5797 /* We use char because int might match the return type of a gcc2 |
5837 builtin and then its argument prototype would still apply. */ | 5798 builtin and then its argument prototype would still apply. */ |
5838 char krb_get_cred(); | 5799 char krb_get_cred(); |
5839 | 5800 |
5840 int main() { | 5801 int main() { |
5841 krb_get_cred() | 5802 krb_get_cred() |
5842 ; return 0; } | 5803 ; return 0; } |
5843 EOF | 5804 EOF |
5844 if { (eval echo configure:5845: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5805 if { (eval echo configure:5806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5845 rm -rf conftest* | 5806 rm -rf conftest* |
5846 eval "ac_cv_lib_$ac_lib_var=yes" | 5807 eval "ac_cv_lib_$ac_lib_var=yes" |
5847 else | 5808 else |
5848 echo "configure: failed program was:" >&5 | 5809 echo "configure: failed program was:" >&5 |
5849 cat conftest.$ac_ext >&5 | 5810 cat conftest.$ac_ext >&5 |
5865 LIBS="-lkrb4 $LIBS" | 5826 LIBS="-lkrb4 $LIBS" |
5866 | 5827 |
5867 else | 5828 else |
5868 echo "$ac_t""no" 1>&6 | 5829 echo "$ac_t""no" 1>&6 |
5869 echo $ac_n "checking for krb_get_cred in -lkrb""... $ac_c" 1>&6 | 5830 echo $ac_n "checking for krb_get_cred in -lkrb""... $ac_c" 1>&6 |
5870 echo "configure:5871: checking for krb_get_cred in -lkrb" >&5 | 5831 echo "configure:5832: checking for krb_get_cred in -lkrb" >&5 |
5871 ac_lib_var=`echo krb'_'krb_get_cred | sed 'y%./+-%__p_%'` | 5832 ac_lib_var=`echo krb'_'krb_get_cred | sed 'y%./+-%__p_%'` |
5872 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5833 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5873 echo $ac_n "(cached) $ac_c" 1>&6 | 5834 echo $ac_n "(cached) $ac_c" 1>&6 |
5874 else | 5835 else |
5875 ac_save_LIBS="$LIBS" | 5836 ac_save_LIBS="$LIBS" |
5876 LIBS="-lkrb $LIBS" | 5837 LIBS="-lkrb $LIBS" |
5877 cat > conftest.$ac_ext <<EOF | 5838 cat > conftest.$ac_ext <<EOF |
5878 #line 5879 "configure" | 5839 #line 5840 "configure" |
5879 #include "confdefs.h" | 5840 #include "confdefs.h" |
5880 /* Override any gcc2 internal prototype to avoid an error. */ | 5841 /* Override any gcc2 internal prototype to avoid an error. */ |
5881 /* We use char because int might match the return type of a gcc2 | 5842 /* We use char because int might match the return type of a gcc2 |
5882 builtin and then its argument prototype would still apply. */ | 5843 builtin and then its argument prototype would still apply. */ |
5883 char krb_get_cred(); | 5844 char krb_get_cred(); |
5884 | 5845 |
5885 int main() { | 5846 int main() { |
5886 krb_get_cred() | 5847 krb_get_cred() |
5887 ; return 0; } | 5848 ; return 0; } |
5888 EOF | 5849 EOF |
5889 if { (eval echo configure:5890: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5850 if { (eval echo configure:5851: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5890 rm -rf conftest* | 5851 rm -rf conftest* |
5891 eval "ac_cv_lib_$ac_lib_var=yes" | 5852 eval "ac_cv_lib_$ac_lib_var=yes" |
5892 else | 5853 else |
5893 echo "configure: failed program was:" >&5 | 5854 echo "configure: failed program was:" >&5 |
5894 cat conftest.$ac_ext >&5 | 5855 cat conftest.$ac_ext >&5 |
5920 if test "${with_kerberos5+set}" = set; then | 5881 if test "${with_kerberos5+set}" = set; then |
5921 for ac_hdr in krb5.h | 5882 for ac_hdr in krb5.h |
5922 do | 5883 do |
5923 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5884 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5924 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5885 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5925 echo "configure:5926: checking for $ac_hdr" >&5 | 5886 echo "configure:5887: checking for $ac_hdr" >&5 |
5926 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 5887 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
5927 echo $ac_n "(cached) $ac_c" 1>&6 | 5888 echo $ac_n "(cached) $ac_c" 1>&6 |
5928 else | 5889 else |
5929 cat > conftest.$ac_ext <<EOF | 5890 cat > conftest.$ac_ext <<EOF |
5930 #line 5931 "configure" | 5891 #line 5892 "configure" |
5931 #include "confdefs.h" | 5892 #include "confdefs.h" |
5932 #include <$ac_hdr> | 5893 #include <$ac_hdr> |
5933 EOF | 5894 EOF |
5934 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5895 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5935 { (eval echo configure:5936: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5896 { (eval echo configure:5897: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5936 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5897 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5937 if test -z "$ac_err"; then | 5898 if test -z "$ac_err"; then |
5938 rm -rf conftest* | 5899 rm -rf conftest* |
5939 eval "ac_cv_header_$ac_safe=yes" | 5900 eval "ac_cv_header_$ac_safe=yes" |
5940 else | 5901 else |
5961 else | 5922 else |
5962 for ac_hdr in des.h | 5923 for ac_hdr in des.h |
5963 do | 5924 do |
5964 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5925 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5965 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5926 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5966 echo "configure:5967: checking for $ac_hdr" >&5 | 5927 echo "configure:5928: checking for $ac_hdr" >&5 |
5967 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 5928 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
5968 echo $ac_n "(cached) $ac_c" 1>&6 | 5929 echo $ac_n "(cached) $ac_c" 1>&6 |
5969 else | 5930 else |
5970 cat > conftest.$ac_ext <<EOF | 5931 cat > conftest.$ac_ext <<EOF |
5971 #line 5972 "configure" | 5932 #line 5933 "configure" |
5972 #include "confdefs.h" | 5933 #include "confdefs.h" |
5973 #include <$ac_hdr> | 5934 #include <$ac_hdr> |
5974 EOF | 5935 EOF |
5975 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5936 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5976 { (eval echo configure:5977: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5937 { (eval echo configure:5938: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5977 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5938 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5978 if test -z "$ac_err"; then | 5939 if test -z "$ac_err"; then |
5979 rm -rf conftest* | 5940 rm -rf conftest* |
5980 eval "ac_cv_header_$ac_safe=yes" | 5941 eval "ac_cv_header_$ac_safe=yes" |
5981 else | 5942 else |
5998 echo "$ac_t""no" 1>&6 | 5959 echo "$ac_t""no" 1>&6 |
5999 for ac_hdr in kerberosIV/des.h | 5960 for ac_hdr in kerberosIV/des.h |
6000 do | 5961 do |
6001 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5962 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
6002 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5963 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
6003 echo "configure:6004: checking for $ac_hdr" >&5 | 5964 echo "configure:5965: checking for $ac_hdr" >&5 |
6004 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 5965 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
6005 echo $ac_n "(cached) $ac_c" 1>&6 | 5966 echo $ac_n "(cached) $ac_c" 1>&6 |
6006 else | 5967 else |
6007 cat > conftest.$ac_ext <<EOF | 5968 cat > conftest.$ac_ext <<EOF |
6008 #line 6009 "configure" | 5969 #line 5970 "configure" |
6009 #include "confdefs.h" | 5970 #include "confdefs.h" |
6010 #include <$ac_hdr> | 5971 #include <$ac_hdr> |
6011 EOF | 5972 EOF |
6012 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5973 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6013 { (eval echo configure:6014: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5974 { (eval echo configure:5975: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6014 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5975 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6015 if test -z "$ac_err"; then | 5976 if test -z "$ac_err"; then |
6016 rm -rf conftest* | 5977 rm -rf conftest* |
6017 eval "ac_cv_header_$ac_safe=yes" | 5978 eval "ac_cv_header_$ac_safe=yes" |
6018 else | 5979 else |
6035 echo "$ac_t""no" 1>&6 | 5996 echo "$ac_t""no" 1>&6 |
6036 for ac_hdr in kerberos/des.h | 5997 for ac_hdr in kerberos/des.h |
6037 do | 5998 do |
6038 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5999 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
6039 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 6000 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
6040 echo "configure:6041: checking for $ac_hdr" >&5 | 6001 echo "configure:6002: checking for $ac_hdr" >&5 |
6041 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 6002 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
6042 echo $ac_n "(cached) $ac_c" 1>&6 | 6003 echo $ac_n "(cached) $ac_c" 1>&6 |
6043 else | 6004 else |
6044 cat > conftest.$ac_ext <<EOF | 6005 cat > conftest.$ac_ext <<EOF |
6045 #line 6046 "configure" | 6006 #line 6007 "configure" |
6046 #include "confdefs.h" | 6007 #include "confdefs.h" |
6047 #include <$ac_hdr> | 6008 #include <$ac_hdr> |
6048 EOF | 6009 EOF |
6049 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6010 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6050 { (eval echo configure:6051: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6011 { (eval echo configure:6012: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6051 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6012 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6052 if test -z "$ac_err"; then | 6013 if test -z "$ac_err"; then |
6053 rm -rf conftest* | 6014 rm -rf conftest* |
6054 eval "ac_cv_header_$ac_safe=yes" | 6015 eval "ac_cv_header_$ac_safe=yes" |
6055 else | 6016 else |
6081 | 6042 |
6082 for ac_hdr in krb.h | 6043 for ac_hdr in krb.h |
6083 do | 6044 do |
6084 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 6045 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
6085 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 6046 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
6086 echo "configure:6087: checking for $ac_hdr" >&5 | 6047 echo "configure:6048: checking for $ac_hdr" >&5 |
6087 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 6048 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
6088 echo $ac_n "(cached) $ac_c" 1>&6 | 6049 echo $ac_n "(cached) $ac_c" 1>&6 |
6089 else | 6050 else |
6090 cat > conftest.$ac_ext <<EOF | 6051 cat > conftest.$ac_ext <<EOF |
6091 #line 6092 "configure" | 6052 #line 6053 "configure" |
6092 #include "confdefs.h" | 6053 #include "confdefs.h" |
6093 #include <$ac_hdr> | 6054 #include <$ac_hdr> |
6094 EOF | 6055 EOF |
6095 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6056 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6096 { (eval echo configure:6097: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6057 { (eval echo configure:6058: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6097 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6058 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6098 if test -z "$ac_err"; then | 6059 if test -z "$ac_err"; then |
6099 rm -rf conftest* | 6060 rm -rf conftest* |
6100 eval "ac_cv_header_$ac_safe=yes" | 6061 eval "ac_cv_header_$ac_safe=yes" |
6101 else | 6062 else |
6118 echo "$ac_t""no" 1>&6 | 6079 echo "$ac_t""no" 1>&6 |
6119 for ac_hdr in kerberosIV/krb.h | 6080 for ac_hdr in kerberosIV/krb.h |
6120 do | 6081 do |
6121 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 6082 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
6122 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 6083 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
6123 echo "configure:6124: checking for $ac_hdr" >&5 | 6084 echo "configure:6085: checking for $ac_hdr" >&5 |
6124 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 6085 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
6125 echo $ac_n "(cached) $ac_c" 1>&6 | 6086 echo $ac_n "(cached) $ac_c" 1>&6 |
6126 else | 6087 else |
6127 cat > conftest.$ac_ext <<EOF | 6088 cat > conftest.$ac_ext <<EOF |
6128 #line 6129 "configure" | 6089 #line 6090 "configure" |
6129 #include "confdefs.h" | 6090 #include "confdefs.h" |
6130 #include <$ac_hdr> | 6091 #include <$ac_hdr> |
6131 EOF | 6092 EOF |
6132 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6093 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6133 { (eval echo configure:6134: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6094 { (eval echo configure:6095: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6134 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6095 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6135 if test -z "$ac_err"; then | 6096 if test -z "$ac_err"; then |
6136 rm -rf conftest* | 6097 rm -rf conftest* |
6137 eval "ac_cv_header_$ac_safe=yes" | 6098 eval "ac_cv_header_$ac_safe=yes" |
6138 else | 6099 else |
6155 echo "$ac_t""no" 1>&6 | 6116 echo "$ac_t""no" 1>&6 |
6156 for ac_hdr in kerberos/krb.h | 6117 for ac_hdr in kerberos/krb.h |
6157 do | 6118 do |
6158 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 6119 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
6159 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 6120 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
6160 echo "configure:6161: checking for $ac_hdr" >&5 | 6121 echo "configure:6122: checking for $ac_hdr" >&5 |
6161 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 6122 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
6162 echo $ac_n "(cached) $ac_c" 1>&6 | 6123 echo $ac_n "(cached) $ac_c" 1>&6 |
6163 else | 6124 else |
6164 cat > conftest.$ac_ext <<EOF | 6125 cat > conftest.$ac_ext <<EOF |
6165 #line 6166 "configure" | 6126 #line 6127 "configure" |
6166 #include "confdefs.h" | 6127 #include "confdefs.h" |
6167 #include <$ac_hdr> | 6128 #include <$ac_hdr> |
6168 EOF | 6129 EOF |
6169 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6130 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6170 { (eval echo configure:6171: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6131 { (eval echo configure:6132: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6171 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6132 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6172 if test -z "$ac_err"; then | 6133 if test -z "$ac_err"; then |
6173 rm -rf conftest* | 6134 rm -rf conftest* |
6174 eval "ac_cv_header_$ac_safe=yes" | 6135 eval "ac_cv_header_$ac_safe=yes" |
6175 else | 6136 else |
6202 fi | 6163 fi |
6203 for ac_hdr in com_err.h | 6164 for ac_hdr in com_err.h |
6204 do | 6165 do |
6205 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 6166 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
6206 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 6167 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
6207 echo "configure:6208: checking for $ac_hdr" >&5 | 6168 echo "configure:6169: checking for $ac_hdr" >&5 |
6208 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 6169 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
6209 echo $ac_n "(cached) $ac_c" 1>&6 | 6170 echo $ac_n "(cached) $ac_c" 1>&6 |
6210 else | 6171 else |
6211 cat > conftest.$ac_ext <<EOF | 6172 cat > conftest.$ac_ext <<EOF |
6212 #line 6213 "configure" | 6173 #line 6174 "configure" |
6213 #include "confdefs.h" | 6174 #include "confdefs.h" |
6214 #include <$ac_hdr> | 6175 #include <$ac_hdr> |
6215 EOF | 6176 EOF |
6216 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6177 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6217 { (eval echo configure:6218: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6178 { (eval echo configure:6179: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6218 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6179 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6219 if test -z "$ac_err"; then | 6180 if test -z "$ac_err"; then |
6220 rm -rf conftest* | 6181 rm -rf conftest* |
6221 eval "ac_cv_header_$ac_safe=yes" | 6182 eval "ac_cv_header_$ac_safe=yes" |
6222 else | 6183 else |
6243 fi | 6204 fi |
6244 | 6205 |
6245 # Solaris requires -lintl if you want strerror (which calls dgettext) | 6206 # Solaris requires -lintl if you want strerror (which calls dgettext) |
6246 # to return localized messages. | 6207 # to return localized messages. |
6247 echo $ac_n "checking for dgettext in -lintl""... $ac_c" 1>&6 | 6208 echo $ac_n "checking for dgettext in -lintl""... $ac_c" 1>&6 |
6248 echo "configure:6249: checking for dgettext in -lintl" >&5 | 6209 echo "configure:6210: checking for dgettext in -lintl" >&5 |
6249 ac_lib_var=`echo intl'_'dgettext | sed 'y%./+-%__p_%'` | 6210 ac_lib_var=`echo intl'_'dgettext | sed 'y%./+-%__p_%'` |
6250 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 6211 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
6251 echo $ac_n "(cached) $ac_c" 1>&6 | 6212 echo $ac_n "(cached) $ac_c" 1>&6 |
6252 else | 6213 else |
6253 ac_save_LIBS="$LIBS" | 6214 ac_save_LIBS="$LIBS" |
6254 LIBS="-lintl $LIBS" | 6215 LIBS="-lintl $LIBS" |
6255 cat > conftest.$ac_ext <<EOF | 6216 cat > conftest.$ac_ext <<EOF |
6256 #line 6257 "configure" | 6217 #line 6218 "configure" |
6257 #include "confdefs.h" | 6218 #include "confdefs.h" |
6258 /* Override any gcc2 internal prototype to avoid an error. */ | 6219 /* Override any gcc2 internal prototype to avoid an error. */ |
6259 /* We use char because int might match the return type of a gcc2 | 6220 /* We use char because int might match the return type of a gcc2 |
6260 builtin and then its argument prototype would still apply. */ | 6221 builtin and then its argument prototype would still apply. */ |
6261 char dgettext(); | 6222 char dgettext(); |
6262 | 6223 |
6263 int main() { | 6224 int main() { |
6264 dgettext() | 6225 dgettext() |
6265 ; return 0; } | 6226 ; return 0; } |
6266 EOF | 6227 EOF |
6267 if { (eval echo configure:6268: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6228 if { (eval echo configure:6229: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6268 rm -rf conftest* | 6229 rm -rf conftest* |
6269 eval "ac_cv_lib_$ac_lib_var=yes" | 6230 eval "ac_cv_lib_$ac_lib_var=yes" |
6270 else | 6231 else |
6271 echo "configure: failed program was:" >&5 | 6232 echo "configure: failed program was:" >&5 |
6272 cat conftest.$ac_ext >&5 | 6233 cat conftest.$ac_ext >&5 |
6291 echo "$ac_t""no" 1>&6 | 6252 echo "$ac_t""no" 1>&6 |
6292 fi | 6253 fi |
6293 | 6254 |
6294 | 6255 |
6295 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 6256 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
6296 echo "configure:6297: checking whether localtime caches TZ" >&5 | 6257 echo "configure:6258: checking whether localtime caches TZ" >&5 |
6297 if eval "test \"`echo '$''{'emacs_cv_localtime_cache'+set}'`\" = set"; then | 6258 if eval "test \"`echo '$''{'emacs_cv_localtime_cache'+set}'`\" = set"; then |
6298 echo $ac_n "(cached) $ac_c" 1>&6 | 6259 echo $ac_n "(cached) $ac_c" 1>&6 |
6299 else | 6260 else |
6300 if test x$ac_cv_func_tzset = xyes; then | 6261 if test x$ac_cv_func_tzset = xyes; then |
6301 if test "$cross_compiling" = yes; then | 6262 if test "$cross_compiling" = yes; then |
6302 # If we have tzset, assume the worst when cross-compiling. | 6263 # If we have tzset, assume the worst when cross-compiling. |
6303 emacs_cv_localtime_cache=yes | 6264 emacs_cv_localtime_cache=yes |
6304 else | 6265 else |
6305 cat > conftest.$ac_ext <<EOF | 6266 cat > conftest.$ac_ext <<EOF |
6306 #line 6307 "configure" | 6267 #line 6268 "configure" |
6307 #include "confdefs.h" | 6268 #include "confdefs.h" |
6308 #include <time.h> | 6269 #include <time.h> |
6309 extern char **environ; | 6270 extern char **environ; |
6310 unset_TZ () | 6271 unset_TZ () |
6311 { | 6272 { |
6333 if (localtime (&now)->tm_hour != hour_unset) | 6294 if (localtime (&now)->tm_hour != hour_unset) |
6334 exit (1); | 6295 exit (1); |
6335 exit (0); | 6296 exit (0); |
6336 } | 6297 } |
6337 EOF | 6298 EOF |
6338 if { (eval echo configure:6339: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 6299 if { (eval echo configure:6300: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
6339 then | 6300 then |
6340 emacs_cv_localtime_cache=no | 6301 emacs_cv_localtime_cache=no |
6341 else | 6302 else |
6342 echo "configure: failed program was:" >&5 | 6303 echo "configure: failed program was:" >&5 |
6343 cat conftest.$ac_ext >&5 | 6304 cat conftest.$ac_ext >&5 |
6361 | 6322 |
6362 fi | 6323 fi |
6363 | 6324 |
6364 if test "x$HAVE_TIMEVAL" = xyes; then | 6325 if test "x$HAVE_TIMEVAL" = xyes; then |
6365 echo $ac_n "checking whether gettimeofday can accept two arguments""... $ac_c" 1>&6 | 6326 echo $ac_n "checking whether gettimeofday can accept two arguments""... $ac_c" 1>&6 |
6366 echo "configure:6367: checking whether gettimeofday can accept two arguments" >&5 | 6327 echo "configure:6328: checking whether gettimeofday can accept two arguments" >&5 |
6367 if eval "test \"`echo '$''{'emacs_cv_gettimeofday_two_arguments'+set}'`\" = set"; then | 6328 if eval "test \"`echo '$''{'emacs_cv_gettimeofday_two_arguments'+set}'`\" = set"; then |
6368 echo $ac_n "(cached) $ac_c" 1>&6 | 6329 echo $ac_n "(cached) $ac_c" 1>&6 |
6369 else | 6330 else |
6370 cat > conftest.$ac_ext <<EOF | 6331 cat > conftest.$ac_ext <<EOF |
6371 #line 6372 "configure" | 6332 #line 6333 "configure" |
6372 #include "confdefs.h" | 6333 #include "confdefs.h" |
6373 | 6334 |
6374 #ifdef TIME_WITH_SYS_TIME | 6335 #ifdef TIME_WITH_SYS_TIME |
6375 #include <sys/time.h> | 6336 #include <sys/time.h> |
6376 #include <time.h> | 6337 #include <time.h> |
6388 struct timezone dummy; | 6349 struct timezone dummy; |
6389 gettimeofday (&time, &dummy); | 6350 gettimeofday (&time, &dummy); |
6390 | 6351 |
6391 ; return 0; } | 6352 ; return 0; } |
6392 EOF | 6353 EOF |
6393 if { (eval echo configure:6394: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6354 if { (eval echo configure:6355: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6394 rm -rf conftest* | 6355 rm -rf conftest* |
6395 emacs_cv_gettimeofday_two_arguments=yes | 6356 emacs_cv_gettimeofday_two_arguments=yes |
6396 else | 6357 else |
6397 echo "configure: failed program was:" >&5 | 6358 echo "configure: failed program was:" >&5 |
6398 cat conftest.$ac_ext >&5 | 6359 cat conftest.$ac_ext >&5 |
6411 fi | 6372 fi |
6412 fi | 6373 fi |
6413 | 6374 |
6414 ok_so_far=yes | 6375 ok_so_far=yes |
6415 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 6376 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
6416 echo "configure:6417: checking for socket" >&5 | 6377 echo "configure:6378: checking for socket" >&5 |
6417 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then | 6378 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then |
6418 echo $ac_n "(cached) $ac_c" 1>&6 | 6379 echo $ac_n "(cached) $ac_c" 1>&6 |
6419 else | 6380 else |
6420 cat > conftest.$ac_ext <<EOF | 6381 cat > conftest.$ac_ext <<EOF |
6421 #line 6422 "configure" | 6382 #line 6383 "configure" |
6422 #include "confdefs.h" | 6383 #include "confdefs.h" |
6423 /* System header to define __stub macros and hopefully few prototypes, | 6384 /* System header to define __stub macros and hopefully few prototypes, |
6424 which can conflict with char socket(); below. */ | 6385 which can conflict with char socket(); below. */ |
6425 #include <assert.h> | 6386 #include <assert.h> |
6426 /* Override any gcc2 internal prototype to avoid an error. */ | 6387 /* Override any gcc2 internal prototype to avoid an error. */ |
6439 socket(); | 6400 socket(); |
6440 #endif | 6401 #endif |
6441 | 6402 |
6442 ; return 0; } | 6403 ; return 0; } |
6443 EOF | 6404 EOF |
6444 if { (eval echo configure:6445: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6405 if { (eval echo configure:6406: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6445 rm -rf conftest* | 6406 rm -rf conftest* |
6446 eval "ac_cv_func_socket=yes" | 6407 eval "ac_cv_func_socket=yes" |
6447 else | 6408 else |
6448 echo "configure: failed program was:" >&5 | 6409 echo "configure: failed program was:" >&5 |
6449 cat conftest.$ac_ext >&5 | 6410 cat conftest.$ac_ext >&5 |
6462 fi | 6423 fi |
6463 | 6424 |
6464 if test $ok_so_far = yes; then | 6425 if test $ok_so_far = yes; then |
6465 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 6426 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
6466 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 6427 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
6467 echo "configure:6468: checking for netinet/in.h" >&5 | 6428 echo "configure:6429: checking for netinet/in.h" >&5 |
6468 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 6429 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
6469 echo $ac_n "(cached) $ac_c" 1>&6 | 6430 echo $ac_n "(cached) $ac_c" 1>&6 |
6470 else | 6431 else |
6471 cat > conftest.$ac_ext <<EOF | 6432 cat > conftest.$ac_ext <<EOF |
6472 #line 6473 "configure" | 6433 #line 6434 "configure" |
6473 #include "confdefs.h" | 6434 #include "confdefs.h" |
6474 #include <netinet/in.h> | 6435 #include <netinet/in.h> |
6475 EOF | 6436 EOF |
6476 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6437 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6477 { (eval echo configure:6478: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6438 { (eval echo configure:6439: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6478 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6439 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6479 if test -z "$ac_err"; then | 6440 if test -z "$ac_err"; then |
6480 rm -rf conftest* | 6441 rm -rf conftest* |
6481 eval "ac_cv_header_$ac_safe=yes" | 6442 eval "ac_cv_header_$ac_safe=yes" |
6482 else | 6443 else |
6498 | 6459 |
6499 fi | 6460 fi |
6500 if test $ok_so_far = yes; then | 6461 if test $ok_so_far = yes; then |
6501 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 6462 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
6502 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 6463 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
6503 echo "configure:6504: checking for arpa/inet.h" >&5 | 6464 echo "configure:6465: checking for arpa/inet.h" >&5 |
6504 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 6465 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
6505 echo $ac_n "(cached) $ac_c" 1>&6 | 6466 echo $ac_n "(cached) $ac_c" 1>&6 |
6506 else | 6467 else |
6507 cat > conftest.$ac_ext <<EOF | 6468 cat > conftest.$ac_ext <<EOF |
6508 #line 6509 "configure" | 6469 #line 6470 "configure" |
6509 #include "confdefs.h" | 6470 #include "confdefs.h" |
6510 #include <arpa/inet.h> | 6471 #include <arpa/inet.h> |
6511 EOF | 6472 EOF |
6512 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6473 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6513 { (eval echo configure:6514: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6474 { (eval echo configure:6475: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6514 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6475 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6515 if test -z "$ac_err"; then | 6476 if test -z "$ac_err"; then |
6516 rm -rf conftest* | 6477 rm -rf conftest* |
6517 eval "ac_cv_header_$ac_safe=yes" | 6478 eval "ac_cv_header_$ac_safe=yes" |
6518 else | 6479 else |
6546 EOF | 6507 EOF |
6547 | 6508 |
6548 fi | 6509 fi |
6549 | 6510 |
6550 echo $ac_n "checking whether system supports dynamic ptys""... $ac_c" 1>&6 | 6511 echo $ac_n "checking whether system supports dynamic ptys""... $ac_c" 1>&6 |
6551 echo "configure:6552: checking whether system supports dynamic ptys" >&5 | 6512 echo "configure:6513: checking whether system supports dynamic ptys" >&5 |
6552 if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then | 6513 if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then |
6553 echo "$ac_t""yes" 1>&6 | 6514 echo "$ac_t""yes" 1>&6 |
6554 cat >> confdefs.h <<\EOF | 6515 cat >> confdefs.h <<\EOF |
6555 #define HAVE_DEV_PTMX 1 | 6516 #define HAVE_DEV_PTMX 1 |
6556 EOF | 6517 EOF |
6558 else | 6519 else |
6559 echo "$ac_t""no" 1>&6 | 6520 echo "$ac_t""no" 1>&6 |
6560 fi | 6521 fi |
6561 | 6522 |
6562 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 | 6523 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 |
6563 echo "configure:6564: checking for pid_t" >&5 | 6524 echo "configure:6525: checking for pid_t" >&5 |
6564 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then | 6525 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then |
6565 echo $ac_n "(cached) $ac_c" 1>&6 | 6526 echo $ac_n "(cached) $ac_c" 1>&6 |
6566 else | 6527 else |
6567 cat > conftest.$ac_ext <<EOF | 6528 cat > conftest.$ac_ext <<EOF |
6568 #line 6569 "configure" | 6529 #line 6530 "configure" |
6569 #include "confdefs.h" | 6530 #include "confdefs.h" |
6570 #include <sys/types.h> | 6531 #include <sys/types.h> |
6571 #if STDC_HEADERS | 6532 #if STDC_HEADERS |
6572 #include <stdlib.h> | 6533 #include <stdlib.h> |
6573 #include <stddef.h> | 6534 #include <stddef.h> |
6592 | 6553 |
6593 fi | 6554 fi |
6594 | 6555 |
6595 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` | 6556 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` |
6596 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 | 6557 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 |
6597 echo "configure:6598: checking for vfork.h" >&5 | 6558 echo "configure:6559: checking for vfork.h" >&5 |
6598 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 6559 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
6599 echo $ac_n "(cached) $ac_c" 1>&6 | 6560 echo $ac_n "(cached) $ac_c" 1>&6 |
6600 else | 6561 else |
6601 cat > conftest.$ac_ext <<EOF | 6562 cat > conftest.$ac_ext <<EOF |
6602 #line 6603 "configure" | 6563 #line 6564 "configure" |
6603 #include "confdefs.h" | 6564 #include "confdefs.h" |
6604 #include <vfork.h> | 6565 #include <vfork.h> |
6605 EOF | 6566 EOF |
6606 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6567 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6607 { (eval echo configure:6608: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6568 { (eval echo configure:6569: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6608 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6569 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6609 if test -z "$ac_err"; then | 6570 if test -z "$ac_err"; then |
6610 rm -rf conftest* | 6571 rm -rf conftest* |
6611 eval "ac_cv_header_$ac_safe=yes" | 6572 eval "ac_cv_header_$ac_safe=yes" |
6612 else | 6573 else |
6627 else | 6588 else |
6628 echo "$ac_t""no" 1>&6 | 6589 echo "$ac_t""no" 1>&6 |
6629 fi | 6590 fi |
6630 | 6591 |
6631 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 | 6592 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 |
6632 echo "configure:6633: checking for working vfork" >&5 | 6593 echo "configure:6594: checking for working vfork" >&5 |
6633 if eval "test \"`echo '$''{'ac_cv_func_vfork_works'+set}'`\" = set"; then | 6594 if eval "test \"`echo '$''{'ac_cv_func_vfork_works'+set}'`\" = set"; then |
6634 echo $ac_n "(cached) $ac_c" 1>&6 | 6595 echo $ac_n "(cached) $ac_c" 1>&6 |
6635 else | 6596 else |
6636 if test "$cross_compiling" = yes; then | 6597 if test "$cross_compiling" = yes; then |
6637 echo $ac_n "checking for vfork""... $ac_c" 1>&6 | 6598 echo $ac_n "checking for vfork""... $ac_c" 1>&6 |
6638 echo "configure:6639: checking for vfork" >&5 | 6599 echo "configure:6600: checking for vfork" >&5 |
6639 if eval "test \"`echo '$''{'ac_cv_func_vfork'+set}'`\" = set"; then | 6600 if eval "test \"`echo '$''{'ac_cv_func_vfork'+set}'`\" = set"; then |
6640 echo $ac_n "(cached) $ac_c" 1>&6 | 6601 echo $ac_n "(cached) $ac_c" 1>&6 |
6641 else | 6602 else |
6642 cat > conftest.$ac_ext <<EOF | 6603 cat > conftest.$ac_ext <<EOF |
6643 #line 6644 "configure" | 6604 #line 6605 "configure" |
6644 #include "confdefs.h" | 6605 #include "confdefs.h" |
6645 /* System header to define __stub macros and hopefully few prototypes, | 6606 /* System header to define __stub macros and hopefully few prototypes, |
6646 which can conflict with char vfork(); below. */ | 6607 which can conflict with char vfork(); below. */ |
6647 #include <assert.h> | 6608 #include <assert.h> |
6648 /* Override any gcc2 internal prototype to avoid an error. */ | 6609 /* Override any gcc2 internal prototype to avoid an error. */ |
6661 vfork(); | 6622 vfork(); |
6662 #endif | 6623 #endif |
6663 | 6624 |
6664 ; return 0; } | 6625 ; return 0; } |
6665 EOF | 6626 EOF |
6666 if { (eval echo configure:6667: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6627 if { (eval echo configure:6628: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6667 rm -rf conftest* | 6628 rm -rf conftest* |
6668 eval "ac_cv_func_vfork=yes" | 6629 eval "ac_cv_func_vfork=yes" |
6669 else | 6630 else |
6670 echo "configure: failed program was:" >&5 | 6631 echo "configure: failed program was:" >&5 |
6671 cat conftest.$ac_ext >&5 | 6632 cat conftest.$ac_ext >&5 |
6683 fi | 6644 fi |
6684 | 6645 |
6685 ac_cv_func_vfork_works=$ac_cv_func_vfork | 6646 ac_cv_func_vfork_works=$ac_cv_func_vfork |
6686 else | 6647 else |
6687 cat > conftest.$ac_ext <<EOF | 6648 cat > conftest.$ac_ext <<EOF |
6688 #line 6689 "configure" | 6649 #line 6650 "configure" |
6689 #include "confdefs.h" | 6650 #include "confdefs.h" |
6690 /* Thanks to Paul Eggert for this test. */ | 6651 /* Thanks to Paul Eggert for this test. */ |
6691 #include <stdio.h> | 6652 #include <stdio.h> |
6692 #include <sys/types.h> | 6653 #include <sys/types.h> |
6693 #include <sys/stat.h> | 6654 #include <sys/stat.h> |
6778 || fstat(fileno(stdout), &st) != 0 | 6739 || fstat(fileno(stdout), &st) != 0 |
6779 ); | 6740 ); |
6780 } | 6741 } |
6781 } | 6742 } |
6782 EOF | 6743 EOF |
6783 if { (eval echo configure:6784: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 6744 if { (eval echo configure:6745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
6784 then | 6745 then |
6785 ac_cv_func_vfork_works=yes | 6746 ac_cv_func_vfork_works=yes |
6786 else | 6747 else |
6787 echo "configure: failed program was:" >&5 | 6748 echo "configure: failed program was:" >&5 |
6788 cat conftest.$ac_ext >&5 | 6749 cat conftest.$ac_ext >&5 |