From: Eric Blake Date: Fri, 6 Oct 2006 23:11:25 +0000 (+0000) Subject: Define several macros for use by the clean-temp module. X-Git-Tag: cvs-readonly~1777 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=84e40e9722b7e785e530f984bada7cbba777e3c1;p=gnulib.git 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. --- diff --git a/m4/ChangeLog b/m4/ChangeLog index 1b763ebc2..1ae323428 100644 --- a/m4/ChangeLog +++ b/m4/ChangeLog @@ -1,3 +1,10 @@ +2006-10-06 Eric Blake + + 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 * lchown.m4 (gl_FUNC_LCHOWN): Check whether lchown is declared. diff --git a/m4/close-stream.m4 b/m4/close-stream.m4 index bc219b59e..9daed9ec7 100644 --- a/m4/close-stream.m4 +++ b/m4/close-stream.m4 @@ -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. : diff --git a/m4/fcntl-safer.m4 b/m4/fcntl-safer.m4 index 97e3c4518..143466e41 100644 --- a/m4/fcntl-safer.m4 +++ b/m4/fcntl-safer.m4 @@ -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.]) ]) diff --git a/m4/stdio-safer.m4 b/m4/stdio-safer.m4 index e1cfc02c5..5227db262 100644 --- a/m4/stdio-safer.m4 +++ b/m4/stdio-safer.m4 @@ -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],