summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-02-05 08:16:13 +0000
committerJim Meyering <jim@meyering.net>2000-02-05 08:16:13 +0000
commita6ac5e555f53d986bbb8ada3801592db8fa1f071 (patch)
tree44011e2a816438f1e2802dc4165df0e7bc0a0396 /m4
parent5c67c91bb10cbfe2e0773e6a362a52538bad4603 (diff)
downloadcoreutils-a6ac5e555f53d986bbb8ada3801592db8fa1f071.tar.xz
(jm_CHECK_ALL_TYPES): Require most macros.
Remove explicit use of AC_HEADER_TIME. It is required by jm_CHECK_TYPE_STRUCT_TIMESPEC. Using AC_HEADER_TIME and `AC_REQUIRE'ing jm_CHECK_TYPE_STRUCT_TIMESPEC provoked a but in autoconf whereby the expansion of the latter ended up preceding the expansion of its prerequisite, AC_HEADER_TIME. Reported by Volker Borchert.
Diffstat (limited to 'm4')
-rw-r--r--m4/jm-macros.m445
1 files changed, 22 insertions, 23 deletions
diff --git a/m4/jm-macros.m4 b/m4/jm-macros.m4
index 2673302b2..092636560 100644
--- a/m4/jm-macros.m4
+++ b/m4/jm-macros.m4
@@ -190,32 +190,31 @@ AC_DEFUN(jm_MACROS,
AC_DEFUN(jm_CHECK_ALL_TYPES,
[
dnl Checks for typedefs, structures, and compiler characteristics.
- AC_C_BIGENDIAN
- AC_PROG_CC_STDC
- AC_C_CONST
- AC_C_INLINE
- AC_C_LONG_DOUBLE
-
- AC_HEADER_DIRENT
- AC_HEADER_STDC
+ AC_REQUIRE([AC_C_BIGENDIAN])
+ AC_REQUIRE([AC_PROG_CC_STDC])
+ AC_REQUIRE([AC_C_CONST])
+ AC_REQUIRE([AC_C_INLINE])
+ AC_REQUIRE([AC_C_LONG_DOUBLE])
+
+ AC_REQUIRE([AC_HEADER_DIRENT])
+ AC_REQUIRE([AC_HEADER_STDC])
AC_CHECK_MEMBERS((struct stat.st_blksize))
- AC_STRUCT_ST_BLOCKS
-
- AC_STRUCT_TM
- AC_HEADER_TIME
- AC_STRUCT_TIMEZONE
- AC_HEADER_STAT
- AC_STRUCT_ST_MTIM_NSEC
- AC_STRUCT_ST_DM_MODE
+ AC_REQUIRE([AC_STRUCT_ST_BLOCKS])
+
+ AC_REQUIRE([AC_STRUCT_TM])
+ AC_REQUIRE([AC_STRUCT_TIMEZONE])
+ AC_REQUIRE([AC_HEADER_STAT])
+ AC_REQUIRE([AC_STRUCT_ST_MTIM_NSEC])
+ AC_REQUIRE([AC_STRUCT_ST_DM_MODE])
AC_REQUIRE([jm_CHECK_TYPE_STRUCT_TIMESPEC])
- AC_TYPE_GETGROUPS
- AC_TYPE_MODE_T
- AC_TYPE_OFF_T
- AC_TYPE_PID_T
- AC_TYPE_SIGNAL
- AC_TYPE_SIZE_T
- AC_TYPE_UID_T
+ AC_REQUIRE([AC_TYPE_GETGROUPS])
+ AC_REQUIRE([AC_TYPE_MODE_T])
+ AC_REQUIRE([AC_TYPE_OFF_T])
+ AC_REQUIRE([AC_TYPE_PID_T])
+ AC_REQUIRE([AC_TYPE_SIGNAL])
+ AC_REQUIRE([AC_TYPE_SIZE_T])
+ AC_REQUIRE([AC_TYPE_UID_T])
AC_CHECK_TYPE(ino_t, unsigned long)
dnl This relies on the fact that autoconf 2.14a's implementation of