summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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])
+])