summaryrefslogtreecommitdiff
path: root/m4/jm-macros.m4
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2001-05-13 18:24:44 +0000
committerJim Meyering <jim@meyering.net>2001-05-13 18:24:44 +0000
commitc2fc3f28dd59f3f96a0881d8626263f5e2d38ba1 (patch)
treeedc928cf39d927e58b1056cb9d91182bad3a5ea3 /m4/jm-macros.m4
parentf7eab80b3ce1feb6e7d45410ad138036b0cb3df9 (diff)
downloadcoreutils-c2fc3f28dd59f3f96a0881d8626263f5e2d38ba1.tar.xz
(major_t, minor_t): Define to unsigned int if undefined.
Diffstat (limited to 'm4/jm-macros.m4')
-rw-r--r--m4/jm-macros.m44
1 files changed, 3 insertions, 1 deletions
diff --git a/m4/jm-macros.m4 b/m4/jm-macros.m4
index 680ab14c9..696072953 100644
--- a/m4/jm-macros.m4
+++ b/m4/jm-macros.m4
@@ -1,4 +1,4 @@
-#serial 36 -*- autoconf -*-
+#serial 37 -*- autoconf -*-
dnl Misc type-related macros for fileutils, sh-utils, textutils.
@@ -293,6 +293,8 @@ AC_DEFUN(jm_CHECK_ALL_TYPES,
dnl This relies on the fact that autoconf 2.14a's implementation of
dnl AC_CHECK_TYPE checks includes unistd.h.
AC_CHECK_TYPE(ssize_t, int)
+ AC_CHECK_TYPE(major_t, unsigned int)
+ AC_CHECK_TYPE(minor_t, unsigned int)
AC_REQUIRE([jm_AC_TYPE_UINTMAX_T])
AC_REQUIRE([jm_AC_TYPE_UNSIGNED_LONG_LONG])