summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1999-11-03 17:24:03 +0000
committerJim Meyering <jim@meyering.net>1999-11-03 17:24:03 +0000
commit76f864a015b3e1e32dd084bf9bdfd816d35862df (patch)
tree426df01312c7989869c911218720470a14b80253 /m4
parentdcc7e653c909c2d2c7e1c1c6b64e7a6bbe76dd76 (diff)
downloadcoreutils-76f864a015b3e1e32dd084bf9bdfd816d35862df.tar.xz
Use straight `AC_CHECK_TYPE(ssize_t, int)'.
Suggestion from Akim Demaille.
Diffstat (limited to 'm4')
-rw-r--r--m4/jm-macros.m46
1 files changed, 5 insertions, 1 deletions
diff --git a/m4/jm-macros.m4 b/m4/jm-macros.m4
index 439198086..1a3045ee3 100644
--- a/m4/jm-macros.m4
+++ b/m4/jm-macros.m4
@@ -77,7 +77,11 @@ AC_DEFUN(jm_CHECK_ALL_TYPES,
AC_TYPE_SIZE_T
AC_TYPE_UID_T
AC_CHECK_TYPE(ino_t, unsigned long)
- AC_TYPE_SSIZE_T
+
+ 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_REQUIRE([jm_AC_TYPE_UINTMAX_T])
AC_REQUIRE([jm_AC_TYPE_UNSIGNED_LONG_LONG])
])