[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-gnulib] proposed new gnu-source module for gnulib
From: |
Paul Eggert |
Subject: |
[Bug-gnulib] proposed new gnu-source module for gnulib |
Date: |
05 Aug 2003 22:23:24 -0700 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 |
Here is a proposed patch to add a new gnu-source module to gnulib.
This formalizes the existing m4/gnu-source.m4 file.
This patch is mostly independent of the timespec/AC_GNU_SOURCE patch I
proposed about 5 minutes ago. The exception is the patch to
modules/timespec, which assumes that m4/timespec.m4 has been modified
to require AC_GNU_SOURCE.
2003-08-05 Paul Eggert <address@hidden>
New module gnu-source.
* modules/gnu-source: New file.
* MODULES.html.sh (func_all_modules): Add gnu-source.
* modules/euidaccess, modules/fnmatch, modules/getline,
modules/group-member, modules/mempcpy, modules/memrchr,
modules/regex, modules/stpcpy, modules/stpncpy, modules/strchrnul,
modules/strndup, modules/strnlen, modules/strverscmp,
modules/timespec, modules/unlocked-io: Depend on gnu-source.
--- /dev/null Tue Mar 18 13:55:57 2003
+++ modules/gnu-source Tue Aug 5 21:52:30 2003
@@ -0,0 +1,17 @@
+Description:
+Enable GNU extensions in standard headers
+
+Files:
+m4/gnu-source.m4
+
+Depends-on:
+
+configure.ac:
+AC_GNU_SOURCE
+
+Makefile.am:
+
+Include:
+
+Maintainer:
+Paul Eggert
Index: MODULES.html.sh
===================================================================
RCS file: /cvsroot/gnulib/gnulib/MODULES.html.sh,v
retrieving revision 1.30
diff -p -u -r1.30 MODULES.html.sh
--- MODULES.html.sh 6 Aug 2003 03:52:46 -0000 1.30
+++ MODULES.html.sh 6 Aug 2003 04:51:56 -0000
@@ -1878,6 +1878,7 @@ func_all_modules ()
func_module getloadavg
func_module getpagesize
func_module getusershell
+ func_module gnu-source
func_module physmem
func_module posixver
func_module quotearg
Index: modules/euidaccess
===================================================================
RCS file: /cvsroot/gnulib/gnulib/modules/euidaccess,v
retrieving revision 1.3
diff -p -u -r1.3 euidaccess
--- modules/euidaccess 20 Jan 2003 10:02:37 -0000 1.3
+++ modules/euidaccess 6 Aug 2003 04:51:58 -0000
@@ -6,6 +6,7 @@ lib/euidaccess.c
m4/euidaccess.m4
Depends-on:
+gnu-source
group-member
configure.ac:
Index: modules/fnmatch
===================================================================
RCS file: /cvsroot/gnulib/gnulib/modules/fnmatch,v
retrieving revision 1.4
diff -p -u -r1.4 fnmatch
--- modules/fnmatch 7 Jun 2003 16:41:48 -0000 1.4
+++ modules/fnmatch 6 Aug 2003 04:51:58 -0000
@@ -10,6 +10,7 @@ m4/fnmatch.m4
Depends-on:
alloca
+gnu-source
configure.ac:
# No macro. You should also use one of fnmatch-posix or fnmatch-gnu.
Index: modules/getline
===================================================================
RCS file: /cvsroot/gnulib/gnulib/modules/getline,v
retrieving revision 1.6
diff -p -u -r1.6 getline
--- modules/getline 18 Jul 2003 16:58:06 -0000 1.6
+++ modules/getline 6 Aug 2003 04:51:58 -0000
@@ -11,6 +11,7 @@ m4/getndelim2.m4
m4/ssize_t.m4
Depends-on:
+gnu-source
unlocked-io
configure.ac:
Index: modules/group-member
===================================================================
RCS file: /cvsroot/gnulib/gnulib/modules/group-member,v
retrieving revision 1.3
diff -p -u -r1.3 group-member
--- modules/group-member 20 Jan 2003 10:02:37 -0000 1.3
+++ modules/group-member 6 Aug 2003 04:51:58 -0000
@@ -7,6 +7,7 @@ lib/group-member.c
m4/group-member.m4
Depends-on:
+gnu-source
xalloc
configure.ac:
Index: modules/mempcpy
===================================================================
RCS file: /cvsroot/gnulib/gnulib/modules/mempcpy,v
retrieving revision 1.1
diff -p -u -r1.1 mempcpy
--- modules/mempcpy 14 Jul 2003 18:50:59 -0000 1.1
+++ modules/mempcpy 6 Aug 2003 04:51:58 -0000
@@ -7,6 +7,7 @@ lib/mempcpy.c
m4/mempcpy.m4
Depends-on:
+gnu-source
configure.ac:
gl_FUNC_MEMPCPY
Index: modules/memrchr
===================================================================
RCS file: /cvsroot/gnulib/gnulib/modules/memrchr,v
retrieving revision 1.3
diff -p -u -r1.3 memrchr
--- modules/memrchr 20 Jan 2003 10:02:38 -0000 1.3
+++ modules/memrchr 6 Aug 2003 04:51:58 -0000
@@ -6,6 +6,7 @@ lib/memrchr.c
m4/memrchr.m4
Depends-on:
+gnu-source
configure.ac:
gl_FUNC_MEMRCHR
Index: modules/regex
===================================================================
RCS file: /cvsroot/gnulib/gnulib/modules/regex,v
retrieving revision 1.3
diff -p -u -r1.3 regex
--- modules/regex 20 Jan 2003 10:02:38 -0000 1.3
+++ modules/regex 6 Aug 2003 04:51:58 -0000
@@ -8,8 +8,9 @@ m4/regex.m4
Depends-on:
alloca
-unlocked-io
gettext
+gnu-source
+unlocked-io
configure.ac:
gl_REGEX
Index: modules/stpcpy
===================================================================
RCS file: /cvsroot/gnulib/gnulib/modules/stpcpy,v
retrieving revision 1.4
diff -p -u -r1.4 stpcpy
--- modules/stpcpy 20 Jan 2003 10:02:38 -0000 1.4
+++ modules/stpcpy 6 Aug 2003 04:51:58 -0000
@@ -7,6 +7,7 @@ lib/stpcpy.c
m4/stpcpy.m4
Depends-on:
+gnu-source
configure.ac:
gl_FUNC_STPCPY
Index: modules/stpncpy
===================================================================
RCS file: /cvsroot/gnulib/gnulib/modules/stpncpy,v
retrieving revision 1.1
diff -p -u -r1.1 stpncpy
--- modules/stpncpy 29 Jan 2003 16:47:24 -0000 1.1
+++ modules/stpncpy 6 Aug 2003 04:51:58 -0000
@@ -7,6 +7,7 @@ lib/stpncpy.c
m4/stpncpy.m4
Depends-on:
+gnu-source
configure.ac:
gl_FUNC_STPNCPY
Index: modules/strchrnul
===================================================================
RCS file: /cvsroot/gnulib/gnulib/modules/strchrnul,v
retrieving revision 1.2
diff -p -u -r1.2 strchrnul
--- modules/strchrnul 10 Jul 2003 20:11:28 -0000 1.2
+++ modules/strchrnul 6 Aug 2003 04:51:58 -0000
@@ -7,6 +7,7 @@ lib/strchrnul.c
m4/strchrnul.m4
Depends-on:
+gnu-source
configure.ac:
gl_FUNC_STRCHRNUL
Index: modules/strndup
===================================================================
RCS file: /cvsroot/gnulib/gnulib/modules/strndup,v
retrieving revision 1.3
diff -p -u -r1.3 strndup
--- modules/strndup 20 Jan 2003 10:02:38 -0000 1.3
+++ modules/strndup 6 Aug 2003 04:51:58 -0000
@@ -6,6 +6,7 @@ lib/strndup.c
m4/strndup.m4
Depends-on:
+gnu-source
strnlen
configure.ac:
Index: modules/strnlen
===================================================================
RCS file: /cvsroot/gnulib/gnulib/modules/strnlen,v
retrieving revision 1.3
diff -p -u -r1.3 strnlen
--- modules/strnlen 20 Jan 2003 10:02:38 -0000 1.3
+++ modules/strnlen 6 Aug 2003 04:51:58 -0000
@@ -6,6 +6,7 @@ lib/strnlen.c
m4/strnlen.m4
Depends-on:
+gnu-source
configure.ac:
gl_FUNC_STRNLEN
Index: modules/strverscmp
===================================================================
RCS file: /cvsroot/gnulib/gnulib/modules/strverscmp,v
retrieving revision 1.3
diff -p -u -r1.3 strverscmp
--- modules/strverscmp 20 Jan 2003 10:02:38 -0000 1.3
+++ modules/strverscmp 6 Aug 2003 04:51:58 -0000
@@ -7,6 +7,7 @@ lib/strverscmp.c
m4/strverscmp.m4
Depends-on:
+gnu-source
configure.ac:
gl_FUNC_STRVERSCMP
Index: modules/timespec
===================================================================
RCS file: /cvsroot/gnulib/gnulib/modules/timespec,v
retrieving revision 1.3
diff -p -u -r1.3 timespec
--- modules/timespec 20 Jan 2003 10:02:38 -0000 1.3
+++ modules/timespec 6 Aug 2003 04:51:58 -0000
@@ -7,6 +7,7 @@ m4/st_mtim.m4
m4/timespec.m4
Depends-on:
+gnu-source
configure.ac:
gl_TIMESPEC
Index: modules/unlocked-io
===================================================================
RCS file: /cvsroot/gnulib/gnulib/modules/unlocked-io,v
retrieving revision 1.3
diff -p -u -r1.3 unlocked-io
--- modules/unlocked-io 20 Jan 2003 10:02:38 -0000 1.3
+++ modules/unlocked-io 6 Aug 2003 04:51:58 -0000
@@ -6,6 +6,7 @@ lib/unlocked-io.h
m4/unlocked-io.m4
Depends-on:
+gnu-source
configure.ac:
jm_FUNC_GLIBC_UNLOCKED_IO
- [Bug-gnulib] proposed new gnu-source module for gnulib,
Paul Eggert <=