Move the module indicator macros to the module description.
authorBruno Haible <bruno@clisp.org>
Mon, 8 Jan 2007 19:38:27 +0000 (19:38 +0000)
committerBruno Haible <bruno@clisp.org>
Mon, 8 Jan 2007 19:38:27 +0000 (19:38 +0000)
ChangeLog
m4/close-stream.m4
m4/fcntl-safer.m4
m4/stdio-safer.m4
modules/close-stream
modules/fcntl-safer
modules/fopen-safer
modules/fwriteerror

index 12c57ec6d1e0bcbfee203572efe6edf19a9891b0..f0658a300ed06e00bf3b2ad59ee4a4af8a4ee122 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,17 @@
+2007-01-08  Bruno Haible  <bruno@clisp.org>
+
+       * m4/close-stream.m4 (gl_CLOSE_STREAM): Remove GNULIB_CLOSE_STREAM
+       macro definition.
+       * m4/fcntl-safer.m4 (gl_FCNTL_SAFER): Remove GNULIB_FCNTL_SAFER macro
+       definition.
+       * m4/stdio-safer.m4 (gl_FOPEN_SAFER): Remove GNULIB_FOPEN_SAFER macro
+       definition.
+       * modules/close-stream (configure.ac): Invoke gl_MODULE_INDICATOR.
+       * modules/fcntl-safer (configure.ac): Likewise.
+       * modules/fopen-safer (configure.ac): Likewise.
+       * modules/fwriteerror (configure.ac): Likewise. Remove explicit
+       GNULIB_FWRITEERROR macro definition.
+
 2007-01-08  Bruno Haible  <bruno@clisp.org>
 
        * m4/gnulib-common.m4: New file.
index 9daed9ec77af6aa3e0c2aced53ceab9591049717..b1f9d5477c39a4b2f3dfa7ec25ec16318cabe146 100644 (file)
@@ -1,5 +1,5 @@
-#serial 2
-dnl Copyright (C) 2006 Free Software Foundation, Inc.
+#serial 3
+dnl Copyright (C) 2006-2007 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,8 +7,6 @@ dnl with or without modifications, as long as this notice is preserved.
 AC_DEFUN([gl_CLOSE_STREAM],
 [
   AC_LIBOBJ([close-stream])
-  AC_DEFINE([GNULIB_CLOSE_STREAM], [1],
-    [Define to 1 when using the gnulib close-stream module.])
 
   dnl Prerequisites of lib/close-stream.c.
   :
index 143466e41234a610f8bf7fc19e2429bebb077668..3475b0a7cf42772500c12e1eb79c4cb2f3cfc22a 100644 (file)
@@ -1,5 +1,5 @@
-#serial 4
-dnl Copyright (C) 2005, 2006 Free Software Foundation, Inc.
+#serial 5
+dnl Copyright (C) 2005-2007 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.
@@ -8,6 +8,4 @@ AC_DEFUN([gl_FCNTL_SAFER],
 [
   AC_LIBOBJ([open-safer])
   AC_LIBOBJ([creat-safer])
-  AC_DEFINE([GNULIB_FCNTL_SAFER], [1],
-    [Define to 1 when using the gnulib fcntl-safer module.])
 ])
index 5227db2621651a386418fe562fb91fda28416589..3d71452ea925cd2588130d223423d155f0ab5cb1 100644 (file)
@@ -1,5 +1,5 @@
-#serial 9
-dnl Copyright (C) 2002, 2005, 2006 Free Software Foundation, Inc.
+#serial 10
+dnl Copyright (C) 2002, 2005-2007 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,8 +7,6 @@ dnl with or without modifications, as long as this notice is preserved.
 AC_DEFUN([gl_FOPEN_SAFER],
 [
   AC_LIBOBJ([fopen-safer])
-  AC_DEFINE([GNULIB_FOPEN_SAFER], [1],
-    [Define to 1 when using the gnulib fopen-safer module.])
 ])
 
 AC_DEFUN([gl_TMPFILE_SAFER],
index 75f96f820855d7640a676ecb5bd7aae21366b95c..03eba124d56e6d101bfa9fc0e3727e74854fbe68 100644 (file)
@@ -12,6 +12,7 @@ stdbool
 
 configure.ac:
 gl_CLOSE_STREAM
+gl_MODULE_INDICATOR([close-stream])
 
 Makefile.am:
 
index 942b6b7ae92a9d7305ddc1ba3c9fc5f748574907..ecd05009013572a0abd097b2aeefd1b7ab4babde 100644 (file)
@@ -13,6 +13,7 @@ unistd-safer
 
 configure.ac:
 gl_FCNTL_SAFER
+gl_MODULE_INDICATOR([fcntl-safer])
 
 Makefile.am:
 
index 137332e92b563a0c73ec69c047e81d5d63580228..087e045c2c7dbbba5747bee976d878160570802f 100644 (file)
@@ -12,6 +12,7 @@ unistd-safer
 
 configure.ac:
 gl_FOPEN_SAFER
+gl_MODULE_INDICATOR([fopen-safer])
 
 Makefile.am:
 
index b67a45aa8d7bbd2099ac4ef7ac7f538f79e6ae32..f69afc96b6884b24fea43ca987f5d5580c388d04 100644 (file)
@@ -9,8 +9,7 @@ Depends-on:
 stdbool
 
 configure.ac:
-AC_DEFINE([GNULIB_FWRITEERROR], 1,
-  [Define to 1 when using the gnulib fwriteerror module.])
+gl_MODULE_INDICATOR([fwriteerror])
 
 Makefile.am:
 lib_SOURCES += fwriteerror.h fwriteerror.c