changeset 5016:7141ea4946af

Change jm_ to gl_ in AC_DEFINE'd names. Update all uses.
author Jim Meyering <jim@meyering.net>
date Sun, 18 Apr 2004 18:12:50 +0000
parents 832c7e902202
children 4bc968f9444c
files ChangeLog doc/README m4/ChangeLog m4/afs.m4 m4/allocsa.m4 m4/assert.m4 m4/backupfile.m4 m4/bison.m4 m4/check-decl.m4 m4/chown.m4 m4/d-ino.m4 m4/d-type.m4 m4/dirname.m4 m4/dos.m4 m4/error.m4 m4/fpending.m4 m4/fstypename.m4 m4/fsusage.m4 m4/ftruncate.m4 m4/getdate.m4 m4/getgroups.m4 m4/gettext.m4 m4/glibc21.m4 m4/group-member.m4 m4/human.m4 m4/intmax.m4 m4/intmax_t.m4 m4/inttostr.m4 m4/inttypes.m4 m4/inttypes_h.m4 m4/jm-macros.m4 m4/jm-winsz1.m4 m4/jm-winsz2.m4 m4/lchown.m4 m4/lib-check.m4 m4/link-follow.m4 m4/localcharset.m4 m4/longlong.m4 m4/ls-mntd-fs.m4 m4/lstat.m4 m4/makepath.m4 m4/mbrtowc.m4 m4/mbswidth.m4 m4/memchr.m4 m4/memcmp.m4 m4/mkdtemp.m4 m4/mkstemp.m4 m4/mountlist.m4 m4/nanosleep.m4 m4/path-concat.m4 m4/perl.m4 m4/prereq.m4 m4/putenv.m4 m4/quotearg.m4 m4/regex.m4 m4/stat.m4 m4/stdint_h.m4 m4/strftime.m4 m4/strtoimax.m4 m4/strtoll.m4 m4/strtoull.m4 m4/strtoumax.m4 m4/timespec.m4 m4/uintmax_t.m4 m4/ulonglong.m4 m4/unlink-busy.m4 m4/unlocked-io.m4 m4/uptime.m4 m4/utimbuf.m4 m4/utime.m4 m4/utimes-null.m4 m4/vasnprintf.m4 m4/xstrtoimax.m4 m4/xstrtol.m4 m4/xstrtoumax.m4 modules/assert modules/chown modules/fpending modules/ftruncate modules/getgroups modules/group-member modules/lchown modules/lstat modules/memcmp modules/nanosleep modules/putenv modules/stat modules/strftime modules/unlocked-io modules/utime modules/xstrtoimax modules/xstrtoumax
diffstat 92 files changed, 283 insertions(+), 253 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Fri Apr 16 08:26:21 2004 +0000
+++ b/ChangeLog	Sun Apr 18 18:12:50 2004 +0000
@@ -1,3 +1,13 @@
+2004-04-18  Jim Meyering  <jim@meyering.net>
+
+	Change jm_ to gl_ in AC_DEFINE'd names.
+	* modules/assert, modules/chown, modules/fpending:
+	* modules/ftruncate, modules/getgroups, modules/group-member:
+	* modules/lchown, modules/lstat, modules/memcmp:
+	* modules/nanosleep, modules/putenv, modules/stat:
+	* modules/strftime, modules/unlocked-io, modules/utime:
+	* modules/xstrtoimax, modules/xstrtoumax:
+
 2004-04-12  Paul Eggert  <eggert@twinsun.com>
 
 	* config/srclist.txt: Restore setenv.c, unsetenv.c from gettext.
--- a/doc/README	Fri Apr 16 08:26:21 2004 +0000
+++ b/doc/README	Sun Apr 18 18:12:50 2004 +0000
@@ -10,7 +10,7 @@
 then in configure.ac:
 AC_DEFUN([texinfo_MACROS],
 [
-  AC_REQUIRE([jm_PREREQ_TEMPNAME])dnl for mkstemp
+  AC_REQUIRE([gl_PREREQ_TEMPNAME])dnl for mkstemp
   AC_REQUIRE([UTILS_FUNC_MKSTEMP])
 ])dnl
 texinfo_MACROS
