aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Love2002-11-27 22:53:51 +0000
committerDave Love2002-11-27 22:53:51 +0000
commit71cc40d5d4c554d939ffb8c2029ee508cb809822 (patch)
treea1c95899133ac970e6dcdc834b416538898277e6
parent454b4dd09f5cc37ed756e73509b19e1ca6058188 (diff)
downloademacs-71cc40d5d4c554d939ffb8c2029ee508cb809822.tar.gz
emacs-71cc40d5d4c554d939ffb8c2029ee508cb809822.zip
Use AC_CHECK_DECLS, not AC_DECL_SYS_SIGLIST.
Check for __sys_siglist too. Check for memset. Use AC_FUNC_GETPGRP. Add mipsel-*-linux-gnu* target.
-rw-r--r--configure.in22
1 files changed, 18 insertions, 4 deletions
diff --git a/configure.in b/configure.in
index 8e3f1ecf8c8..5087dd94e7e 100644
--- a/configure.in
+++ b/configure.in
@@ -1081,7 +1081,7 @@ case "${canonical}" in
1081 ;; 1081 ;;
1082 1082
1083 ## Mips Linux-based GNU system 1083 ## Mips Linux-based GNU system
1084 mips-*-linux-gnu* ) 1084 mips-*-linux-gnu* | mipsel-*-linux-gnu* )
1085 machine=mips opsys=gnu-linux 1085 machine=mips opsys=gnu-linux
1086 ;; 1086 ;;
1087 1087
@@ -1401,7 +1401,15 @@ dnl it doesn't define `bool'.
1401AC_CHECK_HEADERS(term.h, , , -) 1401AC_CHECK_HEADERS(term.h, , , -)
1402AC_HEADER_STDC 1402AC_HEADER_STDC
1403AC_HEADER_TIME 1403AC_HEADER_TIME
1404AC_DECL_SYS_SIGLIST 1404AC_CHECK_DECLS([sys_siglist])
1405if test $ac_cv_have_decl_sys_siglist != yes; then
1406 # For Tru64, at least:
1407 AC_CHECK_DECLS([__sys_siglist])
1408 if test $ac_cv_have_decl___sys_siglist = yes; then
1409 AC_DEFINE(sys_siglist, __sys_siglist,
1410 [Define to any substitute for sys_siglist.])
1411 fi
1412fi
1405AC_HEADER_SYS_WAIT 1413AC_HEADER_SYS_WAIT
1406 1414
1407dnl Some systems have utime.h but don't declare the struct anyplace. 1415dnl Some systems have utime.h but don't declare the struct anyplace.
@@ -1494,6 +1502,10 @@ AH_TEMPLATE(POINTER_TYPE,
1494 [Define as `void' if your compiler accepts `void *'; otherwise 1502 [Define as `void' if your compiler accepts `void *'; otherwise
1495 define as `char'.])dnl 1503 define as `char'.])dnl
1496 1504
1505dnl This could be used for targets which can have both byte sexes.
1506dnl We could presumably replace the hardwired WORDS_BIG_ENDIAN generally.
1507dnl AC_C_BIGENDIAN
1508
1497dnl check for Make feature 1509dnl check for Make feature
1498AC_PROG_MAKE_SET 1510AC_PROG_MAKE_SET
1499 1511
@@ -1951,7 +1963,7 @@ fi
1951HAVE_JPEG=no 1963HAVE_JPEG=no
1952if test "${HAVE_X11}" = "yes"; then 1964if test "${HAVE_X11}" = "yes"; then
1953 if test "${with_jpeg}" != "no"; then 1965 if test "${with_jpeg}" != "no"; then
1954 dnl Checking for jpeglib.h can lose becsue of a redefinition of 1966 dnl Checking for jpeglib.h can lose because of a redefinition of
1955 dnl HAVE_STDLIB_H. 1967 dnl HAVE_STDLIB_H.
1956 AC_CHECK_HEADER(jerror.h, 1968 AC_CHECK_HEADER(jerror.h,
1957 AC_CHECK_LIB(jpeg, jpeg_destroy_compress, HAVE_JPEG=yes)) 1969 AC_CHECK_LIB(jpeg, jpeg_destroy_compress, HAVE_JPEG=yes))
@@ -2086,7 +2098,7 @@ strerror fpathconf select mktime euidaccess getpagesize tzset setlocale \
2086utimes setrlimit setpgid getcwd getwd shutdown strftime getaddrinfo \ 2098utimes setrlimit setpgid getcwd getwd shutdown strftime getaddrinfo \
2087__fpending mblen mbrlen mbsinit strsignal setitimer ualarm index rindex \ 2099__fpending mblen mbrlen mbsinit strsignal setitimer ualarm index rindex \
2088sendto recvfrom getsockopt setsockopt getsockname getpeername \ 2100sendto recvfrom getsockopt setsockopt getsockname getpeername \
2089gai_strerror mkstemp getline getdelim mremap memmove fsync bzero) 2101gai_strerror mkstemp getline getdelim mremap memmove fsync bzero memset)
2090 2102
2091AC_CHECK_HEADERS(sys/un.h) 2103AC_CHECK_HEADERS(sys/un.h)
2092 2104
@@ -2099,6 +2111,8 @@ AC_FUNC_GETLOADAVG
2099 2111
2100AC_FUNC_FSEEKO 2112AC_FUNC_FSEEKO
2101 2113
2114AC_FUNC_GETPGRP
2115
2102# UNIX98 PTYs. 2116# UNIX98 PTYs.
2103AC_CHECK_FUNCS(grantpt) 2117AC_CHECK_FUNCS(grantpt)
2104 2118