X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2Fjm-macros.m4;h=7716e6411791e29d477ed9e2bf0fba2513ae4212;hb=ea9f84c5f1468ca1204077db881ef9f7d25205b6;hp=dd66e09278fba9c952e98a8fa6496c71ddd67f36;hpb=2dff9f9795548abdcc357f30ef395b902d02daa0;p=gnulib.git diff --git a/m4/jm-macros.m4 b/m4/jm-macros.m4 index dd66e0927..7716e6411 100644 --- a/m4/jm-macros.m4 +++ b/m4/jm-macros.m4 @@ -1,28 +1,10 @@ -#serial 67 -*- autoconf -*- - -m4_undefine([AC_LANG_SOURCE(C)]) -dnl The following is identical to the definition in c.m4 -dnl from the autoconf cvs repository on 2003-03-07. -dnl FIXME: remove this code once we upgrade to autoconf-2.58. - -# We can't use '#line $LINENO "configure"' here, since -# Sun c89 (Sun WorkShop 6 update 2 C 5.3 Patch 111679-08 2002/05/09) -# rejects $LINENO greater than 32767, and some configure scripts -# are longer than 32767 lines. -m4_define([AC_LANG_SOURCE(C)], -[/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$1]) - +#serial 70 -*- autoconf -*- dnl Misc type-related macros for fileutils, sh-utils, textutils. AC_DEFUN([jm_MACROS], [ - AC_PREREQ(2.57) + AC_PREREQ(2.58) GNU_PACKAGE="GNU $PACKAGE" AC_DEFINE_UNQUOTED(GNU_PACKAGE, "$GNU_PACKAGE", @@ -50,7 +32,6 @@ AC_DEFUN([jm_MACROS], AC_REQUIRE([UTILS_FUNC_DIRFD]) AC_REQUIRE([AC_FUNC_ACL]) - AC_REQUIRE([AC_FUNC_FTW]) AC_REQUIRE([jm_FUNC_LCHOWN]) AC_REQUIRE([fetish_FUNC_RMDIR_NOTEMPTY]) AC_REQUIRE([jm_FUNC_CHOWN]) @@ -127,7 +108,6 @@ AC_DEFUN([jm_MACROS], AC_CHECK_FUNCS(setreuid setregid) AC_FUNC_STRTOD - AC_REQUIRE([UTILS_SYS_OPEN_MAX]) AC_REQUIRE([GL_FUNC_GETCWD_PATH_MAX]) AC_REQUIRE([GL_FUNC_READDIR]) @@ -157,7 +137,7 @@ AC_DEFUN([jm_MACROS], # These tests are for df. AC_REQUIRE([gl_FSUSAGE]) AC_REQUIRE([gl_MOUNTLIST]) - if test $gl_list_mounted_fs = yes && test $gl_cv_fs_space = yes; then + if test $gl_cv_list_mounted_fs = yes && test $gl_cv_fs_space = yes; then DF_PROG='df$(EXEEXT)' fi AC_REQUIRE([jm_AC_DOS]) @@ -167,6 +147,8 @@ AC_DEFUN([jm_MACROS], # use the corresponding stub. AC_CHECK_FUNC([fchdir], , [AC_LIBOBJ(fchdir-stub)]) AC_CHECK_FUNC([fchown], , [AC_LIBOBJ(fchown-stub)]) + + AC_REQUIRE([gl_FUNC_FREE]) ]) # These tests must be run before any use of AC_CHECK_TYPE, @@ -257,7 +239,8 @@ AC_DEFUN([jm_CHECK_ALL_TYPES], AC_REQUIRE([AC_TYPE_SIGNAL]) AC_REQUIRE([AC_TYPE_SIZE_T]) AC_REQUIRE([AC_TYPE_UID_T]) - AC_CHECK_TYPE(ino_t, unsigned long) + AC_CHECK_TYPE(ino_t, unsigned long int) + AC_CHECK_TYPE(uintptr_t, size_t) gt_TYPE_SSIZE_T