--- a/m4/ChangeLog	Fri Apr 16 08:26:21 2004 +0000
+++ b/m4/ChangeLog	Sun Apr 18 18:12:50 2004 +0000
@@ -1,3 +1,24 @@
+2004-04-18  Jim Meyering  <jim@meyering.net>
+
+	* prereq.m4: Don't forbid jm_ prefix.
+
+	* 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-winsz1.m4, jm-winsz2.m4, lchown.m4:
+	* lib-check.m4, link-follow.m4, localcharset.m4, longlong.m4:
+	* ls-mntd-fs.m4, lstat.m4, makepath.m4, mbrtowc.m4, mbswidth.m4:
+	* memchr.m4, memcmp.m4, mkdtemp.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, utimes-null.m4, vasnprintf.m4:
+	* xstrtoimax.m4, xstrtol.m4, xstrtoumax.m4:
+	Change jm_ to gl_ in AC_DEFINE'd names. Update all uses.
+
 2004-04-16  Jim Meyering  <jim@meyering.net>
 
 	* prereq.m4 (jm_PREREQ_STAT): Remove macro.  It is specific to
--- a/m4/afs.m4	Fri Apr 16 08:26:21 2004 +0000
+++ b/m4/afs.m4	Sun Apr 18 18:12:50 2004 +0000
@@ -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
--- a/m4/allocsa.m4	Fri Apr 16 08:26:21 2004 +0000
+++ b/m4/allocsa.m4	Sun Apr 18 18:12:50 2004 +0000
@@ -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 @@
   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])
 ])
--- a/m4/assert.m4	Fri Apr 16 08:26:21 2004 +0000
+++ b/m4/assert.m4	Sun Apr 18 18:12:50 2004 +0000
@@ -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,
--- a/m4/backupfile.m4	Fri Apr 16 08:26:21 2004 +0000
+++ b/m4/backupfile.m4	Sun Apr 18 18:12:50 2004 +0000
@@ -1,4 +1,4 @@
-# backupfile.m4 serial 3
+# backupfile.m4 serial 4
 dnl Copyright (C) 2002, 2003 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
@@ -11,10 +11,10 @@
   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)
--- a/m4/bison.m4	Fri Apr 16 08:26:21 2004 +0000
+++ b/m4/bison.m4	Sun Apr 18 18:12:50 2004 +0000
@@ -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'}
--- a/m4/check-decl.m4	Fri Apr 16 08:26:21 2004 +0000
+++ b/m4/check-decl.m4	Sun Apr 18 18:12:50 2004 +0000
@@ -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 @@
 
 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 \
--- a/m4/chown.m4	Fri Apr 16 08:26:21 2004 +0000
+++ b/m4/chown.m4	Sun Apr 18 18:12:50 2004 +0000
@@ -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])
--- a/m4/d-ino.m4	Fri Apr 16 08:26:21 2004 +0000
+++ b/m4/d-ino.m4	Sun Apr 18 18:12:50 2004 +0000
@@ -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,
--- a/m4/d-type.m4	Fri Apr 16 08:26:21 2004 +0000
+++ b/m4/d-type.m4	Sun Apr 18 18:12:50 2004 +0000
@@ -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,
--- a/m4/dirname.m4	Fri Apr 16 08:26:21 2004 +0000
+++ b/m4/dirname.m4	Sun Apr 18 18:12:50 2004 +0000
@@ -1,4 +1,4 @@
-# dirname.m4 serial 2
+# dirname.m4 serial 3
 dnl Copyright (C) 2002, 2003 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
@@ -9,7 +9,7 @@
 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.
 ])
--- a/m4/dos.m4	Fri Apr 16 08:26:21 2004 +0000
+++ b/m4/dos.m4	Sun Apr 18 18:12:50 2004 +0000
@@ -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],
       [
--- a/m4/error.m4	Fri Apr 16 08:26:21 2004 +0000
+++ b/m4/error.m4	Sun Apr 18 18:12:50 2004 +0000
@@ -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])
   :
--- a/m4/fpending.m4	Fri Apr 16 08:26:21 2004 +0000
+++ b/m4/fpending.m4	Sun Apr 18 18:12:50 2004 +0000
@@ -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 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])
--- a/m4/fstypename.m4	Fri Apr 16 08:26:21 2004 +0000
+++ b/m4/fstypename.m4	Sun Apr 18 18:12:50 2004 +0000
@@ -1,4 +1,4 @@
-#serial 3
+#serial 4
 
 dnl From Jim Meyering.
 dnl
@@ -6,7 +6,7 @@
 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,
