diff options
| author | Dave Love | 2002-11-18 19:24:03 +0000 |
|---|---|---|
| committer | Dave Love | 2002-11-18 19:24:03 +0000 |
| commit | 0d6f37680ef51e91157aa92dc5bc84ff410813ac (patch) | |
| tree | ef8de4c41e49242677be9e862dd21e59764cb0ce | |
| parent | d824beee65d646dc9f090eb9d29c1caf7b6eb0df (diff) | |
| download | emacs-0d6f37680ef51e91157aa92dc5bc84ff410813ac.tar.gz emacs-0d6f37680ef51e91157aa92dc5bc84ff410813ac.zip | |
Use AC_GNU_SOURCE.
Test for bzero.
(nlist.h): Move test up.
| -rw-r--r-- | ChangeLog | 4 | ||||
| -rw-r--r-- | configure.in | 10 |
2 files changed, 9 insertions, 5 deletions
| @@ -1,6 +1,7 @@ | |||
| 1 | 2002-11-15 Dave Love <fx@gnu.org> | 1 | 2002-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 | ||
| 12 | 2002-11-18 Markus Rost <rost@math.ohio-state.edu> | 14 | 2002-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 | |||
| 1378 | dnl For AC_FUNC_GETLOADAVG, at least: | 1378 | dnl For AC_FUNC_GETLOADAVG, at least: |
| 1379 | AC_CONFIG_LIBOBJ_DIR(src) | 1379 | AC_CONFIG_LIBOBJ_DIR(src) |
| 1380 | 1380 | ||
| 1381 | AC_GNU_SOURCE | ||
| 1382 | |||
| 1381 | dnl Do this early because it can frob feature test macros for Unix-98 &c. | 1383 | dnl Do this early because it can frob feature test macros for Unix-98 &c. |
| 1382 | AC_SYS_LARGEFILE | 1384 | AC_SYS_LARGEFILE |
| 1383 | 1385 | ||
| @@ -2084,7 +2086,7 @@ strerror fpathconf select mktime euidaccess getpagesize tzset setlocale \ | |||
| 2084 | utimes setrlimit setpgid getcwd getwd shutdown strftime getaddrinfo \ | 2086 | utimes 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 \ |
| 2086 | sendto recvfrom getsockopt setsockopt getsockname getpeername \ | 2088 | sendto recvfrom getsockopt setsockopt getsockname getpeername \ |
| 2087 | gai_strerror mkstemp getline getdelim mremap memmove fsync) | 2089 | gai_strerror mkstemp getline getdelim mremap memmove fsync bzero) |
| 2088 | 2090 | ||
| 2089 | AC_CHECK_HEADERS(sys/un.h) | 2091 | AC_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.]) |
| 2319 | fi | 2321 | fi |
| 2320 | 2322 | ||
| 2323 | AC_CHECK_HEADERS(nlist.h, [AC_DEFINE(NLIST_STRUCT, 1, | ||
| 2324 | [Define to 1 if you have <nlist.h>.])]) | ||
| 2325 | |||
| 2321 | dnl Fixme: AC_SYS_POSIX_TERMIOS should probably be used, but it's not clear | 2326 | dnl Fixme: AC_SYS_POSIX_TERMIOS should probably be used, but it's not clear |
| 2322 | dnl how the tty code is related to POSIX and/or other versions of termios. | 2327 | dnl 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.]) |
| 2427 | fi | 2432 | fi |
| 2428 | 2433 | ||
| 2429 | AC_CHECK_HEADERS(nlist.h, [AC_DEFINE(NLIST_STRUCT, 1, | ||
| 2430 | [Define to 1 if you have <nlist.h>.])]) | ||
| 2431 | |||
| 2432 | AH_TOP([/* GNU Emacs site configuration template file. | 2434 | AH_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 | ||