Define several macros for use by the clean-temp module.
authorEric Blake <ebb9@byu.net>
Fri, 6 Oct 2006 23:11:25 +0000 (23:11 +0000)
committerEric Blake <ebb9@byu.net>
Fri, 6 Oct 2006 23:11:25 +0000 (23:11 +0000)
* close-stream.m4 (gl_CLOSE_STREAM): Define GNULIB_CLOSE_STREAM.
* fcntl-safer.m4 (gl_FCNTL_SAFER): Define GNULIB_FCNTL_SAFER.
* stdio-safer.m4 (gl_FOPEN_SAFER): Define GNULIB_FOPEN_SAFER.

m4/ChangeLog
m4/close-stream.m4
m4/fcntl-safer.m4
m4/stdio-safer.m4

index 1b763eb..1ae3234 100644 (file)
@@ -1,3 +1,10 @@
+2006-10-06  Eric Blake  <ebb9@byu.net>
+
+       Define several macros for use by the clean-temp module.
+       * close-stream.m4 (gl_CLOSE_STREAM): Define GNULIB_CLOSE_STREAM.
+       * fcntl-safer.m4 (gl_FCNTL_SAFER): Define GNULIB_FCNTL_SAFER.
+       * stdio-safer.m4 (gl_FOPEN_SAFER): Define GNULIB_FOPEN_SAFER.
+
 2006-10-05  Paul Eggert  <eggert@cs.ucla.edu>
 
        * lchown.m4 (gl_FUNC_LCHOWN): Check whether lchown is declared.
index bc219b5..9daed9e 100644 (file)
@@ -1,3 +1,4 @@
+#serial 2
 dnl Copyright (C) 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,6 +7,8 @@ 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 97e3c45..143466e 100644 (file)
@@ -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,
@@ -8,4 +8,6 @@ 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 e1cfc02..5227db2 100644 (file)
@@ -1,4 +1,4 @@
-#serial 8
+#serial 9
 dnl Copyright (C) 2002, 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,
@@ -7,6 +7,8 @@ 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],