--- a/m4/fsusage.m4	Fri Apr 16 08:26:21 2004 +0000
+++ b/m4/fsusage.m4	Sun Apr 18 18:12:50 2004 +0000
@@ -1,4 +1,4 @@
-#serial 11
+#serial 12
 
 # From fileutils/configure.in
 
@@ -6,7 +6,7 @@
 [
   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 @@
 # 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 @@
 # 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 @@
 ])
 
 
-# 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
 ])
--- a/m4/ftruncate.m4	Fri Apr 16 08:26:21 2004 +0000
+++ b/m4/ftruncate.m4	Sun Apr 18 18:12:50 2004 +0000
@@ -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
--- a/m4/getdate.m4	Fri Apr 16 08:26:21 2004 +0000
+++ b/m4/getdate.m4	Sun Apr 18 18:12:50 2004 +0000
@@ -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_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)
--- a/m4/getgroups.m4	Fri Apr 16 08:26:21 2004 +0000
+++ b/m4/getgroups.m4	Sun Apr 18 18:12:50 2004 +0000
@@ -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
--- a/m4/gettext.m4	Fri Apr 16 08:26:21 2004 +0000
+++ b/m4/gettext.m4	Sun Apr 18 18:12:50 2004 +0000
@@ -1,4 +1,4 @@
-# gettext.m4 serial 28 (gettext-0.13)
+# gettext.m4 serial 29
 dnl Copyright (C) 1995-2003 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
@@ -358,19 +358,19 @@
   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
--- a/m4/glibc21.m4	Fri Apr 16 08:26:21 2004 +0000
+++ b/m4/glibc21.m4	Sun Apr 18 18:12:50 2004 +0000
@@ -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 @@
 # 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,
--- a/m4/group-member.m4	Fri Apr 16 08:26:21 2004 +0000
+++ b/m4/group-member.m4	Sun Apr 18 18:12:50 2004 +0000
@@ -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])
--- a/m4/human.m4	Fri Apr 16 08:26:21 2004 +0000
+++ b/m4/human.m4	Sun Apr 18 18:12:50 2004 +0000
@@ -1,4 +1,4 @@
-# human.m4 serial 4
+# human.m4 serial 5
 dnl Copyright (C) 2002, 2003 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
@@ -10,7 +10,7 @@
 [
   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)
--- a/m4/intmax.m4	Fri Apr 16 08:26:21 2004 +0000
+++ b/m4/intmax.m4	Sun Apr 18 18:12:50 2004 +0000
@@ -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,11 +12,11 @@
 
 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> 
+#include <stddef.h>
 #include <stdlib.h>
 #if HAVE_STDINT_H_WITH_UINTMAX
 #include <stdint.h>
--- a/m4/intmax_t.m4	Fri Apr 16 08:26:21 2004 +0000
+++ b/m4/intmax_t.m4	Sun Apr 18 18:12:50 2004 +0000
@@ -1,4 +1,4 @@
-# intmax_t.m4 serial 2
+# intmax_t.m4 serial 3
 dnl Copyright (C) 1997-2003 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,14 +13,14 @@
 # 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 @@
 
 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_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'
--- a/m4/inttostr.m4	Fri Apr 16 08:26:21 2004 +0000
+++ b/m4/inttostr.m4	Sun Apr 18 18:12:50 2004 +0000
@@ -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 @@
 
 # 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])
   :
 ])
--- a/m4/inttypes.m4	Fri Apr 16 08:26:21 2004 +0000
+++ b/m4/inttypes.m4	Sun Apr 18 18:12:50 2004 +0000
@@ -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
--- a/m4/inttypes_h.m4	Fri Apr 16 08:26:21 2004 +0000
+++ b/m4/inttypes_h.m4	Sun Apr 18 18:12:50 2004 +0000
@@ -11,7 +11,7 @@
 # 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(
--- a/m4/jm-macros.m4	Fri Apr 16 08:26:21 2004 +0000
+++ b/m4/jm-macros.m4	Sun Apr 18 18:12:50 2004 +0000
@@ -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 @@
   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_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)
@@ -130,9 +130,9 @@
     ])
 
   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])
@@ -140,7 +140,7 @@
   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),
@@ -154,7 +154,7 @@
 # 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  \
@@ -198,7 +198,7 @@
 ])
 
 # 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
@@ -217,7 +217,7 @@
   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(
@@ -249,8 +249,8 @@
   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])
