aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Love2002-11-18 19:24:03 +0000
committerDave Love2002-11-18 19:24:03 +0000
commit0d6f37680ef51e91157aa92dc5bc84ff410813ac (patch)
treeef8de4c41e49242677be9e862dd21e59764cb0ce
parentd824beee65d646dc9f090eb9d29c1caf7b6eb0df (diff)
downloademacs-0d6f37680ef51e91157aa92dc5bc84ff410813ac.tar.gz
emacs-0d6f37680ef51e91157aa92dc5bc84ff410813ac.zip
Use AC_GNU_SOURCE.
Test for bzero. (nlist.h): Move test up.
-rw-r--r--ChangeLog4
-rw-r--r--configure.in10
2 files changed, 9 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 073eaa18bd0..2fac9ccb8a6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
12002-11-15 Dave Love <fx@gnu.org> 12002-11-15 Dave Love <fx@gnu.org>
2 2
3 * configure.in: Tidy up various quoting issues throughout. 3 * configure.in: Tidy up various quoting issues throughout. Use
4 AC_GNU_SOURCE.
4 (AH_BOTTOM): Fix #endif protecting config.h. Maybe include 5 (AH_BOTTOM): Fix #endif protecting config.h. Maybe include
5 alloca.h. Define GC_SETJMP_WORKS, GC_LISP_OBJECT_ALIGNMENT. 6 alloca.h. Define GC_SETJMP_WORKS, GC_LISP_OBJECT_ALIGNMENT.
6 Maybe define bcopy, bzero, bcmp. 7 Maybe define bcopy, bzero, bcmp.
@@ -8,6 +9,7 @@
8 non-existent machine file). 9 non-existent machine file).
9 (sys/vlimit.h, sys/resource.h, fsync, __restrict): Test for. 10 (sys/vlimit.h, sys/resource.h, fsync, __restrict): Test for.
10 (term.h, X11/Xaw3d/Scrollbar.h): Avoid warning from test. 11 (term.h, X11/Xaw3d/Scrollbar.h): Avoid warning from test.
12 (nlist.h): Move test up.
11 13
122002-11-18 Markus Rost <rost@math.ohio-state.edu> 142002-11-18 Markus Rost <rost@math.ohio-state.edu>
13 15
diff --git a/configure.in b/configure.in
index e1012b4261c..8e3f1ecf8c8 100644
--- a/configure.in
+++ b/configure.in
@@ -1378,6 +1378,8 @@ fi
1378dnl For AC_FUNC_GETLOADAVG, at least: 1378dnl For AC_FUNC_GETLOADAVG, at least:
1379AC_CONFIG_LIBOBJ_DIR(src) 1379AC_CONFIG_LIBOBJ_DIR(src)
1380 1380
1381AC_GNU_SOURCE
1382
1381dnl Do this early because it can frob feature test macros for Unix-98 &c. 1383dnl Do this early because it can frob feature test macros for Unix-98 &c.
1382AC_SYS_LARGEFILE 1384AC_SYS_LARGEFILE
1383 1385
@@ -2084,7 +2086,7 @@ strerror fpathconf select mktime euidaccess getpagesize tzset setlocale \
2084utimes setrlimit setpgid getcwd getwd shutdown strftime getaddrinfo \ 2086utimes setrlimit setpgid getcwd getwd shutdown strftime getaddrinfo \
2085__fpending mblen mbrlen mbsinit strsignal setitimer ualarm index rindex \ 2087__fpending mblen mbrlen mbsinit strsignal setitimer ualarm index rindex \
2086sendto recvfrom getsockopt setsockopt getsockname getpeername \ 2088sendto recvfrom getsockopt setsockopt getsockname getpeername \
2087gai_strerror mkstemp getline getdelim mremap memmove fsync) 2089gai_strerror mkstemp getline getdelim mremap memmove fsync bzero)
2088 2090
2089AC_CHECK_HEADERS(sys/un.h) 2091AC_CHECK_HEADERS(sys/un.h)
2090 2092
@@ -2318,6 +2320,9 @@ if test "$emacs_cv_c_restrict_arr" = yes; then
2318 declarations. Define as empty for no equivalent.]) 2320 declarations. Define as empty for no equivalent.])
2319fi 2321fi
2320 2322
2323AC_CHECK_HEADERS(nlist.h, [AC_DEFINE(NLIST_STRUCT, 1,
2324 [Define to 1 if you have <nlist.h>.])])
2325
2321dnl Fixme: AC_SYS_POSIX_TERMIOS should probably be used, but it's not clear 2326dnl Fixme: AC_SYS_POSIX_TERMIOS should probably be used, but it's not clear
2322dnl how the tty code is related to POSIX and/or other versions of termios. 2327dnl how the tty code is related to POSIX and/or other versions of termios.
2323 2328
@@ -2426,9 +2431,6 @@ if test "${REL_ALLOC}" = "yes" ; then
2426 buffer space.]) 2431 buffer space.])
2427fi 2432fi
2428 2433
2429AC_CHECK_HEADERS(nlist.h, [AC_DEFINE(NLIST_STRUCT, 1,
2430 [Define to 1 if you have <nlist.h>.])])
2431
2432AH_TOP([/* GNU Emacs site configuration template file. 2434AH_TOP([/* GNU Emacs site configuration template file.
2433 Copyright (C) 1988, 93, 94, 99, 2000, 2002 Free Software Foundation, Inc. 2435 Copyright (C) 1988, 93, 94, 99, 2000, 2002 Free Software Foundation, Inc.
2434 2436