summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1999-03-30 04:29:19 +0000
committerJim Meyering <jim@meyering.net>1999-03-30 04:29:19 +0000
commitab33da4b55775c87a1fc2c2bddcd156a071fa903 (patch)
tree866700bd6d4ab97ddcca080467272b3e4a0effcd
parent34f0f5c2c92999f3563527420aedf6a5320ada5e (diff)
downloadcoreutils-ab33da4b55775c87a1fc2c2bddcd156a071fa903.tar.xz
(jm_CHECK_ALL_TYPES): New macro.
-rw-r--r--m4/jm-macros.m416
1 files changed, 14 insertions, 2 deletions
diff --git a/m4/jm-macros.m4 b/m4/jm-macros.m4
index 1d2caac9e..e4e696da6 100644
--- a/m4/jm-macros.m4
+++ b/m4/jm-macros.m4
@@ -18,8 +18,6 @@ AC_DEFUN(jm_MACROS,
AC_REQUIRE([jm_ASSERT])
AC_REQUIRE([jm_AC_HEADER_INTTYPES_H])
- AC_REQUIRE([jm_AC_TYPE_UINTMAX_T])
- AC_CHECK_TYPE(ssize_t, int)
AC_REQUIRE([jm_STRUCT_UTIMBUF])
AC_REQUIRE([jm_STRUCT_DIRENT_D_TYPE])
AC_REQUIRE([jm_STRUCT_DIRENT_D_INO])
@@ -51,3 +49,17 @@ AC_DEFUN(jm_MACROS,
AC_FUNC_SETVBUF_REVERSED
])
+
+AC_DEFUN(jm_CHECK_ALL_TYPES,
+[
+ 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_CHECK_TYPE(ino_t, unsigned long)
+ AC_CHECK_TYPE(ssize_t, int)
+ AC_REQUIRE([jm_AC_TYPE_UINTMAX_T])
+])