--- a/m4/jm-winsz1.m4	Fri Apr 16 08:26:21 2004 +0000
+++ b/m4/jm-winsz1.m4	Sun Apr 18 18:12:50 2004 +0000
@@ -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_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,
--- a/m4/jm-winsz2.m4	Fri Apr 16 08:26:21 2004 +0000
+++ b/m4/jm-winsz2.m4	Sun Apr 18 18:12:50 2004 +0000
@@ -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
--- a/m4/lchown.m4	Fri Apr 16 08:26:21 2004 +0000
+++ b/m4/lchown.m4	Sun Apr 18 18:12:50 2004 +0000
@@ -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)
--- a/m4/lib-check.m4	Fri Apr 16 08:26:21 2004 +0000
+++ b/m4/lib-check.m4	Sun Apr 18 18:12:50 2004 +0000
@@ -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.
--- a/m4/link-follow.m4	Fri Apr 16 08:26:21 2004 +0000
+++ b/m4/link-follow.m4	Sun Apr 18 18:12:50 2004 +0000
@@ -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],
--- a/m4/localcharset.m4	Fri Apr 16 08:26:21 2004 +0000
+++ b/m4/localcharset.m4	Sun Apr 18 18:12:50 2004 +0000
@@ -1,4 +1,4 @@
-# localcharset.m4 serial 1
+# localcharset.m4 serial 2
 dnl Copyright (C) 2002 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
@@ -15,5 +15,5 @@
 
   dnl Prerequisites of the lib/Makefile.am snippet.
   AC_REQUIRE([AC_CANONICAL_HOST])
-  AC_REQUIRE([jm_GLIBC21])
+  AC_REQUIRE([gl_GLIBC21])
 ])
--- a/m4/longlong.m4	Fri Apr 16 08:26:21 2004 +0000
+++ b/m4/longlong.m4	Sun Apr 18 18:12:50 2004 +0000
@@ -1,4 +1,4 @@
-# longlong.m4 serial 4
+# longlong.m4 serial 5
 dnl Copyright (C) 1999-2003 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
@@ -10,7 +10,7 @@
 
 # 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;],
--- a/m4/ls-mntd-fs.m4	Fri Apr 16 08:26:21 2004 +0000
+++ b/m4/ls-mntd-fs.m4	Sun Apr 18 18:12:50 2004 +0000
@@ -1,4 +1,4 @@
-#serial 14
+#serial 15
 
 dnl From Jim Meyering.
 dnl
@@ -6,8 +6,8 @@
 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)
--- a/m4/lstat.m4	Fri Apr 16 08:26:21 2004 +0000
+++ b/m4/lstat.m4	Sun Apr 18 18:12:50 2004 +0000
@@ -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 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).
--- a/m4/makepath.m4	Fri Apr 16 08:26:21 2004 +0000
+++ b/m4/makepath.m4	Sun Apr 18 18:12:50 2004 +0000
@@ -1,4 +1,4 @@
-# makepath.m4 serial 2
+# makepath.m4 serial 3
 dnl Copyright (C) 2002, 2003 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,5 +12,5 @@
   AC_REQUIRE([AC_FUNC_ALLOCA])
   AC_CHECK_HEADERS_ONCE(unistd.h)
   AC_REQUIRE([AC_HEADER_STAT])
-  AC_REQUIRE([jm_AFS])
+  AC_REQUIRE([gl_AFS])
 ])
--- a/m4/mbrtowc.m4	Fri Apr 16 08:26:21 2004 +0000
+++ b/m4/mbrtowc.m4	Sun Apr 18 18:12:50 2004 +0000
@@ -1,4 +1,4 @@
-# mbrtowc.m4 serial 5
+# mbrtowc.m4 serial 6
 dnl Copyright (C) 2001-2002 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
@@ -8,10 +8,10 @@
 
 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,
--- a/m4/mbswidth.m4	Fri Apr 16 08:26:21 2004 +0000
+++ b/m4/mbswidth.m4	Sun Apr 18 18:12:50 2004 +0000
@@ -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_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([
--- a/m4/memchr.m4	Fri Apr 16 08:26:21 2004 +0000
+++ b/m4/memchr.m4	Sun Apr 18 18:12:50 2004 +0000
@@ -1,4 +1,4 @@
-# memchr.m4 serial 2
+# memchr.m4 serial 3
 dnl Copyright (C) 2002, 2003 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
@@ -10,11 +10,11 @@
 [
   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)
 ])
