Mercurial > emacs
comparison configure @ 29388:315367ef0316
*** empty log message ***
author | Dave Love <fx@gnu.org> |
---|---|
date | Fri, 02 Jun 2000 15:46:19 +0000 |
parents | d700ca6acc99 |
children | 16fbddb97bd4 |
comparison
equal
deleted
inserted
replaced
29387:2ead157165c4 | 29388:315367ef0316 |
---|---|
36 ac_help="$ac_help | 36 ac_help="$ac_help |
37 --without-toolkit-scroll-bars | 37 --without-toolkit-scroll-bars |
38 don't use Motif or Xaw3d scroll bars" | 38 don't use Motif or Xaw3d scroll bars" |
39 ac_help="$ac_help | 39 ac_help="$ac_help |
40 --with-x use the X Window System" | 40 --with-x use the X Window System" |
41 ac_help="$ac_help | |
42 --disable-largefile omit support for large files" | |
41 | 43 |
42 # Initialize some variables set by options. | 44 # Initialize some variables set by options. |
43 # The variables have the same names as the options, with | 45 # The variables have the same names as the options, with |
44 # dashes changed to underlines. | 46 # dashes changed to underlines. |
45 build=NONE | 47 build=NONE |
743 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then : | 745 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then : |
744 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } | 746 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } |
745 fi | 747 fi |
746 | 748 |
747 echo $ac_n "checking host system type""... $ac_c" 1>&6 | 749 echo $ac_n "checking host system type""... $ac_c" 1>&6 |
748 echo "configure:749: checking host system type" >&5 | 750 echo "configure:751: checking host system type" >&5 |
749 | 751 |
750 host_alias=$host | 752 host_alias=$host |
751 case "$host_alias" in | 753 case "$host_alias" in |
752 NONE) | 754 NONE) |
753 case $nonopt in | 755 case $nonopt in |
1405 machine=iris4d opsys=irix6-5 | 1407 machine=iris4d opsys=irix6-5 |
1406 # Without defining _LANGUAGE_C, things get masked out in the headers | 1408 # Without defining _LANGUAGE_C, things get masked out in the headers |
1407 # so that, for instance, grepping for `free' in stdlib.h fails and | 1409 # so that, for instance, grepping for `free' in stdlib.h fails and |
1408 # AC_HEADER_STD_C fails. (MIPSPro 7.2.1.2m compilers, Irix 6.5.3m). | 1410 # AC_HEADER_STD_C fails. (MIPSPro 7.2.1.2m compilers, Irix 6.5.3m). |
1409 NON_GNU_CPP="/lib/cpp -D_LANGUAGE_C" | 1411 NON_GNU_CPP="/lib/cpp -D_LANGUAGE_C" |
1410 NON_GCC_TEST_OPTIONS="-n32 -D_LANGUAGE_C" | 1412 NON_GCC_TEST_OPTIONS="-D_LANGUAGE_C" |
1411 ;; | 1413 ;; |
1412 mips-sgi-irix6* ) | 1414 mips-sgi-irix6* ) |
1413 machine=iris4d opsys=irix6-0 | 1415 machine=iris4d opsys=irix6-0 |
1414 # It's not clear whether -D_LANGUAGE_C is necessary as it is for 6.5, | 1416 # It's not clear whether -D_LANGUAGE_C is necessary as it is for 6.5, |
1415 # but presumably it does no harm. | 1417 # but presumably it does no harm. |
1416 NON_GNU_CPP="/lib/cpp -D_LANGUAGE_C" | 1418 NON_GNU_CPP="/lib/cpp -D_LANGUAGE_C" |
1419 # -32 probably isn't necessary in later v.6s -- anyone know which? | |
1417 NON_GCC_TEST_OPTIONS=-32 | 1420 NON_GCC_TEST_OPTIONS=-32 |
1418 ;; | 1421 ;; |
1419 mips-sgi-irix5.[01]* ) | 1422 mips-sgi-irix5.[01]* ) |
1420 machine=iris4d opsys=irix5-0 | 1423 machine=iris4d opsys=irix5-0 |
1421 ;; | 1424 ;; |
1708 "yes" ) CC="gcc" GCC=yes ;; | 1711 "yes" ) CC="gcc" GCC=yes ;; |
1709 "no" ) : ${CC=cc} ;; | 1712 "no" ) : ${CC=cc} ;; |
1710 * ) # Extract the first word of "gcc", so it can be a program name with args. | 1713 * ) # Extract the first word of "gcc", so it can be a program name with args. |
1711 set dummy gcc; ac_word=$2 | 1714 set dummy gcc; ac_word=$2 |
1712 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1715 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1713 echo "configure:1714: checking for $ac_word" >&5 | 1716 echo "configure:1717: checking for $ac_word" >&5 |
1714 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | 1717 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
1715 echo $ac_n "(cached) $ac_c" 1>&6 | 1718 echo $ac_n "(cached) $ac_c" 1>&6 |
1716 else | 1719 else |
1717 if test -n "$CC"; then | 1720 if test -n "$CC"; then |
1718 ac_cv_prog_CC="$CC" # Let the user override the test. | 1721 ac_cv_prog_CC="$CC" # Let the user override the test. |
1738 | 1741 |
1739 if test -z "$CC"; then | 1742 if test -z "$CC"; then |
1740 # Extract the first word of "cc", so it can be a program name with args. | 1743 # Extract the first word of "cc", so it can be a program name with args. |
1741 set dummy cc; ac_word=$2 | 1744 set dummy cc; ac_word=$2 |
1742 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1745 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1743 echo "configure:1744: checking for $ac_word" >&5 | 1746 echo "configure:1747: checking for $ac_word" >&5 |
1744 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | 1747 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
1745 echo $ac_n "(cached) $ac_c" 1>&6 | 1748 echo $ac_n "(cached) $ac_c" 1>&6 |
1746 else | 1749 else |
1747 if test -n "$CC"; then | 1750 if test -n "$CC"; then |
1748 ac_cv_prog_CC="$CC" # Let the user override the test. | 1751 ac_cv_prog_CC="$CC" # Let the user override the test. |
1789 case "`uname -s`" in | 1792 case "`uname -s`" in |
1790 *win32* | *WIN32*) | 1793 *win32* | *WIN32*) |
1791 # Extract the first word of "cl", so it can be a program name with args. | 1794 # Extract the first word of "cl", so it can be a program name with args. |
1792 set dummy cl; ac_word=$2 | 1795 set dummy cl; ac_word=$2 |
1793 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1796 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1794 echo "configure:1795: checking for $ac_word" >&5 | 1797 echo "configure:1798: checking for $ac_word" >&5 |
1795 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | 1798 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
1796 echo $ac_n "(cached) $ac_c" 1>&6 | 1799 echo $ac_n "(cached) $ac_c" 1>&6 |
1797 else | 1800 else |
1798 if test -n "$CC"; then | 1801 if test -n "$CC"; then |
1799 ac_cv_prog_CC="$CC" # Let the user override the test. | 1802 ac_cv_prog_CC="$CC" # Let the user override the test. |
1821 fi | 1824 fi |
1822 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1825 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
1823 fi | 1826 fi |
1824 | 1827 |
1825 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1828 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
1826 echo "configure:1827: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1829 echo "configure:1830: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
1827 | 1830 |
1828 ac_ext=c | 1831 ac_ext=c |
1829 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. | 1832 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
1830 ac_cpp='$CPP $CPPFLAGS' | 1833 ac_cpp='$CPP $CPPFLAGS' |
1831 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' | 1834 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' |
1832 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' | 1835 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
1833 cross_compiling=$ac_cv_prog_cc_cross | 1836 cross_compiling=$ac_cv_prog_cc_cross |
1834 | 1837 |
1835 cat > conftest.$ac_ext << EOF | 1838 cat > conftest.$ac_ext << EOF |
1836 | 1839 |
1837 #line 1838 "configure" | 1840 #line 1841 "configure" |
1838 #include "confdefs.h" | 1841 #include "confdefs.h" |
1839 | 1842 |
1840 main(){return(0);} | 1843 main(){return(0);} |
1841 EOF | 1844 EOF |
1842 if { (eval echo configure:1843: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1845 if { (eval echo configure:1846: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1843 ac_cv_prog_cc_works=yes | 1846 ac_cv_prog_cc_works=yes |
1844 # If we can't run a trivial program, we are probably using a cross compiler. | 1847 # If we can't run a trivial program, we are probably using a cross compiler. |
1845 if (./conftest; exit) 2>/dev/null; then | 1848 if (./conftest; exit) 2>/dev/null; then |
1846 ac_cv_prog_cc_cross=no | 1849 ac_cv_prog_cc_cross=no |
1847 else | 1850 else |
1863 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1866 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
1864 if test $ac_cv_prog_cc_works = no; then | 1867 if test $ac_cv_prog_cc_works = no; then |
1865 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1868 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
1866 fi | 1869 fi |
1867 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1870 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
1868 echo "configure:1869: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1871 echo "configure:1872: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
1869 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1872 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
1870 cross_compiling=$ac_cv_prog_cc_cross | 1873 cross_compiling=$ac_cv_prog_cc_cross |
1871 | 1874 |
1872 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1875 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
1873 echo "configure:1874: checking whether we are using GNU C" >&5 | 1876 echo "configure:1877: checking whether we are using GNU C" >&5 |
1874 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then | 1877 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then |
1875 echo $ac_n "(cached) $ac_c" 1>&6 | 1878 echo $ac_n "(cached) $ac_c" 1>&6 |
1876 else | 1879 else |
1877 cat > conftest.c <<EOF | 1880 cat > conftest.c <<EOF |
1878 #ifdef __GNUC__ | 1881 #ifdef __GNUC__ |
1879 yes; | 1882 yes; |
1880 #endif | 1883 #endif |
1881 EOF | 1884 EOF |
1882 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1883: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1885 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1886: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
1883 ac_cv_prog_gcc=yes | 1886 ac_cv_prog_gcc=yes |
1884 else | 1887 else |
1885 ac_cv_prog_gcc=no | 1888 ac_cv_prog_gcc=no |
1886 fi | 1889 fi |
1887 fi | 1890 fi |
1896 | 1899 |
1897 ac_test_CFLAGS="${CFLAGS+set}" | 1900 ac_test_CFLAGS="${CFLAGS+set}" |
1898 ac_save_CFLAGS="$CFLAGS" | 1901 ac_save_CFLAGS="$CFLAGS" |
1899 CFLAGS= | 1902 CFLAGS= |
1900 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1903 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
1901 echo "configure:1902: checking whether ${CC-cc} accepts -g" >&5 | 1904 echo "configure:1905: checking whether ${CC-cc} accepts -g" >&5 |
1902 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then | 1905 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then |
1903 echo $ac_n "(cached) $ac_c" 1>&6 | 1906 echo $ac_n "(cached) $ac_c" 1>&6 |
1904 else | 1907 else |
1905 echo 'void f(){}' > conftest.c | 1908 echo 'void f(){}' > conftest.c |
1906 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1909 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
1976 #### Some other nice autoconf tests. If you add a test here which | 1979 #### Some other nice autoconf tests. If you add a test here which |
1977 #### should make an entry in src/config.h, don't forget to add an | 1980 #### should make an entry in src/config.h, don't forget to add an |
1978 #### #undef clause to src/config.h.in for autoconf to modify. | 1981 #### #undef clause to src/config.h.in for autoconf to modify. |
1979 | 1982 |
1980 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 | 1983 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 |
1981 echo "configure:1982: checking whether ln -s works" >&5 | 1984 echo "configure:1985: checking whether ln -s works" >&5 |
1982 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then | 1985 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then |
1983 echo $ac_n "(cached) $ac_c" 1>&6 | 1986 echo $ac_n "(cached) $ac_c" 1>&6 |
1984 else | 1987 else |
1985 rm -f conftestdata | 1988 rm -f conftestdata |
1986 if ln -s X conftestdata 2>/dev/null | 1989 if ln -s X conftestdata 2>/dev/null |
1997 else | 2000 else |
1998 echo "$ac_t""no" 1>&6 | 2001 echo "$ac_t""no" 1>&6 |
1999 fi | 2002 fi |
2000 | 2003 |
2001 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 | 2004 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
2002 echo "configure:2003: checking how to run the C preprocessor" >&5 | 2005 echo "configure:2006: checking how to run the C preprocessor" >&5 |
2003 # On Suns, sometimes $CPP names a directory. | 2006 # On Suns, sometimes $CPP names a directory. |
2004 if test -n "$CPP" && test -d "$CPP"; then | 2007 if test -n "$CPP" && test -d "$CPP"; then |
2005 CPP= | 2008 CPP= |
2006 fi | 2009 fi |
2007 if test -z "$CPP"; then | 2010 if test -z "$CPP"; then |
2012 # substituted into the Makefile and "${CC-cc}" will confuse make. | 2015 # substituted into the Makefile and "${CC-cc}" will confuse make. |
2013 CPP="${CC-cc} -E" | 2016 CPP="${CC-cc} -E" |
2014 # On the NeXT, cc -E runs the code through the compiler's parser, | 2017 # On the NeXT, cc -E runs the code through the compiler's parser, |
2015 # not just through cpp. | 2018 # not just through cpp. |
2016 cat > conftest.$ac_ext <<EOF | 2019 cat > conftest.$ac_ext <<EOF |
2017 #line 2018 "configure" | 2020 #line 2021 "configure" |
2018 #include "confdefs.h" | 2021 #include "confdefs.h" |
2019 #include <assert.h> | 2022 #include <assert.h> |
2020 Syntax Error | 2023 Syntax Error |
2021 EOF | 2024 EOF |
2022 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2025 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2023 { (eval echo configure:2024: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2026 { (eval echo configure:2027: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2024 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2027 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2025 if test -z "$ac_err"; then | 2028 if test -z "$ac_err"; then |
2026 : | 2029 : |
2027 else | 2030 else |
2028 echo "$ac_err" >&5 | 2031 echo "$ac_err" >&5 |
2029 echo "configure: failed program was:" >&5 | 2032 echo "configure: failed program was:" >&5 |
2030 cat conftest.$ac_ext >&5 | 2033 cat conftest.$ac_ext >&5 |
2031 rm -rf conftest* | 2034 rm -rf conftest* |
2032 CPP="${CC-cc} -E -traditional-cpp" | 2035 CPP="${CC-cc} -E -traditional-cpp" |
2033 cat > conftest.$ac_ext <<EOF | 2036 cat > conftest.$ac_ext <<EOF |
2034 #line 2035 "configure" | 2037 #line 2038 "configure" |
2035 #include "confdefs.h" | 2038 #include "confdefs.h" |
2036 #include <assert.h> | 2039 #include <assert.h> |
2037 Syntax Error | 2040 Syntax Error |
2038 EOF | 2041 EOF |
2039 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2042 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2040 { (eval echo configure:2041: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2043 { (eval echo configure:2044: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2041 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2044 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2042 if test -z "$ac_err"; then | 2045 if test -z "$ac_err"; then |
2043 : | 2046 : |
2044 else | 2047 else |
2045 echo "$ac_err" >&5 | 2048 echo "$ac_err" >&5 |
2046 echo "configure: failed program was:" >&5 | 2049 echo "configure: failed program was:" >&5 |
2047 cat conftest.$ac_ext >&5 | 2050 cat conftest.$ac_ext >&5 |
2048 rm -rf conftest* | 2051 rm -rf conftest* |
2049 CPP="${CC-cc} -nologo -E" | 2052 CPP="${CC-cc} -nologo -E" |
2050 cat > conftest.$ac_ext <<EOF | 2053 cat > conftest.$ac_ext <<EOF |
2051 #line 2052 "configure" | 2054 #line 2055 "configure" |
2052 #include "confdefs.h" | 2055 #include "confdefs.h" |
2053 #include <assert.h> | 2056 #include <assert.h> |
2054 Syntax Error | 2057 Syntax Error |
2055 EOF | 2058 EOF |
2056 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2059 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2057 { (eval echo configure:2058: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2060 { (eval echo configure:2061: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2058 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2061 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2059 if test -z "$ac_err"; then | 2062 if test -z "$ac_err"; then |
2060 : | 2063 : |
2061 else | 2064 else |
2062 echo "$ac_err" >&5 | 2065 echo "$ac_err" >&5 |
2088 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | 2091 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
2089 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 2092 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
2090 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 2093 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
2091 # ./install, which can be erroneously created by make from ./install.sh. | 2094 # ./install, which can be erroneously created by make from ./install.sh. |
2092 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | 2095 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
2093 echo "configure:2094: checking for a BSD compatible install" >&5 | 2096 echo "configure:2097: checking for a BSD compatible install" >&5 |
2094 if test -z "$INSTALL"; then | 2097 if test -z "$INSTALL"; then |
2095 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then | 2098 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then |
2096 echo $ac_n "(cached) $ac_c" 1>&6 | 2099 echo $ac_n "(cached) $ac_c" 1>&6 |
2097 else | 2100 else |
2098 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" | 2101 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" |
2145 for ac_prog in 'bison -y' byacc | 2148 for ac_prog in 'bison -y' byacc |
2146 do | 2149 do |
2147 # Extract the first word of "$ac_prog", so it can be a program name with args. | 2150 # Extract the first word of "$ac_prog", so it can be a program name with args. |
2148 set dummy $ac_prog; ac_word=$2 | 2151 set dummy $ac_prog; ac_word=$2 |
2149 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2152 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2150 echo "configure:2151: checking for $ac_word" >&5 | 2153 echo "configure:2154: checking for $ac_word" >&5 |
2151 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then | 2154 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then |
2152 echo $ac_n "(cached) $ac_c" 1>&6 | 2155 echo $ac_n "(cached) $ac_c" 1>&6 |
2153 else | 2156 else |
2154 if test -n "$YACC"; then | 2157 if test -n "$YACC"; then |
2155 ac_cv_prog_YACC="$YACC" # Let the user override the test. | 2158 ac_cv_prog_YACC="$YACC" # Let the user override the test. |
2179 | 2182 |
2180 if test "x$RANLIB" = x; then | 2183 if test "x$RANLIB" = x; then |
2181 # Extract the first word of "ranlib", so it can be a program name with args. | 2184 # Extract the first word of "ranlib", so it can be a program name with args. |
2182 set dummy ranlib; ac_word=$2 | 2185 set dummy ranlib; ac_word=$2 |
2183 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2186 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2184 echo "configure:2185: checking for $ac_word" >&5 | 2187 echo "configure:2188: checking for $ac_word" >&5 |
2185 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then | 2188 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then |
2186 echo $ac_n "(cached) $ac_c" 1>&6 | 2189 echo $ac_n "(cached) $ac_c" 1>&6 |
2187 else | 2190 else |
2188 if test -n "$RANLIB"; then | 2191 if test -n "$RANLIB"; then |
2189 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 2192 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
2209 fi | 2212 fi |
2210 | 2213 |
2211 fi | 2214 fi |
2212 | 2215 |
2213 echo $ac_n "checking for AIX""... $ac_c" 1>&6 | 2216 echo $ac_n "checking for AIX""... $ac_c" 1>&6 |
2214 echo "configure:2215: checking for AIX" >&5 | 2217 echo "configure:2218: checking for AIX" >&5 |
2215 cat > conftest.$ac_ext <<EOF | 2218 cat > conftest.$ac_ext <<EOF |
2216 #line 2217 "configure" | 2219 #line 2220 "configure" |
2217 #include "confdefs.h" | 2220 #include "confdefs.h" |
2218 #ifdef _AIX | 2221 #ifdef _AIX |
2219 yes | 2222 yes |
2220 #endif | 2223 #endif |
2221 | 2224 |
2238 # Sound support for GNU/Linux and the free BSDs. | 2241 # Sound support for GNU/Linux and the free BSDs. |
2239 for ac_hdr in machine/soundcard.h sys/soundcard.h | 2242 for ac_hdr in machine/soundcard.h sys/soundcard.h |
2240 do | 2243 do |
2241 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 2244 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
2242 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2245 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
2243 echo "configure:2244: checking for $ac_hdr" >&5 | 2246 echo "configure:2247: checking for $ac_hdr" >&5 |
2244 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 2247 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
2245 echo $ac_n "(cached) $ac_c" 1>&6 | 2248 echo $ac_n "(cached) $ac_c" 1>&6 |
2246 else | 2249 else |
2247 cat > conftest.$ac_ext <<EOF | 2250 cat > conftest.$ac_ext <<EOF |
2248 #line 2249 "configure" | 2251 #line 2252 "configure" |
2249 #include "confdefs.h" | 2252 #include "confdefs.h" |
2250 #include <$ac_hdr> | 2253 #include <$ac_hdr> |
2251 EOF | 2254 EOF |
2252 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2255 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2253 { (eval echo configure:2254: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2256 { (eval echo configure:2257: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2254 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2257 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2255 if test -z "$ac_err"; then | 2258 if test -z "$ac_err"; then |
2256 rm -rf conftest* | 2259 rm -rf conftest* |
2257 eval "ac_cv_header_$ac_safe=yes" | 2260 eval "ac_cv_header_$ac_safe=yes" |
2258 else | 2261 else |
2281 linux/version.h sys/systeminfo.h termios.h limits.h string.h stdlib.h \ | 2284 linux/version.h sys/systeminfo.h termios.h limits.h string.h stdlib.h \ |
2282 termcap.h stdio_ext.h | 2285 termcap.h stdio_ext.h |
2283 do | 2286 do |
2284 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 2287 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
2285 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2288 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
2286 echo "configure:2287: checking for $ac_hdr" >&5 | 2289 echo "configure:2290: checking for $ac_hdr" >&5 |
2287 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 2290 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
2288 echo $ac_n "(cached) $ac_c" 1>&6 | 2291 echo $ac_n "(cached) $ac_c" 1>&6 |
2289 else | 2292 else |
2290 cat > conftest.$ac_ext <<EOF | 2293 cat > conftest.$ac_ext <<EOF |
2291 #line 2292 "configure" | 2294 #line 2295 "configure" |
2292 #include "confdefs.h" | 2295 #include "confdefs.h" |
2293 #include <$ac_hdr> | 2296 #include <$ac_hdr> |
2294 EOF | 2297 EOF |
2295 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2298 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2296 { (eval echo configure:2297: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2299 { (eval echo configure:2300: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2297 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2300 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2298 if test -z "$ac_err"; then | 2301 if test -z "$ac_err"; then |
2299 rm -rf conftest* | 2302 rm -rf conftest* |
2300 eval "ac_cv_header_$ac_safe=yes" | 2303 eval "ac_cv_header_$ac_safe=yes" |
2301 else | 2304 else |
2318 echo "$ac_t""no" 1>&6 | 2321 echo "$ac_t""no" 1>&6 |
2319 fi | 2322 fi |
2320 done | 2323 done |
2321 | 2324 |
2322 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | 2325 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
2323 echo "configure:2324: checking for ANSI C header files" >&5 | 2326 echo "configure:2327: checking for ANSI C header files" >&5 |
2324 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then | 2327 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then |
2325 echo $ac_n "(cached) $ac_c" 1>&6 | 2328 echo $ac_n "(cached) $ac_c" 1>&6 |
2326 else | 2329 else |
2327 cat > conftest.$ac_ext <<EOF | 2330 cat > conftest.$ac_ext <<EOF |
2328 #line 2329 "configure" | 2331 #line 2332 "configure" |
2329 #include "confdefs.h" | 2332 #include "confdefs.h" |
2330 #include <stdlib.h> | 2333 #include <stdlib.h> |
2331 #include <stdarg.h> | 2334 #include <stdarg.h> |
2332 #include <string.h> | 2335 #include <string.h> |
2333 #include <float.h> | 2336 #include <float.h> |
2334 EOF | 2337 EOF |
2335 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2338 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2336 { (eval echo configure:2337: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2339 { (eval echo configure:2340: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2337 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2340 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2338 if test -z "$ac_err"; then | 2341 if test -z "$ac_err"; then |
2339 rm -rf conftest* | 2342 rm -rf conftest* |
2340 ac_cv_header_stdc=yes | 2343 ac_cv_header_stdc=yes |
2341 else | 2344 else |
2348 rm -f conftest* | 2351 rm -f conftest* |
2349 | 2352 |
2350 if test $ac_cv_header_stdc = yes; then | 2353 if test $ac_cv_header_stdc = yes; then |
2351 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 2354 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
2352 cat > conftest.$ac_ext <<EOF | 2355 cat > conftest.$ac_ext <<EOF |
2353 #line 2354 "configure" | 2356 #line 2357 "configure" |
2354 #include "confdefs.h" | 2357 #include "confdefs.h" |
2355 #include <string.h> | 2358 #include <string.h> |
2356 EOF | 2359 EOF |
2357 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 2360 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
2358 egrep "memchr" >/dev/null 2>&1; then | 2361 egrep "memchr" >/dev/null 2>&1; then |
2366 fi | 2369 fi |
2367 | 2370 |
2368 if test $ac_cv_header_stdc = yes; then | 2371 if test $ac_cv_header_stdc = yes; then |
2369 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 2372 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
2370 cat > conftest.$ac_ext <<EOF | 2373 cat > conftest.$ac_ext <<EOF |
2371 #line 2372 "configure" | 2374 #line 2375 "configure" |
2372 #include "confdefs.h" | 2375 #include "confdefs.h" |
2373 #include <stdlib.h> | 2376 #include <stdlib.h> |
2374 EOF | 2377 EOF |
2375 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 2378 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
2376 egrep "free" >/dev/null 2>&1; then | 2379 egrep "free" >/dev/null 2>&1; then |
2387 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 2390 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
2388 if test "$cross_compiling" = yes; then | 2391 if test "$cross_compiling" = yes; then |
2389 : | 2392 : |
2390 else | 2393 else |
2391 cat > conftest.$ac_ext <<EOF | 2394 cat > conftest.$ac_ext <<EOF |
2392 #line 2393 "configure" | 2395 #line 2396 "configure" |
2393 #include "confdefs.h" | 2396 #include "confdefs.h" |
2394 #include <ctype.h> | 2397 #include <ctype.h> |
2395 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 2398 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
2396 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 2399 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
2397 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 2400 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
2398 int main () { int i; for (i = 0; i < 256; i++) | 2401 int main () { int i; for (i = 0; i < 256; i++) |
2399 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); | 2402 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); |
2400 exit (0); } | 2403 exit (0); } |
2401 | 2404 |
2402 EOF | 2405 EOF |
2403 if { (eval echo configure:2404: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 2406 if { (eval echo configure:2407: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
2404 then | 2407 then |
2405 : | 2408 : |
2406 else | 2409 else |
2407 echo "configure: failed program was:" >&5 | 2410 echo "configure: failed program was:" >&5 |
2408 cat conftest.$ac_ext >&5 | 2411 cat conftest.$ac_ext >&5 |
2422 EOF | 2425 EOF |
2423 | 2426 |
2424 fi | 2427 fi |
2425 | 2428 |
2426 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 | 2429 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 |
2427 echo "configure:2428: checking whether time.h and sys/time.h may both be included" >&5 | 2430 echo "configure:2431: checking whether time.h and sys/time.h may both be included" >&5 |
2428 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then | 2431 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then |
2429 echo $ac_n "(cached) $ac_c" 1>&6 | 2432 echo $ac_n "(cached) $ac_c" 1>&6 |
2430 else | 2433 else |
2431 cat > conftest.$ac_ext <<EOF | 2434 cat > conftest.$ac_ext <<EOF |
2432 #line 2433 "configure" | 2435 #line 2436 "configure" |
2433 #include "confdefs.h" | 2436 #include "confdefs.h" |
2434 #include <sys/types.h> | 2437 #include <sys/types.h> |
2435 #include <sys/time.h> | 2438 #include <sys/time.h> |
2436 #include <time.h> | 2439 #include <time.h> |
2437 int main() { | 2440 int main() { |
2438 struct tm *tp; | 2441 struct tm *tp; |
2439 ; return 0; } | 2442 ; return 0; } |
2440 EOF | 2443 EOF |
2441 if { (eval echo configure:2442: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2444 if { (eval echo configure:2445: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2442 rm -rf conftest* | 2445 rm -rf conftest* |
2443 ac_cv_header_time=yes | 2446 ac_cv_header_time=yes |
2444 else | 2447 else |
2445 echo "configure: failed program was:" >&5 | 2448 echo "configure: failed program was:" >&5 |
2446 cat conftest.$ac_ext >&5 | 2449 cat conftest.$ac_ext >&5 |
2457 EOF | 2460 EOF |
2458 | 2461 |
2459 fi | 2462 fi |
2460 | 2463 |
2461 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 | 2464 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 |
2462 echo "configure:2463: checking for sys_siglist declaration in signal.h or unistd.h" >&5 | 2465 echo "configure:2466: checking for sys_siglist declaration in signal.h or unistd.h" >&5 |
2463 if eval "test \"`echo '$''{'ac_cv_decl_sys_siglist'+set}'`\" = set"; then | 2466 if eval "test \"`echo '$''{'ac_cv_decl_sys_siglist'+set}'`\" = set"; then |
2464 echo $ac_n "(cached) $ac_c" 1>&6 | 2467 echo $ac_n "(cached) $ac_c" 1>&6 |
2465 else | 2468 else |
2466 cat > conftest.$ac_ext <<EOF | 2469 cat > conftest.$ac_ext <<EOF |
2467 #line 2468 "configure" | 2470 #line 2471 "configure" |
2468 #include "confdefs.h" | 2471 #include "confdefs.h" |
2469 #include <sys/types.h> | 2472 #include <sys/types.h> |
2470 #include <signal.h> | 2473 #include <signal.h> |
2471 /* NetBSD declares sys_siglist in unistd.h. */ | 2474 /* NetBSD declares sys_siglist in unistd.h. */ |
2472 #ifdef HAVE_UNISTD_H | 2475 #ifdef HAVE_UNISTD_H |
2474 #endif | 2477 #endif |
2475 int main() { | 2478 int main() { |
2476 char *msg = *(sys_siglist + 1); | 2479 char *msg = *(sys_siglist + 1); |
2477 ; return 0; } | 2480 ; return 0; } |
2478 EOF | 2481 EOF |
2479 if { (eval echo configure:2480: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2482 if { (eval echo configure:2483: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2480 rm -rf conftest* | 2483 rm -rf conftest* |
2481 ac_cv_decl_sys_siglist=yes | 2484 ac_cv_decl_sys_siglist=yes |
2482 else | 2485 else |
2483 echo "configure: failed program was:" >&5 | 2486 echo "configure: failed program was:" >&5 |
2484 cat conftest.$ac_ext >&5 | 2487 cat conftest.$ac_ext >&5 |
2496 | 2499 |
2497 fi | 2500 fi |
2498 | 2501 |
2499 | 2502 |
2500 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 | 2503 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 |
2501 echo "configure:2502: checking for struct utimbuf" >&5 | 2504 echo "configure:2505: checking for struct utimbuf" >&5 |
2502 if eval "test \"`echo '$''{'emacs_cv_struct_utimbuf'+set}'`\" = set"; then | 2505 if eval "test \"`echo '$''{'emacs_cv_struct_utimbuf'+set}'`\" = set"; then |
2503 echo $ac_n "(cached) $ac_c" 1>&6 | 2506 echo $ac_n "(cached) $ac_c" 1>&6 |
2504 else | 2507 else |
2505 cat > conftest.$ac_ext <<EOF | 2508 cat > conftest.$ac_ext <<EOF |
2506 #line 2507 "configure" | 2509 #line 2510 "configure" |
2507 #include "confdefs.h" | 2510 #include "confdefs.h" |
2508 #ifdef TIME_WITH_SYS_TIME | 2511 #ifdef TIME_WITH_SYS_TIME |
2509 #include <sys/time.h> | 2512 #include <sys/time.h> |
2510 #include <time.h> | 2513 #include <time.h> |
2511 #else | 2514 #else |
2520 #endif | 2523 #endif |
2521 int main() { | 2524 int main() { |
2522 static struct utimbuf x; x.actime = x.modtime; | 2525 static struct utimbuf x; x.actime = x.modtime; |
2523 ; return 0; } | 2526 ; return 0; } |
2524 EOF | 2527 EOF |
2525 if { (eval echo configure:2526: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2528 if { (eval echo configure:2529: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2526 rm -rf conftest* | 2529 rm -rf conftest* |
2527 emacs_cv_struct_utimbuf=yes | 2530 emacs_cv_struct_utimbuf=yes |
2528 else | 2531 else |
2529 echo "configure: failed program was:" >&5 | 2532 echo "configure: failed program was:" >&5 |
2530 cat conftest.$ac_ext >&5 | 2533 cat conftest.$ac_ext >&5 |
2541 EOF | 2544 EOF |
2542 | 2545 |
2543 fi | 2546 fi |
2544 | 2547 |
2545 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 | 2548 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
2546 echo "configure:2547: checking return type of signal handlers" >&5 | 2549 echo "configure:2550: checking return type of signal handlers" >&5 |
2547 if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then | 2550 if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then |
2548 echo $ac_n "(cached) $ac_c" 1>&6 | 2551 echo $ac_n "(cached) $ac_c" 1>&6 |
2549 else | 2552 else |
2550 cat > conftest.$ac_ext <<EOF | 2553 cat > conftest.$ac_ext <<EOF |
2551 #line 2552 "configure" | 2554 #line 2555 "configure" |
2552 #include "confdefs.h" | 2555 #include "confdefs.h" |
2553 #include <sys/types.h> | 2556 #include <sys/types.h> |
2554 #include <signal.h> | 2557 #include <signal.h> |
2555 #ifdef signal | 2558 #ifdef signal |
2556 #undef signal | 2559 #undef signal |
2563 | 2566 |
2564 int main() { | 2567 int main() { |
2565 int i; | 2568 int i; |
2566 ; return 0; } | 2569 ; return 0; } |
2567 EOF | 2570 EOF |
2568 if { (eval echo configure:2569: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2571 if { (eval echo configure:2572: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2569 rm -rf conftest* | 2572 rm -rf conftest* |
2570 ac_cv_type_signal=void | 2573 ac_cv_type_signal=void |
2571 else | 2574 else |
2572 echo "configure: failed program was:" >&5 | 2575 echo "configure: failed program was:" >&5 |
2573 cat conftest.$ac_ext >&5 | 2576 cat conftest.$ac_ext >&5 |
2583 EOF | 2586 EOF |
2584 | 2587 |
2585 | 2588 |
2586 | 2589 |
2587 echo $ac_n "checking for speed_t""... $ac_c" 1>&6 | 2590 echo $ac_n "checking for speed_t""... $ac_c" 1>&6 |
2588 echo "configure:2589: checking for speed_t" >&5 | 2591 echo "configure:2592: checking for speed_t" >&5 |
2589 if eval "test \"`echo '$''{'emacs_cv_speed_t'+set}'`\" = set"; then | 2592 if eval "test \"`echo '$''{'emacs_cv_speed_t'+set}'`\" = set"; then |
2590 echo $ac_n "(cached) $ac_c" 1>&6 | 2593 echo $ac_n "(cached) $ac_c" 1>&6 |
2591 else | 2594 else |
2592 cat > conftest.$ac_ext <<EOF | 2595 cat > conftest.$ac_ext <<EOF |
2593 #line 2594 "configure" | 2596 #line 2597 "configure" |
2594 #include "confdefs.h" | 2597 #include "confdefs.h" |
2595 #include <termios.h> | 2598 #include <termios.h> |
2596 int main() { | 2599 int main() { |
2597 speed_t x = 1; | 2600 speed_t x = 1; |
2598 ; return 0; } | 2601 ; return 0; } |
2599 EOF | 2602 EOF |
2600 if { (eval echo configure:2601: \"$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 |
2601 rm -rf conftest* | 2604 rm -rf conftest* |
2602 emacs_cv_speed_t=yes | 2605 emacs_cv_speed_t=yes |
2603 else | 2606 else |
2604 echo "configure: failed program was:" >&5 | 2607 echo "configure: failed program was:" >&5 |
2605 cat conftest.$ac_ext >&5 | 2608 cat conftest.$ac_ext >&5 |
2614 EOF | 2617 EOF |
2615 | 2618 |
2616 fi | 2619 fi |
2617 | 2620 |
2618 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 | 2621 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 |
2619 echo "configure:2620: checking for struct timeval" >&5 | 2622 echo "configure:2623: checking for struct timeval" >&5 |
2620 if eval "test \"`echo '$''{'emacs_cv_struct_timeval'+set}'`\" = set"; then | 2623 if eval "test \"`echo '$''{'emacs_cv_struct_timeval'+set}'`\" = set"; then |
2621 echo $ac_n "(cached) $ac_c" 1>&6 | 2624 echo $ac_n "(cached) $ac_c" 1>&6 |
2622 else | 2625 else |
2623 cat > conftest.$ac_ext <<EOF | 2626 cat > conftest.$ac_ext <<EOF |
2624 #line 2625 "configure" | 2627 #line 2628 "configure" |
2625 #include "confdefs.h" | 2628 #include "confdefs.h" |
2626 #ifdef TIME_WITH_SYS_TIME | 2629 #ifdef TIME_WITH_SYS_TIME |
2627 #include <sys/time.h> | 2630 #include <sys/time.h> |
2628 #include <time.h> | 2631 #include <time.h> |
2629 #else | 2632 #else |
2635 #endif | 2638 #endif |
2636 int main() { | 2639 int main() { |
2637 static struct timeval x; x.tv_sec = x.tv_usec; | 2640 static struct timeval x; x.tv_sec = x.tv_usec; |
2638 ; return 0; } | 2641 ; return 0; } |
2639 EOF | 2642 EOF |
2640 if { (eval echo configure:2641: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2643 if { (eval echo configure:2644: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2641 rm -rf conftest* | 2644 rm -rf conftest* |
2642 emacs_cv_struct_timeval=yes | 2645 emacs_cv_struct_timeval=yes |
2643 else | 2646 else |
2644 echo "configure: failed program was:" >&5 | 2647 echo "configure: failed program was:" >&5 |
2645 cat conftest.$ac_ext >&5 | 2648 cat conftest.$ac_ext >&5 |
2656 #define HAVE_TIMEVAL 1 | 2659 #define HAVE_TIMEVAL 1 |
2657 EOF | 2660 EOF |
2658 | 2661 |
2659 fi | 2662 fi |
2660 | 2663 |
2664 echo $ac_n "checking for struct exception""... $ac_c" 1>&6 | |
2665 echo "configure:2666: checking for struct exception" >&5 | |
2666 if eval "test \"`echo '$''{'emacs_cv_struct_exception'+set}'`\" = set"; then | |
2667 echo $ac_n "(cached) $ac_c" 1>&6 | |
2668 else | |
2669 cat > conftest.$ac_ext <<EOF | |
2670 #line 2671 "configure" | |
2671 #include "confdefs.h" | |
2672 #include <math.h> | |
2673 int main() { | |
2674 static struct exception x; x.arg1 = x.arg2 = x.retval; x.name = ""; x.type = 1; | |
2675 ; return 0; } | |
2676 EOF | |
2677 if { (eval echo configure:2678: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | |
2678 rm -rf conftest* | |
2679 emacs_cv_struct_exception=yes | |
2680 else | |
2681 echo "configure: failed program was:" >&5 | |
2682 cat conftest.$ac_ext >&5 | |
2683 rm -rf conftest* | |
2684 emacs_cv_struct_exception=no | |
2685 fi | |
2686 rm -f conftest* | |
2687 fi | |
2688 | |
2689 echo "$ac_t""$emacs_cv_struct_exception" 1>&6 | |
2690 HAVE_EXCEPTION=$emacs_cv_struct_exception | |
2691 if test $emacs_cv_struct_exception != yes; then | |
2692 cat >> confdefs.h <<\EOF | |
2693 #define NO_MATHERR 1 | |
2694 EOF | |
2695 | |
2696 fi | |
2697 | |
2661 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 | 2698 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 |
2662 echo "configure:2663: checking whether struct tm is in sys/time.h or time.h" >&5 | 2699 echo "configure:2700: checking whether struct tm is in sys/time.h or time.h" >&5 |
2663 if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then | 2700 if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then |
2664 echo $ac_n "(cached) $ac_c" 1>&6 | 2701 echo $ac_n "(cached) $ac_c" 1>&6 |
2665 else | 2702 else |
2666 cat > conftest.$ac_ext <<EOF | 2703 cat > conftest.$ac_ext <<EOF |
2667 #line 2668 "configure" | 2704 #line 2705 "configure" |
2668 #include "confdefs.h" | 2705 #include "confdefs.h" |
2669 #include <sys/types.h> | 2706 #include <sys/types.h> |
2670 #include <time.h> | 2707 #include <time.h> |
2671 int main() { | 2708 int main() { |
2672 struct tm *tp; tp->tm_sec; | 2709 struct tm *tp; tp->tm_sec; |
2673 ; return 0; } | 2710 ; return 0; } |
2674 EOF | 2711 EOF |
2675 if { (eval echo configure:2676: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2712 if { (eval echo configure:2713: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2676 rm -rf conftest* | 2713 rm -rf conftest* |
2677 ac_cv_struct_tm=time.h | 2714 ac_cv_struct_tm=time.h |
2678 else | 2715 else |
2679 echo "configure: failed program was:" >&5 | 2716 echo "configure: failed program was:" >&5 |
2680 cat conftest.$ac_ext >&5 | 2717 cat conftest.$ac_ext >&5 |
2691 EOF | 2728 EOF |
2692 | 2729 |
2693 fi | 2730 fi |
2694 | 2731 |
2695 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 | 2732 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 |
2696 echo "configure:2697: checking for tm_zone in struct tm" >&5 | 2733 echo "configure:2734: checking for tm_zone in struct tm" >&5 |
2697 if eval "test \"`echo '$''{'ac_cv_struct_tm_zone'+set}'`\" = set"; then | 2734 if eval "test \"`echo '$''{'ac_cv_struct_tm_zone'+set}'`\" = set"; then |
2698 echo $ac_n "(cached) $ac_c" 1>&6 | 2735 echo $ac_n "(cached) $ac_c" 1>&6 |
2699 else | 2736 else |
2700 cat > conftest.$ac_ext <<EOF | 2737 cat > conftest.$ac_ext <<EOF |
2701 #line 2702 "configure" | 2738 #line 2739 "configure" |
2702 #include "confdefs.h" | 2739 #include "confdefs.h" |
2703 #include <sys/types.h> | 2740 #include <sys/types.h> |
2704 #include <$ac_cv_struct_tm> | 2741 #include <$ac_cv_struct_tm> |
2705 int main() { | 2742 int main() { |
2706 struct tm tm; tm.tm_zone; | 2743 struct tm tm; tm.tm_zone; |
2707 ; return 0; } | 2744 ; return 0; } |
2708 EOF | 2745 EOF |
2709 if { (eval echo configure:2710: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2746 if { (eval echo configure:2747: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2710 rm -rf conftest* | 2747 rm -rf conftest* |
2711 ac_cv_struct_tm_zone=yes | 2748 ac_cv_struct_tm_zone=yes |
2712 else | 2749 else |
2713 echo "configure: failed program was:" >&5 | 2750 echo "configure: failed program was:" >&5 |
2714 cat conftest.$ac_ext >&5 | 2751 cat conftest.$ac_ext >&5 |
2724 #define HAVE_TM_ZONE 1 | 2761 #define HAVE_TM_ZONE 1 |
2725 EOF | 2762 EOF |
2726 | 2763 |
2727 else | 2764 else |
2728 echo $ac_n "checking for tzname""... $ac_c" 1>&6 | 2765 echo $ac_n "checking for tzname""... $ac_c" 1>&6 |
2729 echo "configure:2730: checking for tzname" >&5 | 2766 echo "configure:2767: checking for tzname" >&5 |
2730 if eval "test \"`echo '$''{'ac_cv_var_tzname'+set}'`\" = set"; then | 2767 if eval "test \"`echo '$''{'ac_cv_var_tzname'+set}'`\" = set"; then |
2731 echo $ac_n "(cached) $ac_c" 1>&6 | 2768 echo $ac_n "(cached) $ac_c" 1>&6 |
2732 else | 2769 else |
2733 cat > conftest.$ac_ext <<EOF | 2770 cat > conftest.$ac_ext <<EOF |
2734 #line 2735 "configure" | 2771 #line 2772 "configure" |
2735 #include "confdefs.h" | 2772 #include "confdefs.h" |
2736 #include <time.h> | 2773 #include <time.h> |
2737 #ifndef tzname /* For SGI. */ | 2774 #ifndef tzname /* For SGI. */ |
2738 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ | 2775 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ |
2739 #endif | 2776 #endif |
2740 int main() { | 2777 int main() { |
2741 atoi(*tzname); | 2778 atoi(*tzname); |
2742 ; return 0; } | 2779 ; return 0; } |
2743 EOF | 2780 EOF |
2744 if { (eval echo configure:2745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2781 if { (eval echo configure:2782: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2745 rm -rf conftest* | 2782 rm -rf conftest* |
2746 ac_cv_var_tzname=yes | 2783 ac_cv_var_tzname=yes |
2747 else | 2784 else |
2748 echo "configure: failed program was:" >&5 | 2785 echo "configure: failed program was:" >&5 |
2749 cat conftest.$ac_ext >&5 | 2786 cat conftest.$ac_ext >&5 |
2761 | 2798 |
2762 fi | 2799 fi |
2763 fi | 2800 fi |
2764 | 2801 |
2765 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6 | 2802 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6 |
2766 echo "configure:2767: checking for tm_gmtoff in struct tm" >&5 | 2803 echo "configure:2804: checking for tm_gmtoff in struct tm" >&5 |
2767 if eval "test \"`echo '$''{'emacs_cv_tm_gmtoff'+set}'`\" = set"; then | 2804 if eval "test \"`echo '$''{'emacs_cv_tm_gmtoff'+set}'`\" = set"; then |
2768 echo $ac_n "(cached) $ac_c" 1>&6 | 2805 echo $ac_n "(cached) $ac_c" 1>&6 |
2769 else | 2806 else |
2770 cat > conftest.$ac_ext <<EOF | 2807 cat > conftest.$ac_ext <<EOF |
2771 #line 2772 "configure" | 2808 #line 2809 "configure" |
2772 #include "confdefs.h" | 2809 #include "confdefs.h" |
2773 #include <time.h> | 2810 #include <time.h> |
2774 int main() { | 2811 int main() { |
2775 struct tm t; t.tm_gmtoff = 0 | 2812 struct tm t; t.tm_gmtoff = 0 |
2776 ; return 0; } | 2813 ; return 0; } |
2777 EOF | 2814 EOF |
2778 if { (eval echo configure:2779: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2815 if { (eval echo configure:2816: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2779 rm -rf conftest* | 2816 rm -rf conftest* |
2780 emacs_cv_tm_gmtoff=yes | 2817 emacs_cv_tm_gmtoff=yes |
2781 else | 2818 else |
2782 echo "configure: failed program was:" >&5 | 2819 echo "configure: failed program was:" >&5 |
2783 cat conftest.$ac_ext >&5 | 2820 cat conftest.$ac_ext >&5 |
2795 | 2832 |
2796 fi | 2833 fi |
2797 | 2834 |
2798 | 2835 |
2799 echo $ac_n "checking for ${CC-cc} option to accept ANSI C""... $ac_c" 1>&6 | 2836 echo $ac_n "checking for ${CC-cc} option to accept ANSI C""... $ac_c" 1>&6 |
2800 echo "configure:2801: checking for ${CC-cc} option to accept ANSI C" >&5 | 2837 echo "configure:2838: checking for ${CC-cc} option to accept ANSI C" >&5 |
2801 if eval "test \"`echo '$''{'ac_cv_prog_cc_stdc'+set}'`\" = set"; then | 2838 if eval "test \"`echo '$''{'ac_cv_prog_cc_stdc'+set}'`\" = set"; then |
2802 echo $ac_n "(cached) $ac_c" 1>&6 | 2839 echo $ac_n "(cached) $ac_c" 1>&6 |
2803 else | 2840 else |
2804 ac_cv_prog_cc_stdc=no | 2841 ac_cv_prog_cc_stdc=no |
2805 ac_save_CC="$CC" | 2842 ac_save_CC="$CC" |
2812 # SVR4 -Xc -D__EXTENSIONS__ | 2849 # SVR4 -Xc -D__EXTENSIONS__ |
2813 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | 2850 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
2814 do | 2851 do |
2815 CC="$ac_save_CC $ac_arg" | 2852 CC="$ac_save_CC $ac_arg" |
2816 cat > conftest.$ac_ext <<EOF | 2853 cat > conftest.$ac_ext <<EOF |
2817 #line 2818 "configure" | 2854 #line 2855 "configure" |
2818 #include "confdefs.h" | 2855 #include "confdefs.h" |
2819 #include <stdarg.h> | 2856 #include <stdarg.h> |
2820 #include <stdio.h> | 2857 #include <stdio.h> |
2821 #include <sys/types.h> | 2858 #include <sys/types.h> |
2822 #include <sys/stat.h> | 2859 #include <sys/stat.h> |
2846 char **argv; | 2883 char **argv; |
2847 int main() { | 2884 int main() { |
2848 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | 2885 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
2849 ; return 0; } | 2886 ; return 0; } |
2850 EOF | 2887 EOF |
2851 if { (eval echo configure:2852: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2888 if { (eval echo configure:2889: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2852 rm -rf conftest* | 2889 rm -rf conftest* |
2853 ac_cv_prog_cc_stdc="$ac_arg"; break | 2890 ac_cv_prog_cc_stdc="$ac_arg"; break |
2854 else | 2891 else |
2855 echo "configure: failed program was:" >&5 | 2892 echo "configure: failed program was:" >&5 |
2856 cat conftest.$ac_ext >&5 | 2893 cat conftest.$ac_ext >&5 |
2868 echo "$ac_t""$ac_cv_prog_cc_stdc" 1>&6 | 2905 echo "$ac_t""$ac_cv_prog_cc_stdc" 1>&6 |
2869 CC="$CC $ac_cv_prog_cc_stdc" ;; | 2906 CC="$CC $ac_cv_prog_cc_stdc" ;; |
2870 esac | 2907 esac |
2871 | 2908 |
2872 echo $ac_n "checking for function prototypes""... $ac_c" 1>&6 | 2909 echo $ac_n "checking for function prototypes""... $ac_c" 1>&6 |
2873 echo "configure:2874: checking for function prototypes" >&5 | 2910 echo "configure:2911: checking for function prototypes" >&5 |
2874 if test "$ac_cv_prog_cc_stdc" != no; then | 2911 if test "$ac_cv_prog_cc_stdc" != no; then |
2875 echo "$ac_t""yes" 1>&6 | 2912 echo "$ac_t""yes" 1>&6 |
2876 cat >> confdefs.h <<\EOF | 2913 cat >> confdefs.h <<\EOF |
2877 #define PROTOTYPES 1 | 2914 #define PROTOTYPES 1 |
2878 EOF | 2915 EOF |
2880 else | 2917 else |
2881 echo "$ac_t""no" 1>&6 | 2918 echo "$ac_t""no" 1>&6 |
2882 fi | 2919 fi |
2883 | 2920 |
2884 echo $ac_n "checking for working volatile""... $ac_c" 1>&6 | 2921 echo $ac_n "checking for working volatile""... $ac_c" 1>&6 |
2885 echo "configure:2886: checking for working volatile" >&5 | 2922 echo "configure:2923: checking for working volatile" >&5 |
2886 if eval "test \"`echo '$''{'ac_cv_c_volatile'+set}'`\" = set"; then | 2923 if eval "test \"`echo '$''{'ac_cv_c_volatile'+set}'`\" = set"; then |
2887 echo $ac_n "(cached) $ac_c" 1>&6 | 2924 echo $ac_n "(cached) $ac_c" 1>&6 |
2888 else | 2925 else |
2889 cat > conftest.$ac_ext <<EOF | 2926 cat > conftest.$ac_ext <<EOF |
2890 #line 2891 "configure" | 2927 #line 2928 "configure" |
2891 #include "confdefs.h" | 2928 #include "confdefs.h" |
2892 | 2929 |
2893 int main() { | 2930 int main() { |
2894 | 2931 |
2895 volatile int x; | 2932 volatile int x; |
2896 int * volatile y; | 2933 int * volatile y; |
2897 ; return 0; } | 2934 ; return 0; } |
2898 EOF | 2935 EOF |
2899 if { (eval echo configure:2900: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2936 if { (eval echo configure:2937: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2900 rm -rf conftest* | 2937 rm -rf conftest* |
2901 ac_cv_c_volatile=yes | 2938 ac_cv_c_volatile=yes |
2902 else | 2939 else |
2903 echo "configure: failed program was:" >&5 | 2940 echo "configure: failed program was:" >&5 |
2904 cat conftest.$ac_ext >&5 | 2941 cat conftest.$ac_ext >&5 |
2915 EOF | 2952 EOF |
2916 | 2953 |
2917 fi | 2954 fi |
2918 | 2955 |
2919 echo $ac_n "checking for working const""... $ac_c" 1>&6 | 2956 echo $ac_n "checking for working const""... $ac_c" 1>&6 |
2920 echo "configure:2921: checking for working const" >&5 | 2957 echo "configure:2958: checking for working const" >&5 |
2921 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then | 2958 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then |
2922 echo $ac_n "(cached) $ac_c" 1>&6 | 2959 echo $ac_n "(cached) $ac_c" 1>&6 |
2923 else | 2960 else |
2924 cat > conftest.$ac_ext <<EOF | 2961 cat > conftest.$ac_ext <<EOF |
2925 #line 2926 "configure" | 2962 #line 2963 "configure" |
2926 #include "confdefs.h" | 2963 #include "confdefs.h" |
2927 | 2964 |
2928 int main() { | 2965 int main() { |
2929 | 2966 |
2930 /* Ultrix mips cc rejects this. */ | 2967 /* Ultrix mips cc rejects this. */ |
2931 typedef int charset[2]; const charset x; | 2968 typedef int charset[2]; const charset x = {0,0}; |
2932 /* SunOS 4.1.1 cc rejects this. */ | 2969 /* SunOS 4.1.1 cc rejects this. */ |
2933 char const *const *ccp; | 2970 char const *const *ccp; |
2934 char **p; | 2971 char **p; |
2935 /* NEC SVR4.0.2 mips cc rejects this. */ | 2972 /* NEC SVR4.0.2 mips cc rejects this. */ |
2936 struct point {int x, y;}; | 2973 struct point {int x, y;}; |
2969 const int foo = 10; | 3006 const int foo = 10; |
2970 } | 3007 } |
2971 | 3008 |
2972 ; return 0; } | 3009 ; return 0; } |
2973 EOF | 3010 EOF |
2974 if { (eval echo configure:2975: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3011 if { (eval echo configure:3012: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2975 rm -rf conftest* | 3012 rm -rf conftest* |
2976 ac_cv_c_const=yes | 3013 ac_cv_c_const=yes |
2977 else | 3014 else |
2978 echo "configure: failed program was:" >&5 | 3015 echo "configure: failed program was:" >&5 |
2979 cat conftest.$ac_ext >&5 | 3016 cat conftest.$ac_ext >&5 |
2990 EOF | 3027 EOF |
2991 | 3028 |
2992 fi | 3029 fi |
2993 | 3030 |
2994 echo $ac_n "checking for void * support""... $ac_c" 1>&6 | 3031 echo $ac_n "checking for void * support""... $ac_c" 1>&6 |
2995 echo "configure:2996: checking for void * support" >&5 | 3032 echo "configure:3033: checking for void * support" >&5 |
2996 if eval "test \"`echo '$''{'emacs_cv_void_star'+set}'`\" = set"; then | 3033 if eval "test \"`echo '$''{'emacs_cv_void_star'+set}'`\" = set"; then |
2997 echo $ac_n "(cached) $ac_c" 1>&6 | 3034 echo $ac_n "(cached) $ac_c" 1>&6 |
2998 else | 3035 else |
2999 cat > conftest.$ac_ext <<EOF | 3036 cat > conftest.$ac_ext <<EOF |
3000 #line 3001 "configure" | 3037 #line 3038 "configure" |
3001 #include "confdefs.h" | 3038 #include "confdefs.h" |
3002 | 3039 |
3003 int main() { | 3040 int main() { |
3004 void * foo; | 3041 void * foo; |
3005 ; return 0; } | 3042 ; return 0; } |
3006 EOF | 3043 EOF |
3007 if { (eval echo configure:3008: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3044 if { (eval echo configure:3045: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3008 rm -rf conftest* | 3045 rm -rf conftest* |
3009 emacs_cv_void_star=yes | 3046 emacs_cv_void_star=yes |
3010 else | 3047 else |
3011 echo "configure: failed program was:" >&5 | 3048 echo "configure: failed program was:" >&5 |
3012 cat conftest.$ac_ext >&5 | 3049 cat conftest.$ac_ext >&5 |
3028 EOF | 3065 EOF |
3029 | 3066 |
3030 fi | 3067 fi |
3031 | 3068 |
3032 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | 3069 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
3033 echo "configure:3034: checking whether ${MAKE-make} sets \${MAKE}" >&5 | 3070 echo "configure:3071: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
3034 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | 3071 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
3035 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then | 3072 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then |
3036 echo $ac_n "(cached) $ac_c" 1>&6 | 3073 echo $ac_n "(cached) $ac_c" 1>&6 |
3037 else | 3074 else |
3038 cat > conftestmake <<\EOF | 3075 cat > conftestmake <<\EOF |
3056 SET_MAKE="MAKE=${MAKE-make}" | 3093 SET_MAKE="MAKE=${MAKE-make}" |
3057 fi | 3094 fi |
3058 | 3095 |
3059 | 3096 |
3060 echo $ac_n "checking for long file names""... $ac_c" 1>&6 | 3097 echo $ac_n "checking for long file names""... $ac_c" 1>&6 |
3061 echo "configure:3062: checking for long file names" >&5 | 3098 echo "configure:3099: checking for long file names" >&5 |
3062 if eval "test \"`echo '$''{'ac_cv_sys_long_file_names'+set}'`\" = set"; then | 3099 if eval "test \"`echo '$''{'ac_cv_sys_long_file_names'+set}'`\" = set"; then |
3063 echo $ac_n "(cached) $ac_c" 1>&6 | 3100 echo $ac_n "(cached) $ac_c" 1>&6 |
3064 else | 3101 else |
3065 ac_cv_sys_long_file_names=yes | 3102 ac_cv_sys_long_file_names=yes |
3066 # Test for long file names in all the places we know might matter: | 3103 # Test for long file names in all the places we know might matter: |
3107 # If we find X, set shell vars x_includes and x_libraries to the | 3144 # If we find X, set shell vars x_includes and x_libraries to the |
3108 # paths, otherwise set no_x=yes. | 3145 # paths, otherwise set no_x=yes. |
3109 # Uses ac_ vars as temps to allow command line to override cache and checks. | 3146 # Uses ac_ vars as temps to allow command line to override cache and checks. |
3110 # --without-x overrides everything else, but does not touch the cache. | 3147 # --without-x overrides everything else, but does not touch the cache. |
3111 echo $ac_n "checking for X""... $ac_c" 1>&6 | 3148 echo $ac_n "checking for X""... $ac_c" 1>&6 |
3112 echo "configure:3113: checking for X" >&5 | 3149 echo "configure:3150: checking for X" >&5 |
3113 | 3150 |
3114 # Check whether --with-x or --without-x was given. | 3151 # Check whether --with-x or --without-x was given. |
3115 if test "${with_x+set}" = set; then | 3152 if test "${with_x+set}" = set; then |
3116 withval="$with_x" | 3153 withval="$with_x" |
3117 : | 3154 : |
3169 # Guess where to find include files, by looking for this one X11 .h file. | 3206 # Guess where to find include files, by looking for this one X11 .h file. |
3170 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h | 3207 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h |
3171 | 3208 |
3172 # First, try using that file with no special directory specified. | 3209 # First, try using that file with no special directory specified. |
3173 cat > conftest.$ac_ext <<EOF | 3210 cat > conftest.$ac_ext <<EOF |
3174 #line 3175 "configure" | 3211 #line 3212 "configure" |
3175 #include "confdefs.h" | 3212 #include "confdefs.h" |
3176 #include <$x_direct_test_include> | 3213 #include <$x_direct_test_include> |
3177 EOF | 3214 EOF |
3178 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3215 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3179 { (eval echo configure:3180: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3216 { (eval echo configure:3217: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3180 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 3217 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3181 if test -z "$ac_err"; then | 3218 if test -z "$ac_err"; then |
3182 rm -rf conftest* | 3219 rm -rf conftest* |
3183 # We can compile using X headers with no special include directory. | 3220 # We can compile using X headers with no special include directory. |
3184 ac_x_includes= | 3221 ac_x_includes= |
3243 # See if we find them without any special options. | 3280 # See if we find them without any special options. |
3244 # Don't add to $LIBS permanently. | 3281 # Don't add to $LIBS permanently. |
3245 ac_save_LIBS="$LIBS" | 3282 ac_save_LIBS="$LIBS" |
3246 LIBS="-l$x_direct_test_library $LIBS" | 3283 LIBS="-l$x_direct_test_library $LIBS" |
3247 cat > conftest.$ac_ext <<EOF | 3284 cat > conftest.$ac_ext <<EOF |
3248 #line 3249 "configure" | 3285 #line 3286 "configure" |
3249 #include "confdefs.h" | 3286 #include "confdefs.h" |
3250 | 3287 |
3251 int main() { | 3288 int main() { |
3252 ${x_direct_test_function}() | 3289 ${x_direct_test_function}() |
3253 ; return 0; } | 3290 ; return 0; } |
3254 EOF | 3291 EOF |
3255 if { (eval echo configure:3256: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3292 if { (eval echo configure:3293: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3256 rm -rf conftest* | 3293 rm -rf conftest* |
3257 LIBS="$ac_save_LIBS" | 3294 LIBS="$ac_save_LIBS" |
3258 # We can link X programs with no special library path. | 3295 # We can link X programs with no special library path. |
3259 ac_x_libraries= | 3296 ac_x_libraries= |
3260 else | 3297 else |
3425 #### Extract some information from the operating system and machine files. | 3462 #### Extract some information from the operating system and machine files. |
3426 | 3463 |
3427 echo "checking the machine- and system-dependent files to find out | 3464 echo "checking the machine- and system-dependent files to find out |
3428 - which libraries the lib-src programs will want, and | 3465 - which libraries the lib-src programs will want, and |
3429 - whether the GNU malloc routines are usable" 1>&6 | 3466 - whether the GNU malloc routines are usable" 1>&6 |
3430 echo "configure:3431: checking the machine- and system-dependent files to find out | 3467 echo "configure:3468: checking the machine- and system-dependent files to find out |
3431 - which libraries the lib-src programs will want, and | 3468 - which libraries the lib-src programs will want, and |
3432 - whether the GNU malloc routines are usable" >&5 | 3469 - whether the GNU malloc routines are usable" >&5 |
3433 | 3470 |
3434 ### First figure out CFLAGS (which we use for running the compiler here) | 3471 ### First figure out CFLAGS (which we use for running the compiler here) |
3435 ### and REAL_CFLAGS (which we use for real compilation). | 3472 ### and REAL_CFLAGS (which we use for real compilation). |
3559 # Do the opsystem or machine files prohibit the use of the GNU malloc? | 3596 # Do the opsystem or machine files prohibit the use of the GNU malloc? |
3560 # Assume not, until told otherwise. | 3597 # Assume not, until told otherwise. |
3561 GNU_MALLOC=yes | 3598 GNU_MALLOC=yes |
3562 doug_lea_malloc=yes | 3599 doug_lea_malloc=yes |
3563 echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6 | 3600 echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6 |
3564 echo "configure:3565: checking for malloc_get_state" >&5 | 3601 echo "configure:3602: checking for malloc_get_state" >&5 |
3565 if eval "test \"`echo '$''{'ac_cv_func_malloc_get_state'+set}'`\" = set"; then | 3602 if eval "test \"`echo '$''{'ac_cv_func_malloc_get_state'+set}'`\" = set"; then |
3566 echo $ac_n "(cached) $ac_c" 1>&6 | 3603 echo $ac_n "(cached) $ac_c" 1>&6 |
3567 else | 3604 else |
3568 cat > conftest.$ac_ext <<EOF | 3605 cat > conftest.$ac_ext <<EOF |
3569 #line 3570 "configure" | 3606 #line 3607 "configure" |
3570 #include "confdefs.h" | 3607 #include "confdefs.h" |
3571 /* System header to define __stub macros and hopefully few prototypes, | 3608 /* System header to define __stub macros and hopefully few prototypes, |
3572 which can conflict with char malloc_get_state(); below. */ | 3609 which can conflict with char malloc_get_state(); below. */ |
3573 #include <assert.h> | 3610 #include <assert.h> |
3574 /* Override any gcc2 internal prototype to avoid an error. */ | 3611 /* Override any gcc2 internal prototype to avoid an error. */ |
3587 malloc_get_state(); | 3624 malloc_get_state(); |
3588 #endif | 3625 #endif |
3589 | 3626 |
3590 ; return 0; } | 3627 ; return 0; } |
3591 EOF | 3628 EOF |
3592 if { (eval echo configure:3593: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3629 if { (eval echo configure:3630: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3593 rm -rf conftest* | 3630 rm -rf conftest* |
3594 eval "ac_cv_func_malloc_get_state=yes" | 3631 eval "ac_cv_func_malloc_get_state=yes" |
3595 else | 3632 else |
3596 echo "configure: failed program was:" >&5 | 3633 echo "configure: failed program was:" >&5 |
3597 cat conftest.$ac_ext >&5 | 3634 cat conftest.$ac_ext >&5 |
3608 echo "$ac_t""no" 1>&6 | 3645 echo "$ac_t""no" 1>&6 |
3609 doug_lea_malloc=no | 3646 doug_lea_malloc=no |
3610 fi | 3647 fi |
3611 | 3648 |
3612 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 | 3649 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 |
3613 echo "configure:3614: checking for malloc_set_state" >&5 | 3650 echo "configure:3651: checking for malloc_set_state" >&5 |
3614 if eval "test \"`echo '$''{'ac_cv_func_malloc_set_state'+set}'`\" = set"; then | 3651 if eval "test \"`echo '$''{'ac_cv_func_malloc_set_state'+set}'`\" = set"; then |
3615 echo $ac_n "(cached) $ac_c" 1>&6 | 3652 echo $ac_n "(cached) $ac_c" 1>&6 |
3616 else | 3653 else |
3617 cat > conftest.$ac_ext <<EOF | 3654 cat > conftest.$ac_ext <<EOF |
3618 #line 3619 "configure" | 3655 #line 3656 "configure" |
3619 #include "confdefs.h" | 3656 #include "confdefs.h" |
3620 /* System header to define __stub macros and hopefully few prototypes, | 3657 /* System header to define __stub macros and hopefully few prototypes, |
3621 which can conflict with char malloc_set_state(); below. */ | 3658 which can conflict with char malloc_set_state(); below. */ |
3622 #include <assert.h> | 3659 #include <assert.h> |
3623 /* Override any gcc2 internal prototype to avoid an error. */ | 3660 /* Override any gcc2 internal prototype to avoid an error. */ |
3636 malloc_set_state(); | 3673 malloc_set_state(); |
3637 #endif | 3674 #endif |
3638 | 3675 |
3639 ; return 0; } | 3676 ; return 0; } |
3640 EOF | 3677 EOF |
3641 if { (eval echo configure:3642: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3678 if { (eval echo configure:3679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3642 rm -rf conftest* | 3679 rm -rf conftest* |
3643 eval "ac_cv_func_malloc_set_state=yes" | 3680 eval "ac_cv_func_malloc_set_state=yes" |
3644 else | 3681 else |
3645 echo "configure: failed program was:" >&5 | 3682 echo "configure: failed program was:" >&5 |
3646 cat conftest.$ac_ext >&5 | 3683 cat conftest.$ac_ext >&5 |
3657 echo "$ac_t""no" 1>&6 | 3694 echo "$ac_t""no" 1>&6 |
3658 doug_lea_malloc=no | 3695 doug_lea_malloc=no |
3659 fi | 3696 fi |
3660 | 3697 |
3661 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 | 3698 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 |
3662 echo "configure:3663: checking whether __after_morecore_hook exists" >&5 | 3699 echo "configure:3700: checking whether __after_morecore_hook exists" >&5 |
3663 if eval "test \"`echo '$''{'emacs_cv_var___after_morecore_hook'+set}'`\" = set"; then | 3700 if eval "test \"`echo '$''{'emacs_cv_var___after_morecore_hook'+set}'`\" = set"; then |
3664 echo $ac_n "(cached) $ac_c" 1>&6 | 3701 echo $ac_n "(cached) $ac_c" 1>&6 |
3665 else | 3702 else |
3666 cat > conftest.$ac_ext <<EOF | 3703 cat > conftest.$ac_ext <<EOF |
3667 #line 3668 "configure" | 3704 #line 3705 "configure" |
3668 #include "confdefs.h" | 3705 #include "confdefs.h" |
3669 extern void (* __after_morecore_hook)(); | 3706 extern void (* __after_morecore_hook)(); |
3670 int main() { | 3707 int main() { |
3671 __after_morecore_hook = 0 | 3708 __after_morecore_hook = 0 |
3672 ; return 0; } | 3709 ; return 0; } |
3673 EOF | 3710 EOF |
3674 if { (eval echo configure:3675: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3711 if { (eval echo configure:3712: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3675 rm -rf conftest* | 3712 rm -rf conftest* |
3676 emacs_cv_var___after_morecore_hook=yes | 3713 emacs_cv_var___after_morecore_hook=yes |
3677 else | 3714 else |
3678 echo "configure: failed program was:" >&5 | 3715 echo "configure: failed program was:" >&5 |
3679 cat conftest.$ac_ext >&5 | 3716 cat conftest.$ac_ext >&5 |
3716 fi | 3753 fi |
3717 | 3754 |
3718 LIBS="$libsrc_libs $LIBS" | 3755 LIBS="$libsrc_libs $LIBS" |
3719 | 3756 |
3720 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 | 3757 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
3721 echo "configure:3722: checking for dnet_ntoa in -ldnet" >&5 | 3758 echo "configure:3759: checking for dnet_ntoa in -ldnet" >&5 |
3722 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 3759 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
3723 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 3760 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
3724 echo $ac_n "(cached) $ac_c" 1>&6 | 3761 echo $ac_n "(cached) $ac_c" 1>&6 |
3725 else | 3762 else |
3726 ac_save_LIBS="$LIBS" | 3763 ac_save_LIBS="$LIBS" |
3727 LIBS="-ldnet $LIBS" | 3764 LIBS="-ldnet $LIBS" |
3728 cat > conftest.$ac_ext <<EOF | 3765 cat > conftest.$ac_ext <<EOF |
3729 #line 3730 "configure" | 3766 #line 3767 "configure" |
3730 #include "confdefs.h" | 3767 #include "confdefs.h" |
3731 /* Override any gcc2 internal prototype to avoid an error. */ | 3768 /* Override any gcc2 internal prototype to avoid an error. */ |
3732 /* We use char because int might match the return type of a gcc2 | 3769 /* We use char because int might match the return type of a gcc2 |
3733 builtin and then its argument prototype would still apply. */ | 3770 builtin and then its argument prototype would still apply. */ |
3734 char dnet_ntoa(); | 3771 char dnet_ntoa(); |
3735 | 3772 |
3736 int main() { | 3773 int main() { |
3737 dnet_ntoa() | 3774 dnet_ntoa() |
3738 ; return 0; } | 3775 ; return 0; } |
3739 EOF | 3776 EOF |
3740 if { (eval echo configure:3741: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3777 if { (eval echo configure:3778: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3741 rm -rf conftest* | 3778 rm -rf conftest* |
3742 eval "ac_cv_lib_$ac_lib_var=yes" | 3779 eval "ac_cv_lib_$ac_lib_var=yes" |
3743 else | 3780 else |
3744 echo "configure: failed program was:" >&5 | 3781 echo "configure: failed program was:" >&5 |
3745 cat conftest.$ac_ext >&5 | 3782 cat conftest.$ac_ext >&5 |
3764 echo "$ac_t""no" 1>&6 | 3801 echo "$ac_t""no" 1>&6 |
3765 fi | 3802 fi |
3766 | 3803 |
3767 | 3804 |
3768 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 | 3805 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 |
3769 echo "configure:3770: checking for main in -lXbsd" >&5 | 3806 echo "configure:3807: checking for main in -lXbsd" >&5 |
3770 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` | 3807 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` |
3771 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 3808 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
3772 echo $ac_n "(cached) $ac_c" 1>&6 | 3809 echo $ac_n "(cached) $ac_c" 1>&6 |
3773 else | 3810 else |
3774 ac_save_LIBS="$LIBS" | 3811 ac_save_LIBS="$LIBS" |
3775 LIBS="-lXbsd $LIBS" | 3812 LIBS="-lXbsd $LIBS" |
3776 cat > conftest.$ac_ext <<EOF | 3813 cat > conftest.$ac_ext <<EOF |
3777 #line 3778 "configure" | 3814 #line 3815 "configure" |
3778 #include "confdefs.h" | 3815 #include "confdefs.h" |
3779 | 3816 |
3780 int main() { | 3817 int main() { |
3781 main() | 3818 main() |
3782 ; return 0; } | 3819 ; return 0; } |
3783 EOF | 3820 EOF |
3784 if { (eval echo configure:3785: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3821 if { (eval echo configure:3822: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3785 rm -rf conftest* | 3822 rm -rf conftest* |
3786 eval "ac_cv_lib_$ac_lib_var=yes" | 3823 eval "ac_cv_lib_$ac_lib_var=yes" |
3787 else | 3824 else |
3788 echo "configure: failed program was:" >&5 | 3825 echo "configure: failed program was:" >&5 |
3789 cat conftest.$ac_ext >&5 | 3826 cat conftest.$ac_ext >&5 |
3801 echo "$ac_t""no" 1>&6 | 3838 echo "$ac_t""no" 1>&6 |
3802 fi | 3839 fi |
3803 | 3840 |
3804 | 3841 |
3805 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 | 3842 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 |
3806 echo "configure:3807: checking for cma_open in -lpthreads" >&5 | 3843 echo "configure:3844: checking for cma_open in -lpthreads" >&5 |
3807 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` | 3844 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` |
3808 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 3845 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
3809 echo $ac_n "(cached) $ac_c" 1>&6 | 3846 echo $ac_n "(cached) $ac_c" 1>&6 |
3810 else | 3847 else |
3811 ac_save_LIBS="$LIBS" | 3848 ac_save_LIBS="$LIBS" |
3812 LIBS="-lpthreads $LIBS" | 3849 LIBS="-lpthreads $LIBS" |
3813 cat > conftest.$ac_ext <<EOF | 3850 cat > conftest.$ac_ext <<EOF |
3814 #line 3815 "configure" | 3851 #line 3852 "configure" |
3815 #include "confdefs.h" | 3852 #include "confdefs.h" |
3816 /* Override any gcc2 internal prototype to avoid an error. */ | 3853 /* Override any gcc2 internal prototype to avoid an error. */ |
3817 /* We use char because int might match the return type of a gcc2 | 3854 /* We use char because int might match the return type of a gcc2 |
3818 builtin and then its argument prototype would still apply. */ | 3855 builtin and then its argument prototype would still apply. */ |
3819 char cma_open(); | 3856 char cma_open(); |
3820 | 3857 |
3821 int main() { | 3858 int main() { |
3822 cma_open() | 3859 cma_open() |
3823 ; return 0; } | 3860 ; return 0; } |
3824 EOF | 3861 EOF |
3825 if { (eval echo configure:3826: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3862 if { (eval echo configure:3863: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3826 rm -rf conftest* | 3863 rm -rf conftest* |
3827 eval "ac_cv_lib_$ac_lib_var=yes" | 3864 eval "ac_cv_lib_$ac_lib_var=yes" |
3828 else | 3865 else |
3829 echo "configure: failed program was:" >&5 | 3866 echo "configure: failed program was:" >&5 |
3830 cat conftest.$ac_ext >&5 | 3867 cat conftest.$ac_ext >&5 |
3849 echo "$ac_t""no" 1>&6 | 3886 echo "$ac_t""no" 1>&6 |
3850 fi | 3887 fi |
3851 | 3888 |
3852 | 3889 |
3853 echo $ac_n "checking for XFree86 in /usr/X386""... $ac_c" 1>&6 | 3890 echo $ac_n "checking for XFree86 in /usr/X386""... $ac_c" 1>&6 |
3854 echo "configure:3855: checking for XFree86 in /usr/X386" >&5 | 3891 echo "configure:3892: checking for XFree86 in /usr/X386" >&5 |
3855 if test -d /usr/X386/include; then | 3892 if test -d /usr/X386/include; then |
3856 HAVE_XFREE386=yes | 3893 HAVE_XFREE386=yes |
3857 : ${C_SWITCH_X_SITE="-I/usr/X386/include"} | 3894 : ${C_SWITCH_X_SITE="-I/usr/X386/include"} |
3858 else | 3895 else |
3859 HAVE_XFREE386=no | 3896 HAVE_XFREE386=no |
3878 export LD_RUN_PATH | 3915 export LD_RUN_PATH |
3879 fi | 3916 fi |
3880 | 3917 |
3881 if test "${opsys}" = "gnu-linux"; then | 3918 if test "${opsys}" = "gnu-linux"; then |
3882 echo $ac_n "checking whether X on GNU/Linux needs -b to link""... $ac_c" 1>&6 | 3919 echo $ac_n "checking whether X on GNU/Linux needs -b to link""... $ac_c" 1>&6 |
3883 echo "configure:3884: checking whether X on GNU/Linux needs -b to link" >&5 | 3920 echo "configure:3921: checking whether X on GNU/Linux needs -b to link" >&5 |
3884 cat > conftest.$ac_ext <<EOF | 3921 cat > conftest.$ac_ext <<EOF |
3885 #line 3886 "configure" | 3922 #line 3923 "configure" |
3886 #include "confdefs.h" | 3923 #include "confdefs.h" |
3887 | 3924 |
3888 int main() { | 3925 int main() { |
3889 XOpenDisplay ("foo"); | 3926 XOpenDisplay ("foo"); |
3890 ; return 0; } | 3927 ; return 0; } |
3891 EOF | 3928 EOF |
3892 if { (eval echo configure:3893: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3929 if { (eval echo configure:3930: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3893 rm -rf conftest* | 3930 rm -rf conftest* |
3894 xlinux_first_failure=no | 3931 xlinux_first_failure=no |
3895 else | 3932 else |
3896 echo "configure: failed program was:" >&5 | 3933 echo "configure: failed program was:" >&5 |
3897 cat conftest.$ac_ext >&5 | 3934 cat conftest.$ac_ext >&5 |
3907 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -b i486-linuxaout" | 3944 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -b i486-linuxaout" |
3908 C_SWITCH_X_SITE="$C_SWITCH_X_SITE -b i486-linuxaout" | 3945 C_SWITCH_X_SITE="$C_SWITCH_X_SITE -b i486-linuxaout" |
3909 CPPFLAGS="$CPPFLAGS -b i486-linuxaout" | 3946 CPPFLAGS="$CPPFLAGS -b i486-linuxaout" |
3910 LIBS="$LIBS -b i486-linuxaout" | 3947 LIBS="$LIBS -b i486-linuxaout" |
3911 cat > conftest.$ac_ext <<EOF | 3948 cat > conftest.$ac_ext <<EOF |
3912 #line 3913 "configure" | 3949 #line 3950 "configure" |
3913 #include "confdefs.h" | 3950 #include "confdefs.h" |
3914 | 3951 |
3915 int main() { | 3952 int main() { |
3916 XOpenDisplay ("foo"); | 3953 XOpenDisplay ("foo"); |
3917 ; return 0; } | 3954 ; return 0; } |
3918 EOF | 3955 EOF |
3919 if { (eval echo configure:3920: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3956 if { (eval echo configure:3957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3920 rm -rf conftest* | 3957 rm -rf conftest* |
3921 xlinux_second_failure=no | 3958 xlinux_second_failure=no |
3922 else | 3959 else |
3923 echo "configure: failed program was:" >&5 | 3960 echo "configure: failed program was:" >&5 |
3924 cat conftest.$ac_ext >&5 | 3961 cat conftest.$ac_ext >&5 |
3944 | 3981 |
3945 for ac_func in XrmSetDatabase XScreenResourceString \ | 3982 for ac_func in XrmSetDatabase XScreenResourceString \ |
3946 XScreenNumberOfScreen XSetWMProtocols | 3983 XScreenNumberOfScreen XSetWMProtocols |
3947 do | 3984 do |
3948 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 3985 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
3949 echo "configure:3950: checking for $ac_func" >&5 | 3986 echo "configure:3987: checking for $ac_func" >&5 |
3950 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 3987 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
3951 echo $ac_n "(cached) $ac_c" 1>&6 | 3988 echo $ac_n "(cached) $ac_c" 1>&6 |
3952 else | 3989 else |
3953 cat > conftest.$ac_ext <<EOF | 3990 cat > conftest.$ac_ext <<EOF |
3954 #line 3955 "configure" | 3991 #line 3992 "configure" |
3955 #include "confdefs.h" | 3992 #include "confdefs.h" |
3956 /* System header to define __stub macros and hopefully few prototypes, | 3993 /* System header to define __stub macros and hopefully few prototypes, |
3957 which can conflict with char $ac_func(); below. */ | 3994 which can conflict with char $ac_func(); below. */ |
3958 #include <assert.h> | 3995 #include <assert.h> |
3959 /* Override any gcc2 internal prototype to avoid an error. */ | 3996 /* Override any gcc2 internal prototype to avoid an error. */ |
3972 $ac_func(); | 4009 $ac_func(); |
3973 #endif | 4010 #endif |
3974 | 4011 |
3975 ; return 0; } | 4012 ; return 0; } |
3976 EOF | 4013 EOF |
3977 if { (eval echo configure:3978: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4014 if { (eval echo configure:4015: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3978 rm -rf conftest* | 4015 rm -rf conftest* |
3979 eval "ac_cv_func_$ac_func=yes" | 4016 eval "ac_cv_func_$ac_func=yes" |
3980 else | 4017 else |
3981 echo "configure: failed program was:" >&5 | 4018 echo "configure: failed program was:" >&5 |
3982 cat conftest.$ac_ext >&5 | 4019 cat conftest.$ac_ext >&5 |
4000 | 4037 |
4001 fi | 4038 fi |
4002 | 4039 |
4003 if test "${window_system}" = "x11"; then | 4040 if test "${window_system}" = "x11"; then |
4004 echo $ac_n "checking X11 version 6""... $ac_c" 1>&6 | 4041 echo $ac_n "checking X11 version 6""... $ac_c" 1>&6 |
4005 echo "configure:4006: checking X11 version 6" >&5 | 4042 echo "configure:4043: checking X11 version 6" >&5 |
4006 if eval "test \"`echo '$''{'emacs_cv_x11_version_6'+set}'`\" = set"; then | 4043 if eval "test \"`echo '$''{'emacs_cv_x11_version_6'+set}'`\" = set"; then |
4007 echo $ac_n "(cached) $ac_c" 1>&6 | 4044 echo $ac_n "(cached) $ac_c" 1>&6 |
4008 else | 4045 else |
4009 cat > conftest.$ac_ext <<EOF | 4046 cat > conftest.$ac_ext <<EOF |
4010 #line 4011 "configure" | 4047 #line 4048 "configure" |
4011 #include "confdefs.h" | 4048 #include "confdefs.h" |
4012 #include <X11/Xlib.h> | 4049 #include <X11/Xlib.h> |
4013 int main() { | 4050 int main() { |
4014 #if XlibSpecificationRelease < 6 | 4051 #if XlibSpecificationRelease < 6 |
4015 fail; | 4052 fail; |
4016 #endif | 4053 #endif |
4017 | 4054 |
4018 ; return 0; } | 4055 ; return 0; } |
4019 EOF | 4056 EOF |
4020 if { (eval echo configure:4021: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4057 if { (eval echo configure:4058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4021 rm -rf conftest* | 4058 rm -rf conftest* |
4022 emacs_cv_x11_version_6=yes | 4059 emacs_cv_x11_version_6=yes |
4023 else | 4060 else |
4024 echo "configure: failed program was:" >&5 | 4061 echo "configure: failed program was:" >&5 |
4025 cat conftest.$ac_ext >&5 | 4062 cat conftest.$ac_ext >&5 |
4040 fi | 4077 fi |
4041 fi | 4078 fi |
4042 | 4079 |
4043 if test "${window_system}" = "x11"; then | 4080 if test "${window_system}" = "x11"; then |
4044 echo $ac_n "checking X11 version 5""... $ac_c" 1>&6 | 4081 echo $ac_n "checking X11 version 5""... $ac_c" 1>&6 |
4045 echo "configure:4046: checking X11 version 5" >&5 | 4082 echo "configure:4083: checking X11 version 5" >&5 |
4046 if eval "test \"`echo '$''{'emacs_cv_x11_version_5'+set}'`\" = set"; then | 4083 if eval "test \"`echo '$''{'emacs_cv_x11_version_5'+set}'`\" = set"; then |
4047 echo $ac_n "(cached) $ac_c" 1>&6 | 4084 echo $ac_n "(cached) $ac_c" 1>&6 |
4048 else | 4085 else |
4049 cat > conftest.$ac_ext <<EOF | 4086 cat > conftest.$ac_ext <<EOF |
4050 #line 4051 "configure" | 4087 #line 4088 "configure" |
4051 #include "confdefs.h" | 4088 #include "confdefs.h" |
4052 #include <X11/Xlib.h> | 4089 #include <X11/Xlib.h> |
4053 int main() { | 4090 int main() { |
4054 #if XlibSpecificationRelease < 5 | 4091 #if XlibSpecificationRelease < 5 |
4055 fail; | 4092 fail; |
4056 #endif | 4093 #endif |
4057 | 4094 |
4058 ; return 0; } | 4095 ; return 0; } |
4059 EOF | 4096 EOF |
4060 if { (eval echo configure:4061: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4097 if { (eval echo configure:4098: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4061 rm -rf conftest* | 4098 rm -rf conftest* |
4062 emacs_cv_x11_version_5=yes | 4099 emacs_cv_x11_version_5=yes |
4063 else | 4100 else |
4064 echo "configure: failed program was:" >&5 | 4101 echo "configure: failed program was:" >&5 |
4065 cat conftest.$ac_ext >&5 | 4102 cat conftest.$ac_ext >&5 |
4083 fi | 4120 fi |
4084 | 4121 |
4085 if test x"${USE_X_TOOLKIT}" = xmaybe; then | 4122 if test x"${USE_X_TOOLKIT}" = xmaybe; then |
4086 if test x"${HAVE_X11R5}" = xyes; then | 4123 if test x"${HAVE_X11R5}" = xyes; then |
4087 echo $ac_n "checking X11 version 5 with Xaw""... $ac_c" 1>&6 | 4124 echo $ac_n "checking X11 version 5 with Xaw""... $ac_c" 1>&6 |
4088 echo "configure:4089: checking X11 version 5 with Xaw" >&5 | 4125 echo "configure:4126: checking X11 version 5 with Xaw" >&5 |
4089 if eval "test \"`echo '$''{'emacs_cv_x11_version_5_with_xaw'+set}'`\" = set"; then | 4126 if eval "test \"`echo '$''{'emacs_cv_x11_version_5_with_xaw'+set}'`\" = set"; then |
4090 echo $ac_n "(cached) $ac_c" 1>&6 | 4127 echo $ac_n "(cached) $ac_c" 1>&6 |
4091 else | 4128 else |
4092 cat > conftest.$ac_ext <<EOF | 4129 cat > conftest.$ac_ext <<EOF |
4093 #line 4094 "configure" | 4130 #line 4131 "configure" |
4094 #include "confdefs.h" | 4131 #include "confdefs.h" |
4095 | 4132 |
4096 #include <X11/Intrinsic.h> | 4133 #include <X11/Intrinsic.h> |
4097 #include <X11/Xaw/Simple.h> | 4134 #include <X11/Xaw/Simple.h> |
4098 int main() { | 4135 int main() { |
4099 | 4136 |
4100 ; return 0; } | 4137 ; return 0; } |
4101 EOF | 4138 EOF |
4102 if { (eval echo configure:4103: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4139 if { (eval echo configure:4140: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4103 rm -rf conftest* | 4140 rm -rf conftest* |
4104 emacs_cv_x11_version_5_with_xaw=yes | 4141 emacs_cv_x11_version_5_with_xaw=yes |
4105 else | 4142 else |
4106 echo "configure: failed program was:" >&5 | 4143 echo "configure: failed program was:" >&5 |
4107 cat conftest.$ac_ext >&5 | 4144 cat conftest.$ac_ext >&5 |
4125 | 4162 |
4126 X_TOOLKIT_TYPE=$USE_X_TOOLKIT | 4163 X_TOOLKIT_TYPE=$USE_X_TOOLKIT |
4127 | 4164 |
4128 if test "${USE_X_TOOLKIT}" != "none"; then | 4165 if test "${USE_X_TOOLKIT}" != "none"; then |
4129 echo $ac_n "checking X11 toolkit version""... $ac_c" 1>&6 | 4166 echo $ac_n "checking X11 toolkit version""... $ac_c" 1>&6 |
4130 echo "configure:4131: checking X11 toolkit version" >&5 | 4167 echo "configure:4168: checking X11 toolkit version" >&5 |
4131 if eval "test \"`echo '$''{'emacs_cv_x11_toolkit_version_6'+set}'`\" = set"; then | 4168 if eval "test \"`echo '$''{'emacs_cv_x11_toolkit_version_6'+set}'`\" = set"; then |
4132 echo $ac_n "(cached) $ac_c" 1>&6 | 4169 echo $ac_n "(cached) $ac_c" 1>&6 |
4133 else | 4170 else |
4134 cat > conftest.$ac_ext <<EOF | 4171 cat > conftest.$ac_ext <<EOF |
4135 #line 4136 "configure" | 4172 #line 4173 "configure" |
4136 #include "confdefs.h" | 4173 #include "confdefs.h" |
4137 #include <X11/Intrinsic.h> | 4174 #include <X11/Intrinsic.h> |
4138 int main() { | 4175 int main() { |
4139 #if XtSpecificationRelease < 6 | 4176 #if XtSpecificationRelease < 6 |
4140 fail; | 4177 fail; |
4141 #endif | 4178 #endif |
4142 | 4179 |
4143 ; return 0; } | 4180 ; return 0; } |
4144 EOF | 4181 EOF |
4145 if { (eval echo configure:4146: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4182 if { (eval echo configure:4183: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4146 rm -rf conftest* | 4183 rm -rf conftest* |
4147 emacs_cv_x11_toolkit_version_6=yes | 4184 emacs_cv_x11_toolkit_version_6=yes |
4148 else | 4185 else |
4149 echo "configure: failed program was:" >&5 | 4186 echo "configure: failed program was:" >&5 |
4150 cat conftest.$ac_ext >&5 | 4187 cat conftest.$ac_ext >&5 |
4170 LIBS="-lXt -lSM -lICE $LIBS" | 4207 LIBS="-lXt -lSM -lICE $LIBS" |
4171 else | 4208 else |
4172 LIBS="-lXt $LIBS" | 4209 LIBS="-lXt $LIBS" |
4173 fi | 4210 fi |
4174 echo $ac_n "checking for XmuConvertStandardSelection in -lXmu""... $ac_c" 1>&6 | 4211 echo $ac_n "checking for XmuConvertStandardSelection in -lXmu""... $ac_c" 1>&6 |
4175 echo "configure:4176: checking for XmuConvertStandardSelection in -lXmu" >&5 | 4212 echo "configure:4213: checking for XmuConvertStandardSelection in -lXmu" >&5 |
4176 ac_lib_var=`echo Xmu'_'XmuConvertStandardSelection | sed 'y%./+-%__p_%'` | 4213 ac_lib_var=`echo Xmu'_'XmuConvertStandardSelection | sed 'y%./+-%__p_%'` |
4177 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 4214 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
4178 echo $ac_n "(cached) $ac_c" 1>&6 | 4215 echo $ac_n "(cached) $ac_c" 1>&6 |
4179 else | 4216 else |
4180 ac_save_LIBS="$LIBS" | 4217 ac_save_LIBS="$LIBS" |
4181 LIBS="-lXmu $LIBS" | 4218 LIBS="-lXmu $LIBS" |
4182 cat > conftest.$ac_ext <<EOF | 4219 cat > conftest.$ac_ext <<EOF |
4183 #line 4184 "configure" | 4220 #line 4221 "configure" |
4184 #include "confdefs.h" | 4221 #include "confdefs.h" |
4185 /* Override any gcc2 internal prototype to avoid an error. */ | 4222 /* Override any gcc2 internal prototype to avoid an error. */ |
4186 /* We use char because int might match the return type of a gcc2 | 4223 /* We use char because int might match the return type of a gcc2 |
4187 builtin and then its argument prototype would still apply. */ | 4224 builtin and then its argument prototype would still apply. */ |
4188 char XmuConvertStandardSelection(); | 4225 char XmuConvertStandardSelection(); |
4189 | 4226 |
4190 int main() { | 4227 int main() { |
4191 XmuConvertStandardSelection() | 4228 XmuConvertStandardSelection() |
4192 ; return 0; } | 4229 ; return 0; } |
4193 EOF | 4230 EOF |
4194 if { (eval echo configure:4195: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4231 if { (eval echo configure:4232: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4195 rm -rf conftest* | 4232 rm -rf conftest* |
4196 eval "ac_cv_lib_$ac_lib_var=yes" | 4233 eval "ac_cv_lib_$ac_lib_var=yes" |
4197 else | 4234 else |
4198 echo "configure: failed program was:" >&5 | 4235 echo "configure: failed program was:" >&5 |
4199 cat conftest.$ac_ext >&5 | 4236 cat conftest.$ac_ext >&5 |
4221 LIBS="$OLDLIBS" | 4258 LIBS="$OLDLIBS" |
4222 fi | 4259 fi |
4223 | 4260 |
4224 if test "${USE_X_TOOLKIT}" = "MOTIF"; then | 4261 if test "${USE_X_TOOLKIT}" = "MOTIF"; then |
4225 echo $ac_n "checking for Motif version 2.1""... $ac_c" 1>&6 | 4262 echo $ac_n "checking for Motif version 2.1""... $ac_c" 1>&6 |
4226 echo "configure:4227: checking for Motif version 2.1" >&5 | 4263 echo "configure:4264: checking for Motif version 2.1" >&5 |
4227 if eval "test \"`echo '$''{'emacs_cv_motif_version_2_1'+set}'`\" = set"; then | 4264 if eval "test \"`echo '$''{'emacs_cv_motif_version_2_1'+set}'`\" = set"; then |
4228 echo $ac_n "(cached) $ac_c" 1>&6 | 4265 echo $ac_n "(cached) $ac_c" 1>&6 |
4229 else | 4266 else |
4230 cat > conftest.$ac_ext <<EOF | 4267 cat > conftest.$ac_ext <<EOF |
4231 #line 4232 "configure" | 4268 #line 4269 "configure" |
4232 #include "confdefs.h" | 4269 #include "confdefs.h" |
4233 #include <Xm/Xm.h> | 4270 #include <Xm/Xm.h> |
4234 int main() { | 4271 int main() { |
4235 #if XmVERSION > 2 || (XmVERSION == 2 && XmREVISION >= 1) | 4272 #if XmVERSION > 2 || (XmVERSION == 2 && XmREVISION >= 1) |
4236 int x = 5; | 4273 int x = 5; |
4237 #else | 4274 #else |
4238 Motif version prior to 2.1. | 4275 Motif version prior to 2.1. |
4239 #endif | 4276 #endif |
4240 ; return 0; } | 4277 ; return 0; } |
4241 EOF | 4278 EOF |
4242 if { (eval echo configure:4243: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4279 if { (eval echo configure:4280: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4243 rm -rf conftest* | 4280 rm -rf conftest* |
4244 emacs_cv_motif_version_2_1=yes | 4281 emacs_cv_motif_version_2_1=yes |
4245 else | 4282 else |
4246 echo "configure: failed program was:" >&5 | 4283 echo "configure: failed program was:" >&5 |
4247 cat conftest.$ac_ext >&5 | 4284 cat conftest.$ac_ext >&5 |
4257 cat >> confdefs.h <<\EOF | 4294 cat >> confdefs.h <<\EOF |
4258 #define HAVE_MOTIF_2_1 1 | 4295 #define HAVE_MOTIF_2_1 1 |
4259 EOF | 4296 EOF |
4260 | 4297 |
4261 echo $ac_n "checking for XpCreateContext in -lXp""... $ac_c" 1>&6 | 4298 echo $ac_n "checking for XpCreateContext in -lXp""... $ac_c" 1>&6 |
4262 echo "configure:4263: checking for XpCreateContext in -lXp" >&5 | 4299 echo "configure:4300: checking for XpCreateContext in -lXp" >&5 |
4263 ac_lib_var=`echo Xp'_'XpCreateContext | sed 'y%./+-%__p_%'` | 4300 ac_lib_var=`echo Xp'_'XpCreateContext | sed 'y%./+-%__p_%'` |
4264 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 4301 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
4265 echo $ac_n "(cached) $ac_c" 1>&6 | 4302 echo $ac_n "(cached) $ac_c" 1>&6 |
4266 else | 4303 else |
4267 ac_save_LIBS="$LIBS" | 4304 ac_save_LIBS="$LIBS" |
4268 LIBS="-lXp $LIBS" | 4305 LIBS="-lXp $LIBS" |
4269 cat > conftest.$ac_ext <<EOF | 4306 cat > conftest.$ac_ext <<EOF |
4270 #line 4271 "configure" | 4307 #line 4308 "configure" |
4271 #include "confdefs.h" | 4308 #include "confdefs.h" |
4272 /* Override any gcc2 internal prototype to avoid an error. */ | 4309 /* Override any gcc2 internal prototype to avoid an error. */ |
4273 /* We use char because int might match the return type of a gcc2 | 4310 /* We use char because int might match the return type of a gcc2 |
4274 builtin and then its argument prototype would still apply. */ | 4311 builtin and then its argument prototype would still apply. */ |
4275 char XpCreateContext(); | 4312 char XpCreateContext(); |
4276 | 4313 |
4277 int main() { | 4314 int main() { |
4278 XpCreateContext() | 4315 XpCreateContext() |
4279 ; return 0; } | 4316 ; return 0; } |
4280 EOF | 4317 EOF |
4281 if { (eval echo configure:4282: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4318 if { (eval echo configure:4319: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4282 rm -rf conftest* | 4319 rm -rf conftest* |
4283 eval "ac_cv_lib_$ac_lib_var=yes" | 4320 eval "ac_cv_lib_$ac_lib_var=yes" |
4284 else | 4321 else |
4285 echo "configure: failed program was:" >&5 | 4322 echo "configure: failed program was:" >&5 |
4286 cat conftest.$ac_ext >&5 | 4323 cat conftest.$ac_ext >&5 |
4314 if test "${USE_X_TOOLKIT}" != "none"; then | 4351 if test "${USE_X_TOOLKIT}" != "none"; then |
4315 old_c_flags="${CFLAGS}" | 4352 old_c_flags="${CFLAGS}" |
4316 CFLAGS="${LD_SWITCH_X_SITE}" | 4353 CFLAGS="${LD_SWITCH_X_SITE}" |
4317 ac_safe=`echo "X11/Xaw3d/Scrollbar.h" | sed 'y%./+-%__p_%'` | 4354 ac_safe=`echo "X11/Xaw3d/Scrollbar.h" | sed 'y%./+-%__p_%'` |
4318 echo $ac_n "checking for X11/Xaw3d/Scrollbar.h""... $ac_c" 1>&6 | 4355 echo $ac_n "checking for X11/Xaw3d/Scrollbar.h""... $ac_c" 1>&6 |
4319 echo "configure:4320: checking for X11/Xaw3d/Scrollbar.h" >&5 | 4356 echo "configure:4357: checking for X11/Xaw3d/Scrollbar.h" >&5 |
4320 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 4357 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
4321 echo $ac_n "(cached) $ac_c" 1>&6 | 4358 echo $ac_n "(cached) $ac_c" 1>&6 |
4322 else | 4359 else |
4323 cat > conftest.$ac_ext <<EOF | 4360 cat > conftest.$ac_ext <<EOF |
4324 #line 4325 "configure" | 4361 #line 4362 "configure" |
4325 #include "confdefs.h" | 4362 #include "confdefs.h" |
4326 #include <X11/Xaw3d/Scrollbar.h> | 4363 #include <X11/Xaw3d/Scrollbar.h> |
4327 EOF | 4364 EOF |
4328 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4365 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4329 { (eval echo configure:4330: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4366 { (eval echo configure:4367: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4330 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 4367 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
4331 if test -z "$ac_err"; then | 4368 if test -z "$ac_err"; then |
4332 rm -rf conftest* | 4369 rm -rf conftest* |
4333 eval "ac_cv_header_$ac_safe=yes" | 4370 eval "ac_cv_header_$ac_safe=yes" |
4334 else | 4371 else |
4341 rm -f conftest* | 4378 rm -f conftest* |
4342 fi | 4379 fi |
4343 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 4380 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
4344 echo "$ac_t""yes" 1>&6 | 4381 echo "$ac_t""yes" 1>&6 |
4345 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw3d""... $ac_c" 1>&6 | 4382 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw3d""... $ac_c" 1>&6 |
4346 echo "configure:4347: checking for XawScrollbarSetThumb in -lXaw3d" >&5 | 4383 echo "configure:4384: checking for XawScrollbarSetThumb in -lXaw3d" >&5 |
4347 ac_lib_var=`echo Xaw3d'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 4384 ac_lib_var=`echo Xaw3d'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
4348 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 4385 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
4349 echo $ac_n "(cached) $ac_c" 1>&6 | 4386 echo $ac_n "(cached) $ac_c" 1>&6 |
4350 else | 4387 else |
4351 ac_save_LIBS="$LIBS" | 4388 ac_save_LIBS="$LIBS" |
4352 LIBS="-lXaw3d -lX11 $LIBS" | 4389 LIBS="-lXaw3d -lX11 $LIBS" |
4353 cat > conftest.$ac_ext <<EOF | 4390 cat > conftest.$ac_ext <<EOF |
4354 #line 4355 "configure" | 4391 #line 4392 "configure" |
4355 #include "confdefs.h" | 4392 #include "confdefs.h" |
4356 /* Override any gcc2 internal prototype to avoid an error. */ | 4393 /* Override any gcc2 internal prototype to avoid an error. */ |
4357 /* We use char because int might match the return type of a gcc2 | 4394 /* We use char because int might match the return type of a gcc2 |
4358 builtin and then its argument prototype would still apply. */ | 4395 builtin and then its argument prototype would still apply. */ |
4359 char XawScrollbarSetThumb(); | 4396 char XawScrollbarSetThumb(); |
4360 | 4397 |
4361 int main() { | 4398 int main() { |
4362 XawScrollbarSetThumb() | 4399 XawScrollbarSetThumb() |
4363 ; return 0; } | 4400 ; return 0; } |
4364 EOF | 4401 EOF |
4365 if { (eval echo configure:4366: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4402 if { (eval echo configure:4403: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4366 rm -rf conftest* | 4403 rm -rf conftest* |
4367 eval "ac_cv_lib_$ac_lib_var=yes" | 4404 eval "ac_cv_lib_$ac_lib_var=yes" |
4368 else | 4405 else |
4369 echo "configure: failed program was:" >&5 | 4406 echo "configure: failed program was:" >&5 |
4370 cat conftest.$ac_ext >&5 | 4407 cat conftest.$ac_ext >&5 |
4424 if test "${with_xpm}" != "no"; then | 4461 if test "${with_xpm}" != "no"; then |
4425 old_c_flags="${CFLAGS}" | 4462 old_c_flags="${CFLAGS}" |
4426 CFLAGS="${LD_SWITCH_X_SITE}" | 4463 CFLAGS="${LD_SWITCH_X_SITE}" |
4427 ac_safe=`echo "X11/xpm.h" | sed 'y%./+-%__p_%'` | 4464 ac_safe=`echo "X11/xpm.h" | sed 'y%./+-%__p_%'` |
4428 echo $ac_n "checking for X11/xpm.h""... $ac_c" 1>&6 | 4465 echo $ac_n "checking for X11/xpm.h""... $ac_c" 1>&6 |
4429 echo "configure:4430: checking for X11/xpm.h" >&5 | 4466 echo "configure:4467: checking for X11/xpm.h" >&5 |
4430 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 4467 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
4431 echo $ac_n "(cached) $ac_c" 1>&6 | 4468 echo $ac_n "(cached) $ac_c" 1>&6 |
4432 else | 4469 else |
4433 cat > conftest.$ac_ext <<EOF | 4470 cat > conftest.$ac_ext <<EOF |
4434 #line 4435 "configure" | 4471 #line 4472 "configure" |
4435 #include "confdefs.h" | 4472 #include "confdefs.h" |
4436 #include <X11/xpm.h> | 4473 #include <X11/xpm.h> |
4437 EOF | 4474 EOF |
4438 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4475 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4439 { (eval echo configure:4440: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4476 { (eval echo configure:4477: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4440 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 4477 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
4441 if test -z "$ac_err"; then | 4478 if test -z "$ac_err"; then |
4442 rm -rf conftest* | 4479 rm -rf conftest* |
4443 eval "ac_cv_header_$ac_safe=yes" | 4480 eval "ac_cv_header_$ac_safe=yes" |
4444 else | 4481 else |
4451 rm -f conftest* | 4488 rm -f conftest* |
4452 fi | 4489 fi |
4453 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 4490 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
4454 echo "$ac_t""yes" 1>&6 | 4491 echo "$ac_t""yes" 1>&6 |
4455 echo $ac_n "checking for XpmReadFileToPixmap in -lXpm""... $ac_c" 1>&6 | 4492 echo $ac_n "checking for XpmReadFileToPixmap in -lXpm""... $ac_c" 1>&6 |
4456 echo "configure:4457: checking for XpmReadFileToPixmap in -lXpm" >&5 | 4493 echo "configure:4494: checking for XpmReadFileToPixmap in -lXpm" >&5 |
4457 ac_lib_var=`echo Xpm'_'XpmReadFileToPixmap | sed 'y%./+-%__p_%'` | 4494 ac_lib_var=`echo Xpm'_'XpmReadFileToPixmap | sed 'y%./+-%__p_%'` |
4458 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 4495 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
4459 echo $ac_n "(cached) $ac_c" 1>&6 | 4496 echo $ac_n "(cached) $ac_c" 1>&6 |
4460 else | 4497 else |
4461 ac_save_LIBS="$LIBS" | 4498 ac_save_LIBS="$LIBS" |
4462 LIBS="-lXpm -lX11 $LIBS" | 4499 LIBS="-lXpm -lX11 $LIBS" |
4463 cat > conftest.$ac_ext <<EOF | 4500 cat > conftest.$ac_ext <<EOF |
4464 #line 4465 "configure" | 4501 #line 4502 "configure" |
4465 #include "confdefs.h" | 4502 #include "confdefs.h" |
4466 /* Override any gcc2 internal prototype to avoid an error. */ | 4503 /* Override any gcc2 internal prototype to avoid an error. */ |
4467 /* We use char because int might match the return type of a gcc2 | 4504 /* We use char because int might match the return type of a gcc2 |
4468 builtin and then its argument prototype would still apply. */ | 4505 builtin and then its argument prototype would still apply. */ |
4469 char XpmReadFileToPixmap(); | 4506 char XpmReadFileToPixmap(); |
4470 | 4507 |
4471 int main() { | 4508 int main() { |
4472 XpmReadFileToPixmap() | 4509 XpmReadFileToPixmap() |
4473 ; return 0; } | 4510 ; return 0; } |
4474 EOF | 4511 EOF |
4475 if { (eval echo configure:4476: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4512 if { (eval echo configure:4513: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4476 rm -rf conftest* | 4513 rm -rf conftest* |
4477 eval "ac_cv_lib_$ac_lib_var=yes" | 4514 eval "ac_cv_lib_$ac_lib_var=yes" |
4478 else | 4515 else |
4479 echo "configure: failed program was:" >&5 | 4516 echo "configure: failed program was:" >&5 |
4480 cat conftest.$ac_ext >&5 | 4517 cat conftest.$ac_ext >&5 |
4513 if test "${with_jpeg}" != "no"; then | 4550 if test "${with_jpeg}" != "no"; then |
4514 old_c_flags="${CFLAGS}" | 4551 old_c_flags="${CFLAGS}" |
4515 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" | 4552 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" |
4516 ac_safe=`echo "jerror.h" | sed 'y%./+-%__p_%'` | 4553 ac_safe=`echo "jerror.h" | sed 'y%./+-%__p_%'` |
4517 echo $ac_n "checking for jerror.h""... $ac_c" 1>&6 | 4554 echo $ac_n "checking for jerror.h""... $ac_c" 1>&6 |
4518 echo "configure:4519: checking for jerror.h" >&5 | 4555 echo "configure:4556: checking for jerror.h" >&5 |
4519 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 4556 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
4520 echo $ac_n "(cached) $ac_c" 1>&6 | 4557 echo $ac_n "(cached) $ac_c" 1>&6 |
4521 else | 4558 else |
4522 cat > conftest.$ac_ext <<EOF | 4559 cat > conftest.$ac_ext <<EOF |
4523 #line 4524 "configure" | 4560 #line 4561 "configure" |
4524 #include "confdefs.h" | 4561 #include "confdefs.h" |
4525 #include <jerror.h> | 4562 #include <jerror.h> |
4526 EOF | 4563 EOF |
4527 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4564 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4528 { (eval echo configure:4529: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4565 { (eval echo configure:4566: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4529 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 4566 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
4530 if test -z "$ac_err"; then | 4567 if test -z "$ac_err"; then |
4531 rm -rf conftest* | 4568 rm -rf conftest* |
4532 eval "ac_cv_header_$ac_safe=yes" | 4569 eval "ac_cv_header_$ac_safe=yes" |
4533 else | 4570 else |
4540 rm -f conftest* | 4577 rm -f conftest* |
4541 fi | 4578 fi |
4542 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 4579 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
4543 echo "$ac_t""yes" 1>&6 | 4580 echo "$ac_t""yes" 1>&6 |
4544 echo $ac_n "checking for jpeg_destroy_compress in -ljpeg""... $ac_c" 1>&6 | 4581 echo $ac_n "checking for jpeg_destroy_compress in -ljpeg""... $ac_c" 1>&6 |
4545 echo "configure:4546: checking for jpeg_destroy_compress in -ljpeg" >&5 | 4582 echo "configure:4583: checking for jpeg_destroy_compress in -ljpeg" >&5 |
4546 ac_lib_var=`echo jpeg'_'jpeg_destroy_compress | sed 'y%./+-%__p_%'` | 4583 ac_lib_var=`echo jpeg'_'jpeg_destroy_compress | sed 'y%./+-%__p_%'` |
4547 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 4584 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
4548 echo $ac_n "(cached) $ac_c" 1>&6 | 4585 echo $ac_n "(cached) $ac_c" 1>&6 |
4549 else | 4586 else |
4550 ac_save_LIBS="$LIBS" | 4587 ac_save_LIBS="$LIBS" |
4551 LIBS="-ljpeg -lX11 $LIBS" | 4588 LIBS="-ljpeg -lX11 $LIBS" |
4552 cat > conftest.$ac_ext <<EOF | 4589 cat > conftest.$ac_ext <<EOF |
4553 #line 4554 "configure" | 4590 #line 4591 "configure" |
4554 #include "confdefs.h" | 4591 #include "confdefs.h" |
4555 /* Override any gcc2 internal prototype to avoid an error. */ | 4592 /* Override any gcc2 internal prototype to avoid an error. */ |
4556 /* We use char because int might match the return type of a gcc2 | 4593 /* We use char because int might match the return type of a gcc2 |
4557 builtin and then its argument prototype would still apply. */ | 4594 builtin and then its argument prototype would still apply. */ |
4558 char jpeg_destroy_compress(); | 4595 char jpeg_destroy_compress(); |
4559 | 4596 |
4560 int main() { | 4597 int main() { |
4561 jpeg_destroy_compress() | 4598 jpeg_destroy_compress() |
4562 ; return 0; } | 4599 ; return 0; } |
4563 EOF | 4600 EOF |
4564 if { (eval echo configure:4565: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4601 if { (eval echo configure:4602: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4565 rm -rf conftest* | 4602 rm -rf conftest* |
4566 eval "ac_cv_lib_$ac_lib_var=yes" | 4603 eval "ac_cv_lib_$ac_lib_var=yes" |
4567 else | 4604 else |
4568 echo "configure: failed program was:" >&5 | 4605 echo "configure: failed program was:" >&5 |
4569 cat conftest.$ac_ext >&5 | 4606 cat conftest.$ac_ext >&5 |
4602 if test "${with_png}" != "no"; then | 4639 if test "${with_png}" != "no"; then |
4603 old_c_flags="${CFLAGS}" | 4640 old_c_flags="${CFLAGS}" |
4604 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" | 4641 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" |
4605 ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` | 4642 ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` |
4606 echo $ac_n "checking for png.h""... $ac_c" 1>&6 | 4643 echo $ac_n "checking for png.h""... $ac_c" 1>&6 |
4607 echo "configure:4608: checking for png.h" >&5 | 4644 echo "configure:4645: checking for png.h" >&5 |
4608 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 4645 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
4609 echo $ac_n "(cached) $ac_c" 1>&6 | 4646 echo $ac_n "(cached) $ac_c" 1>&6 |
4610 else | 4647 else |
4611 cat > conftest.$ac_ext <<EOF | 4648 cat > conftest.$ac_ext <<EOF |
4612 #line 4613 "configure" | 4649 #line 4650 "configure" |
4613 #include "confdefs.h" | 4650 #include "confdefs.h" |
4614 #include <png.h> | 4651 #include <png.h> |
4615 EOF | 4652 EOF |
4616 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4653 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4617 { (eval echo configure:4618: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4654 { (eval echo configure:4655: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4618 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 4655 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
4619 if test -z "$ac_err"; then | 4656 if test -z "$ac_err"; then |
4620 rm -rf conftest* | 4657 rm -rf conftest* |
4621 eval "ac_cv_header_$ac_safe=yes" | 4658 eval "ac_cv_header_$ac_safe=yes" |
4622 else | 4659 else |
4629 rm -f conftest* | 4666 rm -f conftest* |
4630 fi | 4667 fi |
4631 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 4668 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
4632 echo "$ac_t""yes" 1>&6 | 4669 echo "$ac_t""yes" 1>&6 |
4633 echo $ac_n "checking for png_set_expand in -lpng""... $ac_c" 1>&6 | 4670 echo $ac_n "checking for png_set_expand in -lpng""... $ac_c" 1>&6 |
4634 echo "configure:4635: checking for png_set_expand in -lpng" >&5 | 4671 echo "configure:4672: checking for png_set_expand in -lpng" >&5 |
4635 ac_lib_var=`echo png'_'png_set_expand | sed 'y%./+-%__p_%'` | 4672 ac_lib_var=`echo png'_'png_set_expand | sed 'y%./+-%__p_%'` |
4636 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 4673 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
4637 echo $ac_n "(cached) $ac_c" 1>&6 | 4674 echo $ac_n "(cached) $ac_c" 1>&6 |
4638 else | 4675 else |
4639 ac_save_LIBS="$LIBS" | 4676 ac_save_LIBS="$LIBS" |
4640 LIBS="-lpng -lX11 -lz -lm $LIBS" | 4677 LIBS="-lpng -lX11 -lz -lm $LIBS" |
4641 cat > conftest.$ac_ext <<EOF | 4678 cat > conftest.$ac_ext <<EOF |
4642 #line 4643 "configure" | 4679 #line 4680 "configure" |
4643 #include "confdefs.h" | 4680 #include "confdefs.h" |
4644 /* Override any gcc2 internal prototype to avoid an error. */ | 4681 /* Override any gcc2 internal prototype to avoid an error. */ |
4645 /* We use char because int might match the return type of a gcc2 | 4682 /* We use char because int might match the return type of a gcc2 |
4646 builtin and then its argument prototype would still apply. */ | 4683 builtin and then its argument prototype would still apply. */ |
4647 char png_set_expand(); | 4684 char png_set_expand(); |
4648 | 4685 |
4649 int main() { | 4686 int main() { |
4650 png_set_expand() | 4687 png_set_expand() |
4651 ; return 0; } | 4688 ; return 0; } |
4652 EOF | 4689 EOF |
4653 if { (eval echo configure:4654: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4690 if { (eval echo configure:4691: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4654 rm -rf conftest* | 4691 rm -rf conftest* |
4655 eval "ac_cv_lib_$ac_lib_var=yes" | 4692 eval "ac_cv_lib_$ac_lib_var=yes" |
4656 else | 4693 else |
4657 echo "configure: failed program was:" >&5 | 4694 echo "configure: failed program was:" >&5 |
4658 cat conftest.$ac_ext >&5 | 4695 cat conftest.$ac_ext >&5 |
4691 if test "${with_tiff}" != "no"; then | 4728 if test "${with_tiff}" != "no"; then |
4692 old_c_flags="${CFLAGS}" | 4729 old_c_flags="${CFLAGS}" |
4693 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" | 4730 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" |
4694 ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` | 4731 ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` |
4695 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 | 4732 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 |
4696 echo "configure:4697: checking for tiffio.h" >&5 | 4733 echo "configure:4734: checking for tiffio.h" >&5 |
4697 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 4734 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
4698 echo $ac_n "(cached) $ac_c" 1>&6 | 4735 echo $ac_n "(cached) $ac_c" 1>&6 |
4699 else | 4736 else |
4700 cat > conftest.$ac_ext <<EOF | 4737 cat > conftest.$ac_ext <<EOF |
4701 #line 4702 "configure" | 4738 #line 4739 "configure" |
4702 #include "confdefs.h" | 4739 #include "confdefs.h" |
4703 #include <tiffio.h> | 4740 #include <tiffio.h> |
4704 EOF | 4741 EOF |
4705 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4742 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4706 { (eval echo configure:4707: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4743 { (eval echo configure:4744: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4707 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 4744 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
4708 if test -z "$ac_err"; then | 4745 if test -z "$ac_err"; then |
4709 rm -rf conftest* | 4746 rm -rf conftest* |
4710 eval "ac_cv_header_$ac_safe=yes" | 4747 eval "ac_cv_header_$ac_safe=yes" |
4711 else | 4748 else |
4721 echo "$ac_t""yes" 1>&6 | 4758 echo "$ac_t""yes" 1>&6 |
4722 tifflibs="-lX11 -lz -lm" | 4759 tifflibs="-lX11 -lz -lm" |
4723 # At least one tiff package requires the jpeg library. | 4760 # At least one tiff package requires the jpeg library. |
4724 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi | 4761 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi |
4725 echo $ac_n "checking for TIFFGetVersion in -ltiff""... $ac_c" 1>&6 | 4762 echo $ac_n "checking for TIFFGetVersion in -ltiff""... $ac_c" 1>&6 |
4726 echo "configure:4727: checking for TIFFGetVersion in -ltiff" >&5 | 4763 echo "configure:4764: checking for TIFFGetVersion in -ltiff" >&5 |
4727 ac_lib_var=`echo tiff'_'TIFFGetVersion | sed 'y%./+-%__p_%'` | 4764 ac_lib_var=`echo tiff'_'TIFFGetVersion | sed 'y%./+-%__p_%'` |
4728 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 4765 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
4729 echo $ac_n "(cached) $ac_c" 1>&6 | 4766 echo $ac_n "(cached) $ac_c" 1>&6 |
4730 else | 4767 else |
4731 ac_save_LIBS="$LIBS" | 4768 ac_save_LIBS="$LIBS" |
4732 LIBS="-ltiff $tifflibs $LIBS" | 4769 LIBS="-ltiff $tifflibs $LIBS" |
4733 cat > conftest.$ac_ext <<EOF | 4770 cat > conftest.$ac_ext <<EOF |
4734 #line 4735 "configure" | 4771 #line 4772 "configure" |
4735 #include "confdefs.h" | 4772 #include "confdefs.h" |
4736 /* Override any gcc2 internal prototype to avoid an error. */ | 4773 /* Override any gcc2 internal prototype to avoid an error. */ |
4737 /* We use char because int might match the return type of a gcc2 | 4774 /* We use char because int might match the return type of a gcc2 |
4738 builtin and then its argument prototype would still apply. */ | 4775 builtin and then its argument prototype would still apply. */ |
4739 char TIFFGetVersion(); | 4776 char TIFFGetVersion(); |
4740 | 4777 |
4741 int main() { | 4778 int main() { |
4742 TIFFGetVersion() | 4779 TIFFGetVersion() |
4743 ; return 0; } | 4780 ; return 0; } |
4744 EOF | 4781 EOF |
4745 if { (eval echo configure:4746: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4782 if { (eval echo configure:4783: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4746 rm -rf conftest* | 4783 rm -rf conftest* |
4747 eval "ac_cv_lib_$ac_lib_var=yes" | 4784 eval "ac_cv_lib_$ac_lib_var=yes" |
4748 else | 4785 else |
4749 echo "configure: failed program was:" >&5 | 4786 echo "configure: failed program was:" >&5 |
4750 cat conftest.$ac_ext >&5 | 4787 cat conftest.$ac_ext >&5 |
4783 if test "${with_gif}" != "no"; then | 4820 if test "${with_gif}" != "no"; then |
4784 old_c_flags="${CFLAGS}" | 4821 old_c_flags="${CFLAGS}" |
4785 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" | 4822 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" |
4786 ac_safe=`echo "gif_lib.h" | sed 'y%./+-%__p_%'` | 4823 ac_safe=`echo "gif_lib.h" | sed 'y%./+-%__p_%'` |
4787 echo $ac_n "checking for gif_lib.h""... $ac_c" 1>&6 | 4824 echo $ac_n "checking for gif_lib.h""... $ac_c" 1>&6 |
4788 echo "configure:4789: checking for gif_lib.h" >&5 | 4825 echo "configure:4826: checking for gif_lib.h" >&5 |
4789 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 4826 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
4790 echo $ac_n "(cached) $ac_c" 1>&6 | 4827 echo $ac_n "(cached) $ac_c" 1>&6 |
4791 else | 4828 else |
4792 cat > conftest.$ac_ext <<EOF | 4829 cat > conftest.$ac_ext <<EOF |
4793 #line 4794 "configure" | 4830 #line 4831 "configure" |
4794 #include "confdefs.h" | 4831 #include "confdefs.h" |
4795 #include <gif_lib.h> | 4832 #include <gif_lib.h> |
4796 EOF | 4833 EOF |
4797 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4834 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4798 { (eval echo configure:4799: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4835 { (eval echo configure:4836: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4799 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 4836 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
4800 if test -z "$ac_err"; then | 4837 if test -z "$ac_err"; then |
4801 rm -rf conftest* | 4838 rm -rf conftest* |
4802 eval "ac_cv_header_$ac_safe=yes" | 4839 eval "ac_cv_header_$ac_safe=yes" |
4803 else | 4840 else |
4810 rm -f conftest* | 4847 rm -f conftest* |
4811 fi | 4848 fi |
4812 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 4849 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
4813 echo "$ac_t""yes" 1>&6 | 4850 echo "$ac_t""yes" 1>&6 |
4814 echo $ac_n "checking for DGifOpen in -lungif""... $ac_c" 1>&6 | 4851 echo $ac_n "checking for DGifOpen in -lungif""... $ac_c" 1>&6 |
4815 echo "configure:4816: checking for DGifOpen in -lungif" >&5 | 4852 echo "configure:4853: checking for DGifOpen in -lungif" >&5 |
4816 ac_lib_var=`echo ungif'_'DGifOpen | sed 'y%./+-%__p_%'` | 4853 ac_lib_var=`echo ungif'_'DGifOpen | sed 'y%./+-%__p_%'` |
4817 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 4854 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
4818 echo $ac_n "(cached) $ac_c" 1>&6 | 4855 echo $ac_n "(cached) $ac_c" 1>&6 |
4819 else | 4856 else |
4820 ac_save_LIBS="$LIBS" | 4857 ac_save_LIBS="$LIBS" |
4821 LIBS="-lungif -lX11 $LIBS" | 4858 LIBS="-lungif -lX11 $LIBS" |
4822 cat > conftest.$ac_ext <<EOF | 4859 cat > conftest.$ac_ext <<EOF |
4823 #line 4824 "configure" | 4860 #line 4861 "configure" |
4824 #include "confdefs.h" | 4861 #include "confdefs.h" |
4825 /* Override any gcc2 internal prototype to avoid an error. */ | 4862 /* Override any gcc2 internal prototype to avoid an error. */ |
4826 /* We use char because int might match the return type of a gcc2 | 4863 /* We use char because int might match the return type of a gcc2 |
4827 builtin and then its argument prototype would still apply. */ | 4864 builtin and then its argument prototype would still apply. */ |
4828 char DGifOpen(); | 4865 char DGifOpen(); |
4829 | 4866 |
4830 int main() { | 4867 int main() { |
4831 DGifOpen() | 4868 DGifOpen() |
4832 ; return 0; } | 4869 ; return 0; } |
4833 EOF | 4870 EOF |
4834 if { (eval echo configure:4835: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4871 if { (eval echo configure:4872: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4835 rm -rf conftest* | 4872 rm -rf conftest* |
4836 eval "ac_cv_lib_$ac_lib_var=yes" | 4873 eval "ac_cv_lib_$ac_lib_var=yes" |
4837 else | 4874 else |
4838 echo "configure: failed program was:" >&5 | 4875 echo "configure: failed program was:" >&5 |
4839 cat conftest.$ac_ext >&5 | 4876 cat conftest.$ac_ext >&5 |
4866 fi | 4903 fi |
4867 fi | 4904 fi |
4868 | 4905 |
4869 # If netdb.h doesn't declare h_errno, we must declare it by hand. | 4906 # If netdb.h doesn't declare h_errno, we must declare it by hand. |
4870 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 4907 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
4871 echo "configure:4872: checking whether netdb declares h_errno" >&5 | 4908 echo "configure:4909: checking whether netdb declares h_errno" >&5 |
4872 if eval "test \"`echo '$''{'emacs_cv_netdb_declares_h_errno'+set}'`\" = set"; then | 4909 if eval "test \"`echo '$''{'emacs_cv_netdb_declares_h_errno'+set}'`\" = set"; then |
4873 echo $ac_n "(cached) $ac_c" 1>&6 | 4910 echo $ac_n "(cached) $ac_c" 1>&6 |
4874 else | 4911 else |
4875 cat > conftest.$ac_ext <<EOF | 4912 cat > conftest.$ac_ext <<EOF |
4876 #line 4877 "configure" | 4913 #line 4914 "configure" |
4877 #include "confdefs.h" | 4914 #include "confdefs.h" |
4878 #include <netdb.h> | 4915 #include <netdb.h> |
4879 int main() { | 4916 int main() { |
4880 return h_errno; | 4917 return h_errno; |
4881 ; return 0; } | 4918 ; return 0; } |
4882 EOF | 4919 EOF |
4883 if { (eval echo configure:4884: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4920 if { (eval echo configure:4921: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4884 rm -rf conftest* | 4921 rm -rf conftest* |
4885 emacs_cv_netdb_declares_h_errno=yes | 4922 emacs_cv_netdb_declares_h_errno=yes |
4886 else | 4923 else |
4887 echo "configure: failed program was:" >&5 | 4924 echo "configure: failed program was:" >&5 |
4888 cat conftest.$ac_ext >&5 | 4925 cat conftest.$ac_ext >&5 |
4901 fi | 4938 fi |
4902 | 4939 |
4903 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 4940 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
4904 # for constant arguments. Useless! | 4941 # for constant arguments. Useless! |
4905 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 4942 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
4906 echo "configure:4907: checking for working alloca.h" >&5 | 4943 echo "configure:4944: checking for working alloca.h" >&5 |
4907 if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then | 4944 if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then |
4908 echo $ac_n "(cached) $ac_c" 1>&6 | 4945 echo $ac_n "(cached) $ac_c" 1>&6 |
4909 else | 4946 else |
4910 cat > conftest.$ac_ext <<EOF | 4947 cat > conftest.$ac_ext <<EOF |
4911 #line 4912 "configure" | 4948 #line 4949 "configure" |
4912 #include "confdefs.h" | 4949 #include "confdefs.h" |
4913 #include <alloca.h> | 4950 #include <alloca.h> |
4914 int main() { | 4951 int main() { |
4915 char *p = alloca(2 * sizeof(int)); | 4952 void *p = alloca(2 * sizeof(int)); |
4916 ; return 0; } | 4953 ; return 0; } |
4917 EOF | 4954 EOF |
4918 if { (eval echo configure:4919: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4955 if { (eval echo configure:4956: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4919 rm -rf conftest* | 4956 rm -rf conftest* |
4920 ac_cv_header_alloca_h=yes | 4957 ac_cv_header_alloca_h=yes |
4921 else | 4958 else |
4922 echo "configure: failed program was:" >&5 | 4959 echo "configure: failed program was:" >&5 |
4923 cat conftest.$ac_ext >&5 | 4960 cat conftest.$ac_ext >&5 |
4934 EOF | 4971 EOF |
4935 | 4972 |
4936 fi | 4973 fi |
4937 | 4974 |
4938 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 4975 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
4939 echo "configure:4940: checking for alloca" >&5 | 4976 echo "configure:4977: checking for alloca" >&5 |
4940 if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then | 4977 if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then |
4941 echo $ac_n "(cached) $ac_c" 1>&6 | 4978 echo $ac_n "(cached) $ac_c" 1>&6 |
4942 else | 4979 else |
4943 cat > conftest.$ac_ext <<EOF | 4980 cat > conftest.$ac_ext <<EOF |
4944 #line 4945 "configure" | 4981 #line 4982 "configure" |
4945 #include "confdefs.h" | 4982 #include "confdefs.h" |
4946 | 4983 |
4947 #ifdef __GNUC__ | 4984 #ifdef __GNUC__ |
4948 # define alloca __builtin_alloca | 4985 # define alloca __builtin_alloca |
4949 #else | 4986 #else |
4967 | 5004 |
4968 int main() { | 5005 int main() { |
4969 char *p = (char *) alloca(1); | 5006 char *p = (char *) alloca(1); |
4970 ; return 0; } | 5007 ; return 0; } |
4971 EOF | 5008 EOF |
4972 if { (eval echo configure:4973: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5009 if { (eval echo configure:5010: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4973 rm -rf conftest* | 5010 rm -rf conftest* |
4974 ac_cv_func_alloca_works=yes | 5011 ac_cv_func_alloca_works=yes |
4975 else | 5012 else |
4976 echo "configure: failed program was:" >&5 | 5013 echo "configure: failed program was:" >&5 |
4977 cat conftest.$ac_ext >&5 | 5014 cat conftest.$ac_ext >&5 |
4999 #define C_ALLOCA 1 | 5036 #define C_ALLOCA 1 |
5000 EOF | 5037 EOF |
5001 | 5038 |
5002 | 5039 |
5003 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 5040 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
5004 echo "configure:5005: checking whether alloca needs Cray hooks" >&5 | 5041 echo "configure:5042: checking whether alloca needs Cray hooks" >&5 |
5005 if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then | 5042 if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then |
5006 echo $ac_n "(cached) $ac_c" 1>&6 | 5043 echo $ac_n "(cached) $ac_c" 1>&6 |
5007 else | 5044 else |
5008 cat > conftest.$ac_ext <<EOF | 5045 cat > conftest.$ac_ext <<EOF |
5009 #line 5010 "configure" | 5046 #line 5047 "configure" |
5010 #include "confdefs.h" | 5047 #include "confdefs.h" |
5011 #if defined(CRAY) && ! defined(CRAY2) | 5048 #if defined(CRAY) && ! defined(CRAY2) |
5012 webecray | 5049 webecray |
5013 #else | 5050 #else |
5014 wenotbecray | 5051 wenotbecray |
5029 | 5066 |
5030 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 5067 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
5031 if test $ac_cv_os_cray = yes; then | 5068 if test $ac_cv_os_cray = yes; then |
5032 for ac_func in _getb67 GETB67 getb67; do | 5069 for ac_func in _getb67 GETB67 getb67; do |
5033 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5070 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
5034 echo "configure:5035: checking for $ac_func" >&5 | 5071 echo "configure:5072: checking for $ac_func" >&5 |
5035 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 5072 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
5036 echo $ac_n "(cached) $ac_c" 1>&6 | 5073 echo $ac_n "(cached) $ac_c" 1>&6 |
5037 else | 5074 else |
5038 cat > conftest.$ac_ext <<EOF | 5075 cat > conftest.$ac_ext <<EOF |
5039 #line 5040 "configure" | 5076 #line 5077 "configure" |
5040 #include "confdefs.h" | 5077 #include "confdefs.h" |
5041 /* System header to define __stub macros and hopefully few prototypes, | 5078 /* System header to define __stub macros and hopefully few prototypes, |
5042 which can conflict with char $ac_func(); below. */ | 5079 which can conflict with char $ac_func(); below. */ |
5043 #include <assert.h> | 5080 #include <assert.h> |
5044 /* Override any gcc2 internal prototype to avoid an error. */ | 5081 /* Override any gcc2 internal prototype to avoid an error. */ |
5057 $ac_func(); | 5094 $ac_func(); |
5058 #endif | 5095 #endif |
5059 | 5096 |
5060 ; return 0; } | 5097 ; return 0; } |
5061 EOF | 5098 EOF |
5062 if { (eval echo configure:5063: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5099 if { (eval echo configure:5100: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5063 rm -rf conftest* | 5100 rm -rf conftest* |
5064 eval "ac_cv_func_$ac_func=yes" | 5101 eval "ac_cv_func_$ac_func=yes" |
5065 else | 5102 else |
5066 echo "configure: failed program was:" >&5 | 5103 echo "configure: failed program was:" >&5 |
5067 cat conftest.$ac_ext >&5 | 5104 cat conftest.$ac_ext >&5 |
5084 | 5121 |
5085 done | 5122 done |
5086 fi | 5123 fi |
5087 | 5124 |
5088 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 5125 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
5089 echo "configure:5090: checking stack direction for C alloca" >&5 | 5126 echo "configure:5127: checking stack direction for C alloca" >&5 |
5090 if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then | 5127 if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then |
5091 echo $ac_n "(cached) $ac_c" 1>&6 | 5128 echo $ac_n "(cached) $ac_c" 1>&6 |
5092 else | 5129 else |
5093 if test "$cross_compiling" = yes; then | 5130 if test "$cross_compiling" = yes; then |
5094 ac_cv_c_stack_direction=0 | 5131 ac_cv_c_stack_direction=0 |
5095 else | 5132 else |
5096 cat > conftest.$ac_ext <<EOF | 5133 cat > conftest.$ac_ext <<EOF |
5097 #line 5098 "configure" | 5134 #line 5135 "configure" |
5098 #include "confdefs.h" | 5135 #include "confdefs.h" |
5099 find_stack_direction () | 5136 find_stack_direction () |
5100 { | 5137 { |
5101 static char *addr = 0; | 5138 static char *addr = 0; |
5102 auto char dummy; | 5139 auto char dummy; |
5111 main () | 5148 main () |
5112 { | 5149 { |
5113 exit (find_stack_direction() < 0); | 5150 exit (find_stack_direction() < 0); |
5114 } | 5151 } |
5115 EOF | 5152 EOF |
5116 if { (eval echo configure:5117: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 5153 if { (eval echo configure:5154: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
5117 then | 5154 then |
5118 ac_cv_c_stack_direction=1 | 5155 ac_cv_c_stack_direction=1 |
5119 else | 5156 else |
5120 echo "configure: failed program was:" >&5 | 5157 echo "configure: failed program was:" >&5 |
5121 cat conftest.$ac_ext >&5 | 5158 cat conftest.$ac_ext >&5 |
5136 | 5173 |
5137 | 5174 |
5138 # fmod, logb, and frexp are found in -lm on most systems. | 5175 # fmod, logb, and frexp are found in -lm on most systems. |
5139 # On HPUX 9.01, -lm does not contain logb, so check for sqrt. | 5176 # On HPUX 9.01, -lm does not contain logb, so check for sqrt. |
5140 echo $ac_n "checking for sqrt in -lm""... $ac_c" 1>&6 | 5177 echo $ac_n "checking for sqrt in -lm""... $ac_c" 1>&6 |
5141 echo "configure:5142: checking for sqrt in -lm" >&5 | 5178 echo "configure:5179: checking for sqrt in -lm" >&5 |
5142 ac_lib_var=`echo m'_'sqrt | sed 'y%./+-%__p_%'` | 5179 ac_lib_var=`echo m'_'sqrt | sed 'y%./+-%__p_%'` |
5143 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5180 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5144 echo $ac_n "(cached) $ac_c" 1>&6 | 5181 echo $ac_n "(cached) $ac_c" 1>&6 |
5145 else | 5182 else |
5146 ac_save_LIBS="$LIBS" | 5183 ac_save_LIBS="$LIBS" |
5147 LIBS="-lm $LIBS" | 5184 LIBS="-lm $LIBS" |
5148 cat > conftest.$ac_ext <<EOF | 5185 cat > conftest.$ac_ext <<EOF |
5149 #line 5150 "configure" | 5186 #line 5187 "configure" |
5150 #include "confdefs.h" | 5187 #include "confdefs.h" |
5151 /* Override any gcc2 internal prototype to avoid an error. */ | 5188 /* Override any gcc2 internal prototype to avoid an error. */ |
5152 /* We use char because int might match the return type of a gcc2 | 5189 /* We use char because int might match the return type of a gcc2 |
5153 builtin and then its argument prototype would still apply. */ | 5190 builtin and then its argument prototype would still apply. */ |
5154 char sqrt(); | 5191 char sqrt(); |
5155 | 5192 |
5156 int main() { | 5193 int main() { |
5157 sqrt() | 5194 sqrt() |
5158 ; return 0; } | 5195 ; return 0; } |
5159 EOF | 5196 EOF |
5160 if { (eval echo configure:5161: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5197 if { (eval echo configure:5198: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5161 rm -rf conftest* | 5198 rm -rf conftest* |
5162 eval "ac_cv_lib_$ac_lib_var=yes" | 5199 eval "ac_cv_lib_$ac_lib_var=yes" |
5163 else | 5200 else |
5164 echo "configure: failed program was:" >&5 | 5201 echo "configure: failed program was:" >&5 |
5165 cat conftest.$ac_ext >&5 | 5202 cat conftest.$ac_ext >&5 |
5185 fi | 5222 fi |
5186 | 5223 |
5187 | 5224 |
5188 # Check for mail-locking functions in a "mail" library | 5225 # Check for mail-locking functions in a "mail" library |
5189 echo $ac_n "checking for maillock in -lmail""... $ac_c" 1>&6 | 5226 echo $ac_n "checking for maillock in -lmail""... $ac_c" 1>&6 |
5190 echo "configure:5191: checking for maillock in -lmail" >&5 | 5227 echo "configure:5228: checking for maillock in -lmail" >&5 |
5191 ac_lib_var=`echo mail'_'maillock | sed 'y%./+-%__p_%'` | 5228 ac_lib_var=`echo mail'_'maillock | sed 'y%./+-%__p_%'` |
5192 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5229 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5193 echo $ac_n "(cached) $ac_c" 1>&6 | 5230 echo $ac_n "(cached) $ac_c" 1>&6 |
5194 else | 5231 else |
5195 ac_save_LIBS="$LIBS" | 5232 ac_save_LIBS="$LIBS" |
5196 LIBS="-lmail $LIBS" | 5233 LIBS="-lmail $LIBS" |
5197 cat > conftest.$ac_ext <<EOF | 5234 cat > conftest.$ac_ext <<EOF |
5198 #line 5199 "configure" | 5235 #line 5236 "configure" |
5199 #include "confdefs.h" | 5236 #include "confdefs.h" |
5200 /* Override any gcc2 internal prototype to avoid an error. */ | 5237 /* Override any gcc2 internal prototype to avoid an error. */ |
5201 /* We use char because int might match the return type of a gcc2 | 5238 /* We use char because int might match the return type of a gcc2 |
5202 builtin and then its argument prototype would still apply. */ | 5239 builtin and then its argument prototype would still apply. */ |
5203 char maillock(); | 5240 char maillock(); |
5204 | 5241 |
5205 int main() { | 5242 int main() { |
5206 maillock() | 5243 maillock() |
5207 ; return 0; } | 5244 ; return 0; } |
5208 EOF | 5245 EOF |
5209 if { (eval echo configure:5210: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5246 if { (eval echo configure:5247: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5210 rm -rf conftest* | 5247 rm -rf conftest* |
5211 eval "ac_cv_lib_$ac_lib_var=yes" | 5248 eval "ac_cv_lib_$ac_lib_var=yes" |
5212 else | 5249 else |
5213 echo "configure: failed program was:" >&5 | 5250 echo "configure: failed program was:" >&5 |
5214 cat conftest.$ac_ext >&5 | 5251 cat conftest.$ac_ext >&5 |
5232 else | 5269 else |
5233 echo "$ac_t""no" 1>&6 | 5270 echo "$ac_t""no" 1>&6 |
5234 fi | 5271 fi |
5235 | 5272 |
5236 echo $ac_n "checking for maillock in -llockfile""... $ac_c" 1>&6 | 5273 echo $ac_n "checking for maillock in -llockfile""... $ac_c" 1>&6 |
5237 echo "configure:5238: checking for maillock in -llockfile" >&5 | 5274 echo "configure:5275: checking for maillock in -llockfile" >&5 |
5238 ac_lib_var=`echo lockfile'_'maillock | sed 'y%./+-%__p_%'` | 5275 ac_lib_var=`echo lockfile'_'maillock | sed 'y%./+-%__p_%'` |
5239 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5276 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5240 echo $ac_n "(cached) $ac_c" 1>&6 | 5277 echo $ac_n "(cached) $ac_c" 1>&6 |
5241 else | 5278 else |
5242 ac_save_LIBS="$LIBS" | 5279 ac_save_LIBS="$LIBS" |
5243 LIBS="-llockfile $LIBS" | 5280 LIBS="-llockfile $LIBS" |
5244 cat > conftest.$ac_ext <<EOF | 5281 cat > conftest.$ac_ext <<EOF |
5245 #line 5246 "configure" | 5282 #line 5283 "configure" |
5246 #include "confdefs.h" | 5283 #include "confdefs.h" |
5247 /* Override any gcc2 internal prototype to avoid an error. */ | 5284 /* Override any gcc2 internal prototype to avoid an error. */ |
5248 /* We use char because int might match the return type of a gcc2 | 5285 /* We use char because int might match the return type of a gcc2 |
5249 builtin and then its argument prototype would still apply. */ | 5286 builtin and then its argument prototype would still apply. */ |
5250 char maillock(); | 5287 char maillock(); |
5251 | 5288 |
5252 int main() { | 5289 int main() { |
5253 maillock() | 5290 maillock() |
5254 ; return 0; } | 5291 ; return 0; } |
5255 EOF | 5292 EOF |
5256 if { (eval echo configure:5257: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5293 if { (eval echo configure:5294: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5257 rm -rf conftest* | 5294 rm -rf conftest* |
5258 eval "ac_cv_lib_$ac_lib_var=yes" | 5295 eval "ac_cv_lib_$ac_lib_var=yes" |
5259 else | 5296 else |
5260 echo "configure: failed program was:" >&5 | 5297 echo "configure: failed program was:" >&5 |
5261 cat conftest.$ac_ext >&5 | 5298 cat conftest.$ac_ext >&5 |
5285 # (no liblockfile.a installed), ensure that we don't need to. | 5322 # (no liblockfile.a installed), ensure that we don't need to. |
5286 if test "$ac_cv_lib_lockfile_maillock" = no; then | 5323 if test "$ac_cv_lib_lockfile_maillock" = no; then |
5287 # Extract the first word of "liblockfile.so", so it can be a program name with args. | 5324 # Extract the first word of "liblockfile.so", so it can be a program name with args. |
5288 set dummy liblockfile.so; ac_word=$2 | 5325 set dummy liblockfile.so; ac_word=$2 |
5289 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 5326 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
5290 echo "configure:5291: checking for $ac_word" >&5 | 5327 echo "configure:5328: checking for $ac_word" >&5 |
5291 if eval "test \"`echo '$''{'ac_cv_prog_liblockfile'+set}'`\" = set"; then | 5328 if eval "test \"`echo '$''{'ac_cv_prog_liblockfile'+set}'`\" = set"; then |
5292 echo $ac_n "(cached) $ac_c" 1>&6 | 5329 echo $ac_n "(cached) $ac_c" 1>&6 |
5293 else | 5330 else |
5294 if test -n "$liblockfile"; then | 5331 if test -n "$liblockfile"; then |
5295 ac_cv_prog_liblockfile="$liblockfile" # Let the user override the test. | 5332 ac_cv_prog_liblockfile="$liblockfile" # Let the user override the test. |
5326 else : | 5363 else : |
5327 fi | 5364 fi |
5328 for ac_func in touchlock | 5365 for ac_func in touchlock |
5329 do | 5366 do |
5330 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5367 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
5331 echo "configure:5332: checking for $ac_func" >&5 | 5368 echo "configure:5369: checking for $ac_func" >&5 |
5332 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 5369 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
5333 echo $ac_n "(cached) $ac_c" 1>&6 | 5370 echo $ac_n "(cached) $ac_c" 1>&6 |
5334 else | 5371 else |
5335 cat > conftest.$ac_ext <<EOF | 5372 cat > conftest.$ac_ext <<EOF |
5336 #line 5337 "configure" | 5373 #line 5374 "configure" |
5337 #include "confdefs.h" | 5374 #include "confdefs.h" |
5338 /* System header to define __stub macros and hopefully few prototypes, | 5375 /* System header to define __stub macros and hopefully few prototypes, |
5339 which can conflict with char $ac_func(); below. */ | 5376 which can conflict with char $ac_func(); below. */ |
5340 #include <assert.h> | 5377 #include <assert.h> |
5341 /* Override any gcc2 internal prototype to avoid an error. */ | 5378 /* Override any gcc2 internal prototype to avoid an error. */ |
5354 $ac_func(); | 5391 $ac_func(); |
5355 #endif | 5392 #endif |
5356 | 5393 |
5357 ; return 0; } | 5394 ; return 0; } |
5358 EOF | 5395 EOF |
5359 if { (eval echo configure:5360: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5396 if { (eval echo configure:5397: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5360 rm -rf conftest* | 5397 rm -rf conftest* |
5361 eval "ac_cv_func_$ac_func=yes" | 5398 eval "ac_cv_func_$ac_func=yes" |
5362 else | 5399 else |
5363 echo "configure: failed program was:" >&5 | 5400 echo "configure: failed program was:" >&5 |
5364 cat conftest.$ac_ext >&5 | 5401 cat conftest.$ac_ext >&5 |
5382 | 5419 |
5383 for ac_hdr in maillock.h | 5420 for ac_hdr in maillock.h |
5384 do | 5421 do |
5385 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5422 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5386 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5423 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5387 echo "configure:5388: checking for $ac_hdr" >&5 | 5424 echo "configure:5425: checking for $ac_hdr" >&5 |
5388 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 5425 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
5389 echo $ac_n "(cached) $ac_c" 1>&6 | 5426 echo $ac_n "(cached) $ac_c" 1>&6 |
5390 else | 5427 else |
5391 cat > conftest.$ac_ext <<EOF | 5428 cat > conftest.$ac_ext <<EOF |
5392 #line 5393 "configure" | 5429 #line 5430 "configure" |
5393 #include "confdefs.h" | 5430 #include "confdefs.h" |
5394 #include <$ac_hdr> | 5431 #include <$ac_hdr> |
5395 EOF | 5432 EOF |
5396 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5433 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5397 { (eval echo configure:5398: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5434 { (eval echo configure:5435: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5398 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5435 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5399 if test -z "$ac_err"; then | 5436 if test -z "$ac_err"; then |
5400 rm -rf conftest* | 5437 rm -rf conftest* |
5401 eval "ac_cv_header_$ac_safe=yes" | 5438 eval "ac_cv_header_$ac_safe=yes" |
5402 else | 5439 else |
5424 for ac_func in gettimeofday gethostname getdomainname dup2 \ | 5461 for ac_func in gettimeofday gethostname getdomainname dup2 \ |
5425 rename closedir mkdir rmdir sysinfo \ | 5462 rename closedir mkdir rmdir sysinfo \ |
5426 random lrand48 bcopy bcmp logb frexp fmod rint cbrt ftime res_init setsid \ | 5463 random lrand48 bcopy bcmp logb frexp fmod rint cbrt ftime res_init setsid \ |
5427 strerror fpathconf select mktime euidaccess getpagesize tzset setlocale \ | 5464 strerror fpathconf select mktime euidaccess getpagesize tzset setlocale \ |
5428 utimes setrlimit setpgid getcwd shutdown strftime getaddrinfo \ | 5465 utimes setrlimit setpgid getcwd shutdown strftime getaddrinfo \ |
5429 __fpending ftello getloadavg mblen mbrlen strsignal setitimer ualarm | 5466 __fpending getloadavg mblen mbrlen strsignal setitimer ualarm |
5430 do | 5467 do |
5431 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5468 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
5432 echo "configure:5433: checking for $ac_func" >&5 | 5469 echo "configure:5470: checking for $ac_func" >&5 |
5433 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 5470 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
5434 echo $ac_n "(cached) $ac_c" 1>&6 | 5471 echo $ac_n "(cached) $ac_c" 1>&6 |
5435 else | 5472 else |
5436 cat > conftest.$ac_ext <<EOF | 5473 cat > conftest.$ac_ext <<EOF |
5437 #line 5438 "configure" | 5474 #line 5475 "configure" |
5438 #include "confdefs.h" | 5475 #include "confdefs.h" |
5439 /* System header to define __stub macros and hopefully few prototypes, | 5476 /* System header to define __stub macros and hopefully few prototypes, |
5440 which can conflict with char $ac_func(); below. */ | 5477 which can conflict with char $ac_func(); below. */ |
5441 #include <assert.h> | 5478 #include <assert.h> |
5442 /* Override any gcc2 internal prototype to avoid an error. */ | 5479 /* Override any gcc2 internal prototype to avoid an error. */ |
5455 $ac_func(); | 5492 $ac_func(); |
5456 #endif | 5493 #endif |
5457 | 5494 |
5458 ; return 0; } | 5495 ; return 0; } |
5459 EOF | 5496 EOF |
5460 if { (eval echo configure:5461: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5497 if { (eval echo configure:5498: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5461 rm -rf conftest* | 5498 rm -rf conftest* |
5462 eval "ac_cv_func_$ac_func=yes" | 5499 eval "ac_cv_func_$ac_func=yes" |
5463 else | 5500 else |
5464 echo "configure: failed program was:" >&5 | 5501 echo "configure: failed program was:" >&5 |
5465 cat conftest.$ac_ext >&5 | 5502 cat conftest.$ac_ext >&5 |
5484 | 5521 |
5485 for ac_hdr in sys/time.h unistd.h | 5522 for ac_hdr in sys/time.h unistd.h |
5486 do | 5523 do |
5487 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5524 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5488 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5525 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5489 echo "configure:5490: checking for $ac_hdr" >&5 | 5526 echo "configure:5527: checking for $ac_hdr" >&5 |
5490 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 5527 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
5491 echo $ac_n "(cached) $ac_c" 1>&6 | 5528 echo $ac_n "(cached) $ac_c" 1>&6 |
5492 else | 5529 else |
5493 cat > conftest.$ac_ext <<EOF | 5530 cat > conftest.$ac_ext <<EOF |
5494 #line 5495 "configure" | 5531 #line 5532 "configure" |
5495 #include "confdefs.h" | 5532 #include "confdefs.h" |
5496 #include <$ac_hdr> | 5533 #include <$ac_hdr> |
5497 EOF | 5534 EOF |
5498 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5535 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5499 { (eval echo configure:5500: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5536 { (eval echo configure:5537: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5500 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5537 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5501 if test -z "$ac_err"; then | 5538 if test -z "$ac_err"; then |
5502 rm -rf conftest* | 5539 rm -rf conftest* |
5503 eval "ac_cv_header_$ac_safe=yes" | 5540 eval "ac_cv_header_$ac_safe=yes" |
5504 else | 5541 else |
5523 done | 5560 done |
5524 | 5561 |
5525 for ac_func in alarm | 5562 for ac_func in alarm |
5526 do | 5563 do |
5527 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5564 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
5528 echo "configure:5529: checking for $ac_func" >&5 | 5565 echo "configure:5566: checking for $ac_func" >&5 |
5529 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 5566 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
5530 echo $ac_n "(cached) $ac_c" 1>&6 | 5567 echo $ac_n "(cached) $ac_c" 1>&6 |
5531 else | 5568 else |
5532 cat > conftest.$ac_ext <<EOF | 5569 cat > conftest.$ac_ext <<EOF |
5533 #line 5534 "configure" | 5570 #line 5571 "configure" |
5534 #include "confdefs.h" | 5571 #include "confdefs.h" |
5535 /* System header to define __stub macros and hopefully few prototypes, | 5572 /* System header to define __stub macros and hopefully few prototypes, |
5536 which can conflict with char $ac_func(); below. */ | 5573 which can conflict with char $ac_func(); below. */ |
5537 #include <assert.h> | 5574 #include <assert.h> |
5538 /* Override any gcc2 internal prototype to avoid an error. */ | 5575 /* Override any gcc2 internal prototype to avoid an error. */ |
5551 $ac_func(); | 5588 $ac_func(); |
5552 #endif | 5589 #endif |
5553 | 5590 |
5554 ; return 0; } | 5591 ; return 0; } |
5555 EOF | 5592 EOF |
5556 if { (eval echo configure:5557: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5593 if { (eval echo configure:5594: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5557 rm -rf conftest* | 5594 rm -rf conftest* |
5558 eval "ac_cv_func_$ac_func=yes" | 5595 eval "ac_cv_func_$ac_func=yes" |
5559 else | 5596 else |
5560 echo "configure: failed program was:" >&5 | 5597 echo "configure: failed program was:" >&5 |
5561 cat conftest.$ac_ext >&5 | 5598 cat conftest.$ac_ext >&5 |
5576 echo "$ac_t""no" 1>&6 | 5613 echo "$ac_t""no" 1>&6 |
5577 fi | 5614 fi |
5578 done | 5615 done |
5579 | 5616 |
5580 echo $ac_n "checking for working mktime""... $ac_c" 1>&6 | 5617 echo $ac_n "checking for working mktime""... $ac_c" 1>&6 |
5581 echo "configure:5582: checking for working mktime" >&5 | 5618 echo "configure:5619: checking for working mktime" >&5 |
5582 if eval "test \"`echo '$''{'ac_cv_func_working_mktime'+set}'`\" = set"; then | 5619 if eval "test \"`echo '$''{'ac_cv_func_working_mktime'+set}'`\" = set"; then |
5583 echo $ac_n "(cached) $ac_c" 1>&6 | 5620 echo $ac_n "(cached) $ac_c" 1>&6 |
5584 else | 5621 else |
5585 if test "$cross_compiling" = yes; then | 5622 if test "$cross_compiling" = yes; then |
5586 ac_cv_func_working_mktime=no | 5623 ac_cv_func_working_mktime=no |
5587 else | 5624 else |
5588 cat > conftest.$ac_ext <<EOF | 5625 cat > conftest.$ac_ext <<EOF |
5589 #line 5590 "configure" | 5626 #line 5627 "configure" |
5590 #include "confdefs.h" | 5627 #include "confdefs.h" |
5591 /* Test program from Paul Eggert (eggert@twinsun.com) | 5628 /* Test program from Paul Eggert (eggert@twinsun.com) |
5592 and Tony Leneis (tony@plaza.ds.adp.com). */ | 5629 and Tony Leneis (tony@plaza.ds.adp.com). */ |
5593 #if TIME_WITH_SYS_TIME | 5630 #if TIME_WITH_SYS_TIME |
5594 # include <sys/time.h> | 5631 # include <sys/time.h> |
5733 irix_6_4_bug (); | 5770 irix_6_4_bug (); |
5734 spring_forward_gap (); | 5771 spring_forward_gap (); |
5735 exit (0); | 5772 exit (0); |
5736 } | 5773 } |
5737 EOF | 5774 EOF |
5738 if { (eval echo configure:5739: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 5775 if { (eval echo configure:5776: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
5739 then | 5776 then |
5740 ac_cv_func_working_mktime=yes | 5777 ac_cv_func_working_mktime=yes |
5741 else | 5778 else |
5742 echo "configure: failed program was:" >&5 | 5779 echo "configure: failed program was:" >&5 |
5743 cat conftest.$ac_ext >&5 | 5780 cat conftest.$ac_ext >&5 |
5759 #define BROKEN_MKTIME 1 | 5796 #define BROKEN_MKTIME 1 |
5760 EOF | 5797 EOF |
5761 | 5798 |
5762 fi | 5799 fi |
5763 | 5800 |
5764 # UNIX98 PTYs. | 5801 # Check whether --enable-largefile or --disable-largefile was given. |
5765 for ac_func in grantpt | 5802 if test "${enable_largefile+set}" = set; then |
5803 enableval="$enable_largefile" | |
5804 : | |
5805 fi | |
5806 | |
5807 if test "$enable_largefile" != no; then | |
5808 | |
5809 echo $ac_n "checking for special C compiler options needed for large files""... $ac_c" 1>&6 | |
5810 echo "configure:5811: checking for special C compiler options needed for large files" >&5 | |
5811 if eval "test \"`echo '$''{'ac_cv_sys_largefile_CC'+set}'`\" = set"; then | |
5812 echo $ac_n "(cached) $ac_c" 1>&6 | |
5813 else | |
5814 ac_cv_sys_largefile_CC=no | |
5815 if test "$GCC" != yes; then | |
5816 # IRIX 6.2 and later do not support large files by default, | |
5817 # so use the C compiler's -n32 option if that helps. | |
5818 cat > conftest.$ac_ext <<EOF | |
5819 #line 5820 "configure" | |
5820 #include "confdefs.h" | |
5821 #include <sys/types.h> | |
5822 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1]; | |
5823 | |
5824 int main() { | |
5825 | |
5826 ; return 0; } | |
5827 EOF | |
5828 if { (eval echo configure:5829: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | |
5829 : | |
5830 else | |
5831 echo "configure: failed program was:" >&5 | |
5832 cat conftest.$ac_ext >&5 | |
5833 rm -rf conftest* | |
5834 ac_save_CC="$CC" | |
5835 CC="$CC -n32" | |
5836 cat > conftest.$ac_ext <<EOF | |
5837 #line 5838 "configure" | |
5838 #include "confdefs.h" | |
5839 #include <sys/types.h> | |
5840 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1]; | |
5841 | |
5842 int main() { | |
5843 | |
5844 ; return 0; } | |
5845 EOF | |
5846 if { (eval echo configure:5847: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | |
5847 rm -rf conftest* | |
5848 ac_cv_sys_largefile_CC=' -n32' | |
5849 else | |
5850 echo "configure: failed program was:" >&5 | |
5851 cat conftest.$ac_ext >&5 | |
5852 fi | |
5853 rm -f conftest* | |
5854 CC="$ac_save_CC" | |
5855 fi | |
5856 rm -f conftest* | |
5857 fi | |
5858 fi | |
5859 | |
5860 echo "$ac_t""$ac_cv_sys_largefile_CC" 1>&6 | |
5861 if test "$ac_cv_sys_largefile_CC" != no; then | |
5862 CC="$CC$ac_cv_sys_largefile_CC" | |
5863 fi | |
5864 | |
5865 echo $ac_n "checking for _FILE_OFFSET_BITS value needed for large files""... $ac_c" 1>&6 | |
5866 echo "configure:5867: checking for _FILE_OFFSET_BITS value needed for large files" >&5 | |
5867 if eval "test \"`echo '$''{'ac_cv_sys_file_offset_bits'+set}'`\" = set"; then | |
5868 echo $ac_n "(cached) $ac_c" 1>&6 | |
5869 else | |
5870 ac_cv_sys_file_offset_bits=no | |
5871 cat > conftest.$ac_ext <<EOF | |
5872 #line 5873 "configure" | |
5873 #include "confdefs.h" | |
5874 #include <sys/types.h> | |
5875 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1]; | |
5876 | |
5877 | |
5878 | |
5879 int main() { | |
5880 | |
5881 ; return 0; } | |
5882 EOF | |
5883 if { (eval echo configure:5884: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | |
5884 : | |
5885 else | |
5886 echo "configure: failed program was:" >&5 | |
5887 cat conftest.$ac_ext >&5 | |
5888 rm -rf conftest* | |
5889 cat > conftest.$ac_ext <<EOF | |
5890 #line 5891 "configure" | |
5891 #include "confdefs.h" | |
5892 #define _FILE_OFFSET_BITS 64 | |
5893 #include <sys/types.h> | |
5894 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1]; | |
5895 | |
5896 | |
5897 | |
5898 int main() { | |
5899 | |
5900 ; return 0; } | |
5901 EOF | |
5902 if { (eval echo configure:5903: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | |
5903 rm -rf conftest* | |
5904 ac_cv_sys_file_offset_bits=64 | |
5905 else | |
5906 echo "configure: failed program was:" >&5 | |
5907 cat conftest.$ac_ext >&5 | |
5908 fi | |
5909 rm -f conftest* | |
5910 fi | |
5911 rm -f conftest* | |
5912 fi | |
5913 | |
5914 echo "$ac_t""$ac_cv_sys_file_offset_bits" 1>&6 | |
5915 if test "$ac_cv_sys_file_offset_bits" != no; then | |
5916 cat >> confdefs.h <<EOF | |
5917 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits | |
5918 EOF | |
5919 | |
5920 fi | |
5921 echo $ac_n "checking for _LARGEFILE_SOURCE value needed for large files""... $ac_c" 1>&6 | |
5922 echo "configure:5923: checking for _LARGEFILE_SOURCE value needed for large files" >&5 | |
5923 if eval "test \"`echo '$''{'ac_cv_sys_largefile_source'+set}'`\" = set"; then | |
5924 echo $ac_n "(cached) $ac_c" 1>&6 | |
5925 else | |
5926 ac_cv_sys_largefile_source=no | |
5927 cat > conftest.$ac_ext <<EOF | |
5928 #line 5929 "configure" | |
5929 #include "confdefs.h" | |
5930 #include <sys/types.h> | |
5931 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1]; | |
5932 | |
5933 #include <stdio.h> | |
5934 | |
5935 int main() { | |
5936 return !ftello; | |
5937 ; return 0; } | |
5938 EOF | |
5939 if { (eval echo configure:5940: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | |
5940 : | |
5941 else | |
5942 echo "configure: failed program was:" >&5 | |
5943 cat conftest.$ac_ext >&5 | |
5944 rm -rf conftest* | |
5945 cat > conftest.$ac_ext <<EOF | |
5946 #line 5947 "configure" | |
5947 #include "confdefs.h" | |
5948 #define _LARGEFILE_SOURCE 1 | |
5949 #include <sys/types.h> | |
5950 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1]; | |
5951 | |
5952 #include <stdio.h> | |
5953 | |
5954 int main() { | |
5955 return !ftello; | |
5956 ; return 0; } | |
5957 EOF | |
5958 if { (eval echo configure:5959: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | |
5959 rm -rf conftest* | |
5960 ac_cv_sys_largefile_source=1 | |
5961 else | |
5962 echo "configure: failed program was:" >&5 | |
5963 cat conftest.$ac_ext >&5 | |
5964 fi | |
5965 rm -f conftest* | |
5966 fi | |
5967 rm -f conftest* | |
5968 fi | |
5969 | |
5970 echo "$ac_t""$ac_cv_sys_largefile_source" 1>&6 | |
5971 if test "$ac_cv_sys_largefile_source" != no; then | |
5972 cat >> confdefs.h <<EOF | |
5973 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source | |
5974 EOF | |
5975 | |
5976 fi | |
5977 echo $ac_n "checking for _LARGE_FILES value needed for large files""... $ac_c" 1>&6 | |
5978 echo "configure:5979: checking for _LARGE_FILES value needed for large files" >&5 | |
5979 if eval "test \"`echo '$''{'ac_cv_sys_large_files'+set}'`\" = set"; then | |
5980 echo $ac_n "(cached) $ac_c" 1>&6 | |
5981 else | |
5982 ac_cv_sys_large_files=no | |
5983 cat > conftest.$ac_ext <<EOF | |
5984 #line 5985 "configure" | |
5985 #include "confdefs.h" | |
5986 #include <sys/types.h> | |
5987 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1]; | |
5988 | |
5989 | |
5990 | |
5991 int main() { | |
5992 | |
5993 ; return 0; } | |
5994 EOF | |
5995 if { (eval echo configure:5996: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | |
5996 : | |
5997 else | |
5998 echo "configure: failed program was:" >&5 | |
5999 cat conftest.$ac_ext >&5 | |
6000 rm -rf conftest* | |
6001 cat > conftest.$ac_ext <<EOF | |
6002 #line 6003 "configure" | |
6003 #include "confdefs.h" | |
6004 #define _LARGE_FILES 1 | |
6005 #include <sys/types.h> | |
6006 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1]; | |
6007 | |
6008 | |
6009 | |
6010 int main() { | |
6011 | |
6012 ; return 0; } | |
6013 EOF | |
6014 if { (eval echo configure:6015: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | |
6015 rm -rf conftest* | |
6016 ac_cv_sys_large_files=1 | |
6017 else | |
6018 echo "configure: failed program was:" >&5 | |
6019 cat conftest.$ac_ext >&5 | |
6020 fi | |
6021 rm -f conftest* | |
6022 fi | |
6023 rm -f conftest* | |
6024 fi | |
6025 | |
6026 echo "$ac_t""$ac_cv_sys_large_files" 1>&6 | |
6027 if test "$ac_cv_sys_large_files" != no; then | |
6028 cat >> confdefs.h <<EOF | |
6029 #define _LARGE_FILES $ac_cv_sys_large_files | |
6030 EOF | |
6031 | |
6032 fi | |
6033 echo $ac_n "checking for _XOPEN_SOURCE value needed for large files""... $ac_c" 1>&6 | |
6034 echo "configure:6035: checking for _XOPEN_SOURCE value needed for large files" >&5 | |
6035 if eval "test \"`echo '$''{'ac_cv_sys_xopen_source'+set}'`\" = set"; then | |
6036 echo $ac_n "(cached) $ac_c" 1>&6 | |
6037 else | |
6038 ac_cv_sys_xopen_source=no | |
6039 cat > conftest.$ac_ext <<EOF | |
6040 #line 6041 "configure" | |
6041 #include "confdefs.h" | |
6042 #include <sys/types.h> | |
6043 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1]; | |
6044 | |
6045 #include <stdio.h> | |
6046 | |
6047 int main() { | |
6048 return !ftello; | |
6049 ; return 0; } | |
6050 EOF | |
6051 if { (eval echo configure:6052: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | |
6052 : | |
6053 else | |
6054 echo "configure: failed program was:" >&5 | |
6055 cat conftest.$ac_ext >&5 | |
6056 rm -rf conftest* | |
6057 cat > conftest.$ac_ext <<EOF | |
6058 #line 6059 "configure" | |
6059 #include "confdefs.h" | |
6060 #define _XOPEN_SOURCE 500 | |
6061 #include <sys/types.h> | |
6062 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1]; | |
6063 | |
6064 #include <stdio.h> | |
6065 | |
6066 int main() { | |
6067 return !ftello; | |
6068 ; return 0; } | |
6069 EOF | |
6070 if { (eval echo configure:6071: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | |
6071 rm -rf conftest* | |
6072 ac_cv_sys_xopen_source=500 | |
6073 else | |
6074 echo "configure: failed program was:" >&5 | |
6075 cat conftest.$ac_ext >&5 | |
6076 fi | |
6077 rm -f conftest* | |
6078 fi | |
6079 rm -f conftest* | |
6080 fi | |
6081 | |
6082 echo "$ac_t""$ac_cv_sys_xopen_source" 1>&6 | |
6083 if test "$ac_cv_sys_xopen_source" != no; then | |
6084 cat >> confdefs.h <<EOF | |
6085 #define _XOPEN_SOURCE $ac_cv_sys_xopen_source | |
6086 EOF | |
6087 | |
6088 fi | |
6089 fi | |
6090 | |
6091 for ac_func in ftello | |
5766 do | 6092 do |
5767 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 6093 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
5768 echo "configure:5769: checking for $ac_func" >&5 | 6094 echo "configure:6095: checking for $ac_func" >&5 |
5769 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 6095 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
5770 echo $ac_n "(cached) $ac_c" 1>&6 | 6096 echo $ac_n "(cached) $ac_c" 1>&6 |
5771 else | 6097 else |
5772 cat > conftest.$ac_ext <<EOF | 6098 cat > conftest.$ac_ext <<EOF |
5773 #line 5774 "configure" | 6099 #line 6100 "configure" |
5774 #include "confdefs.h" | 6100 #include "confdefs.h" |
5775 /* System header to define __stub macros and hopefully few prototypes, | 6101 /* System header to define __stub macros and hopefully few prototypes, |
5776 which can conflict with char $ac_func(); below. */ | 6102 which can conflict with char $ac_func(); below. */ |
5777 #include <assert.h> | 6103 #include <assert.h> |
5778 /* Override any gcc2 internal prototype to avoid an error. */ | 6104 /* Override any gcc2 internal prototype to avoid an error. */ |
5791 $ac_func(); | 6117 $ac_func(); |
5792 #endif | 6118 #endif |
5793 | 6119 |
5794 ; return 0; } | 6120 ; return 0; } |
5795 EOF | 6121 EOF |
5796 if { (eval echo configure:5797: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6122 if { (eval echo configure:6123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5797 rm -rf conftest* | 6123 rm -rf conftest* |
5798 eval "ac_cv_func_$ac_func=yes" | 6124 eval "ac_cv_func_$ac_func=yes" |
5799 else | 6125 else |
5800 echo "configure: failed program was:" >&5 | 6126 echo "configure: failed program was:" >&5 |
5801 cat conftest.$ac_ext >&5 | 6127 cat conftest.$ac_ext >&5 |
5816 echo "$ac_t""no" 1>&6 | 6142 echo "$ac_t""no" 1>&6 |
5817 fi | 6143 fi |
5818 done | 6144 done |
5819 | 6145 |
5820 | 6146 |
5821 # PTY-related GNU extensions. | 6147 # UNIX98 PTYs. AC_SYS_LARGEFILE should have defined _XOPEN_SOURCE |
5822 for ac_func in getpt | 6148 # if we need it. |
6149 for ac_func in grantpt | |
5823 do | 6150 do |
5824 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 6151 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
5825 echo "configure:5826: checking for $ac_func" >&5 | 6152 echo "configure:6153: checking for $ac_func" >&5 |
5826 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 6153 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
5827 echo $ac_n "(cached) $ac_c" 1>&6 | 6154 echo $ac_n "(cached) $ac_c" 1>&6 |
5828 else | 6155 else |
5829 cat > conftest.$ac_ext <<EOF | 6156 cat > conftest.$ac_ext <<EOF |
5830 #line 5831 "configure" | 6157 #line 6158 "configure" |
5831 #include "confdefs.h" | 6158 #include "confdefs.h" |
5832 /* System header to define __stub macros and hopefully few prototypes, | 6159 /* System header to define __stub macros and hopefully few prototypes, |
5833 which can conflict with char $ac_func(); below. */ | 6160 which can conflict with char $ac_func(); below. */ |
5834 #include <assert.h> | 6161 #include <assert.h> |
5835 /* Override any gcc2 internal prototype to avoid an error. */ | 6162 /* Override any gcc2 internal prototype to avoid an error. */ |
5848 $ac_func(); | 6175 $ac_func(); |
5849 #endif | 6176 #endif |
5850 | 6177 |
5851 ; return 0; } | 6178 ; return 0; } |
5852 EOF | 6179 EOF |
5853 if { (eval echo configure:5854: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6180 if { (eval echo configure:6181: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5854 rm -rf conftest* | 6181 rm -rf conftest* |
5855 eval "ac_cv_func_$ac_func=yes" | 6182 eval "ac_cv_func_$ac_func=yes" |
5856 else | 6183 else |
5857 echo "configure: failed program was:" >&5 | 6184 echo "configure: failed program was:" >&5 |
5858 cat conftest.$ac_ext >&5 | 6185 cat conftest.$ac_ext >&5 |
5873 echo "$ac_t""no" 1>&6 | 6200 echo "$ac_t""no" 1>&6 |
5874 fi | 6201 fi |
5875 done | 6202 done |
5876 | 6203 |
5877 | 6204 |
6205 # PTY-related GNU extensions. | |
6206 for ac_func in getpt | |
6207 do | |
6208 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | |
6209 echo "configure:6210: checking for $ac_func" >&5 | |
6210 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | |
6211 echo $ac_n "(cached) $ac_c" 1>&6 | |
6212 else | |
6213 cat > conftest.$ac_ext <<EOF | |
6214 #line 6215 "configure" | |
6215 #include "confdefs.h" | |
6216 /* System header to define __stub macros and hopefully few prototypes, | |
6217 which can conflict with char $ac_func(); below. */ | |
6218 #include <assert.h> | |
6219 /* Override any gcc2 internal prototype to avoid an error. */ | |
6220 /* We use char because int might match the return type of a gcc2 | |
6221 builtin and then its argument prototype would still apply. */ | |
6222 char $ac_func(); | |
6223 | |
6224 int main() { | |
6225 | |
6226 /* The GNU C library defines this for functions which it implements | |
6227 to always fail with ENOSYS. Some functions are actually named | |
6228 something starting with __ and the normal name is an alias. */ | |
6229 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | |
6230 choke me | |
6231 #else | |
6232 $ac_func(); | |
6233 #endif | |
6234 | |
6235 ; return 0; } | |
6236 EOF | |
6237 if { (eval echo configure:6238: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
6238 rm -rf conftest* | |
6239 eval "ac_cv_func_$ac_func=yes" | |
6240 else | |
6241 echo "configure: failed program was:" >&5 | |
6242 cat conftest.$ac_ext >&5 | |
6243 rm -rf conftest* | |
6244 eval "ac_cv_func_$ac_func=no" | |
6245 fi | |
6246 rm -f conftest* | |
6247 fi | |
6248 | |
6249 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then | |
6250 echo "$ac_t""yes" 1>&6 | |
6251 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` | |
6252 cat >> confdefs.h <<EOF | |
6253 #define $ac_tr_func 1 | |
6254 EOF | |
6255 | |
6256 else | |
6257 echo "$ac_t""no" 1>&6 | |
6258 fi | |
6259 done | |
6260 | |
6261 | |
5878 # Check this now, so that we will NOT find the above functions in ncurses. | 6262 # Check this now, so that we will NOT find the above functions in ncurses. |
5879 # That is because we have not set up to link ncurses in lib-src. | 6263 # That is because we have not set up to link ncurses in lib-src. |
5880 # It's better to believe a function is not available | 6264 # It's better to believe a function is not available |
5881 # than to expect to find it in ncurses. | 6265 # than to expect to find it in ncurses. |
5882 echo $ac_n "checking for tparm in -lncurses""... $ac_c" 1>&6 | 6266 echo $ac_n "checking for tparm in -lncurses""... $ac_c" 1>&6 |
5883 echo "configure:5884: checking for tparm in -lncurses" >&5 | 6267 echo "configure:6268: checking for tparm in -lncurses" >&5 |
5884 ac_lib_var=`echo ncurses'_'tparm | sed 'y%./+-%__p_%'` | 6268 ac_lib_var=`echo ncurses'_'tparm | sed 'y%./+-%__p_%'` |
5885 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 6269 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5886 echo $ac_n "(cached) $ac_c" 1>&6 | 6270 echo $ac_n "(cached) $ac_c" 1>&6 |
5887 else | 6271 else |
5888 ac_save_LIBS="$LIBS" | 6272 ac_save_LIBS="$LIBS" |
5889 LIBS="-lncurses $LIBS" | 6273 LIBS="-lncurses $LIBS" |
5890 cat > conftest.$ac_ext <<EOF | 6274 cat > conftest.$ac_ext <<EOF |
5891 #line 5892 "configure" | 6275 #line 6276 "configure" |
5892 #include "confdefs.h" | 6276 #include "confdefs.h" |
5893 /* Override any gcc2 internal prototype to avoid an error. */ | 6277 /* Override any gcc2 internal prototype to avoid an error. */ |
5894 /* We use char because int might match the return type of a gcc2 | 6278 /* We use char because int might match the return type of a gcc2 |
5895 builtin and then its argument prototype would still apply. */ | 6279 builtin and then its argument prototype would still apply. */ |
5896 char tparm(); | 6280 char tparm(); |
5897 | 6281 |
5898 int main() { | 6282 int main() { |
5899 tparm() | 6283 tparm() |
5900 ; return 0; } | 6284 ; return 0; } |
5901 EOF | 6285 EOF |
5902 if { (eval echo configure:5903: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6286 if { (eval echo configure:6287: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5903 rm -rf conftest* | 6287 rm -rf conftest* |
5904 eval "ac_cv_lib_$ac_lib_var=yes" | 6288 eval "ac_cv_lib_$ac_lib_var=yes" |
5905 else | 6289 else |
5906 echo "configure: failed program was:" >&5 | 6290 echo "configure: failed program was:" >&5 |
5907 cat conftest.$ac_ext >&5 | 6291 cat conftest.$ac_ext >&5 |
5928 | 6312 |
5929 | 6313 |
5930 # These tell us which Kerberos-related libraries to use. | 6314 # These tell us which Kerberos-related libraries to use. |
5931 if test "${with_kerberos+set}" = set; then | 6315 if test "${with_kerberos+set}" = set; then |
5932 echo $ac_n "checking for com_err in -lcom_err""... $ac_c" 1>&6 | 6316 echo $ac_n "checking for com_err in -lcom_err""... $ac_c" 1>&6 |
5933 echo "configure:5934: checking for com_err in -lcom_err" >&5 | 6317 echo "configure:6318: checking for com_err in -lcom_err" >&5 |
5934 ac_lib_var=`echo com_err'_'com_err | sed 'y%./+-%__p_%'` | 6318 ac_lib_var=`echo com_err'_'com_err | sed 'y%./+-%__p_%'` |
5935 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 6319 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5936 echo $ac_n "(cached) $ac_c" 1>&6 | 6320 echo $ac_n "(cached) $ac_c" 1>&6 |
5937 else | 6321 else |
5938 ac_save_LIBS="$LIBS" | 6322 ac_save_LIBS="$LIBS" |
5939 LIBS="-lcom_err $LIBS" | 6323 LIBS="-lcom_err $LIBS" |
5940 cat > conftest.$ac_ext <<EOF | 6324 cat > conftest.$ac_ext <<EOF |
5941 #line 5942 "configure" | 6325 #line 6326 "configure" |
5942 #include "confdefs.h" | 6326 #include "confdefs.h" |
5943 /* Override any gcc2 internal prototype to avoid an error. */ | 6327 /* Override any gcc2 internal prototype to avoid an error. */ |
5944 /* We use char because int might match the return type of a gcc2 | 6328 /* We use char because int might match the return type of a gcc2 |
5945 builtin and then its argument prototype would still apply. */ | 6329 builtin and then its argument prototype would still apply. */ |
5946 char com_err(); | 6330 char com_err(); |
5947 | 6331 |
5948 int main() { | 6332 int main() { |
5949 com_err() | 6333 com_err() |
5950 ; return 0; } | 6334 ; return 0; } |
5951 EOF | 6335 EOF |
5952 if { (eval echo configure:5953: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6336 if { (eval echo configure:6337: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5953 rm -rf conftest* | 6337 rm -rf conftest* |
5954 eval "ac_cv_lib_$ac_lib_var=yes" | 6338 eval "ac_cv_lib_$ac_lib_var=yes" |
5955 else | 6339 else |
5956 echo "configure: failed program was:" >&5 | 6340 echo "configure: failed program was:" >&5 |
5957 cat conftest.$ac_ext >&5 | 6341 cat conftest.$ac_ext >&5 |
5975 else | 6359 else |
5976 echo "$ac_t""no" 1>&6 | 6360 echo "$ac_t""no" 1>&6 |
5977 fi | 6361 fi |
5978 | 6362 |
5979 echo $ac_n "checking for mit_des_cbc_encrypt in -lk5crypto""... $ac_c" 1>&6 | 6363 echo $ac_n "checking for mit_des_cbc_encrypt in -lk5crypto""... $ac_c" 1>&6 |
5980 echo "configure:5981: checking for mit_des_cbc_encrypt in -lk5crypto" >&5 | 6364 echo "configure:6365: checking for mit_des_cbc_encrypt in -lk5crypto" >&5 |
5981 ac_lib_var=`echo k5crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'` | 6365 ac_lib_var=`echo k5crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'` |
5982 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 6366 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5983 echo $ac_n "(cached) $ac_c" 1>&6 | 6367 echo $ac_n "(cached) $ac_c" 1>&6 |
5984 else | 6368 else |
5985 ac_save_LIBS="$LIBS" | 6369 ac_save_LIBS="$LIBS" |
5986 LIBS="-lk5crypto $LIBS" | 6370 LIBS="-lk5crypto $LIBS" |
5987 cat > conftest.$ac_ext <<EOF | 6371 cat > conftest.$ac_ext <<EOF |
5988 #line 5989 "configure" | 6372 #line 6373 "configure" |
5989 #include "confdefs.h" | 6373 #include "confdefs.h" |
5990 /* Override any gcc2 internal prototype to avoid an error. */ | 6374 /* Override any gcc2 internal prototype to avoid an error. */ |
5991 /* We use char because int might match the return type of a gcc2 | 6375 /* We use char because int might match the return type of a gcc2 |
5992 builtin and then its argument prototype would still apply. */ | 6376 builtin and then its argument prototype would still apply. */ |
5993 char mit_des_cbc_encrypt(); | 6377 char mit_des_cbc_encrypt(); |
5994 | 6378 |
5995 int main() { | 6379 int main() { |
5996 mit_des_cbc_encrypt() | 6380 mit_des_cbc_encrypt() |
5997 ; return 0; } | 6381 ; return 0; } |
5998 EOF | 6382 EOF |
5999 if { (eval echo configure:6000: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6383 if { (eval echo configure:6384: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6000 rm -rf conftest* | 6384 rm -rf conftest* |
6001 eval "ac_cv_lib_$ac_lib_var=yes" | 6385 eval "ac_cv_lib_$ac_lib_var=yes" |
6002 else | 6386 else |
6003 echo "configure: failed program was:" >&5 | 6387 echo "configure: failed program was:" >&5 |
6004 cat conftest.$ac_ext >&5 | 6388 cat conftest.$ac_ext >&5 |
6022 else | 6406 else |
6023 echo "$ac_t""no" 1>&6 | 6407 echo "$ac_t""no" 1>&6 |
6024 fi | 6408 fi |
6025 | 6409 |
6026 echo $ac_n "checking for mit_des_cbc_encrypt in -lcrypto""... $ac_c" 1>&6 | 6410 echo $ac_n "checking for mit_des_cbc_encrypt in -lcrypto""... $ac_c" 1>&6 |
6027 echo "configure:6028: checking for mit_des_cbc_encrypt in -lcrypto" >&5 | 6411 echo "configure:6412: checking for mit_des_cbc_encrypt in -lcrypto" >&5 |
6028 ac_lib_var=`echo crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'` | 6412 ac_lib_var=`echo crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'` |
6029 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 6413 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
6030 echo $ac_n "(cached) $ac_c" 1>&6 | 6414 echo $ac_n "(cached) $ac_c" 1>&6 |
6031 else | 6415 else |
6032 ac_save_LIBS="$LIBS" | 6416 ac_save_LIBS="$LIBS" |
6033 LIBS="-lcrypto $LIBS" | 6417 LIBS="-lcrypto $LIBS" |
6034 cat > conftest.$ac_ext <<EOF | 6418 cat > conftest.$ac_ext <<EOF |
6035 #line 6036 "configure" | 6419 #line 6420 "configure" |
6036 #include "confdefs.h" | 6420 #include "confdefs.h" |
6037 /* Override any gcc2 internal prototype to avoid an error. */ | 6421 /* Override any gcc2 internal prototype to avoid an error. */ |
6038 /* We use char because int might match the return type of a gcc2 | 6422 /* We use char because int might match the return type of a gcc2 |
6039 builtin and then its argument prototype would still apply. */ | 6423 builtin and then its argument prototype would still apply. */ |
6040 char mit_des_cbc_encrypt(); | 6424 char mit_des_cbc_encrypt(); |
6041 | 6425 |
6042 int main() { | 6426 int main() { |
6043 mit_des_cbc_encrypt() | 6427 mit_des_cbc_encrypt() |
6044 ; return 0; } | 6428 ; return 0; } |
6045 EOF | 6429 EOF |
6046 if { (eval echo configure:6047: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6430 if { (eval echo configure:6431: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6047 rm -rf conftest* | 6431 rm -rf conftest* |
6048 eval "ac_cv_lib_$ac_lib_var=yes" | 6432 eval "ac_cv_lib_$ac_lib_var=yes" |
6049 else | 6433 else |
6050 echo "configure: failed program was:" >&5 | 6434 echo "configure: failed program was:" >&5 |
6051 cat conftest.$ac_ext >&5 | 6435 cat conftest.$ac_ext >&5 |
6069 else | 6453 else |
6070 echo "$ac_t""no" 1>&6 | 6454 echo "$ac_t""no" 1>&6 |
6071 fi | 6455 fi |
6072 | 6456 |
6073 echo $ac_n "checking for krb5_init_context in -lkrb5""... $ac_c" 1>&6 | 6457 echo $ac_n "checking for krb5_init_context in -lkrb5""... $ac_c" 1>&6 |
6074 echo "configure:6075: checking for krb5_init_context in -lkrb5" >&5 | 6458 echo "configure:6459: checking for krb5_init_context in -lkrb5" >&5 |
6075 ac_lib_var=`echo krb5'_'krb5_init_context | sed 'y%./+-%__p_%'` | 6459 ac_lib_var=`echo krb5'_'krb5_init_context | sed 'y%./+-%__p_%'` |
6076 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 6460 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
6077 echo $ac_n "(cached) $ac_c" 1>&6 | 6461 echo $ac_n "(cached) $ac_c" 1>&6 |
6078 else | 6462 else |
6079 ac_save_LIBS="$LIBS" | 6463 ac_save_LIBS="$LIBS" |
6080 LIBS="-lkrb5 $LIBS" | 6464 LIBS="-lkrb5 $LIBS" |
6081 cat > conftest.$ac_ext <<EOF | 6465 cat > conftest.$ac_ext <<EOF |
6082 #line 6083 "configure" | 6466 #line 6467 "configure" |
6083 #include "confdefs.h" | 6467 #include "confdefs.h" |
6084 /* Override any gcc2 internal prototype to avoid an error. */ | 6468 /* Override any gcc2 internal prototype to avoid an error. */ |
6085 /* We use char because int might match the return type of a gcc2 | 6469 /* We use char because int might match the return type of a gcc2 |
6086 builtin and then its argument prototype would still apply. */ | 6470 builtin and then its argument prototype would still apply. */ |
6087 char krb5_init_context(); | 6471 char krb5_init_context(); |
6088 | 6472 |
6089 int main() { | 6473 int main() { |
6090 krb5_init_context() | 6474 krb5_init_context() |
6091 ; return 0; } | 6475 ; return 0; } |
6092 EOF | 6476 EOF |
6093 if { (eval echo configure:6094: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6477 if { (eval echo configure:6478: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6094 rm -rf conftest* | 6478 rm -rf conftest* |
6095 eval "ac_cv_lib_$ac_lib_var=yes" | 6479 eval "ac_cv_lib_$ac_lib_var=yes" |
6096 else | 6480 else |
6097 echo "configure: failed program was:" >&5 | 6481 echo "configure: failed program was:" >&5 |
6098 cat conftest.$ac_ext >&5 | 6482 cat conftest.$ac_ext >&5 |
6117 echo "$ac_t""no" 1>&6 | 6501 echo "$ac_t""no" 1>&6 |
6118 fi | 6502 fi |
6119 | 6503 |
6120 if test "${with_kerberos5+set}" != set; then | 6504 if test "${with_kerberos5+set}" != set; then |
6121 echo $ac_n "checking for des_cbc_encrypt in -ldes425""... $ac_c" 1>&6 | 6505 echo $ac_n "checking for des_cbc_encrypt in -ldes425""... $ac_c" 1>&6 |
6122 echo "configure:6123: checking for des_cbc_encrypt in -ldes425" >&5 | 6506 echo "configure:6507: checking for des_cbc_encrypt in -ldes425" >&5 |
6123 ac_lib_var=`echo des425'_'des_cbc_encrypt | sed 'y%./+-%__p_%'` | 6507 ac_lib_var=`echo des425'_'des_cbc_encrypt | sed 'y%./+-%__p_%'` |
6124 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 6508 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
6125 echo $ac_n "(cached) $ac_c" 1>&6 | 6509 echo $ac_n "(cached) $ac_c" 1>&6 |
6126 else | 6510 else |
6127 ac_save_LIBS="$LIBS" | 6511 ac_save_LIBS="$LIBS" |
6128 LIBS="-ldes425 $LIBS" | 6512 LIBS="-ldes425 $LIBS" |
6129 cat > conftest.$ac_ext <<EOF | 6513 cat > conftest.$ac_ext <<EOF |
6130 #line 6131 "configure" | 6514 #line 6515 "configure" |
6131 #include "confdefs.h" | 6515 #include "confdefs.h" |
6132 /* Override any gcc2 internal prototype to avoid an error. */ | 6516 /* Override any gcc2 internal prototype to avoid an error. */ |
6133 /* We use char because int might match the return type of a gcc2 | 6517 /* We use char because int might match the return type of a gcc2 |
6134 builtin and then its argument prototype would still apply. */ | 6518 builtin and then its argument prototype would still apply. */ |
6135 char des_cbc_encrypt(); | 6519 char des_cbc_encrypt(); |
6136 | 6520 |
6137 int main() { | 6521 int main() { |
6138 des_cbc_encrypt() | 6522 des_cbc_encrypt() |
6139 ; return 0; } | 6523 ; return 0; } |
6140 EOF | 6524 EOF |
6141 if { (eval echo configure:6142: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6525 if { (eval echo configure:6526: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6142 rm -rf conftest* | 6526 rm -rf conftest* |
6143 eval "ac_cv_lib_$ac_lib_var=yes" | 6527 eval "ac_cv_lib_$ac_lib_var=yes" |
6144 else | 6528 else |
6145 echo "configure: failed program was:" >&5 | 6529 echo "configure: failed program was:" >&5 |
6146 cat conftest.$ac_ext >&5 | 6530 cat conftest.$ac_ext >&5 |
6162 LIBS="-ldes425 $LIBS" | 6546 LIBS="-ldes425 $LIBS" |
6163 | 6547 |
6164 else | 6548 else |
6165 echo "$ac_t""no" 1>&6 | 6549 echo "$ac_t""no" 1>&6 |
6166 echo $ac_n "checking for des_cbc_encrypt in -ldes""... $ac_c" 1>&6 | 6550 echo $ac_n "checking for des_cbc_encrypt in -ldes""... $ac_c" 1>&6 |
6167 echo "configure:6168: checking for des_cbc_encrypt in -ldes" >&5 | 6551 echo "configure:6552: checking for des_cbc_encrypt in -ldes" >&5 |
6168 ac_lib_var=`echo des'_'des_cbc_encrypt | sed 'y%./+-%__p_%'` | 6552 ac_lib_var=`echo des'_'des_cbc_encrypt | sed 'y%./+-%__p_%'` |
6169 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 6553 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
6170 echo $ac_n "(cached) $ac_c" 1>&6 | 6554 echo $ac_n "(cached) $ac_c" 1>&6 |
6171 else | 6555 else |
6172 ac_save_LIBS="$LIBS" | 6556 ac_save_LIBS="$LIBS" |
6173 LIBS="-ldes $LIBS" | 6557 LIBS="-ldes $LIBS" |
6174 cat > conftest.$ac_ext <<EOF | 6558 cat > conftest.$ac_ext <<EOF |
6175 #line 6176 "configure" | 6559 #line 6560 "configure" |
6176 #include "confdefs.h" | 6560 #include "confdefs.h" |
6177 /* Override any gcc2 internal prototype to avoid an error. */ | 6561 /* Override any gcc2 internal prototype to avoid an error. */ |
6178 /* We use char because int might match the return type of a gcc2 | 6562 /* We use char because int might match the return type of a gcc2 |
6179 builtin and then its argument prototype would still apply. */ | 6563 builtin and then its argument prototype would still apply. */ |
6180 char des_cbc_encrypt(); | 6564 char des_cbc_encrypt(); |
6181 | 6565 |
6182 int main() { | 6566 int main() { |
6183 des_cbc_encrypt() | 6567 des_cbc_encrypt() |
6184 ; return 0; } | 6568 ; return 0; } |
6185 EOF | 6569 EOF |
6186 if { (eval echo configure:6187: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6570 if { (eval echo configure:6571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6187 rm -rf conftest* | 6571 rm -rf conftest* |
6188 eval "ac_cv_lib_$ac_lib_var=yes" | 6572 eval "ac_cv_lib_$ac_lib_var=yes" |
6189 else | 6573 else |
6190 echo "configure: failed program was:" >&5 | 6574 echo "configure: failed program was:" >&5 |
6191 cat conftest.$ac_ext >&5 | 6575 cat conftest.$ac_ext >&5 |
6211 fi | 6595 fi |
6212 | 6596 |
6213 fi | 6597 fi |
6214 | 6598 |
6215 echo $ac_n "checking for krb_get_cred in -lkrb4""... $ac_c" 1>&6 | 6599 echo $ac_n "checking for krb_get_cred in -lkrb4""... $ac_c" 1>&6 |
6216 echo "configure:6217: checking for krb_get_cred in -lkrb4" >&5 | 6600 echo "configure:6601: checking for krb_get_cred in -lkrb4" >&5 |
6217 ac_lib_var=`echo krb4'_'krb_get_cred | sed 'y%./+-%__p_%'` | 6601 ac_lib_var=`echo krb4'_'krb_get_cred | sed 'y%./+-%__p_%'` |
6218 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 6602 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
6219 echo $ac_n "(cached) $ac_c" 1>&6 | 6603 echo $ac_n "(cached) $ac_c" 1>&6 |
6220 else | 6604 else |
6221 ac_save_LIBS="$LIBS" | 6605 ac_save_LIBS="$LIBS" |
6222 LIBS="-lkrb4 $LIBS" | 6606 LIBS="-lkrb4 $LIBS" |
6223 cat > conftest.$ac_ext <<EOF | 6607 cat > conftest.$ac_ext <<EOF |
6224 #line 6225 "configure" | 6608 #line 6609 "configure" |
6225 #include "confdefs.h" | 6609 #include "confdefs.h" |
6226 /* Override any gcc2 internal prototype to avoid an error. */ | 6610 /* Override any gcc2 internal prototype to avoid an error. */ |
6227 /* We use char because int might match the return type of a gcc2 | 6611 /* We use char because int might match the return type of a gcc2 |
6228 builtin and then its argument prototype would still apply. */ | 6612 builtin and then its argument prototype would still apply. */ |
6229 char krb_get_cred(); | 6613 char krb_get_cred(); |
6230 | 6614 |
6231 int main() { | 6615 int main() { |
6232 krb_get_cred() | 6616 krb_get_cred() |
6233 ; return 0; } | 6617 ; return 0; } |
6234 EOF | 6618 EOF |
6235 if { (eval echo configure:6236: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6619 if { (eval echo configure:6620: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6236 rm -rf conftest* | 6620 rm -rf conftest* |
6237 eval "ac_cv_lib_$ac_lib_var=yes" | 6621 eval "ac_cv_lib_$ac_lib_var=yes" |
6238 else | 6622 else |
6239 echo "configure: failed program was:" >&5 | 6623 echo "configure: failed program was:" >&5 |
6240 cat conftest.$ac_ext >&5 | 6624 cat conftest.$ac_ext >&5 |
6256 LIBS="-lkrb4 $LIBS" | 6640 LIBS="-lkrb4 $LIBS" |
6257 | 6641 |
6258 else | 6642 else |
6259 echo "$ac_t""no" 1>&6 | 6643 echo "$ac_t""no" 1>&6 |
6260 echo $ac_n "checking for krb_get_cred in -lkrb""... $ac_c" 1>&6 | 6644 echo $ac_n "checking for krb_get_cred in -lkrb""... $ac_c" 1>&6 |
6261 echo "configure:6262: checking for krb_get_cred in -lkrb" >&5 | 6645 echo "configure:6646: checking for krb_get_cred in -lkrb" >&5 |
6262 ac_lib_var=`echo krb'_'krb_get_cred | sed 'y%./+-%__p_%'` | 6646 ac_lib_var=`echo krb'_'krb_get_cred | sed 'y%./+-%__p_%'` |
6263 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 6647 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
6264 echo $ac_n "(cached) $ac_c" 1>&6 | 6648 echo $ac_n "(cached) $ac_c" 1>&6 |
6265 else | 6649 else |
6266 ac_save_LIBS="$LIBS" | 6650 ac_save_LIBS="$LIBS" |
6267 LIBS="-lkrb $LIBS" | 6651 LIBS="-lkrb $LIBS" |
6268 cat > conftest.$ac_ext <<EOF | 6652 cat > conftest.$ac_ext <<EOF |
6269 #line 6270 "configure" | 6653 #line 6654 "configure" |
6270 #include "confdefs.h" | 6654 #include "confdefs.h" |
6271 /* Override any gcc2 internal prototype to avoid an error. */ | 6655 /* Override any gcc2 internal prototype to avoid an error. */ |
6272 /* We use char because int might match the return type of a gcc2 | 6656 /* We use char because int might match the return type of a gcc2 |
6273 builtin and then its argument prototype would still apply. */ | 6657 builtin and then its argument prototype would still apply. */ |
6274 char krb_get_cred(); | 6658 char krb_get_cred(); |
6275 | 6659 |
6276 int main() { | 6660 int main() { |
6277 krb_get_cred() | 6661 krb_get_cred() |
6278 ; return 0; } | 6662 ; return 0; } |
6279 EOF | 6663 EOF |
6280 if { (eval echo configure:6281: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6664 if { (eval echo configure:6665: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6281 rm -rf conftest* | 6665 rm -rf conftest* |
6282 eval "ac_cv_lib_$ac_lib_var=yes" | 6666 eval "ac_cv_lib_$ac_lib_var=yes" |
6283 else | 6667 else |
6284 echo "configure: failed program was:" >&5 | 6668 echo "configure: failed program was:" >&5 |
6285 cat conftest.$ac_ext >&5 | 6669 cat conftest.$ac_ext >&5 |
6311 if test "${with_kerberos5+set}" = set; then | 6695 if test "${with_kerberos5+set}" = set; then |
6312 for ac_hdr in krb5.h | 6696 for ac_hdr in krb5.h |
6313 do | 6697 do |
6314 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 6698 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
6315 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 6699 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
6316 echo "configure:6317: checking for $ac_hdr" >&5 | 6700 echo "configure:6701: checking for $ac_hdr" >&5 |
6317 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 6701 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
6318 echo $ac_n "(cached) $ac_c" 1>&6 | 6702 echo $ac_n "(cached) $ac_c" 1>&6 |
6319 else | 6703 else |
6320 cat > conftest.$ac_ext <<EOF | 6704 cat > conftest.$ac_ext <<EOF |
6321 #line 6322 "configure" | 6705 #line 6706 "configure" |
6322 #include "confdefs.h" | 6706 #include "confdefs.h" |
6323 #include <$ac_hdr> | 6707 #include <$ac_hdr> |
6324 EOF | 6708 EOF |
6325 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6709 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6326 { (eval echo configure:6327: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6710 { (eval echo configure:6711: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6327 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6711 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6328 if test -z "$ac_err"; then | 6712 if test -z "$ac_err"; then |
6329 rm -rf conftest* | 6713 rm -rf conftest* |
6330 eval "ac_cv_header_$ac_safe=yes" | 6714 eval "ac_cv_header_$ac_safe=yes" |
6331 else | 6715 else |
6352 else | 6736 else |
6353 for ac_hdr in des.h | 6737 for ac_hdr in des.h |
6354 do | 6738 do |
6355 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 6739 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
6356 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 6740 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
6357 echo "configure:6358: checking for $ac_hdr" >&5 | 6741 echo "configure:6742: checking for $ac_hdr" >&5 |
6358 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 6742 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
6359 echo $ac_n "(cached) $ac_c" 1>&6 | 6743 echo $ac_n "(cached) $ac_c" 1>&6 |
6360 else | 6744 else |
6361 cat > conftest.$ac_ext <<EOF | 6745 cat > conftest.$ac_ext <<EOF |
6362 #line 6363 "configure" | 6746 #line 6747 "configure" |
6363 #include "confdefs.h" | 6747 #include "confdefs.h" |
6364 #include <$ac_hdr> | 6748 #include <$ac_hdr> |
6365 EOF | 6749 EOF |
6366 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6750 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6367 { (eval echo configure:6368: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6751 { (eval echo configure:6752: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6368 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6752 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6369 if test -z "$ac_err"; then | 6753 if test -z "$ac_err"; then |
6370 rm -rf conftest* | 6754 rm -rf conftest* |
6371 eval "ac_cv_header_$ac_safe=yes" | 6755 eval "ac_cv_header_$ac_safe=yes" |
6372 else | 6756 else |
6389 echo "$ac_t""no" 1>&6 | 6773 echo "$ac_t""no" 1>&6 |
6390 for ac_hdr in kerberosIV/des.h | 6774 for ac_hdr in kerberosIV/des.h |
6391 do | 6775 do |
6392 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 6776 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
6393 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 6777 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
6394 echo "configure:6395: checking for $ac_hdr" >&5 | 6778 echo "configure:6779: checking for $ac_hdr" >&5 |
6395 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 6779 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
6396 echo $ac_n "(cached) $ac_c" 1>&6 | 6780 echo $ac_n "(cached) $ac_c" 1>&6 |
6397 else | 6781 else |
6398 cat > conftest.$ac_ext <<EOF | 6782 cat > conftest.$ac_ext <<EOF |
6399 #line 6400 "configure" | 6783 #line 6784 "configure" |
6400 #include "confdefs.h" | 6784 #include "confdefs.h" |
6401 #include <$ac_hdr> | 6785 #include <$ac_hdr> |
6402 EOF | 6786 EOF |
6403 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6787 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6404 { (eval echo configure:6405: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6788 { (eval echo configure:6789: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6405 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6789 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6406 if test -z "$ac_err"; then | 6790 if test -z "$ac_err"; then |
6407 rm -rf conftest* | 6791 rm -rf conftest* |
6408 eval "ac_cv_header_$ac_safe=yes" | 6792 eval "ac_cv_header_$ac_safe=yes" |
6409 else | 6793 else |
6426 echo "$ac_t""no" 1>&6 | 6810 echo "$ac_t""no" 1>&6 |
6427 for ac_hdr in kerberos/des.h | 6811 for ac_hdr in kerberos/des.h |
6428 do | 6812 do |
6429 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 6813 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
6430 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 6814 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
6431 echo "configure:6432: checking for $ac_hdr" >&5 | 6815 echo "configure:6816: checking for $ac_hdr" >&5 |
6432 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 6816 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
6433 echo $ac_n "(cached) $ac_c" 1>&6 | 6817 echo $ac_n "(cached) $ac_c" 1>&6 |
6434 else | 6818 else |
6435 cat > conftest.$ac_ext <<EOF | 6819 cat > conftest.$ac_ext <<EOF |
6436 #line 6437 "configure" | 6820 #line 6821 "configure" |
6437 #include "confdefs.h" | 6821 #include "confdefs.h" |
6438 #include <$ac_hdr> | 6822 #include <$ac_hdr> |
6439 EOF | 6823 EOF |
6440 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6824 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6441 { (eval echo configure:6442: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6825 { (eval echo configure:6826: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6442 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6826 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6443 if test -z "$ac_err"; then | 6827 if test -z "$ac_err"; then |
6444 rm -rf conftest* | 6828 rm -rf conftest* |
6445 eval "ac_cv_header_$ac_safe=yes" | 6829 eval "ac_cv_header_$ac_safe=yes" |
6446 else | 6830 else |
6472 | 6856 |
6473 for ac_hdr in krb.h | 6857 for ac_hdr in krb.h |
6474 do | 6858 do |
6475 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 6859 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
6476 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 6860 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
6477 echo "configure:6478: checking for $ac_hdr" >&5 | 6861 echo "configure:6862: checking for $ac_hdr" >&5 |
6478 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 6862 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
6479 echo $ac_n "(cached) $ac_c" 1>&6 | 6863 echo $ac_n "(cached) $ac_c" 1>&6 |
6480 else | 6864 else |
6481 cat > conftest.$ac_ext <<EOF | 6865 cat > conftest.$ac_ext <<EOF |
6482 #line 6483 "configure" | 6866 #line 6867 "configure" |
6483 #include "confdefs.h" | 6867 #include "confdefs.h" |
6484 #include <$ac_hdr> | 6868 #include <$ac_hdr> |
6485 EOF | 6869 EOF |
6486 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6870 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6487 { (eval echo configure:6488: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6871 { (eval echo configure:6872: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6488 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6872 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6489 if test -z "$ac_err"; then | 6873 if test -z "$ac_err"; then |
6490 rm -rf conftest* | 6874 rm -rf conftest* |
6491 eval "ac_cv_header_$ac_safe=yes" | 6875 eval "ac_cv_header_$ac_safe=yes" |
6492 else | 6876 else |
6509 echo "$ac_t""no" 1>&6 | 6893 echo "$ac_t""no" 1>&6 |
6510 for ac_hdr in kerberosIV/krb.h | 6894 for ac_hdr in kerberosIV/krb.h |
6511 do | 6895 do |
6512 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 6896 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
6513 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 6897 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
6514 echo "configure:6515: checking for $ac_hdr" >&5 | 6898 echo "configure:6899: checking for $ac_hdr" >&5 |
6515 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 6899 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
6516 echo $ac_n "(cached) $ac_c" 1>&6 | 6900 echo $ac_n "(cached) $ac_c" 1>&6 |
6517 else | 6901 else |
6518 cat > conftest.$ac_ext <<EOF | 6902 cat > conftest.$ac_ext <<EOF |
6519 #line 6520 "configure" | 6903 #line 6904 "configure" |
6520 #include "confdefs.h" | 6904 #include "confdefs.h" |
6521 #include <$ac_hdr> | 6905 #include <$ac_hdr> |
6522 EOF | 6906 EOF |
6523 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6907 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6524 { (eval echo configure:6525: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6908 { (eval echo configure:6909: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6525 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6909 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6526 if test -z "$ac_err"; then | 6910 if test -z "$ac_err"; then |
6527 rm -rf conftest* | 6911 rm -rf conftest* |
6528 eval "ac_cv_header_$ac_safe=yes" | 6912 eval "ac_cv_header_$ac_safe=yes" |
6529 else | 6913 else |
6546 echo "$ac_t""no" 1>&6 | 6930 echo "$ac_t""no" 1>&6 |
6547 for ac_hdr in kerberos/krb.h | 6931 for ac_hdr in kerberos/krb.h |
6548 do | 6932 do |
6549 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 6933 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
6550 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 6934 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
6551 echo "configure:6552: checking for $ac_hdr" >&5 | 6935 echo "configure:6936: checking for $ac_hdr" >&5 |
6552 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 6936 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
6553 echo $ac_n "(cached) $ac_c" 1>&6 | 6937 echo $ac_n "(cached) $ac_c" 1>&6 |
6554 else | 6938 else |
6555 cat > conftest.$ac_ext <<EOF | 6939 cat > conftest.$ac_ext <<EOF |
6556 #line 6557 "configure" | 6940 #line 6941 "configure" |
6557 #include "confdefs.h" | 6941 #include "confdefs.h" |
6558 #include <$ac_hdr> | 6942 #include <$ac_hdr> |
6559 EOF | 6943 EOF |
6560 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6944 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6561 { (eval echo configure:6562: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6945 { (eval echo configure:6946: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6562 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6946 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6563 if test -z "$ac_err"; then | 6947 if test -z "$ac_err"; then |
6564 rm -rf conftest* | 6948 rm -rf conftest* |
6565 eval "ac_cv_header_$ac_safe=yes" | 6949 eval "ac_cv_header_$ac_safe=yes" |
6566 else | 6950 else |
6593 fi | 6977 fi |
6594 for ac_hdr in com_err.h | 6978 for ac_hdr in com_err.h |
6595 do | 6979 do |
6596 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 6980 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
6597 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 6981 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
6598 echo "configure:6599: checking for $ac_hdr" >&5 | 6982 echo "configure:6983: checking for $ac_hdr" >&5 |
6599 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 6983 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
6600 echo $ac_n "(cached) $ac_c" 1>&6 | 6984 echo $ac_n "(cached) $ac_c" 1>&6 |
6601 else | 6985 else |
6602 cat > conftest.$ac_ext <<EOF | 6986 cat > conftest.$ac_ext <<EOF |
6603 #line 6604 "configure" | 6987 #line 6988 "configure" |
6604 #include "confdefs.h" | 6988 #include "confdefs.h" |
6605 #include <$ac_hdr> | 6989 #include <$ac_hdr> |
6606 EOF | 6990 EOF |
6607 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6991 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6608 { (eval echo configure:6609: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6992 { (eval echo configure:6993: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6609 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6993 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6610 if test -z "$ac_err"; then | 6994 if test -z "$ac_err"; then |
6611 rm -rf conftest* | 6995 rm -rf conftest* |
6612 eval "ac_cv_header_$ac_safe=yes" | 6996 eval "ac_cv_header_$ac_safe=yes" |
6613 else | 6997 else |
6634 fi | 7018 fi |
6635 | 7019 |
6636 # Solaris requires -lintl if you want strerror (which calls dgettext) | 7020 # Solaris requires -lintl if you want strerror (which calls dgettext) |
6637 # to return localized messages. | 7021 # to return localized messages. |
6638 echo $ac_n "checking for dgettext in -lintl""... $ac_c" 1>&6 | 7022 echo $ac_n "checking for dgettext in -lintl""... $ac_c" 1>&6 |
6639 echo "configure:6640: checking for dgettext in -lintl" >&5 | 7023 echo "configure:7024: checking for dgettext in -lintl" >&5 |
6640 ac_lib_var=`echo intl'_'dgettext | sed 'y%./+-%__p_%'` | 7024 ac_lib_var=`echo intl'_'dgettext | sed 'y%./+-%__p_%'` |
6641 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 7025 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
6642 echo $ac_n "(cached) $ac_c" 1>&6 | 7026 echo $ac_n "(cached) $ac_c" 1>&6 |
6643 else | 7027 else |
6644 ac_save_LIBS="$LIBS" | 7028 ac_save_LIBS="$LIBS" |
6645 LIBS="-lintl $LIBS" | 7029 LIBS="-lintl $LIBS" |
6646 cat > conftest.$ac_ext <<EOF | 7030 cat > conftest.$ac_ext <<EOF |
6647 #line 6648 "configure" | 7031 #line 7032 "configure" |
6648 #include "confdefs.h" | 7032 #include "confdefs.h" |
6649 /* Override any gcc2 internal prototype to avoid an error. */ | 7033 /* Override any gcc2 internal prototype to avoid an error. */ |
6650 /* We use char because int might match the return type of a gcc2 | 7034 /* We use char because int might match the return type of a gcc2 |
6651 builtin and then its argument prototype would still apply. */ | 7035 builtin and then its argument prototype would still apply. */ |
6652 char dgettext(); | 7036 char dgettext(); |
6653 | 7037 |
6654 int main() { | 7038 int main() { |
6655 dgettext() | 7039 dgettext() |
6656 ; return 0; } | 7040 ; return 0; } |
6657 EOF | 7041 EOF |
6658 if { (eval echo configure:6659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7042 if { (eval echo configure:7043: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6659 rm -rf conftest* | 7043 rm -rf conftest* |
6660 eval "ac_cv_lib_$ac_lib_var=yes" | 7044 eval "ac_cv_lib_$ac_lib_var=yes" |
6661 else | 7045 else |
6662 echo "configure: failed program was:" >&5 | 7046 echo "configure: failed program was:" >&5 |
6663 cat conftest.$ac_ext >&5 | 7047 cat conftest.$ac_ext >&5 |
6682 echo "$ac_t""no" 1>&6 | 7066 echo "$ac_t""no" 1>&6 |
6683 fi | 7067 fi |
6684 | 7068 |
6685 | 7069 |
6686 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 7070 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
6687 echo "configure:6688: checking whether localtime caches TZ" >&5 | 7071 echo "configure:7072: checking whether localtime caches TZ" >&5 |
6688 if eval "test \"`echo '$''{'emacs_cv_localtime_cache'+set}'`\" = set"; then | 7072 if eval "test \"`echo '$''{'emacs_cv_localtime_cache'+set}'`\" = set"; then |
6689 echo $ac_n "(cached) $ac_c" 1>&6 | 7073 echo $ac_n "(cached) $ac_c" 1>&6 |
6690 else | 7074 else |
6691 if test x$ac_cv_func_tzset = xyes; then | 7075 if test x$ac_cv_func_tzset = xyes; then |
6692 if test "$cross_compiling" = yes; then | 7076 if test "$cross_compiling" = yes; then |
6693 # If we have tzset, assume the worst when cross-compiling. | 7077 # If we have tzset, assume the worst when cross-compiling. |
6694 emacs_cv_localtime_cache=yes | 7078 emacs_cv_localtime_cache=yes |
6695 else | 7079 else |
6696 cat > conftest.$ac_ext <<EOF | 7080 cat > conftest.$ac_ext <<EOF |
6697 #line 6698 "configure" | 7081 #line 7082 "configure" |
6698 #include "confdefs.h" | 7082 #include "confdefs.h" |
6699 #include <time.h> | 7083 #include <time.h> |
6700 extern char **environ; | 7084 extern char **environ; |
6701 unset_TZ () | 7085 unset_TZ () |
6702 { | 7086 { |
6724 if (localtime (&now)->tm_hour != hour_unset) | 7108 if (localtime (&now)->tm_hour != hour_unset) |
6725 exit (1); | 7109 exit (1); |
6726 exit (0); | 7110 exit (0); |
6727 } | 7111 } |
6728 EOF | 7112 EOF |
6729 if { (eval echo configure:6730: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 7113 if { (eval echo configure:7114: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
6730 then | 7114 then |
6731 emacs_cv_localtime_cache=no | 7115 emacs_cv_localtime_cache=no |
6732 else | 7116 else |
6733 echo "configure: failed program was:" >&5 | 7117 echo "configure: failed program was:" >&5 |
6734 cat conftest.$ac_ext >&5 | 7118 cat conftest.$ac_ext >&5 |
6752 | 7136 |
6753 fi | 7137 fi |
6754 | 7138 |
6755 if test "x$HAVE_TIMEVAL" = xyes; then | 7139 if test "x$HAVE_TIMEVAL" = xyes; then |
6756 echo $ac_n "checking whether gettimeofday can accept two arguments""... $ac_c" 1>&6 | 7140 echo $ac_n "checking whether gettimeofday can accept two arguments""... $ac_c" 1>&6 |
6757 echo "configure:6758: checking whether gettimeofday can accept two arguments" >&5 | 7141 echo "configure:7142: checking whether gettimeofday can accept two arguments" >&5 |
6758 if eval "test \"`echo '$''{'emacs_cv_gettimeofday_two_arguments'+set}'`\" = set"; then | 7142 if eval "test \"`echo '$''{'emacs_cv_gettimeofday_two_arguments'+set}'`\" = set"; then |
6759 echo $ac_n "(cached) $ac_c" 1>&6 | 7143 echo $ac_n "(cached) $ac_c" 1>&6 |
6760 else | 7144 else |
6761 cat > conftest.$ac_ext <<EOF | 7145 cat > conftest.$ac_ext <<EOF |
6762 #line 6763 "configure" | 7146 #line 7147 "configure" |
6763 #include "confdefs.h" | 7147 #include "confdefs.h" |
6764 | 7148 |
6765 #ifdef TIME_WITH_SYS_TIME | 7149 #ifdef TIME_WITH_SYS_TIME |
6766 #include <sys/time.h> | 7150 #include <sys/time.h> |
6767 #include <time.h> | 7151 #include <time.h> |
6779 struct timezone dummy; | 7163 struct timezone dummy; |
6780 gettimeofday (&time, &dummy); | 7164 gettimeofday (&time, &dummy); |
6781 | 7165 |
6782 ; return 0; } | 7166 ; return 0; } |
6783 EOF | 7167 EOF |
6784 if { (eval echo configure:6785: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7168 if { (eval echo configure:7169: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6785 rm -rf conftest* | 7169 rm -rf conftest* |
6786 emacs_cv_gettimeofday_two_arguments=yes | 7170 emacs_cv_gettimeofday_two_arguments=yes |
6787 else | 7171 else |
6788 echo "configure: failed program was:" >&5 | 7172 echo "configure: failed program was:" >&5 |
6789 cat conftest.$ac_ext >&5 | 7173 cat conftest.$ac_ext >&5 |
6802 fi | 7186 fi |
6803 fi | 7187 fi |
6804 | 7188 |
6805 ok_so_far=yes | 7189 ok_so_far=yes |
6806 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 7190 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
6807 echo "configure:6808: checking for socket" >&5 | 7191 echo "configure:7192: checking for socket" >&5 |
6808 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then | 7192 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then |
6809 echo $ac_n "(cached) $ac_c" 1>&6 | 7193 echo $ac_n "(cached) $ac_c" 1>&6 |
6810 else | 7194 else |
6811 cat > conftest.$ac_ext <<EOF | 7195 cat > conftest.$ac_ext <<EOF |
6812 #line 6813 "configure" | 7196 #line 7197 "configure" |
6813 #include "confdefs.h" | 7197 #include "confdefs.h" |
6814 /* System header to define __stub macros and hopefully few prototypes, | 7198 /* System header to define __stub macros and hopefully few prototypes, |
6815 which can conflict with char socket(); below. */ | 7199 which can conflict with char socket(); below. */ |
6816 #include <assert.h> | 7200 #include <assert.h> |
6817 /* Override any gcc2 internal prototype to avoid an error. */ | 7201 /* Override any gcc2 internal prototype to avoid an error. */ |
6830 socket(); | 7214 socket(); |
6831 #endif | 7215 #endif |
6832 | 7216 |
6833 ; return 0; } | 7217 ; return 0; } |
6834 EOF | 7218 EOF |
6835 if { (eval echo configure:6836: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7219 if { (eval echo configure:7220: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6836 rm -rf conftest* | 7220 rm -rf conftest* |
6837 eval "ac_cv_func_socket=yes" | 7221 eval "ac_cv_func_socket=yes" |
6838 else | 7222 else |
6839 echo "configure: failed program was:" >&5 | 7223 echo "configure: failed program was:" >&5 |
6840 cat conftest.$ac_ext >&5 | 7224 cat conftest.$ac_ext >&5 |
6853 fi | 7237 fi |
6854 | 7238 |
6855 if test $ok_so_far = yes; then | 7239 if test $ok_so_far = yes; then |
6856 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 7240 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
6857 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 7241 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
6858 echo "configure:6859: checking for netinet/in.h" >&5 | 7242 echo "configure:7243: checking for netinet/in.h" >&5 |
6859 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 7243 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
6860 echo $ac_n "(cached) $ac_c" 1>&6 | 7244 echo $ac_n "(cached) $ac_c" 1>&6 |
6861 else | 7245 else |
6862 cat > conftest.$ac_ext <<EOF | 7246 cat > conftest.$ac_ext <<EOF |
6863 #line 6864 "configure" | 7247 #line 7248 "configure" |
6864 #include "confdefs.h" | 7248 #include "confdefs.h" |
6865 #include <netinet/in.h> | 7249 #include <netinet/in.h> |
6866 EOF | 7250 EOF |
6867 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7251 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6868 { (eval echo configure:6869: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7252 { (eval echo configure:7253: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6869 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7253 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6870 if test -z "$ac_err"; then | 7254 if test -z "$ac_err"; then |
6871 rm -rf conftest* | 7255 rm -rf conftest* |
6872 eval "ac_cv_header_$ac_safe=yes" | 7256 eval "ac_cv_header_$ac_safe=yes" |
6873 else | 7257 else |
6889 | 7273 |
6890 fi | 7274 fi |
6891 if test $ok_so_far = yes; then | 7275 if test $ok_so_far = yes; then |
6892 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 7276 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
6893 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 7277 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
6894 echo "configure:6895: checking for arpa/inet.h" >&5 | 7278 echo "configure:7279: checking for arpa/inet.h" >&5 |
6895 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 7279 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
6896 echo $ac_n "(cached) $ac_c" 1>&6 | 7280 echo $ac_n "(cached) $ac_c" 1>&6 |
6897 else | 7281 else |
6898 cat > conftest.$ac_ext <<EOF | 7282 cat > conftest.$ac_ext <<EOF |
6899 #line 6900 "configure" | 7283 #line 7284 "configure" |
6900 #include "confdefs.h" | 7284 #include "confdefs.h" |
6901 #include <arpa/inet.h> | 7285 #include <arpa/inet.h> |
6902 EOF | 7286 EOF |
6903 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7287 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6904 { (eval echo configure:6905: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7288 { (eval echo configure:7289: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6905 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7289 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6906 if test -z "$ac_err"; then | 7290 if test -z "$ac_err"; then |
6907 rm -rf conftest* | 7291 rm -rf conftest* |
6908 eval "ac_cv_header_$ac_safe=yes" | 7292 eval "ac_cv_header_$ac_safe=yes" |
6909 else | 7293 else |
6937 EOF | 7321 EOF |
6938 | 7322 |
6939 fi | 7323 fi |
6940 | 7324 |
6941 echo $ac_n "checking whether system supports dynamic ptys""... $ac_c" 1>&6 | 7325 echo $ac_n "checking whether system supports dynamic ptys""... $ac_c" 1>&6 |
6942 echo "configure:6943: checking whether system supports dynamic ptys" >&5 | 7326 echo "configure:7327: checking whether system supports dynamic ptys" >&5 |
6943 if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then | 7327 if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then |
6944 echo "$ac_t""yes" 1>&6 | 7328 echo "$ac_t""yes" 1>&6 |
6945 cat >> confdefs.h <<\EOF | 7329 cat >> confdefs.h <<\EOF |
6946 #define HAVE_DEV_PTMX 1 | 7330 #define HAVE_DEV_PTMX 1 |
6947 EOF | 7331 EOF |
6949 else | 7333 else |
6950 echo "$ac_t""no" 1>&6 | 7334 echo "$ac_t""no" 1>&6 |
6951 fi | 7335 fi |
6952 | 7336 |
6953 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 | 7337 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 |
6954 echo "configure:6955: checking for pid_t" >&5 | 7338 echo "configure:7339: checking for pid_t" >&5 |
6955 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then | 7339 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then |
6956 echo $ac_n "(cached) $ac_c" 1>&6 | 7340 echo $ac_n "(cached) $ac_c" 1>&6 |
6957 else | 7341 else |
6958 cat > conftest.$ac_ext <<EOF | 7342 cat > conftest.$ac_ext <<EOF |
6959 #line 6960 "configure" | 7343 #line 7344 "configure" |
6960 #include "confdefs.h" | 7344 #include "confdefs.h" |
6961 #include <sys/types.h> | 7345 #include <sys/types.h> |
6962 #if STDC_HEADERS | 7346 #if STDC_HEADERS |
6963 #include <stdlib.h> | 7347 #include <stdlib.h> |
6964 #include <stddef.h> | 7348 #include <stddef.h> |
6983 | 7367 |
6984 fi | 7368 fi |
6985 | 7369 |
6986 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` | 7370 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` |
6987 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 | 7371 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 |
6988 echo "configure:6989: checking for vfork.h" >&5 | 7372 echo "configure:7373: checking for vfork.h" >&5 |
6989 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 7373 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
6990 echo $ac_n "(cached) $ac_c" 1>&6 | 7374 echo $ac_n "(cached) $ac_c" 1>&6 |
6991 else | 7375 else |
6992 cat > conftest.$ac_ext <<EOF | 7376 cat > conftest.$ac_ext <<EOF |
6993 #line 6994 "configure" | 7377 #line 7378 "configure" |
6994 #include "confdefs.h" | 7378 #include "confdefs.h" |
6995 #include <vfork.h> | 7379 #include <vfork.h> |
6996 EOF | 7380 EOF |
6997 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7381 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6998 { (eval echo configure:6999: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7382 { (eval echo configure:7383: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6999 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7383 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7000 if test -z "$ac_err"; then | 7384 if test -z "$ac_err"; then |
7001 rm -rf conftest* | 7385 rm -rf conftest* |
7002 eval "ac_cv_header_$ac_safe=yes" | 7386 eval "ac_cv_header_$ac_safe=yes" |
7003 else | 7387 else |
7018 else | 7402 else |
7019 echo "$ac_t""no" 1>&6 | 7403 echo "$ac_t""no" 1>&6 |
7020 fi | 7404 fi |
7021 | 7405 |
7022 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 | 7406 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 |
7023 echo "configure:7024: checking for working vfork" >&5 | 7407 echo "configure:7408: checking for working vfork" >&5 |
7024 if eval "test \"`echo '$''{'ac_cv_func_vfork_works'+set}'`\" = set"; then | 7408 if eval "test \"`echo '$''{'ac_cv_func_vfork_works'+set}'`\" = set"; then |
7025 echo $ac_n "(cached) $ac_c" 1>&6 | 7409 echo $ac_n "(cached) $ac_c" 1>&6 |
7026 else | 7410 else |
7027 if test "$cross_compiling" = yes; then | 7411 if test "$cross_compiling" = yes; then |
7028 echo $ac_n "checking for vfork""... $ac_c" 1>&6 | 7412 echo $ac_n "checking for vfork""... $ac_c" 1>&6 |
7029 echo "configure:7030: checking for vfork" >&5 | 7413 echo "configure:7414: checking for vfork" >&5 |
7030 if eval "test \"`echo '$''{'ac_cv_func_vfork'+set}'`\" = set"; then | 7414 if eval "test \"`echo '$''{'ac_cv_func_vfork'+set}'`\" = set"; then |
7031 echo $ac_n "(cached) $ac_c" 1>&6 | 7415 echo $ac_n "(cached) $ac_c" 1>&6 |
7032 else | 7416 else |
7033 cat > conftest.$ac_ext <<EOF | 7417 cat > conftest.$ac_ext <<EOF |
7034 #line 7035 "configure" | 7418 #line 7419 "configure" |
7035 #include "confdefs.h" | 7419 #include "confdefs.h" |
7036 /* System header to define __stub macros and hopefully few prototypes, | 7420 /* System header to define __stub macros and hopefully few prototypes, |
7037 which can conflict with char vfork(); below. */ | 7421 which can conflict with char vfork(); below. */ |
7038 #include <assert.h> | 7422 #include <assert.h> |
7039 /* Override any gcc2 internal prototype to avoid an error. */ | 7423 /* Override any gcc2 internal prototype to avoid an error. */ |
7052 vfork(); | 7436 vfork(); |
7053 #endif | 7437 #endif |
7054 | 7438 |
7055 ; return 0; } | 7439 ; return 0; } |
7056 EOF | 7440 EOF |
7057 if { (eval echo configure:7058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7441 if { (eval echo configure:7442: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7058 rm -rf conftest* | 7442 rm -rf conftest* |
7059 eval "ac_cv_func_vfork=yes" | 7443 eval "ac_cv_func_vfork=yes" |
7060 else | 7444 else |
7061 echo "configure: failed program was:" >&5 | 7445 echo "configure: failed program was:" >&5 |
7062 cat conftest.$ac_ext >&5 | 7446 cat conftest.$ac_ext >&5 |
7074 fi | 7458 fi |
7075 | 7459 |
7076 ac_cv_func_vfork_works=$ac_cv_func_vfork | 7460 ac_cv_func_vfork_works=$ac_cv_func_vfork |
7077 else | 7461 else |
7078 cat > conftest.$ac_ext <<EOF | 7462 cat > conftest.$ac_ext <<EOF |
7079 #line 7080 "configure" | 7463 #line 7464 "configure" |
7080 #include "confdefs.h" | 7464 #include "confdefs.h" |
7081 /* Thanks to Paul Eggert for this test. */ | 7465 /* Thanks to Paul Eggert for this test. */ |
7082 #include <stdio.h> | 7466 #include <stdio.h> |
7083 #include <sys/types.h> | 7467 #include <sys/types.h> |
7084 #include <sys/stat.h> | 7468 #include <sys/stat.h> |
7169 || fstat(fileno(stdout), &st) != 0 | 7553 || fstat(fileno(stdout), &st) != 0 |
7170 ); | 7554 ); |
7171 } | 7555 } |
7172 } | 7556 } |
7173 EOF | 7557 EOF |
7174 if { (eval echo configure:7175: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 7558 if { (eval echo configure:7559: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
7175 then | 7559 then |
7176 ac_cv_func_vfork_works=yes | 7560 ac_cv_func_vfork_works=yes |
7177 else | 7561 else |
7178 echo "configure: failed program was:" >&5 | 7562 echo "configure: failed program was:" >&5 |
7179 cat conftest.$ac_ext >&5 | 7563 cat conftest.$ac_ext >&5 |