X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2Fjm-macros.m4;h=788a16f6573aa512c0bc11237e20e326f1c66296;hb=cdb16e449503bbdc0cb239ebae9372227c250dfd;hp=aff96244ec8187cf9e5f771bd7913afecf8e30f9;hpb=bd382766757c6b56512a05099da93ca97628349c;p=gnulib.git diff --git a/m4/jm-macros.m4 b/m4/jm-macros.m4 index aff96244e..788a16f65 100644 --- a/m4/jm-macros.m4 +++ b/m4/jm-macros.m4 @@ -1,4 +1,4 @@ -#serial 47 -*- autoconf -*- +#serial 48 -*- autoconf -*- dnl Misc type-related macros for fileutils, sh-utils, textutils. @@ -50,7 +50,7 @@ AC_DEFUN([jm_MACROS], 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]) @@ -160,7 +160,6 @@ AC_DEFUN([jm_MACROS], 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 @@ -208,6 +207,7 @@ AC_DEFUN([jm_CHECK_ALL_HEADERS], fcntl.h \ fenv.h \ float.h \ + hurd.h \ limits.h \ memory.h \ mntent.h \ @@ -246,11 +246,6 @@ AC_DEFUN([jm_CHECK_ALL_HEADERS], # 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. @@ -263,7 +258,6 @@ AC_DEFUN([jm_CHECK_ALL_TYPES], 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]) @@ -272,7 +266,10 @@ AC_DEFUN([jm_CHECK_ALL_TYPES], 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 ]) AC_REQUIRE([AC_STRUCT_ST_BLOCKS])