--- a/m4/memcmp.m4	Fri Apr 16 08:26:21 2004 +0000
+++ b/m4/memcmp.m4	Sun Apr 18 18:12:50 2004 +0000
@@ -1,4 +1,4 @@
-# memcmp.m4 serial 9
+# memcmp.m4 serial 10
 dnl Copyright (C) 2002, 2003 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
@@ -6,7 +6,7 @@
 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
--- a/m4/mkdtemp.m4	Fri Apr 16 08:26:21 2004 +0000
+++ b/m4/mkdtemp.m4	Sun Apr 18 18:12:50 2004 +0000
@@ -1,4 +1,4 @@
-# mkdtemp.m4 serial 2
+# mkdtemp.m4 serial 3
 dnl Copyright (C) 2001-2003 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
@@ -20,6 +20,6 @@
   AC_REQUIRE([AC_HEADER_STAT])
   AC_CHECK_HEADERS_ONCE(sys/time.h unistd.h)
   AC_CHECK_HEADERS(time.h)
-  AC_REQUIRE([jm_AC_TYPE_UINTMAX_T])
+  AC_REQUIRE([gl_AC_TYPE_UINTMAX_T])
   AC_CHECK_FUNCS(gettimeofday)
 ])
--- a/m4/mkstemp.m4	Fri Apr 16 08:26:21 2004 +0000
+++ b/m4/mkstemp.m4	Sun Apr 18 18:12:50 2004 +0000
@@ -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_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 @@
 ])
 
 # 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])
 ])
--- a/m4/mountlist.m4	Fri Apr 16 08:26:21 2004 +0000
+++ b/m4/mountlist.m4	Sun Apr 18 18:12:50 2004 +0000
@@ -1,4 +1,4 @@
-# mountlist.m4 serial 2
+# mountlist.m4 serial 3
 dnl Copyright (C) 2002, 2003 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
@@ -8,7 +8,7 @@
 
 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 @@
   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
 ])
--- a/m4/nanosleep.m4	Fri Apr 16 08:26:21 2004 +0000
+++ b/m4/nanosleep.m4	Sun Apr 18 18:12:50 2004 +0000
@@ -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
 
--- a/m4/path-concat.m4	Fri Apr 16 08:26:21 2004 +0000
+++ b/m4/path-concat.m4	Sun Apr 18 18:12:50 2004 +0000
@@ -1,4 +1,4 @@
-# path-concat.m4 serial 2
+# path-concat.m4 serial 3
 dnl Copyright (C) 2002, 2003 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
@@ -9,7 +9,7 @@
 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)
 ])
--- a/m4/perl.m4	Fri Apr 16 08:26:21 2004 +0000
+++ b/m4/perl.m4	Sun Apr 18 18:12:50 2004 +0000
@@ -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?
--- a/m4/prereq.m4	Fri Apr 16 08:26:21 2004 +0000
+++ b/m4/prereq.m4	Sun Apr 18 18:12:50 2004 +0000
@@ -1,13 +1,12 @@
 #serial 38
 
-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])
@@ -110,17 +109,17 @@
   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_XSTRTOIMAX])
-  AC_REQUIRE([jm_XSTRTOUMAX])
+  AC_REQUIRE([gl_FUNC_STAT])
+  AC_REQUIRE([gl_FUNC_UTIME])
+  AC_REQUIRE([gl_XSTRTOIMAX])
+  AC_REQUIRE([gl_XSTRTOUMAX])
   AC_REQUIRE([vb_FUNC_RENAME])
 ])
--- a/m4/putenv.m4	Fri Apr 16 08:26:21 2004 +0000
+++ b/m4/putenv.m4	Sun Apr 18 18:12:50 2004 +0000
@@ -1,4 +1,4 @@
-# putenv.m4 serial 7
+# putenv.m4 serial 8
 dnl Copyright (C) 2002, 2003 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
@@ -11,7 +11,7 @@
 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
--- a/m4/quotearg.m4	Fri Apr 16 08:26:21 2004 +0000
+++ b/m4/quotearg.m4	Sun Apr 18 18:12:50 2004 +0000
@@ -1,4 +1,4 @@
-# quotearg.m4 serial 1
+# quotearg.m4 serial 2
 dnl Copyright (C) 2002 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,5 +12,5 @@
   AC_CHECK_HEADERS_ONCE(wchar.h wctype.h)
   AC_CHECK_FUNCS_ONCE(iswprint mbsinit)
   AC_TYPE_MBSTATE_T
