From c784be7bb43801d115f163586ad94534dfa27845 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Tue, 24 May 2011 01:50:49 +0200 Subject: [PATCH] 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. --- ChangeLog | 8 ++++++++ m4/stdio-safer.m4 | 7 +------ modules/freopen-safer | 3 +-- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/ChangeLog b/ChangeLog index 46b4a7829..7fcd5b65c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,13 @@ 2011-05-23 Bruno Haible + 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 + 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. diff --git a/m4/stdio-safer.m4 b/m4/stdio-safer.m4 index e243a0006..83bf9c0f2 100644 --- 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]) diff --git a/modules/freopen-safer b/modules/freopen-safer index 91c67b6eb..bfeb0ce88 100644 --- a/modules/freopen-safer +++ b/modules/freopen-safer @@ -5,7 +5,6 @@ Files: lib/stdio--.h lib/stdio-safer.h lib/freopen-safer.c -m4/stdio-safer.m4 Depends-on: dup2 @@ -14,10 +13,10 @@ open stdbool configure.ac: -gl_FREOPEN_SAFER gl_MODULE_INDICATOR([freopen-safer]) Makefile.am: +lib_SOURCES += freopen-safer.c Include: "stdio-safer.h" -- 2.11.0