changeset 48555:7cd03ef74b25

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.
author Dave Love <fx@gnu.org>
date Wed, 27 Nov 2002 22:53:51 +0000
parents c3a7a8c69672
children 646e69ae7ad6
files configure.in
diffstat 1 files changed, 18 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/configure.in	Wed Nov 27 21:34:23 2002 +0000
+++ b/configure.in	Wed Nov 27 22:53:51 2002 +0000
@@ -1081,7 +1081,7 @@
   ;;
 
   ## Mips Linux-based GNU system
-  mips-*-linux-gnu* )
+  mips-*-linux-gnu* | mipsel-*-linux-gnu* )
     machine=mips opsys=gnu-linux
   ;;
 
@@ -1401,7 +1401,15 @@
 AC_CHECK_HEADERS(term.h, , , -)
 AC_HEADER_STDC
 AC_HEADER_TIME
-AC_DECL_SYS_SIGLIST
+AC_CHECK_DECLS([sys_siglist])
+if test $ac_cv_have_decl_sys_siglist != yes; then
+  # For Tru64, at least:
+  AC_CHECK_DECLS([__sys_siglist])
+  if test $ac_cv_have_decl___sys_siglist = yes; then
+    AC_DEFINE(sys_siglist, __sys_siglist,
+              [Define to any substitute for sys_siglist.])
+  fi
+fi
 AC_HEADER_SYS_WAIT
 
 dnl Some systems have utime.h but don't declare the struct anyplace.
@@ -1494,6 +1502,10 @@
 	    [Define as `void' if your compiler accepts `void *'; otherwise
 	     define as `char'.])dnl
 
+dnl This could be used for targets which can have both byte sexes.
+dnl We could presumably replace the hardwired WORDS_BIG_ENDIAN generally.
+dnl AC_C_BIGENDIAN
+
 dnl check for Make feature
 AC_PROG_MAKE_SET
 
@@ -1951,7 +1963,7 @@
 HAVE_JPEG=no
 if test "${HAVE_X11}" = "yes"; then
   if test "${with_jpeg}" != "no"; then
-    dnl Checking for jpeglib.h can lose becsue of a redefinition of
+    dnl Checking for jpeglib.h can lose because of a redefinition of
     dnl  HAVE_STDLIB_H.
     AC_CHECK_HEADER(jerror.h,
       AC_CHECK_LIB(jpeg, jpeg_destroy_compress, HAVE_JPEG=yes))
@@ -2086,7 +2098,7 @@
 utimes setrlimit setpgid getcwd getwd shutdown strftime getaddrinfo \
 __fpending mblen mbrlen mbsinit strsignal setitimer ualarm index rindex \
 sendto recvfrom getsockopt setsockopt getsockname getpeername \
-gai_strerror mkstemp getline getdelim mremap memmove fsync bzero)
+gai_strerror mkstemp getline getdelim mremap memmove fsync bzero memset)
 
 AC_CHECK_HEADERS(sys/un.h)
 
@@ -2099,6 +2111,8 @@
 
 AC_FUNC_FSEEKO
 
+AC_FUNC_GETPGRP
+
 # UNIX98 PTYs.
 AC_CHECK_FUNCS(grantpt)