-  jm_FUNC_MBRTOWC
+  gl_FUNC_MBRTOWC
 ])
--- a/m4/regex.m4	Fri Apr 16 08:26:21 2004 +0000
+++ b/m4/regex.m4	Sun Apr 18 18:12:50 2004 +0000
@@ -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 @@
 		    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 @@
 )
 
 # 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
--- a/m4/stat.m4	Fri Apr 16 08:26:21 2004 +0000
+++ b/m4/stat.m4	Sun Apr 18 18:12:50 2004 +0000
@@ -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 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).
--- a/m4/stdint_h.m4	Fri Apr 16 08:26:21 2004 +0000
+++ b/m4/stdint_h.m4	Sun Apr 18 18:12:50 2004 +0000
@@ -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 @@
 # 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(
--- a/m4/strftime.m4	Fri Apr 16 08:26:21 2004 +0000
+++ b/m4/strftime.m4	Sun Apr 18 18:12:50 2004 +0000
@@ -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 @@
 
 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 @@
    [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
 ])
--- a/m4/strtoimax.m4	Fri Apr 16 08:26:21 2004 +0000
+++ b/m4/strtoimax.m4	Sun Apr 18 18:12:50 2004 +0000
@@ -1,4 +1,4 @@
-# strtoimax.m4 serial 3
+# strtoimax.m4 serial 4
 dnl Copyright (C) 2002-2003 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
@@ -31,7 +31,7 @@
 
 # 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])
 ])
--- a/m4/strtoll.m4	Fri Apr 16 08:26:21 2004 +0000
+++ b/m4/strtoll.m4	Sun Apr 18 18:12:50 2004 +0000
@@ -1,4 +1,4 @@
-# strtoll.m4 serial 1
+# strtoll.m4 serial 2
 dnl Copyright (C) 2002 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
@@ -10,7 +10,7 @@
 [
   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
--- a/m4/strtoull.m4	Fri Apr 16 08:26:21 2004 +0000
+++ b/m4/strtoull.m4	Sun Apr 18 18:12:50 2004 +0000
@@ -1,4 +1,4 @@
-# strtoull.m4 serial 1
+# strtoull.m4 serial 2
 dnl Copyright (C) 2002 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
@@ -10,7 +10,7 @@
 [
   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
--- a/m4/strtoumax.m4	Fri Apr 16 08:26:21 2004 +0000
+++ b/m4/strtoumax.m4	Sun Apr 18 18:12:50 2004 +0000
@@ -1,4 +1,4 @@
-# strtoumax.m4 serial 3
+# strtoumax.m4 serial 4
 dnl Copyright (C) 2002-2003 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
@@ -31,7 +31,7 @@
 
 # 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])
 ])
--- a/m4/timespec.m4	Fri Apr 16 08:26:21 2004 +0000
+++ b/m4/timespec.m4	Sun Apr 18 18:12:50 2004 +0000
@@ -1,4 +1,4 @@
-#serial 7
+#serial 8
 
 dnl From Jim Meyering
 
@@ -7,7 +7,7 @@
   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 @@
 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])
--- a/m4/uintmax_t.m4	Fri Apr 16 08:26:21 2004 +0000
+++ b/m4/uintmax_t.m4	Sun Apr 18 18:12:50 2004 +0000
@@ -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 @@
 # 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'
--- a/m4/ulonglong.m4	Fri Apr 16 08:26:21 2004 +0000
+++ b/m4/ulonglong.m4	Sun Apr 18 18:12:50 2004 +0000
@@ -1,4 +1,4 @@
-# ulonglong.m4 serial 3
+# ulonglong.m4 serial 4
 dnl Copyright (C) 1999-2003 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
@@ -10,7 +10,7 @@
 
 # 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;],
--- a/m4/unlink-busy.m4	Fri Apr 16 08:26:21 2004 +0000
+++ b/m4/unlink-busy.m4	Sun Apr 18 18:12:50 2004 +0000
@@ -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,
--- a/m4/unlocked-io.m4	Fri Apr 16 08:26:21 2004 +0000
+++ b/m4/unlocked-io.m4	Sun Apr 18 18:12:50 2004 +0000
@@ -1,4 +1,4 @@
-#serial 8 -*- autoconf -*-
+#serial 9
 
 dnl From Jim Meyering.
 dnl
@@ -8,7 +8,7 @@
 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.
