diff options
author | Jim Meyering <jim@meyering.net> | 2003-08-07 09:30:09 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-08-07 09:30:09 +0000 |
commit | 6e6122cb1e24aec411859e60be6eed8ee70be651 (patch) | |
tree | 81dc98ad746efb2edf4ea617806a219029dd317f /m4 | |
parent | 8f7bd2c0e563f3073565cbc3f7d83e0707587dde (diff) | |
download | coreutils-6e6122cb1e24aec411859e60be6eed8ee70be651.tar.xz |
(jm_MACROS): Use gl_GETNDELIM2 rather than checking for getdelim.
(jm_CHECK_ALL_TYPES): Use gt_TYPE_SSIZE_T for ssize_t rather
than rolling our own.
Diffstat (limited to 'm4')
-rw-r--r-- | m4/jm-macros.m4 | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/m4/jm-macros.m4 b/m4/jm-macros.m4 index d8a02a19e..763a9dec8 100644 --- a/m4/jm-macros.m4 +++ b/m4/jm-macros.m4 @@ -186,9 +186,7 @@ AC_DEFUN([jm_MACROS], AC_CHECK_FUNCS(setreuid setregid) AM_FUNC_GETLINE - if test $am_cv_func_working_getline != yes; then - AC_CHECK_FUNCS(getdelim) - fi + gl_GETNDELIM2 AC_FUNC_OBSTACK AC_FUNC_STRTOD @@ -334,9 +332,10 @@ AC_DEFUN([jm_CHECK_ALL_TYPES], AC_REQUIRE([AC_TYPE_UID_T]) AC_CHECK_TYPE(ino_t, unsigned long) + gt_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_CHECK_TYPE(major_t, unsigned int) AC_CHECK_TYPE(minor_t, unsigned int) |