summaryrefslogtreecommitdiff
path: root/m4/jm-macros.m4
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2005-05-18 19:31:00 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2005-05-18 19:31:00 +0000
commit1575fd4adcb97a078bbce261ff2c20c82363e89a (patch)
tree6ffc2989c64217b1dd81df386ecf4a6873c07c7a /m4/jm-macros.m4
parent30fd8394e1af43ea98207a1c9bdbc7aa159c350f (diff)
downloadcoreutils-1575fd4adcb97a078bbce261ff2c20c82363e89a.tar.xz
(gl_MACROS): Require AC_FUNC_LSTAT.
Don't check for memcpy, strchr, strerror, strrchr, float.h. Use AC_REQUIRE on AM_LANGINFO_CODESET and gl_GLIBC21 rather than invoking them directly. (gl_CHECK_ALL_HEADERS): Don't check for errno.h, float.h, limits.h, stddef.h, since we assume C89 now.
Diffstat (limited to 'm4/jm-macros.m4')
-rw-r--r--m4/jm-macros.m415
1 files changed, 4 insertions, 11 deletions
diff --git a/m4/jm-macros.m4 b/m4/jm-macros.m4
index fa0dc1946..9625769b4 100644
--- a/m4/jm-macros.m4
+++ b/m4/jm-macros.m4
@@ -1,4 +1,4 @@
-#serial 86 -*- autoconf -*-
+#serial 87 -*- autoconf -*-
dnl Misc type-related macros for coreutils.
@@ -54,6 +54,7 @@ AC_DEFUN([gl_MACROS],
AC_REQUIRE([gl_FUNC_LCHOWN])
AC_REQUIRE([gl_FUNC_RMDIR_NOTEMPTY])
AC_REQUIRE([gl_FUNC_CHOWN])
+ AC_REQUIRE([AC_FUNC_LSTAT])
AC_REQUIRE([AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK])
AC_REQUIRE([AC_FUNC_STRERROR_R])
AC_REQUIRE([gl_FUNC_GROUP_MEMBER])
@@ -109,16 +110,12 @@ AC_DEFUN([gl_MACROS],
iswspace \
lchown \
listmntent \
- memcpy \
mempcpy \
mkfifo \
mbrlen \
realpath \
sethostname \
siginterrupt \
- strchr \
- strerror \
- strrchr \
sysctl \
sysinfo \
tcgetpgrp \
@@ -157,8 +154,8 @@ AC_DEFUN([gl_MACROS],
LIBS="$ac_seq_save_LIBS"
])
- AM_LANGINFO_CODESET
- gl_GLIBC21
+ AC_REQUIRE([AM_LANGINFO_CODESET])
+ AC_REQUIRE([gl_GLIBC21])
AM_ICONV
gl_FUNC_UNLINK_BUSY_TEXT
@@ -185,18 +182,14 @@ AC_DEFUN([gl_MACROS],
AC_DEFUN([gl_CHECK_ALL_HEADERS],
[
AC_CHECK_HEADERS_ONCE( \
- errno.h \
fcntl.h \
- float.h \
hurd.h \
- limits.h \
memory.h \
mntent.h \
mnttab.h \
netdb.h \
paths.h \
stdlib.h \
- stddef.h \
stdint.h \
string.h \
sys/filsys.h \