--- a/m4/uptime.m4	Fri Apr 16 08:26:21 2004 +0000
+++ b/m4/uptime.m4	Sun Apr 18 18:12:50 2004 +0000
@@ -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,
--- a/m4/utimbuf.m4	Fri Apr 16 08:26:21 2004 +0000
+++ b/m4/utimbuf.m4	Sun Apr 18 18:12:50 2004 +0000
@@ -1,4 +1,4 @@
-#serial 5
+#serial 6
 
 dnl From Jim Meyering
 
@@ -6,7 +6,7 @@
 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])
--- a/m4/utime.m4	Fri Apr 16 08:26:21 2004 +0000
+++ b/m4/utime.m4	Sun Apr 18 18:12:50 2004 +0000
@@ -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([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
 ])
--- a/m4/utimes-null.m4	Fri Apr 16 08:26:21 2004 +0000
+++ b/m4/utimes-null.m4	Sun Apr 18 18:12:50 2004 +0000
@@ -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([
--- a/m4/vasnprintf.m4	Fri Apr 16 08:26:21 2004 +0000
+++ b/m4/vasnprintf.m4	Sun Apr 18 18:12:50 2004 +0000
@@ -1,4 +1,4 @@
-# vasnprintf.m4 serial 3
+# vasnprintf.m4 serial 4
 dnl Copyright (C) 2002-2003 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
@@ -24,7 +24,7 @@
 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 @@
 # 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_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])
--- a/m4/xstrtoimax.m4	Fri Apr 16 08:26:21 2004 +0000
+++ b/m4/xstrtoimax.m4	Sun Apr 18 18:12:50 2004 +0000
@@ -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])
 ])
--- a/m4/xstrtol.m4	Fri Apr 16 08:26:21 2004 +0000
+++ b/m4/xstrtol.m4	Sun Apr 18 18:12:50 2004 +0000
@@ -1,4 +1,4 @@
-# xstrtol.m4 serial 3
+# xstrtol.m4 serial 4
 dnl Copyright (C) 2002, 2003 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
@@ -15,8 +15,8 @@
 # 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.
--- a/m4/xstrtoumax.m4	Fri Apr 16 08:26:21 2004 +0000
+++ b/m4/xstrtoumax.m4	Sun Apr 18 18:12:50 2004 +0000
@@ -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])
 ])
--- a/modules/assert	Fri Apr 16 08:26:21 2004 +0000
+++ b/modules/assert	Sun Apr 18 18:12:50 2004 +0000
@@ -7,7 +7,7 @@
 Depends-on:
 
 configure.ac:
-jm_ASSERT
+gl_ASSERT
 
 Makefile.am:
 
--- a/modules/chown	Fri Apr 16 08:26:21 2004 +0000
+++ b/modules/chown	Sun Apr 18 18:12:50 2004 +0000
@@ -8,7 +8,7 @@
 Depends-on:
 
 configure.ac:
-jm_FUNC_CHOWN
+gl_FUNC_CHOWN
 
 Makefile.am:
 
--- a/modules/fpending	Fri Apr 16 08:26:21 2004 +0000
+++ b/modules/fpending	Sun Apr 18 18:12:50 2004 +0000
@@ -9,7 +9,7 @@
 Depends-on:
 
 configure.ac:
-jm_FUNC_FPENDING
+gl_FUNC_FPENDING
 
 Makefile.am:
 lib_SOURCES += __fpending.h
--- a/modules/ftruncate	Fri Apr 16 08:26:21 2004 +0000
+++ b/modules/ftruncate	Sun Apr 18 18:12:50 2004 +0000
@@ -8,7 +8,7 @@
 Depends-on:
 
 configure.ac:
-jm_FUNC_FTRUNCATE
+gl_FUNC_FTRUNCATE
 
 Makefile.am:
 
--- a/modules/getgroups	Fri Apr 16 08:26:21 2004 +0000
+++ b/modules/getgroups	Sun Apr 18 18:12:50 2004 +0000
@@ -9,7 +9,7 @@
 xalloc
 
 configure.ac:
-jm_FUNC_GETGROUPS
+gl_FUNC_GETGROUPS
 
 Makefile.am:
 
--- a/modules/group-member	Fri Apr 16 08:26:21 2004 +0000
+++ b/modules/group-member	Sun Apr 18 18:12:50 2004 +0000
@@ -11,7 +11,7 @@
 stdbool
 
 configure.ac:
