diff options
| author | Dave Love | 2002-11-27 22:53:51 +0000 |
|---|---|---|
| committer | Dave Love | 2002-11-27 22:53:51 +0000 |
| commit | 71cc40d5d4c554d939ffb8c2029ee508cb809822 (patch) | |
| tree | a1c95899133ac970e6dcdc834b416538898277e6 | |
| parent | 454b4dd09f5cc37ed756e73509b19e1ca6058188 (diff) | |
| download | emacs-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.in | 22 |
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'. | |||
| 1401 | AC_CHECK_HEADERS(term.h, , , -) | 1401 | AC_CHECK_HEADERS(term.h, , , -) |
| 1402 | AC_HEADER_STDC | 1402 | AC_HEADER_STDC |
| 1403 | AC_HEADER_TIME | 1403 | AC_HEADER_TIME |
| 1404 | AC_DECL_SYS_SIGLIST | 1404 | AC_CHECK_DECLS([sys_siglist]) |
| 1405 | if 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 | ||
| 1412 | fi | ||
| 1405 | AC_HEADER_SYS_WAIT | 1413 | AC_HEADER_SYS_WAIT |
| 1406 | 1414 | ||
| 1407 | dnl Some systems have utime.h but don't declare the struct anyplace. | 1415 | dnl 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 | ||
| 1505 | dnl This could be used for targets which can have both byte sexes. | ||
| 1506 | dnl We could presumably replace the hardwired WORDS_BIG_ENDIAN generally. | ||
| 1507 | dnl AC_C_BIGENDIAN | ||
| 1508 | |||
| 1497 | dnl check for Make feature | 1509 | dnl check for Make feature |
| 1498 | AC_PROG_MAKE_SET | 1510 | AC_PROG_MAKE_SET |
| 1499 | 1511 | ||
| @@ -1951,7 +1963,7 @@ fi | |||
| 1951 | HAVE_JPEG=no | 1963 | HAVE_JPEG=no |
| 1952 | if test "${HAVE_X11}" = "yes"; then | 1964 | if 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 \ | |||
| 2086 | utimes setrlimit setpgid getcwd getwd shutdown strftime getaddrinfo \ | 2098 | utimes 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 \ |
| 2088 | sendto recvfrom getsockopt setsockopt getsockname getpeername \ | 2100 | sendto recvfrom getsockopt setsockopt getsockname getpeername \ |
| 2089 | gai_strerror mkstemp getline getdelim mremap memmove fsync bzero) | 2101 | gai_strerror mkstemp getline getdelim mremap memmove fsync bzero memset) |
| 2090 | 2102 | ||
| 2091 | AC_CHECK_HEADERS(sys/un.h) | 2103 | AC_CHECK_HEADERS(sys/un.h) |
| 2092 | 2104 | ||
| @@ -2099,6 +2111,8 @@ AC_FUNC_GETLOADAVG | |||
| 2099 | 2111 | ||
| 2100 | AC_FUNC_FSEEKO | 2112 | AC_FUNC_FSEEKO |
| 2101 | 2113 | ||
| 2114 | AC_FUNC_GETPGRP | ||
| 2115 | |||
| 2102 | # UNIX98 PTYs. | 2116 | # UNIX98 PTYs. |
| 2103 | AC_CHECK_FUNCS(grantpt) | 2117 | AC_CHECK_FUNCS(grantpt) |
| 2104 | 2118 | ||