Mercurial > emacs
changeset 48441:4ed055ecca9e
Use AC_GNU_SOURCE.
Test for bzero.
(nlist.h): Move test up.
author | Dave Love <fx@gnu.org> |
---|---|
date | Mon, 18 Nov 2002 19:23:43 +0000 |
parents | 7aad36bad1cc |
children | a64a6e56b1b8 |
files | configure.in |
diffstat | 1 files changed, 6 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/configure.in Mon Nov 18 16:50:02 2002 +0000 +++ b/configure.in Mon Nov 18 19:23:43 2002 +0000 @@ -1378,6 +1378,8 @@ 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 @@ 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 @@ 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 @@ 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.