changeset 15243:6a09a3caddef

fopen-safer: Move AC_LIBOBJ invocations to module description. * m4/stdio-safer.m4 (gl_FOPEN_SAFER): Remove macro. * modules/fopen-safer (Files): Remove m4/stdio-safer.m4. (configure.ac): Remove gl_FOPEN_SAFER call. (Makefile.am): Augment lib_SOURCES.
author Bruno Haible <bruno@clisp.org>
date Tue, 24 May 2011 01:46:56 +0200
parents 3aaaa47a58af
children a9daeaa8d991
files ChangeLog m4/stdio-safer.m4 modules/fopen-safer
diffstat 3 files changed, 10 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2011-05-23  Bruno Haible  <bruno@clisp.org>
+
+	fopen-safer: Move AC_LIBOBJ invocations to module description.
+	* m4/stdio-safer.m4 (gl_FOPEN_SAFER): Remove macro.
+	* modules/fopen-safer (Files): Remove m4/stdio-safer.m4.
+	(configure.ac): Remove gl_FOPEN_SAFER call.
+	(Makefile.am): Augment lib_SOURCES.
+
 2011-05-23  Bruno Haible  <bruno@clisp.org>
 
 	crypto/sha512: Move AC_LIBOBJ invocations to module description.
--- a/m4/stdio-safer.m4
+++ b/m4/stdio-safer.m4
@@ -1,14 +1,9 @@
-#serial 12
+#serial 13
 dnl Copyright (C) 2002, 2005-2007, 2009-2011 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_FOPEN_SAFER],
-[
-  AC_LIBOBJ([fopen-safer])
-])
-
 AC_DEFUN([gl_FREOPEN_SAFER],
 [
   AC_LIBOBJ([freopen-safer])
--- a/modules/fopen-safer
+++ b/modules/fopen-safer
@@ -5,17 +5,16 @@
 lib/stdio--.h
 lib/stdio-safer.h
 lib/fopen-safer.c
-m4/stdio-safer.m4
 
 Depends-on:
 fopen
 unistd-safer
 
 configure.ac:
-gl_FOPEN_SAFER
 gl_MODULE_INDICATOR([fopen-safer])
 
 Makefile.am:
+lib_SOURCES += fopen-safer.c
 
 Include:
 "stdio-safer.h"