[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gnulib changes to make it easier for coreutils to use gnulib-tool
From: |
Paul Eggert |
Subject: |
gnulib changes to make it easier for coreutils to use gnulib-tool |
Date: |
Sun, 20 Aug 2006 23:15:18 -0700 |
User-agent: |
Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux) |
I am changing coreutils so that it will use gnulib-tool. As the first
part of this project I'm installing the following changes into gnulib.
I've tried to keep the changes "minimal", but that's a relative term
when talking about a change of this magnitude. Please let me know if
it causes problems.
Soon I'd like to fix the AC_LIBSOURCES problem that has been remarked
upon several times on this list, e.g., "AC_LIBSOURCES considered harmful"
<http://lists.gnu.org/archive/html/bug-gnulib/2005-09/msg00030.html>.
Is this as simple as removing the AC_SOURCES lines in the .m4 files,
and replacing them with Files: lines in the modules file, or is there
something more complicated than that?
2006-08-20 Paul Eggert <address@hidden>
Add and change modules to make it easier for coreutils to use
gnulib-tool.
* lib/cycle-check.h: Include <stdint.h> unconditionally, since we
now assume the stdint module. Do not include inttypes.h.
* lib/fsusage.h: Likewise.
* lib/getndelim2.c: Likewise.
* lib/human.h: Likewise.
* lib/inttostr.h: Likewise.
* lib/obstack.c: Likewise.
* lib/regex_internal.h: Likewise.
* lib/tempname.c: Likewise.
* lib/utimecmp.c: Likewise.
* lib/xstrtol.h: Likewise.
* lib/stat_.h: Fix typo: HAVE_FUNC_LSTAT -> HAVE_LSTAT.
* lib/strtoimax.c: Adjust to macro name changes in Autoconf,
e.g., HAVE_LONG_LONG -> HAVE_LONG_LONG_INT.
* lib/xtime.h: Likewise.
Remove files that are no longer needed by their respective modules.
* m4/obstack.m4: Remove.
* m4/strerror_r.m4: Remove.
* m4/uint32_t.m4: Remove.
* m4/uintptr_t.m4: Remove.
* m4/ullong_max.m4: Remove.
* m4/xstrtoimax.m4: Remove.
* m4/xstrtoumax.m4: Remove.
* cycle-check.m4 (gl_CYCLE_CHECK): Do not require gl_AC_TYPE_UINTMAX_T,
gl_STRUCT_DEV_INO, or gl_SAME_INODE, since gnulib dependencies now
capture this.
* cycle-check.m4 (gl_CYCLE_CHECK):
Do not use AC_LIBSOURCES, since gnulib modules now do this.
* fsusage.m4 (gl_FSUSAGE): Likewise.
* human.m4 (gl_HUMAN): Likewise.
* inttostr.m4 (gl_INTTOSTR): Likewise.
* xstrtol.m4 (gl_XSTRTOL): Likewise.
* filemode.m4 (gl_FILEMODE): Require AC_STRUCT_ST_DM_MODE.
* filemode.m4 (gl_PREREQ_FSUSAGE_EXTRA): Do not require
gl_AC_TYPE_INTMAX_T or gl_AC_TYPE_UINTMAX_T, since we now require
stdint.
* human.m4 (gl_HUMAN): Likewise.
* inttostr.m4 (gl_PREREQ_INTTOSTR): Likewise.
* mkstemp.m4 (gl_PREREQ_TEMPNAME): Likewise.
* strtoimax.m4 (gl_PREREQ_STRTOIMAX): Likewise.
* strtoumax.m4 (gl_PREREQ_STRTOUMAX): Likewise.
* xstrtol (gl_XSTRTOL): Likewise.
* gethrxtime.m4 (gl_XTIME): gl_AC_TYPE_LONG_LONG ->
AC_TYPE_LONG_LONG_INT.
* strtoimax.m4 (gl_PREREQ_STRTOIMAX): Likewise.
* strtoll.m4 (gl_FUNC_STRTOLL): Likewise.
* strtoull.m4 (gl_FUNC_STRTOULL): Likewise, for unsigned long.
* strtoumax.m4 (gl_PREREQ_STRTOUMAX): Likewise.
* human.m4 (gl_HUMAN): Do not require AM_STDBOOL_H since we depend
on stdbool.
* xstrtol.m4 (gl_PREREQ_XSTRTOL_H, gl_PREREQ_XSTRTOL): Remove.
(gl_PREREQ_XSTRTOUL): Remove.
* ls-mntd-fs.m4 (gl_LIST_MOUNTED_FILE_SYSTEMS): Check for hasmntopt.
* posixver.m4: Fix comment since head -1 now works even in POSIX mode.
* modules/backupfile (Files): Remove m4/d-ino.m4.
(Depends-on): Add d-ino.
* modules/cycle-check (Depends-on): Add stdint.
(lib_SOURCES): Add cycle-check.h.
* modules/d-ino: New module.
* modules/d-type: New module.
* modules/error (Files): Remove m4/strerror_r.m4.
* modules/filemode (Files): Add m4/st_dm_mode.m4.
* modules/fsuage (Files): Remove m4/ulonglong.m4, m4/stdint_h.m4,
m4/inttypes_h.m4, m4/uintmax_t.m4.
(Depends-on): Add stdint.
(lib_SOURCES): Add fsusage.h.
* modules/getcwd (Files): Remove d-ino.m4.
(Depends-on): Add d-ino.
* modules/getndelim2 (Depends-on): Add stdint.
* modules/glob (Files): Remove m4/d-type.m4.
(Depends-on): Add d-type.
* modules/host-os: New module.
* modules/human (Files): Remove m4/ulonglong.m4, m4/stdint_h.m4,
m4/inttypes_h.m4, m4/uintmax_t.m4.
* Depends-on: Add stdint.
(lib_SOURCES): Add human.h.
* modules/inttostr (Files): Remove m4/intmax_t.m4,
m4/inttostr.m4, m4/inttypes_h.m4, m4/longlong.m4, m4/stdint_h.m4,
m4/uintmax_t.m4, m4/ulonglong.m4.
(Depends-on): Add stdint.
(EXTRA_DIST): Add inttostr.h.
* modules/lchmod: New module.
* modules/link-follow: New module.
* modules/mkdir-p (Files): Remove lib/lchmod.h, m4/lchmod.m4.
(Depends-on): Add lchmod.
* modules/mkstemp (Files): Remove m4/ulonglong.m4,
m4/stdint_h.m4, m4/inttypes_h.m4, m4/uintmax_t.m4.
(Depends-on): Add stdint.
* modules/obstack (Files): Remove m4/inttypes_h.m4, m4/obstack.m4,
m4/stdint_h.m4, m4/uintmax_t.m4, m4/ulonglong.m4.
(Depends-on): Add stdint.
(configure.ac): Change gl_OBSTACK to AC_FUNC_OBSTACK.
* modules/perl: New module.
* modules/regex (Depends-on): Add stdint.
* modules/rmdir-errno: New module.
* modules/strtoimax (Files): Remove m4/stdint_h.m4, m4/inttypes_h.m4,
m4/intmax_t.m4.
(Depends-on): Add stdint.
* modules/strtoumax (Files): Remove m4/stdint_h.m4, m4/inttypes_h.m4,
m4/uintmax_t.m4.
(Depends-on): Add stdint.
* modules/unlink-busy: New module.
* modules/utimecmp (Depends-on): Add stdint.
* modules/uptime: New module.
* modules/winsz-ioctl: New module.
* modules/winsz-termios: New module.
* modules/xnanosleep (Depends-on): Add nanosleep.
* modules/ullong_max: Remove.
* modules/xstrtoimax (Files): Remove m4/xstrtoimax.m4.
(configure.ac): Remove gl_XSTRTOIMAX; no action needed now.
* modules/xstrtol (Files): Remove m4/ulonglong.m4, m4/longlong.m4,
m4/stdint_h.m4, m4/inttypes_h.m4, m4/uintmax_t.m4, m4/intmax_t.m4.
(Depends-on): Add inttypes.
(lib_SOURCES): Add xstrtol.h.
* modules/xstrtoumax (Files): Remove m4/xstrtoumax.m4.
(configure.ac): Remove gl_XSTRTOUMAX; no action needed now.
* MODULES.html.sh: Move 'assert' into the assert section.
Move 'dummy' into the linking section.
Remove ullong_max.
Add section for compatibility checks for POSIX:2001 functions,
and put d-ino, d-type, link-follow, rmdir-errno, unlink-busy,
winsz-ioctl, and winsz-termios into it.
Add lchmod.
Add top-level Misc section and put host-os, perl, and uptime
into it.
Index: MODULES.html.sh
===================================================================
RCS file: /cvsroot/gnulib/gnulib/MODULES.html.sh,v
retrieving revision 1.136
diff -p -u -r1.136 MODULES.html.sh
--- MODULES.html.sh 18 Aug 2006 19:37:45 -0000 1.136
+++ MODULES.html.sh 21 Aug 2006 06:06:31 -0000
@@ -1397,8 +1397,6 @@ func_all_modules ()
func_echo "$element"
func_begin_table
- func_module assert
- func_module dummy
func_module exit
func_module atexit
func_module strtod
@@ -1430,6 +1428,7 @@ func_all_modules ()
func_echo "$element"
func_begin_table
+ func_module assert
func_module verify
func_end_table
@@ -1673,7 +1672,6 @@ func_all_modules ()
func_echo "$element"
func_begin_table
- func_module ullong_max
func_module size_max
func_end_table
@@ -1827,6 +1825,20 @@ func_all_modules ()
func_module wcwidth
func_end_table
+ element="Compatibility checks for POSIX:2001 functions"
+ func_section_wrap posix_compat
+ func_wrap H2
+ func_echo "$element"
+
+ func_module d-ino
+ func_module d-type
+ func_module link-follow
+ func_module rmdir-errno
+ func_module unlink-busy
+ func_module winsz-ioctl
+ func_module winsz-termios
+ func_end_table
+
element="Enhancements for POSIX:2001 functions"
func_section_wrap posix_enh
func_wrap H2
@@ -1881,6 +1893,7 @@ func_all_modules ()
func_module fts
func_module fts-lgpl
func_module isdir
+ func_module lchmod
func_module lchown
func_module mkancesdirs
func_module mkdir-p
@@ -2085,6 +2098,7 @@ func_all_modules ()
func_echo "$element"
func_begin_table
+ func_module dummy
func_module ldd
func_module lib-ignore
func_end_table
@@ -2098,6 +2112,17 @@ func_all_modules ()
func_module fdl
func_module gendocs
func_end_table
+
+ element="Misc"
+ func_section_wrap misc
+ func_wrap H2
+ func_echo "$element"
+
+ func_begin_table
+ func_module host-os
+ func_module perl
+ func_module uptime
+ func_end_table
}
Index: lib/cycle-check.h
===================================================================
RCS file: /cvsroot/gnulib/gnulib/lib/cycle-check.h,v
retrieving revision 1.4
diff -p -u -r1.4 cycle-check.h
--- lib/cycle-check.h 4 Jul 2006 05:59:05 -0000 1.4
+++ lib/cycle-check.h 21 Aug 2006 06:06:31 -0000
@@ -22,12 +22,7 @@
#ifndef CYCLE_CHECK_H
# define CYCLE_CHECK_H 1
-# if HAVE_INTTYPES_H
-# include <inttypes.h>
-# endif
-# if HAVE_STDINT_H
-# include <stdint.h>
-# endif
+# include <stdint.h>
# include <stdbool.h>
# include "dev-ino.h"
# include "same-inode.h"
Index: lib/fsusage.h
===================================================================
RCS file: /cvsroot/gnulib/gnulib/lib/fsusage.h,v
retrieving revision 1.13
diff -p -u -r1.13 fsusage.h
--- lib/fsusage.h 3 Jul 2006 08:32:46 -0000 1.13
+++ lib/fsusage.h 21 Aug 2006 06:06:31 -0000
@@ -22,12 +22,7 @@
#if !defined FSUSAGE_H_
# define FSUSAGE_H_
-# if HAVE_INTTYPES_H
-# include <inttypes.h>
-# endif
-# if HAVE_STDINT_H
-# include <stdint.h>
-# endif
+# include <stdint.h>
# include <stdbool.h>
struct fs_usage
Index: lib/getndelim2.c
===================================================================
RCS file: /cvsroot/gnulib/gnulib/lib/getndelim2.c,v
retrieving revision 1.11
diff -p -u -r1.11 getndelim2.c
--- lib/getndelim2.c 19 Sep 2005 17:28:14 -0000 1.11
+++ lib/getndelim2.c 21 Aug 2006 06:06:31 -0000
@@ -1,8 +1,8 @@
/* getndelim2 - Read a line from a stream, stopping at one of 2 delimiters,
with bounded memory allocation.
- Copyright (C) 1993, 1996, 1997, 1998, 2000, 2003, 2004 Free Software
- Foundation, Inc.
+ Copyright (C) 1993, 1996, 1997, 1998, 2000, 2003, 2004, 2006 Free
+ Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -34,21 +34,7 @@
#endif
#include <limits.h>
-#if HAVE_INTTYPES_H
-# include <inttypes.h>
-#endif
-#if HAVE_STDINT_H
-# include <stdint.h>
-#endif
-#ifndef PTRDIFF_MAX
-# define PTRDIFF_MAX ((ptrdiff_t) (SIZE_MAX / 2))
-#endif
-#ifndef SIZE_MAX
-# define SIZE_MAX ((size_t) -1)
-#endif
-#ifndef SSIZE_MAX
-# define SSIZE_MAX ((ssize_t) (SIZE_MAX / 2))
-#endif
+#include <stdint.h>
/* The maximum value that getndelim2 can return without suffering from
overflow problems, either internally (because of pointer
Index: lib/human.h
===================================================================
RCS file: /cvsroot/gnulib/gnulib/lib/human.h,v
retrieving revision 1.14
diff -p -u -r1.14 human.h
--- lib/human.h 23 Sep 2005 04:15:13 -0000 1.14
+++ lib/human.h 21 Aug 2006 06:06:31 -0000
@@ -1,7 +1,7 @@
/* human.h -- print human readable file size
- Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
- Free Software Foundation, Inc.
+ Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
+ 2005, 2006 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -24,10 +24,7 @@
# include <limits.h>
# include <stdbool.h>
-
-# if HAVE_STDINT_H
-# include <stdint.h>
-# endif
+# include <stdint.h>
# include <unistd.h>
/* A conservative bound on the maximum length of a human-readable string.
Index: lib/inttostr.h
===================================================================
RCS file: /cvsroot/gnulib/gnulib/lib/inttostr.h,v
retrieving revision 1.6
diff -p -u -r1.6 inttostr.h
--- lib/inttostr.h 23 Sep 2005 04:15:13 -0000 1.6
+++ lib/inttostr.h 21 Aug 2006 06:06:31 -0000
@@ -1,6 +1,7 @@
/* inttostr.h -- convert integers to printable strings
- Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
+ Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006 Free Software
+ Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -18,13 +19,7 @@
/* Written by Paul Eggert */
-#if HAVE_INTTYPES_H
-# include <inttypes.h>
-#endif
-#if HAVE_STDINT_H
-# include <stdint.h>
-#endif
-
+#include <stdint.h>
#include <sys/types.h>
#include "intprops.h"
Index: lib/obstack.c
===================================================================
RCS file: /cvsroot/gnulib/gnulib/lib/obstack.c,v
retrieving revision 1.32
diff -p -u -r1.32 obstack.c
--- lib/obstack.c 14 Oct 2005 23:23:50 -0000 1.32
+++ lib/obstack.c 21 Aug 2006 06:06:31 -0000
@@ -1,8 +1,8 @@
/* obstack.c - subroutines used implicitly by object stack macros
Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1996, 1997,
- 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation,
- Inc.
+ 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software
+ Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -55,13 +55,7 @@
#ifndef ELIDE_CODE
-
-# if HAVE_INTTYPES_H
-# include <inttypes.h>
-# endif
-# if HAVE_STDINT_H || defined _LIBC
-# include <stdint.h>
-# endif
+# include <stdint.h>
/* Determine default alignment. */
union fooround
Index: lib/regex_internal.h
===================================================================
RCS file: /cvsroot/gnulib/gnulib/lib/regex_internal.h,v
retrieving revision 1.23
diff -p -u -r1.23 regex_internal.h
--- lib/regex_internal.h 29 Jul 2006 00:03:36 -0000 1.23
+++ lib/regex_internal.h 21 Aug 2006 06:06:31 -0000
@@ -43,9 +43,7 @@
#if defined HAVE_WCTYPE_H || defined _LIBC
# include <wctype.h>
#endif /* HAVE_WCTYPE_H || _LIBC */
-#if defined HAVE_STDINT_H || defined _LIBC
-# include <stdint.h>
-#endif /* HAVE_STDINT_H || _LIBC */
+#include <stdint.h>
#if defined _LIBC
# include <bits/libc-lock.h>
#else
Index: lib/stat_.h
===================================================================
RCS file: /cvsroot/gnulib/gnulib/lib/stat_.h,v
retrieving revision 1.3
diff -p -u -r1.3 stat_.h
--- lib/stat_.h 4 Jul 2006 06:37:09 -0000 1.3
+++ lib/stat_.h 21 Aug 2006 06:06:31 -0000
@@ -26,7 +26,7 @@
/* mingw does not support symlinks, therefore it does not have lstat. But
without links, stat does just fine. */
-#if ! HAVE_FUNC_LSTAT
+#if ! HAVE_LSTAT
# define lstat stat
#endif
Index: lib/strtoimax.c
===================================================================
RCS file: /cvsroot/gnulib/gnulib/lib/strtoimax.c,v
retrieving revision 1.14
diff -p -u -r1.14 strtoimax.c
--- lib/strtoimax.c 18 Apr 2006 17:20:47 -0000 1.14
+++ lib/strtoimax.c 21 Aug 2006 06:06:31 -0000
@@ -1,6 +1,6 @@
/* Convert string representation of a number into an intmax_t value.
- Copyright (C) 1999, 2001, 2002, 2003, 2004 Free Software
+ Copyright (C) 1999, 2001, 2002, 2003, 2004, 2006 Free Software
Foundation, Inc.
This program is free software; you can redistribute it and/or modify
@@ -34,7 +34,7 @@
# ifndef HAVE_DECL_STRTOULL
"this configure-time declaration test was not run"
# endif
-# if !HAVE_DECL_STRTOULL && HAVE_UNSIGNED_LONG_LONG
+# if !HAVE_DECL_STRTOULL && HAVE_UNSIGNED_LONG_LONG_INT
unsigned long long strtoull (char const *, char **, int);
# endif
@@ -43,14 +43,14 @@ unsigned long long strtoull (char const
# ifndef HAVE_DECL_STRTOLL
"this configure-time declaration test was not run"
# endif
-# if !HAVE_DECL_STRTOLL && HAVE_UNSIGNED_LONG_LONG
+# if !HAVE_DECL_STRTOLL && HAVE_UNSIGNED_LONG_LONG_INT
long long strtoll (char const *, char **, int);
# endif
#endif
#ifdef UNSIGNED
-# undef HAVE_LONG_LONG
-# define HAVE_LONG_LONG HAVE_UNSIGNED_LONG_LONG
+# undef HAVE_LONG_LONG_INT
+# define HAVE_LONG_LONG_INT HAVE_UNSIGNED_LONG_LONG_INT
# define INT uintmax_t
# define strtoimax strtoumax
# define strtol strtoul
@@ -62,7 +62,7 @@ long long strtoll (char const *, char **
INT
strtoimax (char const *ptr, char **endptr, int base)
{
-#if HAVE_LONG_LONG
+#if HAVE_LONG_LONG_INT
verify (sizeof (INT) == sizeof (long int)
|| sizeof (INT) == sizeof (long long int));
Index: lib/tempname.c
===================================================================
RCS file: /cvsroot/gnulib/gnulib/lib/tempname.c,v
retrieving revision 1.18
diff -p -u -r1.18 tempname.c
--- lib/tempname.c 25 May 2006 21:55:35 -0000 1.18
+++ lib/tempname.c 21 Aug 2006 06:06:31 -0000
@@ -53,13 +53,7 @@
# include <sys/time.h>
#endif
-#if HAVE_STDINT_H || _LIBC
-# include <stdint.h>
-#endif
-#if HAVE_INTTYPES_H
-# include <inttypes.h>
-#endif
-
+#include <stdint.h>
#include <unistd.h>
#include <sys/stat.h>
Index: lib/utimecmp.c
===================================================================
RCS file: /cvsroot/gnulib/gnulib/lib/utimecmp.c,v
retrieving revision 1.6
diff -p -u -r1.6 utimecmp.c
--- lib/utimecmp.c 2 Oct 2005 22:44:15 -0000 1.6
+++ lib/utimecmp.c 21 Aug 2006 06:06:31 -0000
@@ -1,6 +1,6 @@
/* utimecmp.c -- compare file time stamps
- Copyright (C) 2004, 2005 Free Software Foundation, Inc.
+ Copyright (C) 2004, 2005, 2006 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -24,15 +24,9 @@
#include "utimecmp.h"
-#if HAVE_INTTYPES_H
-# include <inttypes.h>
-#endif
-#if HAVE_STDINT_H
-# include <stdint.h>
-#endif
-
#include <limits.h>
#include <stdbool.h>
+#include <stdint.h>
#include <stdlib.h>
#include "hash.h"
#include "intprops.h"
Index: lib/xstrtol.h
===================================================================
RCS file: /cvsroot/gnulib/gnulib/lib/xstrtol.h,v
retrieving revision 1.20
diff -p -u -r1.20 xstrtol.h
--- lib/xstrtol.h 14 May 2005 06:03:58 -0000 1.20
+++ lib/xstrtol.h 21 Aug 2006 06:06:31 -0000
@@ -1,7 +1,7 @@
/* A more useful interface to strtol.
- Copyright (C) 1995, 1996, 1998, 1999, 2001, 2002, 2003, 2004 Free
- Software Foundation, Inc.
+ Copyright (C) 1995, 1996, 1998, 1999, 2001, 2002, 2003, 2004, 2006
+ Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -22,12 +22,7 @@
# include "exitfail.h"
-# if HAVE_INTTYPES_H
-# include <inttypes.h>
-# endif
-# if HAVE_STDINT_H
-# include <stdint.h>
-# endif
+# include <inttypes.h>
# ifndef _STRTOL_ERROR
enum strtol_error
Index: lib/xtime.h
===================================================================
RCS file: /cvsroot/gnulib/gnulib/lib/xtime.h,v
retrieving revision 1.5
diff -p -u -r1.5 xtime.h
--- lib/xtime.h 3 Jan 2006 23:20:14 -0000 1.5
+++ lib/xtime.h 21 Aug 2006 06:06:31 -0000
@@ -25,7 +25,7 @@
type that is a count of nanoseconds -- except for obsolescent hosts
without sufficiently-wide integers, where it is a count of
seconds. */
-# if HAVE_LONG_LONG
+# if HAVE_LONG_LONG_INT
typedef long long int xtime_t;
# define XTIME_PRECISION 1000000000
# else
Index: m4/cycle-check.m4
===================================================================
RCS file: /cvsroot/gnulib/gnulib/m4/cycle-check.m4,v
retrieving revision 1.2
diff -p -u -r1.2 cycle-check.m4
--- m4/cycle-check.m4 10 Aug 2006 15:55:25 -0000 1.2
+++ m4/cycle-check.m4 21 Aug 2006 06:06:32 -0000
@@ -1,4 +1,4 @@
-#serial 3
+#serial 4
dnl Copyright (C) 2005, 2006 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
@@ -6,11 +6,5 @@ dnl with or without modifications, as lo
AC_DEFUN([gl_CYCLE_CHECK],
[
- AC_LIBSOURCES([cycle-check.c, cycle-check.h])
AC_LIBOBJ([cycle-check])
-
- dnl Prerequisites.
- AC_REQUIRE([gl_AC_TYPE_UINTMAX_T])
- AC_REQUIRE([gl_STRUCT_DEV_INO])
- AC_REQUIRE([gl_SAME_INODE])
])
Index: m4/filemode.m4
===================================================================
RCS file: /cvsroot/gnulib/gnulib/m4/filemode.m4,v
retrieving revision 1.5
diff -p -u -r1.5 filemode.m4
--- m4/filemode.m4 3 Jul 2006 08:32:46 -0000 1.5
+++ m4/filemode.m4 21 Aug 2006 06:06:32 -0000
@@ -6,6 +6,7 @@ dnl with or without modifications, as lo
AC_DEFUN([gl_FILEMODE],
[
+ AC_REQUIRE([AC_STRUCT_ST_DM_MODE])
AC_LIBSOURCES([filemode.c, filemode.h])
AC_LIBOBJ([filemode])
AC_CHECK_DECLS_ONCE([strmode])
Index: m4/fsusage.m4
===================================================================
RCS file: /cvsroot/gnulib/gnulib/m4/fsusage.m4,v
retrieving revision 1.24
diff -p -u -r1.24 fsusage.m4
--- m4/fsusage.m4 24 Apr 2006 17:50:05 -0000 1.24
+++ m4/fsusage.m4 21 Aug 2006 06:06:32 -0000
@@ -12,8 +12,6 @@
AC_DEFUN([gl_FSUSAGE],
[
- AC_LIBSOURCES([fsusage.c, fsusage.h])
-
AC_CHECK_HEADERS_ONCE(sys/param.h)
AC_CHECK_HEADERS_ONCE(sys/vfs.h sys/fs_types.h)
AC_CHECK_HEADERS(sys/mount.h, [], [],
@@ -259,7 +257,6 @@ choke -- this is a workaround for a Sun-
# Prerequisites of lib/fsusage.c not done by gl_FILE_SYSTEM_USAGE.
AC_DEFUN([gl_PREREQ_FSUSAGE_EXTRA],
[
- AC_REQUIRE([gl_AC_TYPE_UINTMAX_T])
AC_CHECK_HEADERS(dustat.h sys/fs/s5param.h sys/filsys.h sys/statfs.h
sys/statvfs.h)
gl_STATFS_TRUNCATES
])
Index: m4/gethrxtime.m4
===================================================================
RCS file: /cvsroot/gnulib/gnulib/m4/gethrxtime.m4,v
retrieving revision 1.3
diff -p -u -r1.3 gethrxtime.m4
--- m4/gethrxtime.m4 18 Aug 2006 16:59:19 -0000 1.3
+++ m4/gethrxtime.m4 21 Aug 2006 06:06:32 -0000
@@ -1,4 +1,4 @@
-# gethrxtime.m4 serial 4
+# gethrxtime.m4 serial 5
dnl Copyright (C) 2005, 2006 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
@@ -43,7 +43,7 @@ AC_DEFUN([gl_ARITHMETIC_HRTIME_T],
AC_DEFUN([gl_XTIME],
[
AC_REQUIRE([AC_C_INLINE])
- AC_REQUIRE([gl_AC_TYPE_LONG_LONG])
+ AC_REQUIRE([AC_TYPE_LONG_LONG_INT])
:
])
Index: m4/human.m4
===================================================================
RCS file: /cvsroot/gnulib/gnulib/m4/human.m4,v
retrieving revision 1.9
diff -p -u -r1.9 human.m4
--- m4/human.m4 21 Mar 2005 22:06:27 -0000 1.9
+++ m4/human.m4 21 Aug 2006 06:06:32 -0000
@@ -1,18 +1,13 @@
-#serial 9
-dnl Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
+#serial 10
+dnl Copyright (C) 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
AC_DEFUN([gl_HUMAN],
[
- AC_LIBSOURCES([human.c, human.h, intprops.h])
AC_LIBOBJ([human])
- dnl Prerequisites of lib/human.h.
- AC_REQUIRE([AM_STDBOOL_H])
- AC_REQUIRE([gl_AC_TYPE_UINTMAX_T])
-
dnl Prerequisites of lib/human.c.
:
])
Index: m4/inttostr.m4
===================================================================
RCS file: /cvsroot/gnulib/gnulib/m4/inttostr.m4,v
retrieving revision 1.4
diff -p -u -r1.4 inttostr.m4
--- m4/inttostr.m4 21 Mar 2005 22:06:27 -0000 1.4
+++ m4/inttostr.m4 21 Aug 2006 06:06:32 -0000
@@ -1,18 +1,11 @@
-#serial 5
-dnl Copyright (C) 2004, 2005 Free Software Foundation, Inc.
+#serial 6
+dnl Copyright (C) 2004, 2005, 2006 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
AC_DEFUN([gl_INTTOSTR],
[
- AC_LIBSOURCES([inttostr.c, inttostr.h, intprops.h])
-
- dnl We don't technically need to list the following .c files, since their
- dnl functions are named in the AC_LIBOBJ calls, but this is an unusual
- dnl module and it seems a little clearer to do so.
- AC_LIBSOURCES([imaxtostr.c, offtostr.c, umaxtostr.c])
-
AC_LIBOBJ([imaxtostr])
AC_LIBOBJ([offtostr])
AC_LIBOBJ([umaxtostr])
@@ -25,8 +18,6 @@ AC_DEFUN([gl_INTTOSTR],
# Prerequisites of lib/inttostr.h.
AC_DEFUN([gl_PREREQ_INTTOSTR], [
- AC_REQUIRE([gl_AC_TYPE_INTMAX_T])
- AC_REQUIRE([gl_AC_TYPE_UINTMAX_T])
AC_REQUIRE([AC_TYPE_OFF_T])
:
])
Index: m4/ls-mntd-fs.m4
===================================================================
RCS file: /cvsroot/gnulib/gnulib/m4/ls-mntd-fs.m4,v
retrieving revision 1.33
diff -p -u -r1.33 ls-mntd-fs.m4
--- m4/ls-mntd-fs.m4 18 Aug 2006 18:35:08 -0000 1.33
+++ m4/ls-mntd-fs.m4 21 Aug 2006 06:06:32 -0000
@@ -1,4 +1,4 @@
-#serial 22
+#serial 23
# How to list mounted file systems.
# Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2006 Free Software
@@ -167,6 +167,7 @@ if test $ac_cv_func_getmntent = yes; the
AC_DEFINE(MOUNTED_GETMNTENT2, 1,
[Define if there is a function named getmntent for reading the list of
mounted file systems, and that function takes two arguments. (SVR4)])
+ AC_CHECK_FUNCS(hasmntopt)
fi
fi
Index: m4/mkstemp.m4
===================================================================
RCS file: /cvsroot/gnulib/gnulib/m4/mkstemp.m4,v
retrieving revision 1.17
diff -p -u -r1.17 mkstemp.m4
--- m4/mkstemp.m4 6 Jul 2006 21:51:33 -0000 1.17
+++ m4/mkstemp.m4 21 Aug 2006 06:06:32 -0000
@@ -67,5 +67,4 @@ AC_DEFUN([gl_PREREQ_TEMPNAME],
[
AC_CHECK_HEADERS_ONCE(sys/time.h)
AC_CHECK_FUNCS(__secure_getenv gettimeofday)
- AC_REQUIRE([gl_AC_TYPE_UINTMAX_T])
])
Index: m4/posixver.m4
===================================================================
RCS file: /cvsroot/gnulib/gnulib/m4/posixver.m4,v
retrieving revision 1.6
diff -p -u -r1.6 posixver.m4
--- m4/posixver.m4 23 Sep 2005 04:15:13 -0000 1.6
+++ m4/posixver.m4 21 Aug 2006 06:06:32 -0000
@@ -1,5 +1,5 @@
-# posixver.m4 serial 7
-dnl Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
+# posixver.m4 serial 8
+dnl Copyright (C) 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
@@ -15,7 +15,7 @@ AC_DEFUN([gl_POSIXVER],
# Set the default level of POSIX conformance at configure-time.
# Build with `./configure DEFAULT_POSIX2_VERSION=199209 ...' to
# support the older version, thus preserving portability with
-# scripts that use sort +1, tail +32, head -1, etc.
+# scripts that use sort +1, tail +32, etc.
# Note however, that this breaks tools that might run commands
# like `sort +some-file' that conform with the newer standard.
AC_DEFUN([gl_DEFAULT_POSIX2_VERSION],
Index: m4/strtoimax.m4
===================================================================
RCS file: /cvsroot/gnulib/gnulib/m4/strtoimax.m4,v
retrieving revision 1.6
diff -p -u -r1.6 strtoimax.m4
--- m4/strtoimax.m4 23 Jan 2005 08:06:57 -0000 1.6
+++ m4/strtoimax.m4 21 Aug 2006 06:06:32 -0000
@@ -1,5 +1,5 @@
-# strtoimax.m4 serial 5
-dnl Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
+# strtoimax.m4 serial 6
+dnl Copyright (C) 2002, 2003, 2004, 2006 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
@@ -29,7 +29,6 @@ AC_DEFUN([gl_FUNC_STRTOIMAX],
# Prerequisites of lib/strtoimax.c.
AC_DEFUN([gl_PREREQ_STRTOIMAX], [
- gl_AC_TYPE_INTMAX_T
AC_CHECK_DECLS(strtoll)
- AC_REQUIRE([gl_AC_TYPE_LONG_LONG])
+ AC_REQUIRE([AC_TYPE_LONG_LONG_INT])
])
Index: m4/strtoll.m4
===================================================================
RCS file: /cvsroot/gnulib/gnulib/m4/strtoll.m4,v
retrieving revision 1.4
diff -p -u -r1.4 strtoll.m4
--- m4/strtoll.m4 23 Jan 2005 08:06:57 -0000 1.4
+++ m4/strtoll.m4 21 Aug 2006 06:06:32 -0000
@@ -1,5 +1,5 @@
-# strtoll.m4 serial 3
-dnl Copyright (C) 2002, 2004 Free Software Foundation, Inc.
+# strtoll.m4 serial 4
+dnl Copyright (C) 2002, 2004, 2006 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
@@ -7,9 +7,9 @@ dnl with or without modifications, as lo
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([gl_AC_TYPE_LONG_LONG])
- if test "$ac_cv_type_long_long" = yes; then
+ dnl unless the type 'long long int' exists.
+ AC_REQUIRE([AC_TYPE_LONG_LONG_INT])
+ if test "$ac_cv_type_long_long_int" = yes; then
AC_REPLACE_FUNCS(strtoll)
if test $ac_cv_func_strtoll = no; then
gl_PREREQ_STRTOLL
Index: m4/strtoull.m4
===================================================================
RCS file: /cvsroot/gnulib/gnulib/m4/strtoull.m4,v
retrieving revision 1.4
diff -p -u -r1.4 strtoull.m4
--- m4/strtoull.m4 23 Jan 2005 08:06:57 -0000 1.4
+++ m4/strtoull.m4 21 Aug 2006 06:06:32 -0000
@@ -1,5 +1,5 @@
-# strtoull.m4 serial 3
-dnl Copyright (C) 2002, 2004 Free Software Foundation, Inc.
+# strtoull.m4 serial 4
+dnl Copyright (C) 2002, 2004, 2006 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
@@ -7,9 +7,9 @@ dnl with or without modifications, as lo
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([gl_AC_TYPE_UNSIGNED_LONG_LONG])
- if test "$ac_cv_type_unsigned_long_long" = yes; then
+ dnl unless the type 'unsigned long long int' exists.
+ AC_REQUIRE([AC_TYPE_UNSIGNED_LONG_LONG_INT])
+ if test "$ac_cv_type_unsigned_long_long_int" = yes; then
AC_REPLACE_FUNCS(strtoull)
if test $ac_cv_func_strtoull = no; then
gl_PREREQ_STRTOULL
Index: m4/strtoumax.m4
===================================================================
RCS file: /cvsroot/gnulib/gnulib/m4/strtoumax.m4,v
retrieving revision 1.6
diff -p -u -r1.6 strtoumax.m4
--- m4/strtoumax.m4 23 Jan 2005 08:06:57 -0000 1.6
+++ m4/strtoumax.m4 21 Aug 2006 06:06:32 -0000
@@ -1,5 +1,5 @@
-# strtoumax.m4 serial 5
-dnl Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
+# strtoumax.m4 serial 6
+dnl Copyright (C) 2002, 2003, 2004, 2006 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
@@ -29,7 +29,6 @@ AC_DEFUN([gl_FUNC_STRTOUMAX],
# Prerequisites of lib/strtoumax.c.
AC_DEFUN([gl_PREREQ_STRTOUMAX], [
- gl_AC_TYPE_UINTMAX_T
AC_CHECK_DECLS(strtoull)
- AC_REQUIRE([gl_AC_TYPE_UNSIGNED_LONG_LONG])
+ AC_REQUIRE([AC_TYPE_UNSIGNED_LONG_LONG_INT])
])
Index: m4/xstrtol.m4
===================================================================
RCS file: /cvsroot/gnulib/gnulib/m4/xstrtol.m4,v
retrieving revision 1.9
diff -p -u -r1.9 xstrtol.m4
--- m4/xstrtol.m4 5 Jul 2006 23:35:19 -0000 1.9
+++ m4/xstrtol.m4 21 Aug 2006 06:06:32 -0000
@@ -1,4 +1,4 @@
-#serial 8
+#serial 9
dnl Copyright (C) 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
@@ -6,31 +6,6 @@ dnl with or without modifications, as lo
AC_DEFUN([gl_XSTRTOL],
[
- AC_LIBSOURCES([xstrtol.c, xstrtol.h, xstrtoul.c, intprops.h])
AC_LIBOBJ([xstrtol])
AC_LIBOBJ([xstrtoul])
-
- AC_REQUIRE([gl_PREREQ_XSTRTOL])
- AC_REQUIRE([gl_PREREQ_XSTRTOUL])
-])
-
-# Prerequisites of lib/xstrtol.h.
-AC_DEFUN([gl_PREREQ_XSTRTOL_H],
-[
- AC_REQUIRE([gl_AC_TYPE_INTMAX_T])
- AC_REQUIRE([gl_AC_TYPE_UINTMAX_T])
-])
-
-# Prerequisites of lib/xstrtol.c.
-AC_DEFUN([gl_PREREQ_XSTRTOL],
-[
- AC_REQUIRE([gl_PREREQ_XSTRTOL_H])
- AC_CHECK_DECLS_ONCE([strtoimax])
- AC_CHECK_DECLS_ONCE([strtoumax])
-])
-
-# Prerequisites of lib/xstrtoul.c.
-AC_DEFUN([gl_PREREQ_XSTRTOUL],
-[
- AC_REQUIRE([gl_PREREQ_XSTRTOL])
])
Index: modules/backupfile
===================================================================
RCS file: /cvsroot/gnulib/gnulib/modules/backupfile,v
retrieving revision 1.7
diff -p -u -r1.7 backupfile
--- modules/backupfile 6 May 2005 17:22:45 -0000 1.7
+++ modules/backupfile 21 Aug 2006 06:06:32 -0000
@@ -6,11 +6,11 @@ Files:
lib/backupfile.h
lib/backupfile.c
m4/dos.m4
-m4/d-ino.m4
m4/backupfile.m4
Depends-on:
argmatch
+d-ino
dirname
stdbool
Index: modules/cycle-check
===================================================================
RCS file: /cvsroot/gnulib/gnulib/modules/cycle-check,v
retrieving revision 1.7
diff -p -u -r1.7 cycle-check
--- modules/cycle-check 15 Aug 2006 21:47:01 -0000 1.7
+++ modules/cycle-check 21 Aug 2006 06:06:32 -0000
@@ -10,11 +10,13 @@ Depends-on:
dev-ino
same-inode
stdbool
+stdint
configure.ac:
gl_CYCLE_CHECK
Makefile.am:
+lib_SOURCES += cycle-check.h
Include:
"cycle-check.h"
Index: modules/error
===================================================================
RCS file: /cvsroot/gnulib/gnulib/modules/error,v
retrieving revision 1.7
diff -p -u -r1.7 error
--- modules/error 29 Dec 2004 05:50:14 -0000 1.7
+++ modules/error 21 Aug 2006 06:06:32 -0000
@@ -5,7 +5,6 @@ Files:
lib/error.h
lib/error.c
m4/error.m4
-m4/strerror_r.m4
Depends-on:
Index: modules/filemode
===================================================================
RCS file: /cvsroot/gnulib/gnulib/modules/filemode,v
retrieving revision 1.7
diff -p -u -r1.7 filemode
--- modules/filemode 22 Mar 2005 07:44:16 -0000 1.7
+++ modules/filemode 21 Aug 2006 06:06:32 -0000
@@ -6,6 +6,7 @@ Files:
lib/filemode.h
lib/filemode.c
m4/filemode.m4
+m4/st_dm_mode.m4
Depends-on:
stat-macros
Index: modules/fsusage
===================================================================
RCS file: /cvsroot/gnulib/gnulib/modules/fsusage,v
retrieving revision 1.7
diff -p -u -r1.7 fsusage
--- modules/fsusage 19 Jan 2006 04:40:47 -0000 1.7
+++ modules/fsusage 21 Aug 2006 06:06:32 -0000
@@ -4,20 +4,18 @@ Return file system space usage info.
Files:
lib/fsusage.h
lib/fsusage.c
-m4/ulonglong.m4
-m4/stdint_h.m4
-m4/inttypes_h.m4
-m4/uintmax_t.m4
m4/fsusage.m4
Depends-on:
full-read
stdbool
+stdint
configure.ac:
gl_FSUSAGE
Makefile.am:
+lib_SOURCES += fsusage.h
Include:
"fsusage.h"
Index: modules/getcwd
===================================================================
RCS file: /cvsroot/gnulib/gnulib/modules/getcwd,v
retrieving revision 1.8
diff -p -u -r1.8 getcwd
--- modules/getcwd 3 Jul 2006 08:32:46 -0000 1.8
+++ modules/getcwd 21 Aug 2006 06:06:32 -0000
@@ -4,13 +4,13 @@ Return the current working directory.
Files:
lib/getcwd.h
lib/getcwd.c
-m4/d-ino.m4
m4/getcwd-abort-bug.m4
m4/getcwd-path-max.m4
m4/getcwd.m4
Depends-on:
mempcpy
+d-ino
extensions
stdbool
Index: modules/getndelim2
===================================================================
RCS file: /cvsroot/gnulib/gnulib/modules/getndelim2,v
retrieving revision 1.5
diff -p -u -r1.5 getndelim2
--- modules/getndelim2 12 Aug 2005 12:21:44 -0000 1.5
+++ modules/getndelim2 21 Aug 2006 06:06:32 -0000
@@ -9,6 +9,7 @@ m4/getndelim2.m4
Depends-on:
ssize_t
+stdint
configure.ac:
gl_GETNDELIM2
Index: modules/glob
===================================================================
RCS file: /cvsroot/gnulib/gnulib/modules/glob,v
retrieving revision 1.5
diff -p -u -r1.5 glob
--- modules/glob 9 Aug 2006 22:52:40 -0000 1.5
+++ modules/glob 21 Aug 2006 06:06:32 -0000
@@ -6,11 +6,11 @@ Files:
lib/glob_.h
lib/glob-libc.h
lib/glob.c
-m4/d-type.m4
m4/glob.m4
Depends-on:
alloca
+d-type
extensions
fnmatch
getlogin_r
Index: modules/human
===================================================================
RCS file: /cvsroot/gnulib/gnulib/modules/human,v
retrieving revision 1.10
diff -p -u -r1.10 human
--- modules/human 26 Feb 2006 08:45:03 -0000 1.10
+++ modules/human 21 Aug 2006 06:06:32 -0000
@@ -5,10 +5,6 @@ with K/M/G suffix.
Files:
lib/human.h
lib/human.c
-m4/ulonglong.m4
-m4/stdint_h.m4
-m4/inttypes_h.m4
-m4/uintmax_t.m4
m4/human.m4
Depends-on:
@@ -18,11 +14,13 @@ error
intprops
xstrtoumax
stdbool
+stdint
configure.ac:
gl_HUMAN
Makefile.am:
+lib_SOURCES += human.h
Include:
"human.h"
Index: modules/inttostr
===================================================================
RCS file: /cvsroot/gnulib/gnulib/modules/inttostr,v
retrieving revision 1.8
diff -p -u -r1.8 inttostr
--- modules/inttostr 26 Feb 2006 08:45:03 -0000 1.8
+++ modules/inttostr 21 Aug 2006 06:06:32 -0000
@@ -7,22 +7,17 @@ lib/inttostr.c
lib/inttostr.h
lib/offtostr.c
lib/umaxtostr.c
-m4/intmax_t.m4
m4/inttostr.m4
-m4/inttypes_h.m4
-m4/longlong.m4
-m4/stdint_h.m4
-m4/uintmax_t.m4
-m4/ulonglong.m4
Depends-on:
intprops
+stdint
configure.ac:
gl_INTTOSTR
Makefile.am:
-EXTRA_DIST += inttostr.c
+EXTRA_DIST += inttostr.c inttostr.h
Include:
"inttostr.h"
Index: modules/mkdir-p
===================================================================
RCS file: /cvsroot/gnulib/gnulib/modules/mkdir-p,v
retrieving revision 1.5
diff -p -u -r1.5 mkdir-p
--- modules/mkdir-p 17 Jul 2006 06:06:48 -0000 1.5
+++ modules/mkdir-p 21 Aug 2006 06:06:32 -0000
@@ -4,15 +4,14 @@ Ensure that a directory and its parents
Files:
lib/dirchownmod.c
lib/dirchownmod.h
-lib/lchmod.h
lib/mkdir-p.c
lib/mkdir-p.h
-m4/lchmod.m4
m4/mkdir-p.m4
Depends-on:
error
gettext-h
+lchmod
lchown
mkancesdirs
quote
Index: modules/mkstemp
===================================================================
RCS file: /cvsroot/gnulib/gnulib/modules/mkstemp,v
retrieving revision 1.7
diff -p -u -r1.7 mkstemp
--- modules/mkstemp 29 Jun 2006 22:21:39 -0000 1.7
+++ modules/mkstemp 21 Aug 2006 06:06:32 -0000
@@ -4,14 +4,11 @@ mkstemp() function: create a private tem
Files:
lib/mkstemp.c
lib/tempname.c
-m4/ulonglong.m4
-m4/stdint_h.m4
-m4/inttypes_h.m4
-m4/uintmax_t.m4
m4/mkstemp.m4
Depends-on:
stat-macros
+stdint
sys_stat
configure.ac:
Index: modules/obstack
===================================================================
RCS file: /cvsroot/gnulib/gnulib/modules/obstack,v
retrieving revision 1.10
diff -p -u -r1.10 obstack
--- modules/obstack 26 Nov 2005 04:25:15 -0000 1.10
+++ modules/obstack 21 Aug 2006 06:06:32 -0000
@@ -4,19 +4,16 @@ Memory allocation, optimized for stack-l
Files:
lib/obstack.h
lib/obstack.c
-m4/inttypes_h.m4
-m4/obstack.m4
-m4/stdint_h.m4
-m4/uintmax_t.m4
-m4/ulonglong.m4
Depends-on:
gettext-h
exit
exitfail
+stdint
configure.ac:
-gl_OBSTACK
+AC_FUNC_OBSTACK
+dnl Note: AC_FUNC_OBSTACK does AC_LIBSOURCES([obstack.h, obstack.c]).
Makefile.am:
Index: modules/regex
===================================================================
RCS file: /cvsroot/gnulib/gnulib/modules/regex,v
retrieving revision 1.14
diff -p -u -r1.14 regex
--- modules/regex 9 Aug 2006 22:52:40 -0000 1.14
+++ modules/regex 21 Aug 2006 06:06:32 -0000
@@ -16,6 +16,7 @@ alloca
extensions
gettext-h
malloc
+stdint
strcase
ssize_t
Index: modules/strtoimax
===================================================================
RCS file: /cvsroot/gnulib/gnulib/modules/strtoimax,v
retrieving revision 1.6
diff -p -u -r1.6 strtoimax
--- modules/strtoimax 18 Apr 2006 17:20:47 -0000 1.6
+++ modules/strtoimax 21 Aug 2006 06:06:32 -0000
@@ -4,15 +4,13 @@ strtoimax() function: convert string to
Files:
lib/strtoimax.c
m4/longlong.m4
-m4/stdint_h.m4
-m4/inttypes_h.m4
-m4/intmax_t.m4
m4/strtoimax.m4
Depends-on:
strtoll
verify
inttypes
+stdint
configure.ac:
gl_FUNC_STRTOIMAX
Index: modules/strtoumax
===================================================================
RCS file: /cvsroot/gnulib/gnulib/modules/strtoumax,v
retrieving revision 1.5
diff -p -u -r1.5 strtoumax
--- modules/strtoumax 18 Apr 2006 17:20:47 -0000 1.5
+++ modules/strtoumax 21 Aug 2006 06:06:32 -0000
@@ -4,15 +4,13 @@ strtoumax() function: convert string to
Files:
lib/strtoumax.c
m4/ulonglong.m4
-m4/stdint_h.m4
-m4/inttypes_h.m4
-m4/uintmax_t.m4
m4/strtoumax.m4
Depends-on:
strtoimax
strtoull
inttypes
+stdint
configure.ac:
gl_FUNC_STRTOUMAX
@@ -26,4 +24,3 @@ GPL
Maintainer:
Paul Eggert
-
Index: modules/utimecmp
===================================================================
RCS file: /cvsroot/gnulib/gnulib/modules/utimecmp,v
retrieving revision 1.8
diff -p -u -r1.8 utimecmp
--- modules/utimecmp 26 Feb 2006 08:45:03 -0000 1.8
+++ modules/utimecmp 21 Aug 2006 06:06:32 -0000
@@ -14,6 +14,7 @@ utimens
xalloc
intprops
stdbool
+stdint
verify
configure.ac:
Index: modules/xnanosleep
===================================================================
RCS file: /cvsroot/gnulib/gnulib/modules/xnanosleep,v
retrieving revision 1.7
diff -p -u -r1.7 xnanosleep
--- modules/xnanosleep 26 Feb 2006 08:45:03 -0000 1.7
+++ modules/xnanosleep 21 Aug 2006 06:06:32 -0000
@@ -7,6 +7,7 @@ lib/xnanosleep.c
m4/xnanosleep.m4
Depends-on:
+nanosleep
timespec
intprops
stdbool
Index: modules/xstrtoimax
===================================================================
RCS file: /cvsroot/gnulib/gnulib/modules/xstrtoimax,v
retrieving revision 1.5
diff -p -u -r1.5 xstrtoimax
--- modules/xstrtoimax 22 Sep 2004 15:11:04 -0000 1.5
+++ modules/xstrtoimax 21 Aug 2006 06:06:32 -0000
@@ -2,16 +2,13 @@ Description:
Convert string to 'intmax_t', with error checking.
Files:
-
lib/xstrtoimax.c
-m4/xstrtoimax.m4
Depends-on:
xstrtol
strtoimax
configure.ac:
-gl_XSTRTOIMAX
Makefile.am:
lib_SOURCES += xstrtoimax.c
@@ -24,4 +21,3 @@ GPL
Maintainer:
Paul Eggert
-
Index: modules/xstrtol
===================================================================
RCS file: /cvsroot/gnulib/gnulib/modules/xstrtol,v
retrieving revision 1.11
diff -p -u -r1.11 xstrtol
--- modules/xstrtol 26 Feb 2006 08:45:03 -0000 1.11
+++ modules/xstrtol 21 Aug 2006 06:06:32 -0000
@@ -5,23 +5,19 @@ Files:
lib/xstrtol.h
lib/xstrtol.c
lib/xstrtoul.c
-m4/ulonglong.m4
-m4/longlong.m4
-m4/stdint_h.m4
-m4/inttypes_h.m4
-m4/uintmax_t.m4
-m4/intmax_t.m4
m4/xstrtol.m4
Depends-on:
exitfail
error
intprops
+inttypes
configure.ac:
gl_XSTRTOL
Makefile.am:
+lib_SOURCES += xstrtol.h
Include:
"xstrtol.h"
Index: modules/xstrtoumax
===================================================================
RCS file: /cvsroot/gnulib/gnulib/modules/xstrtoumax,v
retrieving revision 1.5
diff -p -u -r1.5 xstrtoumax
--- modules/xstrtoumax 22 Sep 2004 15:11:04 -0000 1.5
+++ modules/xstrtoumax 21 Aug 2006 06:06:32 -0000
@@ -3,14 +3,12 @@ Convert string to 'uintmax_t', with erro
Files:
lib/xstrtoumax.c
-m4/xstrtoumax.m4
Depends-on:
xstrtol
strtoumax
configure.ac:
-gl_XSTRTOUMAX
Makefile.am:
lib_SOURCES += xstrtoumax.c
@@ -23,4 +21,3 @@ GPL
Maintainer:
Paul Eggert
-
--- /dev/null 2005-09-24 22:00:15.000000000 -0700
+++ modules/d-ino 2006-08-18 13:10:05.000000000 -0700
@@ -0,0 +1,20 @@
+Description:
+Check whether struct dirent has a member named d_ino.
+
+Files:
+m4/d-ino.m4
+
+Depends-on:
+
+configure.ac:
+gl_CHECK_TYPE_STRUCT_DIRENT_D_INO
+
+Makefile.am:
+
+Include:
+
+License:
+GPL
+
+Maintainer:
+Jim Meyering
--- /dev/null 2005-09-24 22:00:15.000000000 -0700
+++ modules/d-type 2006-08-18 13:11:04.000000000 -0700
@@ -0,0 +1,20 @@
+Description:
+Check whether struct dirent has a member named d_type.
+
+Files:
+m4/d-type.m4
+
+Depends-on:
+
+configure.ac:
+gl_CHECK_TYPE_STRUCT_DIRENT_D_TYPE
+
+Makefile.am:
+
+Include:
+
+License:
+GPL
+
+Maintainer:
+Jim Meyering
--- /dev/null 2005-09-24 22:00:15.000000000 -0700
+++ modules/host-os 2006-08-18 13:04:12.000000000 -0700
@@ -0,0 +1,20 @@
+Description:
+Define HOST_OPERATING_SYSTEM to a name for the host operating system.
+
+Files:
+m4/host-os.m4
+
+Depends-on:
+
+configure.ac:
+gl_HOST_OS
+
+Makefile.am:
+
+Include:
+
+License:
+GPL
+
+Maintainer:
+Paul Eggert, Jim Meyering
--- /dev/null 2005-09-24 22:00:15.000000000 -0700
+++ modules/lchmod 2006-08-18 12:43:12.000000000 -0700
@@ -0,0 +1,22 @@
+Description:
+lchmod that is actually chmod (!) on hosts lacking lchmod
+
+Files:
+lib/lchmod.h
+m4/lchmod.m4
+
+Depends-on:
+
+configure.ac:
+gl_FUNC_LCHMOD
+
+Makefile.am:
+
+Include:
+"lchown.h"
+
+License:
+GPL
+
+Maintainer:
+Paul Eggert, Jim Meyering
--- /dev/null 2005-09-24 22:00:15.000000000 -0700
+++ modules/link-follow 2006-08-18 12:49:19.000000000 -0700
@@ -0,0 +1,20 @@
+Description:
+Determine whether link("symlink", "foo") follows the symlink.
+
+Files:
+m4/link-follow.m4
+
+Depends-on:
+
+configure.ac:
+gl_AC_FUNC_LINK_FOLLOWS_SYMLINK
+
+Makefile.am:
+
+Include:
+
+License:
+GPL
+
+Maintainer:
+Jim Meyering
--- /dev/null 2005-09-24 22:00:15.000000000 -0700
+++ modules/perl 2006-08-18 15:17:43.000000000 -0700
@@ -0,0 +1,20 @@
+Description:
+Find a new-enough version of Perl.
+
+Files:
+m4/perl.m4
+
+Depends-on:
+
+configure.ac:
+gl_PERL
+
+Makefile.am:
+
+Include:
+
+License:
+GPL
+
+Maintainer:
+Jim Meyering
--- /dev/null 2005-09-24 22:00:15.000000000 -0700
+++ modules/rmdir-errno 2006-08-18 12:38:12.000000000 -0700
@@ -0,0 +1,20 @@
+Description:
+rmdir errno for nonempty directories
+
+Files:
+m4/rmdir-errno.m4
+
+Depends-on:
+
+configure.ac:
+gl_FUNC_RMDIR_NOTEMPTY
+
+Makefile.am:
+
+Include:
+
+License:
+GPL
+
+Maintainer:
+Jim Meyering
--- /dev/null 2005-09-24 22:00:15.000000000 -0700
+++ modules/unlink-busy 2006-08-18 14:08:49.000000000 -0700
@@ -0,0 +1,20 @@
+Description:
+Test whether a running program can be unlinked.
+
+Files:
+m4/unlink-busy.m4
+
+Depends-on:
+
+configure.ac:
+gl_FUNC_UNLINK_BUSY_TEXT
+
+Makefile.am:
+
+Include:
+
+License:
+GPL
+
+Maintainer:
+Jim Meyering
--- /dev/null 2005-09-24 22:00:15.000000000 -0700
+++ modules/uptime 2006-08-18 13:23:31.000000000 -0700
@@ -0,0 +1,20 @@
+Description:
+Test whether /proc/uptime might exist.
+
+Files:
+m4/uptime.m4
+
+Depends-on:
+
+configure.ac:
+gl_SYS_PROC_UPTIME
+
+Makefile.am:
+
+Include:
+
+License:
+GPL
+
+Maintainer:
+Jim Meyering
--- /dev/null 2005-09-24 22:00:15.000000000 -0700
+++ modules/winsz-ioctl 2006-08-19 11:30:02.000000000 -0700
@@ -0,0 +1,21 @@
+Description:
+Test whether use of TIOCGWINSZ requires sys/ioctl.h.
+
+Files:
+m4/jm-winsz2.m4
+
+Depends-on:
+winsz-termios
+
+configure.ac:
+gl_HEADER_TIOCGWINSZ_NEEDS_SYS_IOCTL
+
+Makefile.am:
+
+Include:
+
+License:
+GPL
+
+Maintainer:
+Jim Meyering
--- /dev/null 2005-09-24 22:00:15.000000000 -0700
+++ modules/winsz-termios 2006-08-19 11:23:17.000000000 -0700
@@ -0,0 +1,21 @@
+Description:
+Test whether use of TIOCGWINSZ requires termios.h.
+
+Files:
+m4/jm-winsz1.m4
+
+Depends-on:
+
+configure.ac:
+gl_HEADER_TIOCGWINSZ_IN_TERMIOS_H
+gl_WINSIZE_IN_PTEM
+
+Makefile.am:
+
+Include:
+
+License:
+GPL
+
+Maintainer:
+Jim Meyering
- gnulib changes to make it easier for coreutils to use gnulib-tool,
Paul Eggert <=
Re: [bug-gnulib] gnulib changes to make it easier for coreutils to use gnulib-tool, Bruno Haible, 2006/08/24