X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2Fjm-macros.m4;h=b372ef9c7bb705f8f62729e77363e480b9a5236d;hb=5c12bbe8f89837eedb36e48110ce9629e8ce8a6c;hp=674179435fd3a649487df617069fe364595870a3;hpb=0fba28eda0f42692a941804575ce0817679c5aba;p=gnulib.git diff --git a/m4/jm-macros.m4 b/m4/jm-macros.m4 index 674179435..b372ef9c7 100644 --- a/m4/jm-macros.m4 +++ b/m4/jm-macros.m4 @@ -1,10 +1,10 @@ -#serial 44 -*- autoconf -*- +#serial 47 -*- autoconf -*- dnl Misc type-related macros for fileutils, sh-utils, textutils. AC_DEFUN([jm_MACROS], [ - AC_PREREQ(2.52f) + AC_PREREQ(2.52g) GNU_PACKAGE="GNU $PACKAGE" AC_DEFINE_UNQUOTED(GNU_PACKAGE, "$GNU_PACKAGE", @@ -35,6 +35,7 @@ AC_DEFUN([jm_MACROS], AC_REQUIRE([jm_PREREQ]) AC_REQUIRE([UTILS_FUNC_DIRFD]) + AC_REQUIRE([AC_FUNC_ACL]) AC_REQUIRE([jm_FUNC_LCHOWN]) AC_REQUIRE([fetish_FUNC_RMDIR_NOTEMPTY]) AC_REQUIRE([jm_FUNC_CHOWN]) @@ -75,11 +76,11 @@ AC_DEFUN([jm_MACROS], AC_REPLACE_FUNCS(strcasecmp strncasecmp) AC_REPLACE_FUNCS(dup2) AC_REPLACE_FUNCS(gethostname getusershell) - AC_REPLACE_FUNCS(stime strcspn stpcpy strstr strtol strtoul) + AC_REPLACE_FUNCS(sig2str) + AC_REPLACE_FUNCS(strcspn stpcpy strstr strtol strtoul) AC_REPLACE_FUNCS(strpbrk) AC_REPLACE_FUNCS(euidaccess memcmp rmdir rpmatch strndup strverscmp) AC_REPLACE_FUNCS(atexit) - AC_REPLACE_FUNCS(strnlen) AC_REPLACE_FUNCS(getpass) dnl used by e.g. intl/*domain.c and lib/canon-host.c @@ -112,7 +113,7 @@ AC_DEFUN([jm_MACROS], AC_SEARCH_LIBS(clock_gettime, [rt posix4], [LIB_CLOCK_GETTIME=$ac_cv_search_clock_gettime]) AC_SUBST(LIB_CLOCK_GETTIME) - AC_CHECK_FUNCS(clock_gettime) + AC_CHECK_FUNCS(clock_gettime clock_settime) LIBS=$fetish_saved_libs AC_CHECK_FUNCS(gettimeofday) AC_FUNC_GETTIMEOFDAY_CLOBBER @@ -121,7 +122,6 @@ AC_DEFUN([jm_MACROS], AC_REQUIRE([jm_FUNC_UTIME]) AC_CHECK_FUNCS( \ - acl \ bcopy \ canonicalize_file_name \ endgrent \ @@ -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 @@ -218,7 +217,6 @@ AC_DEFUN([jm_CHECK_ALL_HEADERS], stddef.h \ stdint.h \ string.h \ - sys/acl.h \ sys/filsys.h \ sys/fs/s5param.h \ sys/fs_types.h \ @@ -264,7 +262,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])