-#serial 47 -*- autoconf -*-
+#serial 48 -*- autoconf -*-
dnl Misc type-related macros for fileutils, sh-utils, textutils.
AC_REQUIRE([jm_FUNC_READDIR])
AC_REQUIRE([jm_FUNC_MEMCMP])
AC_REQUIRE([jm_FUNC_GLIBC_UNLOCKED_IO])
- AC_REQUIRE([jm_FUNC_FNMATCH])
+ AC_REQUIRE([AC_FUNC_FNMATCH_GNU])
AC_REQUIRE([jm_FUNC_GROUP_MEMBER])
AC_REQUIRE([jm_FUNC_PUTENV])
AC_REQUIRE([jm_AFS])
AC_FUNC_OBSTACK
AC_FUNC_STRTOD
- AC_FUNC_STRNLEN
# See if linking `seq' requires -lm.
# It does on nearly every system. The single exception (so far) is
fcntl.h \
fenv.h \
float.h \
+ hurd.h \
limits.h \
memory.h \
mntent.h \
# This macro must be invoked before any tests that run the compiler.
AC_DEFUN([jm_CHECK_ALL_TYPES],
[
- # FIXME: I shouldn't have to require this macro here. Rather, it should
- # be required by any autoconf macro that performs a compile-time test or
- # otherwise uses confdefs.h.
- AC_REQUIRE([AC__GNU_SOURCE])
-
dnl This test must come as early as possible after the compiler configuration
dnl tests, because the choice of the file model can (in principle) affect
dnl whether functions and headers are available, whether they work, etc.
dnl Checks for typedefs, structures, and compiler characteristics.
AC_REQUIRE([AC_C_BIGENDIAN])
- AC_REQUIRE([AC_PROG_CC_STDC])
AC_REQUIRE([AC_C_CONST])
AC_REQUIRE([AC_C_VOLATILE])
AC_REQUIRE([AC_C_INLINE])
AC_REQUIRE([jm_CHECK_ALL_HEADERS])
AC_REQUIRE([AC_HEADER_DIRENT])
AC_REQUIRE([AC_HEADER_STDC])
- AC_CHECK_MEMBERS([struct stat.st_blksize],,,[$ac_includes_default
+ AC_CHECK_MEMBERS(
+ [struct stat.st_author,
+ struct stat.st_blksize],,,
+ [$ac_includes_default
#include <sys/stat.h>
])
AC_REQUIRE([AC_STRUCT_ST_BLOCKS])