changeset 15244:a9daeaa8d991

freopen-safer: Move AC_LIBOBJ invocations to module description. * m4/stdio-safer.m4 (gl_FREOPEN_SAFER): Remove macro. * modules/freopen-safer (Files): Remove m4/stdio-safer.m4. (configure.ac): Remove gl_FREOPEN_SAFER call. (Makefile.am): Augment lib_SOURCES.
author Bruno Haible <bruno@clisp.org>
date Tue, 24 May 2011 01:50:49 +0200
parents 6a09a3caddef
children 6a3afd222026
files ChangeLog m4/stdio-safer.m4 modules/freopen-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>
+
+	freopen-safer: Move AC_LIBOBJ invocations to module description.
+	* m4/stdio-safer.m4 (gl_FREOPEN_SAFER): Remove macro.
+	* modules/freopen-safer (Files): Remove m4/stdio-safer.m4.
+	(configure.ac): Remove gl_FREOPEN_SAFER call.
+	(Makefile.am): Augment lib_SOURCES.
+
 2011-05-23  Bruno Haible  <bruno@clisp.org>
 
 	fopen-safer: Move AC_LIBOBJ invocations to module description.
--- a/m4/stdio-safer.m4
+++ b/m4/stdio-safer.m4
@@ -1,14 +1,9 @@
-#serial 13
+#serial 14
 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_FREOPEN_SAFER],
-[
-  AC_LIBOBJ([freopen-safer])
-])
-
 AC_DEFUN([gl_POPEN_SAFER],
 [
   AC_LIBOBJ([popen-safer])
--- a/modules/freopen-safer
+++ b/modules/freopen-safer
@@ -5,7 +5,6 @@
 lib/stdio--.h
 lib/stdio-safer.h
 lib/freopen-safer.c
-m4/stdio-safer.m4
 
 Depends-on:
 dup2
@@ -14,10 +13,10 @@
 stdbool
 
 configure.ac:
-gl_FREOPEN_SAFER
 gl_MODULE_INDICATOR([freopen-safer])
 
 Makefile.am:
+lib_SOURCES += freopen-safer.c
 
 Include:
 "stdio-safer.h"