-jm_FUNC_GROUP_MEMBER
+gl_FUNC_GROUP_MEMBER
 
 Makefile.am:
 lib_SOURCES += group-member.h
--- a/modules/lchown	Fri Apr 16 08:26:21 2004 +0000
+++ b/modules/lchown	Sun Apr 18 18:12:50 2004 +0000
@@ -10,7 +10,7 @@
 chown
 
 configure.ac:
-jm_FUNC_LCHOWN
+gl_FUNC_LCHOWN
 
 Makefile.am:
 lib_SOURCES += lchown.h
--- a/modules/lstat	Fri Apr 16 08:26:21 2004 +0000
+++ b/modules/lstat	Sun Apr 18 18:12:50 2004 +0000
@@ -10,7 +10,7 @@
 xalloc
 
 configure.ac:
-jm_FUNC_LSTAT
+gl_FUNC_LSTAT
 
 Makefile.am:
 
--- a/modules/memcmp	Fri Apr 16 08:26:21 2004 +0000
+++ b/modules/memcmp	Sun Apr 18 18:12:50 2004 +0000
@@ -8,7 +8,7 @@
 Depends-on:
 
 configure.ac:
-jm_FUNC_MEMCMP
+gl_FUNC_MEMCMP
 
 Makefile.am:
 
--- a/modules/nanosleep	Fri Apr 16 08:26:21 2004 +0000
+++ b/modules/nanosleep	Sun Apr 18 18:12:50 2004 +0000
@@ -9,7 +9,7 @@
 timespec
 
 configure.ac:
-jm_FUNC_NANOSLEEP
+gl_FUNC_NANOSLEEP
 
 Makefile.am:
 
--- a/modules/putenv	Fri Apr 16 08:26:21 2004 +0000
+++ b/modules/putenv	Sun Apr 18 18:12:50 2004 +0000
@@ -8,7 +8,7 @@
 Depends-on:
 
 configure.ac:
-jm_FUNC_PUTENV
+gl_FUNC_PUTENV
 
 Makefile.am:
 
--- a/modules/stat	Fri Apr 16 08:26:21 2004 +0000
+++ b/modules/stat	Sun Apr 18 18:12:50 2004 +0000
@@ -8,7 +8,7 @@
 Depends-on:
 
 configure.ac:
-jm_FUNC_STAT
+gl_FUNC_STAT
 
 Makefile.am:
 
--- a/modules/strftime	Fri Apr 16 08:26:21 2004 +0000
+++ b/modules/strftime	Sun Apr 18 18:12:50 2004 +0000
@@ -12,7 +12,7 @@
 tzset
 
 configure.ac:
-jm_FUNC_GNU_STRFTIME
+gl_FUNC_GNU_STRFTIME
 
 Makefile.am:
 lib_SOURCES += strftime.c
--- a/modules/unlocked-io	Fri Apr 16 08:26:21 2004 +0000
+++ b/modules/unlocked-io	Sun Apr 18 18:12:50 2004 +0000
@@ -9,7 +9,7 @@
 extensions
 
 configure.ac:
-jm_FUNC_GLIBC_UNLOCKED_IO
+gl_FUNC_GLIBC_UNLOCKED_IO
 
 Makefile.am:
 lib_SOURCES += unlocked-io.h
--- a/modules/utime	Fri Apr 16 08:26:21 2004 +0000
+++ b/modules/utime	Sun Apr 18 18:12:50 2004 +0000
@@ -13,7 +13,7 @@
 full-write
 
 configure.ac:
-jm_FUNC_UTIME
+gl_FUNC_UTIME
 
 Makefile.am:
 
--- a/modules/xstrtoimax	Fri Apr 16 08:26:21 2004 +0000
+++ b/modules/xstrtoimax	Sun Apr 18 18:12:50 2004 +0000
@@ -11,7 +11,7 @@
 strtoimax
 
 configure.ac:
-jm_XSTRTOIMAX
+gl_XSTRTOIMAX
 
 Makefile.am:
 lib_SOURCES += xstrtoimax.c
--- a/modules/xstrtoumax	Fri Apr 16 08:26:21 2004 +0000
+++ b/modules/xstrtoumax	Sun Apr 18 18:12:50 2004 +0000
@@ -10,7 +10,7 @@
 strtoumax
 
 configure.ac:
-jm_XSTRTOUMAX
+gl_XSTRTOUMAX
 
 Makefile.am:
 lib_SOURCES += xstrtoumax.c