summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--m4/ChangeLog20
-rw-r--r--m4/afs.m44
-rw-r--r--m4/allocsa.m44
-rw-r--r--m4/assert.m44
-rw-r--r--m4/backupfile.m46
-rw-r--r--m4/bison.m44
-rw-r--r--m4/check-decl.m48
-rw-r--r--m4/chown.m44
-rw-r--r--m4/d-ino.m44
-rw-r--r--m4/d-type.m44
-rw-r--r--m4/dirname.m46
-rw-r--r--m4/dos.m44
-rw-r--r--m4/error.m46
-rw-r--r--m4/fpending.m44
-rw-r--r--m4/fstypename.m44
-rw-r--r--m4/fsusage.m416
-rw-r--r--m4/ftruncate.m44
-rw-r--r--m4/getdate.m44
-rw-r--r--m4/getgroups.m44
-rw-r--r--m4/gettext.m414
-rw-r--r--m4/glibc21.m46
-rw-r--r--m4/group-member.m44
-rw-r--r--m4/human.m46
-rw-r--r--m4/intmax.m48
-rw-r--r--m4/intmax_t.m418
-rw-r--r--m4/inttostr.m46
-rw-r--r--m4/inttypes.m44
-rw-r--r--m4/inttypes_h.m46
-rw-r--r--m4/jm-macros.m450
-rw-r--r--m4/jm-mktime.m44
-rw-r--r--m4/jm-winsz1.m46
-rw-r--r--m4/jm-winsz2.m46
-rw-r--r--m4/lchown.m44
-rw-r--r--m4/lib-check.m44
-rw-r--r--m4/link-follow.m44
-rw-r--r--m4/longlong.m46
-rw-r--r--m4/ls-mntd-fs.m46
-rw-r--r--m4/lstat.m44
-rw-r--r--m4/makepath.m46
-rw-r--r--m4/mbrtowc.m48
-rw-r--r--m4/mbswidth.m44
-rw-r--r--m4/memchr.m48
-rw-r--r--m4/memcmp.m46
-rw-r--r--m4/mkstemp.m48
-rw-r--r--m4/mountlist.m412
-rw-r--r--m4/nanosleep.m44
-rw-r--r--m4/path-concat.m46
-rw-r--r--m4/perl.m44
-rw-r--r--m4/prereq.m433
-rw-r--r--m4/putenv.m46
-rw-r--r--m4/quotearg.m46
-rw-r--r--m4/regex.m412
-rw-r--r--m4/stat.m44
-rw-r--r--m4/stdint_h.m46
-rw-r--r--m4/strftime.m412
-rw-r--r--m4/strtoimax.m46
-rw-r--r--m4/strtoll.m47
-rw-r--r--m4/strtoull.m47
-rw-r--r--m4/strtoumax.m46
-rw-r--r--m4/timespec.m46
-rw-r--r--m4/uintmax_t.m412
-rw-r--r--m4/ulonglong.m46
-rw-r--r--m4/unlink-busy.m44
-rw-r--r--m4/unlocked-io.m44
-rw-r--r--m4/uptime.m44
-rw-r--r--m4/utimbuf.m44
-rw-r--r--m4/utime.m48
-rw-r--r--m4/utimens.m44
-rw-r--r--m4/utimes-null.m44
-rw-r--r--m4/vasnprintf.m410
-rw-r--r--m4/xstrtoimax.m46
-rw-r--r--m4/xstrtol.m48
-rw-r--r--m4/xstrtoumax.m46
73 files changed, 277 insertions, 260 deletions
diff --git a/m4/ChangeLog b/m4/ChangeLog
index 56190f059..dbe0b8d65 100644
--- a/m4/ChangeLog
+++ b/m4/ChangeLog
@@ -1,3 +1,23 @@
+2004-04-13 Jim Meyering <jim@meyering.net>
+
+ Change `jm_' in AC_DEFINE'd names to `gl_'.
+
+ * afs.m4, allocsa.m4, assert.m4, backupfile.m4, bison.m4:
+ * check-decl.m4, chown.m4, d-ino.m4, d-type.m4, dirname.m4:
+ * dos.m4, error.m4, fpending.m4, fstypename.m4, fsusage.m4:
+ * ftruncate.m4, getdate.m4, getgroups.m4, gettext.m4, glibc21.m4:
+ * group-member.m4, human.m4, intmax.m4, intmax_t.m4, inttostr.m4:
+ * inttypes.m4, inttypes_h.m4, jm-macros.m4, jm-mktime.m4, jm-winsz1.m4:
+ * jm-winsz2.m4, lchown.m4, lib-check.m4, link-follow.m4, longlong.m4:
+ * ls-mntd-fs.m4, lstat.m4, makepath.m4, mbrtowc.m4, mbswidth.m4:
+ * memchr.m4, memcmp.m4, mkstemp.m4, mountlist.m4, nanosleep.m4:
+ * path-concat.m4, perl.m4, prereq.m4, putenv.m4, quotearg.m4:
+ * regex.m4, stat.m4, stdint_h.m4, strftime.m4, strtoimax.m4:
+ * strtoll.m4, strtoull.m4, strtoumax.m4, timespec.m4, uintmax_t.m4:
+ * ulonglong.m4, unlink-busy.m4, unlocked-io.m4, uptime.m4, utimbuf.m4:
+ * utime.m4, utimens.m4, utimes-null.m4, vasnprintf.m4, xstrtoimax.m4:
+ * xstrtol.m4, xstrtoumax.m4: Change jm_ to gl_ in AC_DEFINE'd names.
+
2004-03-27 Paul Eggert <eggert@twinsun.com>
* utimecmp.m4: New file.
diff --git a/m4/afs.m4 b/m4/afs.m4
index 9e7d77316..fa568ba93 100644
--- a/m4/afs.m4
+++ b/m4/afs.m4
@@ -1,6 +1,6 @@
-#serial 5
+#serial 6
-AC_DEFUN([jm_AFS],
+AC_DEFUN([gl_AFS],
[
AC_MSG_CHECKING(for AFS)
if test -d /afs; then
diff --git a/m4/allocsa.m4 b/m4/allocsa.m4
index a18576fec..9ec002448 100644
--- a/m4/allocsa.m4
+++ b/m4/allocsa.m4
@@ -1,4 +1,4 @@
-# allocsa.m4 serial 2
+# allocsa.m4 serial 3
dnl Copyright (C) 2003-2004 Free Software Foundation, Inc.
dnl This file is free software, distributed under the terms of the GNU
dnl General Public License. As a special exception to the GNU General
@@ -12,6 +12,6 @@ AC_DEFUN([gl_ALLOCSA],
dnl @ALLOCA@ and @LTALLOCA@.
AC_REQUIRE([gl_FUNC_ALLOCA])
AC_REQUIRE([gl_EEMALLOC])
- AC_REQUIRE([jm_AC_TYPE_LONG_LONG])
+ AC_REQUIRE([gl_AC_TYPE_LONG_LONG])
AC_REQUIRE([gt_TYPE_LONGDOUBLE])
])
diff --git a/m4/assert.m4 b/m4/assert.m4
index 8ab60b1bd..97315eea3 100644
--- a/m4/assert.m4
+++ b/m4/assert.m4
@@ -1,7 +1,7 @@
-#serial 3
+#serial 4
dnl based on code from Eleftherios Gkioulekas
-AC_DEFUN([jm_ASSERT],
+AC_DEFUN([gl_ASSERT],
[
AC_MSG_CHECKING(whether to enable assertions)
AC_ARG_ENABLE(assert,
diff --git a/m4/backupfile.m4 b/m4/backupfile.m4
index f3c2aa5d5..4d6b67093 100644
--- a/m4/backupfile.m4
+++ b/m4/backupfile.m4
@@ -1,5 +1,5 @@
# backupfile.m4 serial 3
-dnl Copyright (C) 2002, 2003 Free Software Foundation, Inc.
+dnl Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
dnl This file is free software, distributed under the terms of the GNU
dnl General Public License. As a special exception to the GNU General
dnl Public License, this file may be distributed as part of a program
@@ -11,10 +11,10 @@ AC_DEFUN([gl_BACKUPFILE],
dnl Prerequisites of lib/backupfile.c.
AC_REQUIRE([AC_HEADER_DIRENT])
AC_REQUIRE([AC_FUNC_CLOSEDIR_VOID])
- jm_CHECK_TYPE_STRUCT_DIRENT_D_INO
+ gl_CHECK_TYPE_STRUCT_DIRENT_D_INO
dnl Prerequisites of lib/addext.c.
- AC_REQUIRE([jm_AC_DOS])
+ AC_REQUIRE([gl_AC_DOS])
AC_REQUIRE([AC_SYS_LONG_FILE_NAMES])
AC_CHECK_HEADERS_ONCE(unistd.h)
AC_CHECK_FUNCS(pathconf)
diff --git a/m4/bison.m4 b/m4/bison.m4
index 228ae4c5a..c4854b273 100644
--- a/m4/bison.m4
+++ b/m4/bison.m4
@@ -1,6 +1,6 @@
-#serial 2
+#serial 3
-AC_DEFUN([jm_BISON],
+AC_DEFUN([gl_BISON],
[
# getdate.y works with bison only.
: ${YACC='bison -y'}
diff --git a/m4/check-decl.m4 b/m4/check-decl.m4
index 4a0fda061..d70e1c90f 100644
--- a/m4/check-decl.m4
+++ b/m4/check-decl.m4
@@ -1,11 +1,11 @@
-#serial 19
+#serial 20
dnl This is just a wrapper function to encapsulate this kludge.
dnl Putting it in a separate file like this helps share it between
dnl different packages.
-AC_DEFUN([jm_CHECK_DECLS],
+AC_DEFUN([gl_CHECK_DECLS],
[
- AC_REQUIRE([_jm_DECL_HEADERS])
+ AC_REQUIRE([_gl_DECL_HEADERS])
AC_REQUIRE([AC_HEADER_TIME])
headers='
#include <stdio.h>
@@ -67,7 +67,7 @@ AC_DEFUN([jm_CHECK_DECLS],
dnl FIXME: when autoconf has support for it.
dnl This is a little helper so we can require these header checks.
-AC_DEFUN([_jm_DECL_HEADERS],
+AC_DEFUN([_gl_DECL_HEADERS],
[
AC_REQUIRE([AC_HEADER_STDC])
AC_CHECK_HEADERS(grp.h memory.h pwd.h string.h strings.h stdlib.h \
diff --git a/m4/chown.m4 b/m4/chown.m4
index 86c5fc754..f723cb576 100644
--- a/m4/chown.m4
+++ b/m4/chown.m4
@@ -1,11 +1,11 @@
-#serial 8
+#serial 9
dnl From Jim Meyering.
dnl Determine whether chown accepts arguments of -1 for uid and gid.
dnl If it doesn't, arrange to use the replacement function.
dnl
-AC_DEFUN([jm_FUNC_CHOWN],
+AC_DEFUN([gl_FUNC_CHOWN],
[
AC_REQUIRE([AC_TYPE_UID_T])dnl
AC_REQUIRE([AC_FUNC_CHOWN])
diff --git a/m4/d-ino.m4 b/m4/d-ino.m4
index d2555e90a..56ce35e2c 100644
--- a/m4/d-ino.m4
+++ b/m4/d-ino.m4
@@ -1,11 +1,11 @@
-#serial 5
+#serial 6
dnl From Jim Meyering.
dnl
dnl Check whether struct dirent has a member named d_ino.
dnl
-AC_DEFUN([jm_CHECK_TYPE_STRUCT_DIRENT_D_INO],
+AC_DEFUN([gl_CHECK_TYPE_STRUCT_DIRENT_D_INO],
[AC_REQUIRE([AC_HEADER_DIRENT])dnl
AC_CACHE_CHECK([for d_ino member in directory struct],
jm_cv_struct_dirent_d_ino,
diff --git a/m4/d-type.m4 b/m4/d-type.m4
index c69436d3c..9c62198d5 100644
--- a/m4/d-type.m4
+++ b/m4/d-type.m4
@@ -1,11 +1,11 @@
-#serial 6
+#serial 7
dnl From Jim Meyering.
dnl
dnl Check whether struct dirent has a member named d_type.
dnl
-AC_DEFUN([jm_CHECK_TYPE_STRUCT_DIRENT_D_TYPE],
+AC_DEFUN([gl_CHECK_TYPE_STRUCT_DIRENT_D_TYPE],
[AC_REQUIRE([AC_HEADER_DIRENT])dnl
AC_CACHE_CHECK([for d_type member in directory struct],
jm_cv_struct_dirent_d_type,
diff --git a/m4/dirname.m4 b/m4/dirname.m4
index 9a5e6f5f3..b93ff608c 100644
--- a/m4/dirname.m4
+++ b/m4/dirname.m4
@@ -1,5 +1,5 @@
-# dirname.m4 serial 2
-dnl Copyright (C) 2002, 2003 Free Software Foundation, Inc.
+# dirname.m4 serial 3
+dnl Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
dnl This file is free software, distributed under the terms of the GNU
dnl General Public License. As a special exception to the GNU General
dnl Public License, this file may be distributed as part of a program
@@ -9,7 +9,7 @@ dnl the same distribution terms as the rest of that program.
AC_DEFUN([gl_DIRNAME],
[
dnl Prerequisites of lib/dirname.h.
- AC_REQUIRE([jm_AC_DOS])
+ AC_REQUIRE([gl_AC_DOS])
dnl No prerequisites of lib/basename.c, lib/dirname.c, lib/stripslash.c.
])
diff --git a/m4/dos.m4 b/m4/dos.m4
index 868626e7e..34cc73907 100644
--- a/m4/dos.m4
+++ b/m4/dos.m4
@@ -1,11 +1,11 @@
-#serial 5
+#serial 6
# Define some macros required for proper operation of code in lib/*.c
# on MSDOS/Windows systems.
# From Jim Meyering.
-AC_DEFUN([jm_AC_DOS],
+AC_DEFUN([gl_AC_DOS],
[
AC_CACHE_CHECK([whether system is Windows or MSDOS], [ac_cv_win_or_dos],
[
diff --git a/m4/error.m4 b/m4/error.m4
index 0bc2e6899..da8fb513c 100644
--- a/m4/error.m4
+++ b/m4/error.m4
@@ -1,14 +1,14 @@
-#serial 9
+#serial 10
AC_DEFUN([gl_ERROR],
[
AC_FUNC_ERROR_AT_LINE
dnl Note: AC_FUNC_ERROR_AT_LINE does AC_LIBSOURCES([error.h, error.c]).
- jm_PREREQ_ERROR
+ gl_PREREQ_ERROR
])
# Prerequisites of lib/error.c.
-AC_DEFUN([jm_PREREQ_ERROR],
+AC_DEFUN([gl_PREREQ_ERROR],
[
AC_REQUIRE([AC_FUNC_STRERROR_R])
:
diff --git a/m4/fpending.m4 b/m4/fpending.m4
index 145c86a0b..d086ac635 100644
--- a/m4/fpending.m4
+++ b/m4/fpending.m4
@@ -1,4 +1,4 @@
-#serial 3
+#serial 4
dnl From Jim Meyering
dnl Using code from emacs, based on suggestions from Paul Eggert
@@ -8,7 +8,7 @@ dnl Find out how to determine the number of pending output bytes on a stream.
dnl glibc (2.1.93 and newer) and Solaris provide __fpending. On other systems,
dnl we have to grub around in the FILE struct.
-AC_DEFUN([jm_FUNC_FPENDING],
+AC_DEFUN([gl_FUNC_FPENDING],
[
AC_CHECK_HEADERS(stdio_ext.h)
AC_REPLACE_FUNCS([__fpending])
diff --git a/m4/fstypename.m4 b/m4/fstypename.m4
index 75723a14f..f909a0d3c 100644
--- a/m4/fstypename.m4
+++ b/m4/fstypename.m4
@@ -1,4 +1,4 @@
-#serial 3
+#serial 4
dnl From Jim Meyering.
dnl
@@ -6,7 +6,7 @@ dnl See if struct statfs has the f_fstypename member.
dnl If so, define HAVE_F_FSTYPENAME_IN_STATFS.
dnl
-AC_DEFUN([jm_FSTYPENAME],
+AC_DEFUN([gl_FSTYPENAME],
[
AC_CACHE_CHECK([for f_fstypename in struct statfs],
fu_cv_sys_f_fstypename_in_statfs,
diff --git a/m4/fsusage.m4 b/m4/fsusage.m4
index a0ab1e15f..b0a283b11 100644
--- a/m4/fsusage.m4
+++ b/m4/fsusage.m4
@@ -1,4 +1,4 @@
-#serial 11
+#serial 12
# From fileutils/configure.in
@@ -6,7 +6,7 @@ AC_DEFUN([gl_FSUSAGE],
[
AC_CHECK_HEADERS_ONCE(sys/param.h)
AC_CHECK_HEADERS(sys/mount.h sys/vfs.h sys/fs_types.h)
- jm_FILE_SYSTEM_USAGE([gl_cv_fs_space=yes], [gl_cv_fs_space=no])
+ gl_FILE_SYSTEM_USAGE([gl_cv_fs_space=yes], [gl_cv_fs_space=no])
if test $gl_cv_fs_space = yes; then
AC_LIBOBJ(fsusage)
gl_PREREQ_FSUSAGE_EXTRA
@@ -17,9 +17,9 @@ AC_DEFUN([gl_FSUSAGE],
# If successful, define the appropriate symbol (see fsusage.c) and
# execute ACTION-IF-FOUND. Otherwise, execute ACTION-IF-NOT-FOUND.
#
-# jm_FILE_SYSTEM_USAGE([ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
+# gl_FILE_SYSTEM_USAGE([ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
-AC_DEFUN([jm_FILE_SYSTEM_USAGE],
+AC_DEFUN([gl_FILE_SYSTEM_USAGE],
[
echo "checking how to get filesystem space usage..."
@@ -212,7 +212,7 @@ AS_IF([test $ac_fsusage_space = yes], [$1], [$2])
# Check for SunOS statfs brokenness wrt partitions 2GB and larger.
# If <sys/vfs.h> exists and struct statfs has a member named f_spare,
# enable the work-around code in fsusage.c.
-AC_DEFUN([jm_STATFS_TRUNCATES],
+AC_DEFUN([gl_STATFS_TRUNCATES],
[
AC_MSG_CHECKING([for statfs that truncates block counts])
AC_CACHE_VAL(fu_cv_sys_truncating_statfs,
@@ -236,11 +236,11 @@ choke -- this is a workaround for a Sun-specific problem
])
-# Prerequisites of lib/fsusage.c not done by jm_FILE_SYSTEM_USAGE.
+# Prerequisites of lib/fsusage.c not done by gl_FILE_SYSTEM_USAGE.
AC_DEFUN([gl_PREREQ_FSUSAGE_EXTRA],
[
- AC_REQUIRE([jm_AC_TYPE_UINTMAX_T])
+ AC_REQUIRE([gl_AC_TYPE_UINTMAX_T])
AC_CHECK_HEADERS_ONCE(fcntl.h)
AC_CHECK_HEADERS(dustat.h sys/fs/s5param.h sys/filsys.h sys/statfs.h sys/statvfs.h)
- jm_STATFS_TRUNCATES
+ gl_STATFS_TRUNCATES
])
diff --git a/m4/ftruncate.m4 b/m4/ftruncate.m4
index ec593a96d..b2ce6dd56 100644
--- a/m4/ftruncate.m4
+++ b/m4/ftruncate.m4
@@ -1,8 +1,8 @@
-#serial 5
+#serial 6
# See if we need to emulate a missing ftruncate function using fcntl or chsize.
-AC_DEFUN([jm_FUNC_FTRUNCATE],
+AC_DEFUN([gl_FUNC_FTRUNCATE],
[
AC_REPLACE_FUNCS(ftruncate)
if test $ac_cv_func_ftruncate = no; then
diff --git a/m4/getdate.m4 b/m4/getdate.m4
index de3812402..6c0c9ff9a 100644
--- a/m4/getdate.m4
+++ b/m4/getdate.m4
@@ -1,4 +1,4 @@
-# getdate.m4 serial 3
+# getdate.m4 serial 4
dnl Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
dnl This file is free software, distributed under the terms of the GNU
dnl General Public License. As a special exception to the GNU General
@@ -13,7 +13,7 @@ AC_DEFUN([gl_GETDATE],
AC_REQUIRE([gl_TIMESPEC])
dnl Prerequisites of lib/getdate.y.
- AC_REQUIRE([jm_BISON])
+ AC_REQUIRE([gl_BISON])
AC_REQUIRE([AC_FUNC_ALLOCA])
AC_REQUIRE([AC_HEADER_STDC])
AC_CHECK_FUNCS_ONCE(isascii)
diff --git a/m4/getgroups.m4 b/m4/getgroups.m4
index 8f3101056..e7bf2c183 100644
--- a/m4/getgroups.m4
+++ b/m4/getgroups.m4
@@ -1,9 +1,9 @@
-#serial 8
+#serial 9
dnl From Jim Meyering.
dnl A wrapper around AC_FUNC_GETGROUPS.
-AC_DEFUN([jm_FUNC_GETGROUPS],
+AC_DEFUN([gl_FUNC_GETGROUPS],
[
AC_REQUIRE([AC_FUNC_GETGROUPS])
if test $ac_cv_func_getgroups_works = no; then
diff --git a/m4/gettext.m4 b/m4/gettext.m4
index a374f03fa..14eacc7fa 100644
--- a/m4/gettext.m4
+++ b/m4/gettext.m4
@@ -1,5 +1,5 @@
-# gettext.m4 serial 28 (gettext-0.13)
-dnl Copyright (C) 1995-2003 Free Software Foundation, Inc.
+# gettext.m4 serial 29
+dnl Copyright (C) 1995-2004 Free Software Foundation, Inc.
dnl This file is free software, distributed under the terms of the GNU
dnl General Public License. As a special exception to the GNU General
dnl Public License, this file may be distributed as part of a program
@@ -358,19 +358,19 @@ AC_DEFUN([AM_INTL_SUBDIR],
AC_REQUIRE([AC_C_INLINE])dnl
AC_REQUIRE([AC_TYPE_OFF_T])dnl
AC_REQUIRE([AC_TYPE_SIZE_T])dnl
- AC_REQUIRE([jm_AC_TYPE_LONG_LONG])dnl
+ AC_REQUIRE([gl_AC_TYPE_LONG_LONG])dnl
AC_REQUIRE([gt_TYPE_LONGDOUBLE])dnl
AC_REQUIRE([gt_TYPE_WCHAR_T])dnl
AC_REQUIRE([gt_TYPE_WINT_T])dnl
- AC_REQUIRE([jm_AC_HEADER_INTTYPES_H])
- AC_REQUIRE([jm_AC_HEADER_STDINT_H])
+ AC_REQUIRE([gl_AC_HEADER_INTTYPES_H])
+ AC_REQUIRE([gl_AC_HEADER_STDINT_H])
AC_REQUIRE([gt_TYPE_INTMAX_T])
AC_REQUIRE([gt_PRINTF_POSIX])
AC_REQUIRE([AC_FUNC_ALLOCA])dnl
AC_REQUIRE([AC_FUNC_MMAP])dnl
- AC_REQUIRE([jm_GLIBC21])dnl
+ AC_REQUIRE([gl_GLIBC21])dnl
AC_REQUIRE([gt_INTDIV0])dnl
- AC_REQUIRE([jm_AC_TYPE_UINTMAX_T])dnl
+ AC_REQUIRE([gl_AC_TYPE_UINTMAX_T])dnl
AC_REQUIRE([gt_HEADER_INTTYPES_H])dnl
AC_REQUIRE([gt_INTTYPES_PRI])dnl
AC_REQUIRE([gl_XSIZE])dnl
diff --git a/m4/glibc21.m4 b/m4/glibc21.m4
index 9c9f3db30..32ca2242e 100644
--- a/m4/glibc21.m4
+++ b/m4/glibc21.m4
@@ -1,5 +1,5 @@
-# glibc21.m4 serial 2 (fileutils-4.1.3, gettext-0.10.40)
-dnl Copyright (C) 2000-2002 Free Software Foundation, Inc.
+# glibc21.m4 serial 3
+dnl Copyright (C) 2000-2002, 2004 Free Software Foundation, Inc.
dnl This file is free software, distributed under the terms of the GNU
dnl General Public License. As a special exception to the GNU General
dnl Public License, this file may be distributed as part of a program
@@ -9,7 +9,7 @@ dnl the same distribution terms as the rest of that program.
# Test for the GNU C Library, version 2.1 or newer.
# From Bruno Haible.
-AC_DEFUN([jm_GLIBC21],
+AC_DEFUN([gl_GLIBC21],
[
AC_CACHE_CHECK(whether we are using the GNU C Library 2.1 or newer,
ac_cv_gnu_library_2_1,
diff --git a/m4/group-member.m4 b/m4/group-member.m4
index bfef4809c..c9fd3436b 100644
--- a/m4/group-member.m4
+++ b/m4/group-member.m4
@@ -1,8 +1,8 @@
-#serial 5
+#serial 6
dnl Written by Jim Meyering
-AC_DEFUN([jm_FUNC_GROUP_MEMBER],
+AC_DEFUN([gl_FUNC_GROUP_MEMBER],
[
dnl Persuade glibc <unistd.h> to declare group_member().
AC_REQUIRE([AC_GNU_SOURCE])
diff --git a/m4/human.m4 b/m4/human.m4
index a2b236570..d70b219a5 100644
--- a/m4/human.m4
+++ b/m4/human.m4
@@ -1,5 +1,5 @@
-# human.m4 serial 4
-dnl Copyright (C) 2002, 2003 Free Software Foundation, Inc.
+# human.m4 serial 5
+dnl Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
dnl This file is free software, distributed under the terms of the GNU
dnl General Public License. As a special exception to the GNU General
dnl Public License, this file may be distributed as part of a program
@@ -10,7 +10,7 @@ AC_DEFUN([gl_HUMAN],
[
dnl Prerequisites of lib/human.h.
AC_REQUIRE([AM_STDBOOL_H])
- AC_REQUIRE([jm_AC_TYPE_UINTMAX_T])
+ AC_REQUIRE([gl_AC_TYPE_UINTMAX_T])
dnl Prerequisites of lib/human.c.
AC_CHECK_HEADERS_ONCE(locale.h)
diff --git a/m4/intmax.m4 b/m4/intmax.m4
index d41188daa..80f6526c6 100644
--- a/m4/intmax.m4
+++ b/m4/intmax.m4
@@ -1,5 +1,5 @@
-# intmax.m4 serial 1 (gettext-0.12)
-dnl Copyright (C) 2002-2003 Free Software Foundation, Inc.
+# intmax.m4 serial 2
+dnl Copyright (C) 2002-2004 Free Software Foundation, Inc.
dnl This file is free software, distributed under the terms of the GNU
dnl General Public License. As a special exception to the GNU General
dnl Public License, this file may be distributed as part of a program
@@ -12,8 +12,8 @@ dnl find a replacement if it is lacking.
AC_DEFUN([gt_TYPE_INTMAX_T],
[
- AC_REQUIRE([jm_AC_HEADER_INTTYPES_H])
- AC_REQUIRE([jm_AC_HEADER_STDINT_H])
+ AC_REQUIRE([gl_AC_HEADER_INTTYPES_H])
+ AC_REQUIRE([gl_AC_HEADER_STDINT_H])
AC_CACHE_CHECK(for intmax_t, gt_cv_c_intmax_t,
[AC_TRY_COMPILE([
#include <stddef.h>
diff --git a/m4/intmax_t.m4 b/m4/intmax_t.m4
index 1dc190f68..1dc61927d 100644
--- a/m4/intmax_t.m4
+++ b/m4/intmax_t.m4
@@ -1,5 +1,5 @@
-# intmax_t.m4 serial 2
-dnl Copyright (C) 1997-2003 Free Software Foundation, Inc.
+# intmax_t.m4 serial 3
+dnl Copyright (C) 1997-2004 Free Software Foundation, Inc.
dnl This file is free software, distributed under the terms of the GNU
dnl General Public License. As a special exception to the GNU General
dnl Public License, this file may be distributed as part of a program
@@ -13,14 +13,14 @@ AC_PREREQ(2.13)
# Define intmax_t to 'long' or 'long long'
# if it is not already defined in <stdint.h> or <inttypes.h>.
-AC_DEFUN([jm_AC_TYPE_INTMAX_T],
+AC_DEFUN([gl_AC_TYPE_INTMAX_T],
[
dnl For simplicity, we assume that a header file defines 'intmax_t' if and
dnl only if it defines 'uintmax_t'.
- AC_REQUIRE([jm_AC_HEADER_INTTYPES_H])
- AC_REQUIRE([jm_AC_HEADER_STDINT_H])
+ AC_REQUIRE([gl_AC_HEADER_INTTYPES_H])
+ AC_REQUIRE([gl_AC_HEADER_STDINT_H])
if test $jm_ac_cv_header_inttypes_h = no && test $jm_ac_cv_header_stdint_h = no; then
- AC_REQUIRE([jm_AC_TYPE_LONG_LONG])
+ AC_REQUIRE([gl_AC_TYPE_LONG_LONG])
test $ac_cv_type_long_long = yes \
&& ac_type='long long' \
|| ac_type='long'
@@ -36,8 +36,8 @@ dnl An alternative would be to explicitly test for 'intmax_t'.
AC_DEFUN([gt_AC_TYPE_INTMAX_T],
[
- AC_REQUIRE([jm_AC_HEADER_INTTYPES_H])
- AC_REQUIRE([jm_AC_HEADER_STDINT_H])
+ AC_REQUIRE([gl_AC_HEADER_INTTYPES_H])
+ AC_REQUIRE([gl_AC_HEADER_STDINT_H])
AC_CACHE_CHECK(for intmax_t, gt_cv_c_intmax_t,
[AC_TRY_COMPILE([
#include <stddef.h>
@@ -53,7 +53,7 @@ AC_DEFUN([gt_AC_TYPE_INTMAX_T],
AC_DEFINE(HAVE_INTMAX_T, 1,
[Define if you have the 'intmax_t' type in <stdint.h> or <inttypes.h>.])
else
- AC_REQUIRE([jm_AC_TYPE_LONG_LONG])
+ AC_REQUIRE([gl_AC_TYPE_LONG_LONG])
test $ac_cv_type_long_long = yes \
&& ac_type='long long' \
|| ac_type='long'
diff --git a/m4/inttostr.m4 b/m4/inttostr.m4
index c1144fe5a..43ad5f663 100644
--- a/m4/inttostr.m4
+++ b/m4/inttostr.m4
@@ -1,4 +1,4 @@
-# inttostr.m4 serial 1
+# inttostr.m4 serial 2
dnl Copyright (C) 2004 Free Software Foundation, Inc.
dnl This file is free software, distributed under the terms of the GNU
dnl General Public License. As a special exception to the GNU General
@@ -16,8 +16,8 @@ AC_DEFUN([gl_INTTOSTR],
# Prerequisites of lib/inttostr.h.
AC_DEFUN([gl_PREREQ_INTTOSTR], [
- AC_REQUIRE([jm_AC_TYPE_INTMAX_T])
- AC_REQUIRE([jm_AC_TYPE_UINTMAX_T])
+ AC_REQUIRE([gl_AC_TYPE_INTMAX_T])
+ AC_REQUIRE([gl_AC_TYPE_UINTMAX_T])
AC_REQUIRE([AC_TYPE_OFF_T])
:
])
diff --git a/m4/inttypes.m4 b/m4/inttypes.m4
index ab370ffe0..e19dd36fe 100644
--- a/m4/inttypes.m4
+++ b/m4/inttypes.m4
@@ -1,5 +1,5 @@
-# inttypes.m4 serial 1 (gettext-0.11.4)
-dnl Copyright (C) 1997-2002 Free Software Foundation, Inc.
+# inttypes.m4 serial 2
+dnl Copyright (C) 1997-2002, 2004 Free Software Foundation, Inc.
dnl This file is free software, distributed under the terms of the GNU
dnl General Public License. As a special exception to the GNU General
dnl Public License, this file may be distributed as part of a program
diff --git a/m4/inttypes_h.m4 b/m4/inttypes_h.m4
index f342eba39..954a86c27 100644
--- a/m4/inttypes_h.m4
+++ b/m4/inttypes_h.m4
@@ -1,5 +1,5 @@
-# inttypes_h.m4 serial 5 (gettext-0.12)
-dnl Copyright (C) 1997-2003 Free Software Foundation, Inc.
+# inttypes_h.m4 serial 6
+dnl Copyright (C) 1997-2004 Free Software Foundation, Inc.
dnl This file is free software, distributed under the terms of the GNU
dnl General Public License. As a special exception to the GNU General
dnl Public License, this file may be distributed as part of a program
@@ -11,7 +11,7 @@ dnl From Paul Eggert.
# Define HAVE_INTTYPES_H_WITH_UINTMAX if <inttypes.h> exists,
# doesn't clash with <sys/types.h>, and declares uintmax_t.
-AC_DEFUN([jm_AC_HEADER_INTTYPES_H],
+AC_DEFUN([gl_AC_HEADER_INTTYPES_H],
[
AC_CACHE_CHECK([for inttypes.h], jm_ac_cv_header_inttypes_h,
[AC_TRY_COMPILE(
diff --git a/m4/jm-macros.m4 b/m4/jm-macros.m4
index 6528e70b3..8529b0b7b 100644
--- a/m4/jm-macros.m4
+++ b/m4/jm-macros.m4
@@ -2,7 +2,7 @@
dnl Misc type-related macros for fileutils, sh-utils, textutils.
-AC_DEFUN([jm_MACROS],
+AC_DEFUN([gl_MACROS],
[
AC_PREREQ(2.58)
@@ -19,34 +19,34 @@ AC_DEFUN([jm_MACROS],
dnl This macro actually runs replacement code. See isc-posix.m4.
AC_REQUIRE([AC_ISC_POSIX])dnl
- jm_CHECK_ALL_TYPES
+ gl_CHECK_ALL_TYPES
AC_REQUIRE([UTILS_HOST_OS])
- AC_REQUIRE([jm_ASSERT])
- AC_REQUIRE([jm_CHECK_TYPE_STRUCT_UTIMBUF])
- AC_REQUIRE([jm_CHECK_TYPE_STRUCT_DIRENT_D_TYPE])
- AC_REQUIRE([jm_CHECK_TYPE_STRUCT_DIRENT_D_INO])
- AC_REQUIRE([jm_CHECK_DECLS])
+ AC_REQUIRE([gl_ASSERT])
+ AC_REQUIRE([gl_CHECK_TYPE_STRUCT_UTIMBUF])
+ AC_REQUIRE([gl_CHECK_TYPE_STRUCT_DIRENT_D_TYPE])
+ AC_REQUIRE([gl_CHECK_TYPE_STRUCT_DIRENT_D_INO])
+ AC_REQUIRE([gl_CHECK_DECLS])
- AC_REQUIRE([jm_PREREQ])
+ AC_REQUIRE([gl_PREREQ])
AC_REQUIRE([UTILS_FUNC_DIRFD])
AC_REQUIRE([AC_FUNC_ACL])
- AC_REQUIRE([jm_FUNC_LCHOWN])
+ AC_REQUIRE([gl_FUNC_LCHOWN])
AC_REQUIRE([fetish_FUNC_RMDIR_NOTEMPTY])
- AC_REQUIRE([jm_FUNC_CHOWN])
+ AC_REQUIRE([gl_FUNC_CHOWN])
AC_REQUIRE([AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK])
AC_REQUIRE([AC_FUNC_STRERROR_R])
- AC_REQUIRE([jm_FUNC_GROUP_MEMBER])
- AC_REQUIRE([jm_AFS])
- AC_REQUIRE([jm_AC_FUNC_LINK_FOLLOWS_SYMLINK])
- AC_REQUIRE([jm_FUNC_FPENDING])
+ AC_REQUIRE([gl_FUNC_GROUP_MEMBER])
+ AC_REQUIRE([gl_AFS])
+ AC_REQUIRE([gl_AC_FUNC_LINK_FOLLOWS_SYMLINK])
+ AC_REQUIRE([gl_FUNC_FPENDING])
# This is for od and stat, and any other program that
# uses the PRI.MAX macros from inttypes.h.
AC_REQUIRE([gt_INTTYPES_PRI])
- AC_REQUIRE([jm_FUNC_GETGROUPS])
+ AC_REQUIRE([gl_FUNC_GETGROUPS])
AC_REQUIRE([AC_FUNC_FSEEKO])
AC_REQUIRE([AC_FUNC_ALLOCA])
@@ -54,8 +54,8 @@ AC_DEFUN([jm_MACROS],
AC_CONFIG_LIBOBJ_DIR([lib])
AC_FUNC_GETLOADAVG([lib])
- AC_REQUIRE([jm_SYS_PROC_UPTIME])
- AC_REQUIRE([jm_FUNC_FTRUNCATE])
+ AC_REQUIRE([gl_SYS_PROC_UPTIME])
+ AC_REQUIRE([gl_FUNC_FTRUNCATE])
# raise is used by at least sort and ls.
AC_REPLACE_FUNCS(raise)
@@ -138,9 +138,9 @@ AC_DEFUN([jm_MACROS],
])
AM_LANGINFO_CODESET
- jm_GLIBC21
+ gl_GLIBC21
AM_ICONV
- jm_FUNC_UNLINK_BUSY_TEXT
+ gl_FUNC_UNLINK_BUSY_TEXT
# These tests are for df.
AC_REQUIRE([gl_FSUSAGE])
@@ -148,7 +148,7 @@ AC_DEFUN([jm_MACROS],
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])
+ AC_REQUIRE([gl_AC_DOS])
AC_REQUIRE([AC_FUNC_CANONICALIZE_FILE_NAME])
# If any of these functions don't exist (e.g. DJGPP 2.03),
@@ -162,7 +162,7 @@ AC_DEFUN([jm_MACROS],
# These tests must be run before any use of AC_CHECK_TYPE,
# because that macro compiles code that tests e.g., HAVE_UNISTD_H.
# See the definition of ac_includes_default in `configure'.
-AC_DEFUN([jm_CHECK_ALL_HEADERS],
+AC_DEFUN([gl_CHECK_ALL_HEADERS],
[
AC_CHECK_HEADERS( \
errno.h \
@@ -206,7 +206,7 @@ AC_DEFUN([jm_CHECK_ALL_HEADERS],
])
# This macro must be invoked before any tests that run the compiler.
-AC_DEFUN([jm_CHECK_ALL_TYPES],
+AC_DEFUN([gl_CHECK_ALL_TYPES],
[
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
@@ -225,7 +225,7 @@ AC_DEFUN([jm_CHECK_ALL_TYPES],
AC_REQUIRE([AC_C_INLINE])
AC_REQUIRE([AC_C_LONG_DOUBLE])
- AC_REQUIRE([jm_CHECK_ALL_HEADERS])
+ AC_REQUIRE([gl_CHECK_ALL_HEADERS])
AC_REQUIRE([AC_HEADER_DIRENT])
AC_REQUIRE([AC_HEADER_STDC])
AC_CHECK_MEMBERS(
@@ -257,8 +257,8 @@ AC_DEFUN([jm_CHECK_ALL_TYPES],
AC_CHECK_TYPE(major_t, unsigned int)
AC_CHECK_TYPE(minor_t, unsigned int)
- AC_REQUIRE([jm_AC_TYPE_UINTMAX_T])
- AC_REQUIRE([jm_AC_TYPE_UNSIGNED_LONG_LONG])
+ AC_REQUIRE([gl_AC_TYPE_UINTMAX_T])
+ AC_REQUIRE([gl_AC_TYPE_UNSIGNED_LONG_LONG])
AC_REQUIRE([AC_HEADER_MAJOR])
AC_REQUIRE([AC_HEADER_DIRENT])
diff --git a/m4/jm-mktime.m4 b/m4/jm-mktime.m4
index d687c999a..0c406101f 100644
--- a/m4/jm-mktime.m4
+++ b/m4/jm-mktime.m4
@@ -1,9 +1,9 @@
-#serial 8
+#serial 9
dnl From Jim Meyering.
dnl A wrapper around AC_FUNC_MKTIME.
-AC_DEFUN([jm_FUNC_MKTIME],
+AC_DEFUN([gl_FUNC_MKTIME],
[AC_REQUIRE([AC_FUNC_MKTIME])dnl
dnl mktime.c uses localtime_r if it exists. Check for it.
diff --git a/m4/jm-winsz1.m4 b/m4/jm-winsz1.m4
index 0fcb46c75..5bfbdab51 100644
--- a/m4/jm-winsz1.m4
+++ b/m4/jm-winsz1.m4
@@ -1,6 +1,6 @@
-#serial 6
+#serial 7
dnl From Jim Meyering and Paul Eggert.
-AC_DEFUN([jm_HEADER_TIOCGWINSZ_IN_TERMIOS_H],
+AC_DEFUN([gl_HEADER_TIOCGWINSZ_IN_TERMIOS_H],
[AC_REQUIRE([AC_SYS_POSIX_TERMIOS])
AC_CACHE_CHECK([whether use of TIOCGWINSZ requires termios.h],
jm_cv_sys_tiocgwinsz_needs_termios_h,
@@ -18,7 +18,7 @@ AC_DEFUN([jm_HEADER_TIOCGWINSZ_IN_TERMIOS_H],
])
])
-AC_DEFUN([jm_WINSIZE_IN_PTEM],
+AC_DEFUN([gl_WINSIZE_IN_PTEM],
[AC_REQUIRE([AC_SYS_POSIX_TERMIOS])
AC_CACHE_CHECK([whether use of struct winsize requires sys/ptem.h],
jm_cv_sys_struct_winsize_needs_sys_ptem_h,
diff --git a/m4/jm-winsz2.m4 b/m4/jm-winsz2.m4
index a7d929d04..20ceb0d10 100644
--- a/m4/jm-winsz2.m4
+++ b/m4/jm-winsz2.m4
@@ -1,7 +1,7 @@
-#serial 4
+#serial 5
-AC_DEFUN([jm_HEADER_TIOCGWINSZ_NEEDS_SYS_IOCTL],
-[AC_REQUIRE([jm_HEADER_TIOCGWINSZ_IN_TERMIOS_H])
+AC_DEFUN([gl_HEADER_TIOCGWINSZ_NEEDS_SYS_IOCTL],
+[AC_REQUIRE([gl_HEADER_TIOCGWINSZ_IN_TERMIOS_H])
AC_CACHE_CHECK([whether use of TIOCGWINSZ requires sys/ioctl.h],
jm_cv_sys_tiocgwinsz_needs_sys_ioctl_h,
[jm_cv_sys_tiocgwinsz_needs_sys_ioctl_h=no
diff --git a/m4/lchown.m4 b/m4/lchown.m4
index e0875fc34..b40fe8540 100644
--- a/m4/lchown.m4
+++ b/m4/lchown.m4
@@ -1,9 +1,9 @@
-#serial 3
+#serial 4
dnl From Jim Meyering.
dnl Provide lchown on systems that lack it.
-AC_DEFUN([jm_FUNC_LCHOWN],
+AC_DEFUN([gl_FUNC_LCHOWN],
[
AC_REQUIRE([AC_TYPE_UID_T])
AC_REPLACE_FUNCS(lchown)
diff --git a/m4/lib-check.m4 b/m4/lib-check.m4
index 92a368598..0ce73103f 100644
--- a/m4/lib-check.m4
+++ b/m4/lib-check.m4
@@ -1,8 +1,8 @@
-#serial 6
+#serial 7
dnl Misc lib-related macros for fileutils, sh-utils, textutils.
-AC_DEFUN([jm_LIB_CHECK],
+AC_DEFUN([gl_LIB_CHECK],
[
# Check for libypsec.a on Dolphin M88K machines.
diff --git a/m4/link-follow.m4 b/m4/link-follow.m4
index 6064ce74b..45f189ef1 100644
--- a/m4/link-follow.m4
+++ b/m4/link-follow.m4
@@ -1,8 +1,8 @@
-#serial 3
+#serial 4
dnl Run a program to determine whether whether link(2) follows symlinks.
dnl Set LINK_FOLLOWS_SYMLINKS accordingly.
-AC_DEFUN([jm_AC_FUNC_LINK_FOLLOWS_SYMLINK],
+AC_DEFUN([gl_AC_FUNC_LINK_FOLLOWS_SYMLINK],
[dnl
AC_CACHE_CHECK(
[whether link(2) dereferences a symlink specified with a trailing slash],
diff --git a/m4/longlong.m4 b/m4/longlong.m4
index d7d7350b3..028422b61 100644
--- a/m4/longlong.m4
+++ b/m4/longlong.m4
@@ -1,5 +1,5 @@
-# longlong.m4 serial 4
-dnl Copyright (C) 1999-2003 Free Software Foundation, Inc.
+# longlong.m4 serial 5
+dnl Copyright (C) 1999-2004 Free Software Foundation, Inc.
dnl This file is free software, distributed under the terms of the GNU
dnl General Public License. As a special exception to the GNU General
dnl Public License, this file may be distributed as part of a program
@@ -10,7 +10,7 @@ dnl From Paul Eggert.
# Define HAVE_LONG_LONG if 'long long' works.
-AC_DEFUN([jm_AC_TYPE_LONG_LONG],
+AC_DEFUN([gl_AC_TYPE_LONG_LONG],
[
AC_CACHE_CHECK([for long long], ac_cv_type_long_long,
[AC_TRY_LINK([long long ll = 1LL; int i = 63;],
diff --git a/m4/ls-mntd-fs.m4 b/m4/ls-mntd-fs.m4
index c28466bb0..a5fe795e7 100644
--- a/m4/ls-mntd-fs.m4
+++ b/m4/ls-mntd-fs.m4
@@ -1,4 +1,4 @@
-#serial 14
+#serial 15
dnl From Jim Meyering.
dnl
@@ -6,8 +6,8 @@ dnl This is not pretty. I've just taken the autoconf code and wrapped
dnl it in an AC_DEFUN.
dnl
-# jm_LIST_MOUNTED_FILESYSTEMS([ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
-AC_DEFUN([jm_LIST_MOUNTED_FILESYSTEMS],
+# gl_LIST_MOUNTED_FILESYSTEMS([ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
+AC_DEFUN([gl_LIST_MOUNTED_FILESYSTEMS],
[
AC_CHECK_FUNCS(listmntent getmntinfo)
AC_CHECK_HEADERS_ONCE(sys/param.h)
diff --git a/m4/lstat.m4 b/m4/lstat.m4
index f85bd042d..0c6362c50 100644
--- a/m4/lstat.m4
+++ b/m4/lstat.m4
@@ -1,4 +1,4 @@
-#serial 10
+#serial 11
dnl From Jim Meyering.
dnl Determine whether lstat has the bug that it succeeds when given the
@@ -9,7 +9,7 @@ dnl If it does, then define HAVE_LSTAT_EMPTY_STRING_BUG and arrange to
dnl compile the wrapper function.
dnl
-AC_DEFUN([jm_FUNC_LSTAT],
+AC_DEFUN([gl_FUNC_LSTAT],
[
AC_FUNC_LSTAT
dnl Note: AC_FUNC_LSTAT does AC_LIBOBJ(lstat).
diff --git a/m4/makepath.m4 b/m4/makepath.m4
index edd2d9bce..af8350a57 100644
--- a/m4/makepath.m4
+++ b/m4/makepath.m4
@@ -1,5 +1,5 @@
-# makepath.m4 serial 2
-dnl Copyright (C) 2002, 2003 Free Software Foundation, Inc.
+# makepath.m4 serial 3
+dnl Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
dnl This file is free software, distributed under the terms of the GNU
dnl General Public License. As a special exception to the GNU General
dnl Public License, this file may be distributed as part of a program
@@ -12,5 +12,5 @@ AC_DEFUN([gl_MAKEPATH],
AC_REQUIRE([AC_FUNC_ALLOCA])
AC_CHECK_HEADERS_ONCE(unistd.h)
AC_REQUIRE([AC_HEADER_STAT])
- AC_REQUIRE([jm_AFS])
+ AC_REQUIRE([gl_AFS])
])
diff --git a/m4/mbrtowc.m4 b/m4/mbrtowc.m4
index 21e9daaba..ac08c1cc9 100644
--- a/m4/mbrtowc.m4
+++ b/m4/mbrtowc.m4
@@ -1,5 +1,5 @@
-# mbrtowc.m4 serial 5
-dnl Copyright (C) 2001-2002 Free Software Foundation, Inc.
+# mbrtowc.m4 serial 6
+dnl Copyright (C) 2001-2002, 2004 Free Software Foundation, Inc.
dnl This file is free software, distributed under the terms of the GNU
dnl General Public License. As a special exception to the GNU General
dnl Public License, this file may be distributed as part of a program
@@ -8,10 +8,10 @@ dnl the same distribution terms as the rest of that program.
dnl From Paul Eggert
-dnl This file can be removed, and jm_FUNC_MBRTOWC replaced with
+dnl This file can be removed, and gl_FUNC_MBRTOWC replaced with
dnl AC_FUNC_MBRTOWC, when autoconf 2.57 can be assumed everywhere.
-AC_DEFUN([jm_FUNC_MBRTOWC],
+AC_DEFUN([gl_FUNC_MBRTOWC],
[
AC_CACHE_CHECK([whether mbrtowc and mbstate_t are properly declared],
jm_cv_func_mbrtowc,
diff --git a/m4/mbswidth.m4 b/m4/mbswidth.m4
index 7eefd879d..f61be107a 100644
--- a/m4/mbswidth.m4
+++ b/m4/mbswidth.m4
@@ -1,4 +1,4 @@
-#serial 10
+#serial 11
dnl autoconf tests required for use of mbswidth.c
dnl From Bruno Haible.
@@ -8,7 +8,7 @@ AC_DEFUN([gl_MBSWIDTH],
AC_CHECK_HEADERS_ONCE(wchar.h wctype.h)
AC_CHECK_FUNCS_ONCE(isascii iswprint mbsinit)
AC_CHECK_FUNCS(iswcntrl wcwidth)
- jm_FUNC_MBRTOWC
+ gl_FUNC_MBRTOWC
AC_CACHE_CHECK([whether wcwidth is declared], ac_cv_have_decl_wcwidth,
[AC_TRY_COMPILE([
diff --git a/m4/memchr.m4 b/m4/memchr.m4
index 60a06c271..0ae7ff11b 100644
--- a/m4/memchr.m4
+++ b/m4/memchr.m4
@@ -1,5 +1,5 @@
-# memchr.m4 serial 2
-dnl Copyright (C) 2002, 2003 Free Software Foundation, Inc.
+# memchr.m4 serial 3
+dnl Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
dnl This file is free software, distributed under the terms of the GNU
dnl General Public License. As a special exception to the GNU General
dnl Public License, this file may be distributed as part of a program
@@ -10,11 +10,11 @@ AC_DEFUN([gl_FUNC_MEMCHR],
[
AC_REPLACE_FUNCS(memchr)
if test $ac_cv_func_memchr = no; then
- jm_PREREQ_MEMCHR
+ gl_PREREQ_MEMCHR
fi
])
# Prerequisites of lib/memchr.c.
-AC_DEFUN([jm_PREREQ_MEMCHR], [
+AC_DEFUN([gl_PREREQ_MEMCHR], [
AC_CHECK_HEADERS(bp-sym.h)
])
diff --git a/m4/memcmp.m4 b/m4/memcmp.m4
index 90d8bb30f..3e85fb8f6 100644
--- a/m4/memcmp.m4
+++ b/m4/memcmp.m4
@@ -1,12 +1,12 @@
-# memcmp.m4 serial 9
-dnl Copyright (C) 2002, 2003 Free Software Foundation, Inc.
+# memcmp.m4 serial 10
+dnl Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
dnl This file is free software, distributed under the terms of the GNU
dnl General Public License. As a special exception to the GNU General
dnl Public License, this file may be distributed as part of a program
dnl that contains a configuration script generated by Autoconf, under
dnl the same distribution terms as the rest of that program.
-AC_DEFUN([jm_FUNC_MEMCMP],
+AC_DEFUN([gl_FUNC_MEMCMP],
[
AC_REQUIRE([AC_FUNC_MEMCMP])
if test $ac_cv_func_memcmp_working = no; then
diff --git a/m4/mkstemp.m4 b/m4/mkstemp.m4
index 3d379fd2b..5f23f798a 100644
--- a/m4/mkstemp.m4
+++ b/m4/mkstemp.m4
@@ -1,4 +1,4 @@
-#serial 4
+#serial 5
# On some hosts (e.g., HP-UX 10.20, SunOS 4.1.4, Solaris 2.5.1), mkstemp has a
# silly limit that it can create no more than 26 files from a given template.
@@ -45,7 +45,7 @@ AC_DEFUN([UTILS_FUNC_MKSTEMP],
AC_DEFINE(mkstemp, rpl_mkstemp,
[Define to rpl_mkstemp if the replacement function should be used.])
gl_PREREQ_MKSTEMP
- jm_PREREQ_TEMPNAME
+ gl_PREREQ_TEMPNAME
fi
])
@@ -55,12 +55,12 @@ AC_DEFUN([gl_PREREQ_MKSTEMP],
])
# Prerequisites of lib/tempname.c.
-AC_DEFUN([jm_PREREQ_TEMPNAME],
+AC_DEFUN([gl_PREREQ_TEMPNAME],
[
AC_REQUIRE([AC_HEADER_STAT])
AC_CHECK_HEADERS_ONCE(fcntl.h sys/time.h unistd.h)
AC_CHECK_HEADERS(stdint.h)
AC_CHECK_FUNCS(__secure_getenv gettimeofday)
AC_CHECK_DECLS_ONCE(getenv)
- AC_REQUIRE([jm_AC_TYPE_UINTMAX_T])
+ AC_REQUIRE([gl_AC_TYPE_UINTMAX_T])
])
diff --git a/m4/mountlist.m4 b/m4/mountlist.m4
index 6a6b38c3f..6eb11077b 100644
--- a/m4/mountlist.m4
+++ b/m4/mountlist.m4
@@ -1,5 +1,5 @@
-# mountlist.m4 serial 2
-dnl Copyright (C) 2002, 2003 Free Software Foundation, Inc.
+# mountlist.m4 serial 3
+dnl Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
dnl This file is free software, distributed under the terms of the GNU
dnl General Public License. As a special exception to the GNU General
dnl Public License, this file may be distributed as part of a program
@@ -8,7 +8,7 @@ dnl the same distribution terms as the rest of that program.
AC_DEFUN([gl_MOUNTLIST],
[
- jm_LIST_MOUNTED_FILESYSTEMS([gl_cv_list_mounted_fs=yes],
+ gl_LIST_MOUNTED_FILESYSTEMS([gl_cv_list_mounted_fs=yes],
[gl_cv_list_mounted_fs=no])
if test $gl_cv_list_mounted_fs = yes; then
AC_LIBOBJ(mountlist)
@@ -16,11 +16,11 @@ AC_DEFUN([gl_MOUNTLIST],
fi
])
-# Prerequisites of lib/mountlist.c not done by jm_LIST_MOUNTED_FILESYSTEMS.
+# Prerequisites of lib/mountlist.c not done by gl_LIST_MOUNTED_FILESYSTEMS.
AC_DEFUN([gl_PREREQ_MOUNTLIST_EXTRA],
[
- dnl Note jm_LIST_MOUNTED_FILESYSTEMS checks for mntent.h, not sys/mntent.h.
+ dnl Note gl_LIST_MOUNTED_FILESYSTEMS checks for mntent.h, not sys/mntent.h.
AC_CHECK_HEADERS_ONCE(fcntl.h unistd.h)
AC_CHECK_HEADERS(sys/mntent.h)
- jm_FSTYPENAME
+ gl_FSTYPENAME
])
diff --git a/m4/nanosleep.m4 b/m4/nanosleep.m4
index fd5fd92fc..0cf409443 100644
--- a/m4/nanosleep.m4
+++ b/m4/nanosleep.m4
@@ -1,11 +1,11 @@
-#serial 9
+#serial 10
dnl From Jim Meyering.
dnl Check for the nanosleep function.
dnl If not found, use the supplied replacement.
dnl
-AC_DEFUN([jm_FUNC_NANOSLEEP],
+AC_DEFUN([gl_FUNC_NANOSLEEP],
[
nanosleep_save_libs=$LIBS
diff --git a/m4/path-concat.m4 b/m4/path-concat.m4
index be0534d01..12db2389e 100644
--- a/m4/path-concat.m4
+++ b/m4/path-concat.m4
@@ -1,5 +1,5 @@
-# path-concat.m4 serial 2
-dnl Copyright (C) 2002, 2003 Free Software Foundation, Inc.
+# path-concat.m4 serial 3
+dnl Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
dnl This file is free software, distributed under the terms of the GNU
dnl General Public License. As a special exception to the GNU General
dnl Public License, this file may be distributed as part of a program
@@ -9,7 +9,7 @@ dnl the same distribution terms as the rest of that program.
AC_DEFUN([gl_PATH_CONCAT],
[
dnl Prerequisites of lib/path-concat.c.
- AC_REQUIRE([jm_AC_DOS])
+ AC_REQUIRE([gl_AC_DOS])
AC_CHECK_HEADERS_ONCE(unistd.h)
AC_CHECK_FUNCS_ONCE(mempcpy)
])
diff --git a/m4/perl.m4 b/m4/perl.m4
index d5cda7748..d9c89cde2 100644
--- a/m4/perl.m4
+++ b/m4/perl.m4
@@ -1,10 +1,10 @@
-#serial 5
+#serial 6
dnl From Jim Meyering.
dnl Find a new-enough version of Perl.
dnl
-AC_DEFUN([jm_PERL],
+AC_DEFUN([gl_PERL],
[
dnl FIXME: don't hard-code 5.003
dnl FIXME: should we cache the result?
diff --git a/m4/prereq.m4 b/m4/prereq.m4
index 4916097de..48a0cd46a 100644
--- a/m4/prereq.m4
+++ b/m4/prereq.m4
@@ -1,13 +1,12 @@
-#serial 39
+#serial 40
-dnl We use jm_ for non Autoconf macros.
-m4_pattern_forbid([^jm_[ABCDEFGHIJKLMNOPQRSTUVXYZ]])dnl
+dnl We use gl_ for non Autoconf macros.
m4_pattern_forbid([^gl_[ABCDEFGHIJKLMNOPQRSTUVXYZ]])dnl
# These are the prerequisite macros for files in the lib/
# directory of the coreutils package.
-AC_DEFUN([jm_PREREQ],
+AC_DEFUN([gl_PREREQ],
[
# We don't yet use c-stack.c.
# AC_REQUIRE([gl_C_STACK])
@@ -114,23 +113,23 @@ AC_DEFUN([jm_PREREQ],
AC_REQUIRE([gl_XSTRTOD])
AC_REQUIRE([gl_XSTRTOL])
AC_REQUIRE([gl_YESNO])
- AC_REQUIRE([jm_FUNC_GLIBC_UNLOCKED_IO])
- AC_REQUIRE([jm_FUNC_GNU_STRFTIME])
- AC_REQUIRE([jm_FUNC_LSTAT])
+ AC_REQUIRE([gl_FUNC_GLIBC_UNLOCKED_IO])
+ AC_REQUIRE([gl_FUNC_GNU_STRFTIME])
+ AC_REQUIRE([gl_FUNC_LSTAT])
AC_REQUIRE([AC_FUNC_MALLOC])
- AC_REQUIRE([jm_FUNC_MEMCMP])
- AC_REQUIRE([jm_FUNC_NANOSLEEP])
- AC_REQUIRE([jm_FUNC_PUTENV])
+ AC_REQUIRE([gl_FUNC_MEMCMP])
+ AC_REQUIRE([gl_FUNC_NANOSLEEP])
+ AC_REQUIRE([gl_FUNC_PUTENV])
AC_REQUIRE([AC_FUNC_REALLOC])
- AC_REQUIRE([jm_FUNC_STAT])
- AC_REQUIRE([jm_FUNC_UTIME])
- AC_REQUIRE([jm_PREREQ_STAT])
- AC_REQUIRE([jm_XSTRTOIMAX])
- AC_REQUIRE([jm_XSTRTOUMAX])
+ AC_REQUIRE([gl_FUNC_STAT])
+ AC_REQUIRE([gl_FUNC_UTIME])
+ AC_REQUIRE([gl_PREREQ_STAT])
+ AC_REQUIRE([gl_XSTRTOIMAX])
+ AC_REQUIRE([gl_XSTRTOUMAX])
AC_REQUIRE([vb_FUNC_RENAME])
])
-AC_DEFUN([jm_PREREQ_STAT],
+AC_DEFUN([gl_PREREQ_STAT],
[
AC_CHECK_HEADERS(sys/sysmacros.h sys/statvfs.h sys/vfs.h inttypes.h)
AC_CHECK_HEADERS(sys/param.h sys/mount.h)
@@ -140,7 +139,7 @@ AC_DEFUN([jm_PREREQ_STAT],
AC_CHECK_HEADERS([netinet/in.h nfs/nfs_clnt.h nfs/vfs.h],,,
[AC_INCLUDES_DEFAULT])
- AC_REQUIRE([jm_AC_TYPE_LONG_LONG])
+ AC_REQUIRE([gl_AC_TYPE_LONG_LONG])
statxfs_includes="\
$ac_includes_default
diff --git a/m4/putenv.m4 b/m4/putenv.m4
index 77b9f7874..0bb17f415 100644
--- a/m4/putenv.m4
+++ b/m4/putenv.m4
@@ -1,5 +1,5 @@
-# putenv.m4 serial 7
-dnl Copyright (C) 2002, 2003 Free Software Foundation, Inc.
+# putenv.m4 serial 8
+dnl Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
dnl This file is free software, distributed under the terms of the GNU
dnl General Public License. As a special exception to the GNU General
dnl Public License, this file may be distributed as part of a program
@@ -11,7 +11,7 @@ dnl
dnl Check whether putenv ("FOO") removes FOO from the environment.
dnl The putenv in libc on at least SunOS 4.1.4 does *not* do that.
-AC_DEFUN([jm_FUNC_PUTENV],
+AC_DEFUN([gl_FUNC_PUTENV],
[AC_CACHE_CHECK([for SVID conformant putenv], jm_cv_func_svid_putenv,
[AC_TRY_RUN([
int
diff --git a/m4/quotearg.m4 b/m4/quotearg.m4
index 2fba109f1..877fcd9af 100644
--- a/m4/quotearg.m4
+++ b/m4/quotearg.m4
@@ -1,5 +1,5 @@
-# quotearg.m4 serial 1
-dnl Copyright (C) 2002 Free Software Foundation, Inc.
+# quotearg.m4 serial 2
+dnl Copyright (C) 2002, 2004 Free Software Foundation, Inc.
dnl This file is free software, distributed under the terms of the GNU
dnl General Public License. As a special exception to the GNU General
dnl Public License, this file may be distributed as part of a program
@@ -12,5 +12,5 @@ AC_DEFUN([gl_QUOTEARG],
AC_CHECK_HEADERS_ONCE(wchar.h wctype.h)
AC_CHECK_FUNCS_ONCE(iswprint mbsinit)
AC_TYPE_MBSTATE_T
- jm_FUNC_MBRTOWC
+ gl_FUNC_MBRTOWC
])
diff --git a/m4/regex.m4 b/m4/regex.m4
index e04dd4a4f..696fce1ee 100644
--- a/m4/regex.m4
+++ b/m4/regex.m4
@@ -1,16 +1,16 @@
-#serial 20
+#serial 21
dnl Initially derived from code in GNU grep.
dnl Mostly written by Jim Meyering.
AC_DEFUN([gl_REGEX],
[
- jm_INCLUDED_REGEX([lib/regex.c])
+ gl_INCLUDED_REGEX([lib/regex.c])
])
-dnl Usage: jm_INCLUDED_REGEX([lib/regex.c])
+dnl Usage: gl_INCLUDED_REGEX([lib/regex.c])
dnl
-AC_DEFUN([jm_INCLUDED_REGEX],
+AC_DEFUN([gl_INCLUDED_REGEX],
[
dnl Even packages that don't use regex.c can use this macro.
dnl Of course, for them it doesn't do anything.
@@ -93,7 +93,7 @@ AC_DEFUN([jm_INCLUDED_REGEX],
jm_with_regex=$ac_use_included_regex)
if test "$jm_with_regex" = yes; then
AC_LIBOBJ(regex)
- jm_PREREQ_REGEX
+ gl_PREREQ_REGEX
fi
],
)
@@ -101,7 +101,7 @@ AC_DEFUN([jm_INCLUDED_REGEX],
)
# Prerequisites of lib/regex.c.
-AC_DEFUN([jm_PREREQ_REGEX],
+AC_DEFUN([gl_PREREQ_REGEX],
[
dnl FIXME: Maybe provide a btowc replacement someday: Solaris 2.5.1 lacks it.
dnl FIXME: Check for wctype and iswctype, and and add -lw if necessary
diff --git a/m4/stat.m4 b/m4/stat.m4
index bdfee5cb3..01c682a49 100644
--- a/m4/stat.m4
+++ b/m4/stat.m4
@@ -1,4 +1,4 @@
-#serial 9
+#serial 10
dnl From Jim Meyering.
dnl Determine whether stat has the bug that it succeeds when given the
@@ -9,7 +9,7 @@ dnl If it does, then define HAVE_STAT_EMPTY_STRING_BUG and arrange to
dnl compile the wrapper function.
dnl
-AC_DEFUN([jm_FUNC_STAT],
+AC_DEFUN([gl_FUNC_STAT],
[
AC_FUNC_STAT
dnl Note: AC_FUNC_STAT does AC_LIBOBJ(stat).
diff --git a/m4/stdint_h.m4 b/m4/stdint_h.m4
index 32ba7ae77..e48e210a0 100644
--- a/m4/stdint_h.m4
+++ b/m4/stdint_h.m4
@@ -1,5 +1,5 @@
-# stdint_h.m4 serial 3 (gettext-0.12)
-dnl Copyright (C) 1997-2003 Free Software Foundation, Inc.
+# stdint_h.m4 serial 4
+dnl Copyright (C) 1997-2004 Free Software Foundation, Inc.
dnl This file is free software, distributed under the terms of the GNU
dnl General Public License. As a special exception to the GNU General
dnl Public License, this file may be distributed as part of a program
@@ -11,7 +11,7 @@ dnl From Paul Eggert.
# Define HAVE_STDINT_H_WITH_UINTMAX if <stdint.h> exists,
# doesn't clash with <sys/types.h>, and declares uintmax_t.
-AC_DEFUN([jm_AC_HEADER_STDINT_H],
+AC_DEFUN([gl_AC_HEADER_STDINT_H],
[
AC_CACHE_CHECK([for stdint.h], jm_ac_cv_header_stdint_h,
[AC_TRY_COMPILE(
diff --git a/m4/strftime.m4 b/m4/strftime.m4
index dfcf320bd..0143a2e91 100644
--- a/m4/strftime.m4
+++ b/m4/strftime.m4
@@ -1,8 +1,8 @@
-#serial 21
+#serial 22
dnl This macro is intended to be used solely in this file.
dnl These are the prerequisite macros for GNU's strftime.c replacement.
-AC_DEFUN([_jm_STRFTIME_PREREQS],
+AC_DEFUN([_gl_STRFTIME_PREREQS],
[
dnl strftime.c uses the underyling system strftime if it exists.
AC_FUNC_STRFTIME
@@ -22,10 +22,10 @@ AC_DEFUN([_jm_STRFTIME_PREREQS],
dnl From Jim Meyering.
dnl
-AC_DEFUN([jm_FUNC_GNU_STRFTIME],
+AC_DEFUN([gl_FUNC_GNU_STRFTIME],
[AC_REQUIRE([AC_HEADER_TIME])dnl
- _jm_STRFTIME_PREREQS
+ _gl_STRFTIME_PREREQS
AC_REQUIRE([AC_C_CONST])dnl
AC_CHECK_HEADERS_ONCE(sys/time.h)
@@ -33,7 +33,7 @@ AC_DEFUN([jm_FUNC_GNU_STRFTIME],
[Define to the name of the strftime replacement function.])
])
-AC_DEFUN([jm_FUNC_STRFTIME],
+AC_DEFUN([gl_FUNC_STRFTIME],
[
- _jm_STRFTIME_PREREQS
+ _gl_STRFTIME_PREREQS
])
diff --git a/m4/strtoimax.m4 b/m4/strtoimax.m4
index 2cc1776d7..a9607f67e 100644
--- a/m4/strtoimax.m4
+++ b/m4/strtoimax.m4
@@ -1,5 +1,5 @@
# strtoimax.m4 serial 3
-dnl Copyright (C) 2002-2003 Free Software Foundation, Inc.
+dnl Copyright (C) 2002-2004 Free Software Foundation, Inc.
dnl This file is free software, distributed under the terms of the GNU
dnl General Public License. As a special exception to the GNU General
dnl Public License, this file may be distributed as part of a program
@@ -31,7 +31,7 @@ AC_DEFUN([gl_FUNC_STRTOIMAX],
# Prerequisites of lib/strtoimax.c.
AC_DEFUN([gl_PREREQ_STRTOIMAX], [
- jm_AC_TYPE_INTMAX_T
+ gl_AC_TYPE_INTMAX_T
AC_CHECK_DECLS(strtoll)
- AC_REQUIRE([jm_AC_TYPE_LONG_LONG])
+ AC_REQUIRE([gl_AC_TYPE_LONG_LONG])
])
diff --git a/m4/strtoll.m4 b/m4/strtoll.m4
index 73e7251e9..ce2d87cfd 100644
--- a/m4/strtoll.m4
+++ b/m4/strtoll.m4
@@ -1,5 +1,5 @@
-# strtoll.m4 serial 1
-dnl Copyright (C) 2002 Free Software Foundation, Inc.
+# strtoll.m4 serial 2
+dnl Copyright (C) 2002, 2004 Free Software Foundation, Inc.
dnl This file is free software, distributed under the terms of the GNU
dnl General Public License. As a special exception to the GNU General
dnl Public License, this file may be distributed as part of a program
@@ -10,7 +10,7 @@ AC_DEFUN([gl_FUNC_STRTOLL],
[
dnl We don't need (and can't compile) the replacement strtoll
dnl unless the type 'long long' exists.
- AC_REQUIRE([jm_AC_TYPE_LONG_LONG])
+ AC_REQUIRE([gl_AC_TYPE_LONG_LONG])
if test "$ac_cv_type_long_long" = yes; then
AC_REPLACE_FUNCS(strtoll)
if test $ac_cv_func_strtoll = no; then
@@ -23,4 +23,3 @@ AC_DEFUN([gl_FUNC_STRTOLL],
AC_DEFUN([gl_PREREQ_STRTOLL], [
:
])
-
diff --git a/m4/strtoull.m4 b/m4/strtoull.m4
index 68035c47f..fd0a63615 100644
--- a/m4/strtoull.m4
+++ b/m4/strtoull.m4
@@ -1,5 +1,5 @@
-# strtoull.m4 serial 1
-dnl Copyright (C) 2002 Free Software Foundation, Inc.
+# strtoull.m4 serial 2
+dnl Copyright (C) 2002, 2004 Free Software Foundation, Inc.
dnl This file is free software, distributed under the terms of the GNU
dnl General Public License. As a special exception to the GNU General
dnl Public License, this file may be distributed as part of a program
@@ -10,7 +10,7 @@ AC_DEFUN([gl_FUNC_STRTOULL],
[
dnl We don't need (and can't compile) the replacement strtoull
dnl unless the type 'unsigned long long' exists.
- AC_REQUIRE([jm_AC_TYPE_UNSIGNED_LONG_LONG])
+ AC_REQUIRE([gl_AC_TYPE_UNSIGNED_LONG_LONG])
if test "$ac_cv_type_unsigned_long_long" = yes; then
AC_REPLACE_FUNCS(strtoull)
if test $ac_cv_func_strtoull = no; then
@@ -23,4 +23,3 @@ AC_DEFUN([gl_FUNC_STRTOULL],
AC_DEFUN([gl_PREREQ_STRTOULL], [
:
])
-
diff --git a/m4/strtoumax.m4 b/m4/strtoumax.m4
index 00106585b..f63ed5e97 100644
--- a/m4/strtoumax.m4
+++ b/m4/strtoumax.m4
@@ -1,5 +1,5 @@
# strtoumax.m4 serial 3
-dnl Copyright (C) 2002-2003 Free Software Foundation, Inc.
+dnl Copyright (C) 2002-2004 Free Software Foundation, Inc.
dnl This file is free software, distributed under the terms of the GNU
dnl General Public License. As a special exception to the GNU General
dnl Public License, this file may be distributed as part of a program
@@ -31,7 +31,7 @@ AC_DEFUN([gl_FUNC_STRTOUMAX],
# Prerequisites of lib/strtoumax.c.
AC_DEFUN([gl_PREREQ_STRTOUMAX], [
- jm_AC_TYPE_UINTMAX_T
+ gl_AC_TYPE_UINTMAX_T
AC_CHECK_DECLS(strtoull)
- AC_REQUIRE([jm_AC_TYPE_UNSIGNED_LONG_LONG])
+ AC_REQUIRE([gl_AC_TYPE_UNSIGNED_LONG_LONG])
])
diff --git a/m4/timespec.m4 b/m4/timespec.m4
index 5ca16d48d..5a346112e 100644
--- a/m4/timespec.m4
+++ b/m4/timespec.m4
@@ -1,4 +1,4 @@
-#serial 7
+#serial 8
dnl From Jim Meyering
@@ -7,7 +7,7 @@ AC_DEFUN([gl_TIMESPEC],
dnl Prerequisites of lib/timespec.h.
AC_REQUIRE([AC_HEADER_TIME])
AC_CHECK_HEADERS_ONCE(sys/time.h)
- jm_CHECK_TYPE_STRUCT_TIMESPEC
+ gl_CHECK_TYPE_STRUCT_TIMESPEC
AC_STRUCT_ST_MTIM_NSEC
dnl Persuade glibc <time.h> to declare nanosleep().
@@ -19,7 +19,7 @@ AC_DEFUN([gl_TIMESPEC],
dnl Define HAVE_STRUCT_TIMESPEC if `struct timespec' is declared
dnl in time.h or sys/time.h.
-AC_DEFUN([jm_CHECK_TYPE_STRUCT_TIMESPEC],
+AC_DEFUN([gl_CHECK_TYPE_STRUCT_TIMESPEC],
[
dnl Persuade pedantic Solaris to declare struct timespec.
AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
diff --git a/m4/uintmax_t.m4 b/m4/uintmax_t.m4
index b5f28d440..41e0edf80 100644
--- a/m4/uintmax_t.m4
+++ b/m4/uintmax_t.m4
@@ -1,5 +1,5 @@
-# uintmax_t.m4 serial 7 (gettext-0.12)
-dnl Copyright (C) 1997-2003 Free Software Foundation, Inc.
+# uintmax_t.m4 serial 8
+dnl Copyright (C) 1997-2004 Free Software Foundation, Inc.
dnl This file is free software, distributed under the terms of the GNU
dnl General Public License. As a special exception to the GNU General
dnl Public License, this file may be distributed as part of a program
@@ -13,12 +13,12 @@ AC_PREREQ(2.13)
# Define uintmax_t to 'unsigned long' or 'unsigned long long'
# if it is not already defined in <stdint.h> or <inttypes.h>.
-AC_DEFUN([jm_AC_TYPE_UINTMAX_T],
+AC_DEFUN([gl_AC_TYPE_UINTMAX_T],
[
- AC_REQUIRE([jm_AC_HEADER_INTTYPES_H])
- AC_REQUIRE([jm_AC_HEADER_STDINT_H])
+ AC_REQUIRE([gl_AC_HEADER_INTTYPES_H])
+ AC_REQUIRE([gl_AC_HEADER_STDINT_H])
if test $jm_ac_cv_header_inttypes_h = no && test $jm_ac_cv_header_stdint_h = no; then
- AC_REQUIRE([jm_AC_TYPE_UNSIGNED_LONG_LONG])
+ AC_REQUIRE([gl_AC_TYPE_UNSIGNED_LONG_LONG])
test $ac_cv_type_unsigned_long_long = yes \
&& ac_type='unsigned long long' \
|| ac_type='unsigned long'
diff --git a/m4/ulonglong.m4 b/m4/ulonglong.m4
index 1da8b809e..1123ccb83 100644
--- a/m4/ulonglong.m4
+++ b/m4/ulonglong.m4
@@ -1,5 +1,5 @@
-# ulonglong.m4 serial 3
-dnl Copyright (C) 1999-2003 Free Software Foundation, Inc.
+# ulonglong.m4 serial 4
+dnl Copyright (C) 1999-2004 Free Software Foundation, Inc.
dnl This file is free software, distributed under the terms of the GNU
dnl General Public License. As a special exception to the GNU General
dnl Public License, this file may be distributed as part of a program
@@ -10,7 +10,7 @@ dnl From Paul Eggert.
# Define HAVE_UNSIGNED_LONG_LONG if 'unsigned long long' works.
-AC_DEFUN([jm_AC_TYPE_UNSIGNED_LONG_LONG],
+AC_DEFUN([gl_AC_TYPE_UNSIGNED_LONG_LONG],
[
AC_CACHE_CHECK([for unsigned long long], ac_cv_type_unsigned_long_long,
[AC_TRY_LINK([unsigned long long ull = 1ULL; int i = 63;],
diff --git a/m4/unlink-busy.m4 b/m4/unlink-busy.m4
index 79152e9d5..2f5f27347 100644
--- a/m4/unlink-busy.m4
+++ b/m4/unlink-busy.m4
@@ -1,10 +1,10 @@
-#serial 6
+#serial 7
dnl From J. David Anglin.
dnl HPUX and other systems can't unlink shared text that is being executed.
-AC_DEFUN([jm_FUNC_UNLINK_BUSY_TEXT],
+AC_DEFUN([gl_FUNC_UNLINK_BUSY_TEXT],
[dnl
AC_CACHE_CHECK([whether a running program can be unlinked],
jm_cv_func_unlink_busy_text,
diff --git a/m4/unlocked-io.m4 b/m4/unlocked-io.m4
index f8e98f1d1..ab16e0ada 100644
--- a/m4/unlocked-io.m4
+++ b/m4/unlocked-io.m4
@@ -1,4 +1,4 @@
-#serial 8 -*- autoconf -*-
+#serial 9 -*- autoconf -*-
dnl From Jim Meyering.
dnl
@@ -8,7 +8,7 @@ dnl (because some of them were declared in Solaris 2.5.1 but were removed
dnl in Solaris 2.6, whereas we want binaries built on Solaris 2.5.1 to run
dnl on Solaris 2.6).
-AC_DEFUN([jm_FUNC_GLIBC_UNLOCKED_IO],
+AC_DEFUN([gl_FUNC_GLIBC_UNLOCKED_IO],
[
dnl Persuade glibc and Solaris <stdio.h> to declare
dnl fgets_unlocked(), fputs_unlocked() etc.
diff --git a/m4/uptime.m4 b/m4/uptime.m4
index c616eaa85..53323bfe2 100644
--- a/m4/uptime.m4
+++ b/m4/uptime.m4
@@ -1,8 +1,8 @@
-#serial 5
+#serial 6
AC_PREREQ(2.13)
-AC_DEFUN([jm_SYS_PROC_UPTIME],
+AC_DEFUN([gl_SYS_PROC_UPTIME],
[ dnl Require AC_PROG_CC to see if we're cross compiling.
AC_REQUIRE([AC_PROG_CC])
AC_CACHE_CHECK([for /proc/uptime], jm_cv_have_proc_uptime,
diff --git a/m4/utimbuf.m4 b/m4/utimbuf.m4
index 21724aafb..cf1881537 100644
--- a/m4/utimbuf.m4
+++ b/m4/utimbuf.m4
@@ -1,4 +1,4 @@
-#serial 5
+#serial 6
dnl From Jim Meyering
@@ -6,7 +6,7 @@ dnl Define HAVE_STRUCT_UTIMBUF if `struct utimbuf' is declared --
dnl usually in <utime.h>.
dnl Some systems have utime.h but don't declare the struct anywhere.
-AC_DEFUN([jm_CHECK_TYPE_STRUCT_UTIMBUF],
+AC_DEFUN([gl_CHECK_TYPE_STRUCT_UTIMBUF],
[
AC_CHECK_HEADERS_ONCE(sys/time.h utime.h)
AC_REQUIRE([AC_HEADER_TIME])
diff --git a/m4/utime.m4 b/m4/utime.m4
index e3a159faf..6762a50db 100644
--- a/m4/utime.m4
+++ b/m4/utime.m4
@@ -1,11 +1,11 @@
-#serial 5
+#serial 6
dnl From Jim Meyering
dnl Replace the utime function on systems that need it.
dnl FIXME
-AC_DEFUN([jm_FUNC_UTIME],
+AC_DEFUN([gl_FUNC_UTIME],
[
AC_REQUIRE([AC_FUNC_UTIME_NULL])
if test $ac_cv_func_utime_null = no; then
@@ -20,6 +20,6 @@ AC_DEFUN([jm_FUNC_UTIME],
AC_DEFUN([gl_PREREQ_UTIME],
[
AC_CHECK_HEADERS_ONCE(utime.h)
- AC_REQUIRE([jm_CHECK_TYPE_STRUCT_UTIMBUF])
- jm_FUNC_UTIMES_NULL
+ AC_REQUIRE([gl_CHECK_TYPE_STRUCT_UTIMBUF])
+ gl_FUNC_UTIMES_NULL
])
diff --git a/m4/utimens.m4 b/m4/utimens.m4
index 7acefe179..8912619e1 100644
--- a/m4/utimens.m4
+++ b/m4/utimens.m4
@@ -10,6 +10,6 @@ AC_DEFUN([gl_UTIMENS],
dnl Prerequisites of lib/utimens.c.
AC_REQUIRE([gl_TIMESPEC])
AC_REQUIRE([gl_FUNC_UTIMES])
- AC_REQUIRE([jm_CHECK_TYPE_STRUCT_TIMESPEC])
- AC_REQUIRE([jm_CHECK_TYPE_STRUCT_UTIMBUF])
+ AC_REQUIRE([gl_CHECK_TYPE_STRUCT_TIMESPEC])
+ AC_REQUIRE([gl_CHECK_TYPE_STRUCT_UTIMBUF])
])
diff --git a/m4/utimes-null.m4 b/m4/utimes-null.m4
index f7e7842c5..76512db6c 100644
--- a/m4/utimes-null.m4
+++ b/m4/utimes-null.m4
@@ -1,9 +1,9 @@
-#serial 4
+#serial 5
dnl Shamelessly cloned from acspecific.m4's AC_FUNC_UTIME_NULL,
dnl then do case-insensitive s/utime/utimes/.
-AC_DEFUN([jm_FUNC_UTIMES_NULL],
+AC_DEFUN([gl_FUNC_UTIMES_NULL],
[AC_CACHE_CHECK(whether utimes accepts a null argument, ac_cv_func_utimes_null,
[rm -f conftest.data; > conftest.data
AC_TRY_RUN([
diff --git a/m4/vasnprintf.m4 b/m4/vasnprintf.m4
index d309f888c..cba4428bf 100644
--- a/m4/vasnprintf.m4
+++ b/m4/vasnprintf.m4
@@ -1,5 +1,5 @@
-# vasnprintf.m4 serial 3
-dnl Copyright (C) 2002-2003 Free Software Foundation, Inc.
+# vasnprintf.m4 serial 4
+dnl Copyright (C) 2002-2004 Free Software Foundation, Inc.
dnl This file is free software, distributed under the terms of the GNU
dnl General Public License. As a special exception to the GNU General
dnl Public License, this file may be distributed as part of a program
@@ -24,7 +24,7 @@ AC_DEFUN([gl_FUNC_VASNPRINTF],
AC_DEFUN([gl_PREREQ_PRINTF_ARGS],
[
AC_REQUIRE([bh_C_SIGNED])
- AC_REQUIRE([jm_AC_TYPE_LONG_LONG])
+ AC_REQUIRE([gl_AC_TYPE_LONG_LONG])
AC_REQUIRE([gt_TYPE_LONGDOUBLE])
AC_REQUIRE([gt_TYPE_WCHAR_T])
AC_REQUIRE([gt_TYPE_WINT_T])
@@ -33,7 +33,7 @@ AC_DEFUN([gl_PREREQ_PRINTF_ARGS],
# Prequisites of lib/printf-parse.h, lib/printf-parse.c.
AC_DEFUN([gl_PREREQ_PRINTF_PARSE],
[
- AC_REQUIRE([jm_AC_TYPE_LONG_LONG])
+ AC_REQUIRE([gl_AC_TYPE_LONG_LONG])
AC_REQUIRE([gt_TYPE_LONGDOUBLE])
AC_REQUIRE([gt_TYPE_WCHAR_T])
AC_REQUIRE([gt_TYPE_WINT_T])
@@ -46,7 +46,7 @@ AC_DEFUN([gl_PREREQ_PRINTF_PARSE],
AC_DEFUN([gl_PREREQ_VASNPRINTF],
[
AC_REQUIRE([AC_FUNC_ALLOCA])
- AC_REQUIRE([jm_AC_TYPE_LONG_LONG])
+ AC_REQUIRE([gl_AC_TYPE_LONG_LONG])
AC_REQUIRE([gt_TYPE_LONGDOUBLE])
AC_REQUIRE([gt_TYPE_WCHAR_T])
AC_REQUIRE([gt_TYPE_WINT_T])
diff --git a/m4/xstrtoimax.m4 b/m4/xstrtoimax.m4
index 38b4c561b..065912583 100644
--- a/m4/xstrtoimax.m4
+++ b/m4/xstrtoimax.m4
@@ -1,9 +1,9 @@
-#serial 3
+#serial 4
dnl Cloned from xstrtoumax.m4. Keep these files in sync.
-AC_DEFUN([jm_XSTRTOIMAX],
+AC_DEFUN([gl_XSTRTOIMAX],
[
dnl Prerequisites of lib/xstrtoimax.c.
- AC_REQUIRE([jm_AC_TYPE_INTMAX_T])
+ AC_REQUIRE([gl_AC_TYPE_INTMAX_T])
AC_REQUIRE([gl_PREREQ_XSTRTOL])
])
diff --git a/m4/xstrtol.m4 b/m4/xstrtol.m4
index a21ab2b05..bed760c82 100644
--- a/m4/xstrtol.m4
+++ b/m4/xstrtol.m4
@@ -1,5 +1,5 @@
-# xstrtol.m4 serial 3
-dnl Copyright (C) 2002, 2003 Free Software Foundation, Inc.
+# xstrtol.m4 serial 4
+dnl Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
dnl This file is free software, distributed under the terms of the GNU
dnl General Public License. As a special exception to the GNU General
dnl Public License, this file may be distributed as part of a program
@@ -15,8 +15,8 @@ AC_DEFUN([gl_XSTRTOL],
# Prerequisites of lib/xstrtol.h.
AC_DEFUN([gl_PREREQ_XSTRTOL_H],
[
- AC_REQUIRE([jm_AC_TYPE_INTMAX_T])
- AC_REQUIRE([jm_AC_TYPE_UINTMAX_T])
+ AC_REQUIRE([gl_AC_TYPE_INTMAX_T])
+ AC_REQUIRE([gl_AC_TYPE_UINTMAX_T])
])
# Prerequisites of lib/xstrtol.c.
diff --git a/m4/xstrtoumax.m4 b/m4/xstrtoumax.m4
index 4f41061f1..a0fbcc36a 100644
--- a/m4/xstrtoumax.m4
+++ b/m4/xstrtoumax.m4
@@ -1,9 +1,9 @@
-#serial 5
+#serial 6
dnl Cloned from xstrtoimax.m4. Keep these files in sync.
-AC_DEFUN([jm_XSTRTOUMAX],
+AC_DEFUN([gl_XSTRTOUMAX],
[
dnl Prerequisites of lib/xstrtoumax.c.
- AC_REQUIRE([jm_AC_TYPE_UINTMAX_T])
+ AC_REQUIRE([gl_AC_TYPE_UINTMAX_T])
AC_REQUIRE([gl_PREREQ_XSTRTOL])
])