]> code.delx.au - gnu-emacs/commitdiff
Use AC_GNU_SOURCE.
authorDave Love <fx@gnu.org>
Mon, 18 Nov 2002 19:24:03 +0000 (19:24 +0000)
committerDave Love <fx@gnu.org>
Mon, 18 Nov 2002 19:24:03 +0000 (19:24 +0000)
Test for bzero.
(nlist.h): Move test up.

ChangeLog
configure.in

index 073eaa18bd02c10c5bd92bffeb105b9103f0321f..2fac9ccb8a6d0865acc5e04e9669351a9795c6e9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
 2002-11-15  Dave Love  <fx@gnu.org>
 
-       * configure.in: Tidy up various quoting issues throughout.
+       * configure.in: Tidy up various quoting issues throughout.  Use
+       AC_GNU_SOURCE.
        (AH_BOTTOM): Fix #endif protecting config.h.  Maybe include
        alloca.h.  Define GC_SETJMP_WORKS, GC_LISP_OBJECT_ALIGNMENT.
        Maybe define bcopy, bzero, bcmp.
@@ -8,6 +9,7 @@
        non-existent machine file).
        (sys/vlimit.h, sys/resource.h, fsync, __restrict): Test for.
        (term.h, X11/Xaw3d/Scrollbar.h): Avoid warning from test.
+       (nlist.h): Move test up.
 
 2002-11-18   Markus Rost  <rost@math.ohio-state.edu>
 
index e1012b4261c01b6121b26a493d840b56a5d982c2..8e3f1ecf8c8c6dd2f27b36e7e65d8e10e7132fa9 100644 (file)
@@ -1378,6 +1378,8 @@ fi
 dnl For AC_FUNC_GETLOADAVG, at least:
 AC_CONFIG_LIBOBJ_DIR(src)
 
+AC_GNU_SOURCE
+
 dnl Do this early because it can frob feature test macros for Unix-98 &c.
 AC_SYS_LARGEFILE
 
@@ -2084,7 +2086,7 @@ strerror fpathconf select mktime euidaccess getpagesize tzset setlocale \
 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)
+gai_strerror mkstemp getline getdelim mremap memmove fsync bzero)
 
 AC_CHECK_HEADERS(sys/un.h)
 
@@ -2318,6 +2320,9 @@ if test "$emacs_cv_c_restrict_arr" = yes; then
      declarations.  Define as empty for no equivalent.])
 fi
 
+AC_CHECK_HEADERS(nlist.h, [AC_DEFINE(NLIST_STRUCT, 1,
+                 [Define to 1 if you have <nlist.h>.])])
+
 dnl Fixme: AC_SYS_POSIX_TERMIOS should probably be used, but it's not clear
 dnl how the tty code is related to POSIX and/or other versions of termios.
 
@@ -2426,9 +2431,6 @@ if test "${REL_ALLOC}" = "yes" ; then
             buffer space.])
 fi
 
-AC_CHECK_HEADERS(nlist.h, [AC_DEFINE(NLIST_STRUCT, 1,
-                 [Define to 1 if you have <nlist.h>.])])
-
 AH_TOP([/* GNU Emacs site configuration template file.
    Copyright (C) 1988, 93, 94, 99, 2000, 2002 Free Software Foundation, Inc.