From: Jim Meyering Date: Wed, 3 Nov 1999 17:24:03 +0000 (+0000) Subject: Use straight `AC_CHECK_TYPE(ssize_t, int)'. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a36b377da671fa1c9c6c0e00cacfaa1b4f4a25b;p=pspp Use straight `AC_CHECK_TYPE(ssize_t, int)'. Suggestion from Akim Demaille. --- diff --git a/m4/jm-macros.m4 b/m4/jm-macros.m4 index 4391980860..1a3045ee3e 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]) ])