From 5209471fe3ec30b11eaae74eac9b129d71229a64 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Tue, 24 May 2011 01:46:56 +0200 Subject: [PATCH] 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. --- ChangeLog | 8 ++++++++ m4/stdio-safer.m4 | 7 +------ modules/fopen-safer | 3 +-- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/ChangeLog b/ChangeLog index 81e8451bc..46b4a7829 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,13 @@ 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. + (configure.ac): Remove gl_FOPEN_SAFER call. + (Makefile.am): Augment lib_SOURCES. + +2011-05-23 Bruno Haible + crypto/sha512: Move AC_LIBOBJ invocations to module description. * m4/sha512.m4 (gl_SHA512): Remove AC_LIBOBJ invocation. * modules/crypto/sha512 (Makefile.am): Augment lib_SOURCES. diff --git a/m4/stdio-safer.m4 b/m4/stdio-safer.m4 index 0cf08c21e..e243a0006 100644 --- 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]) diff --git a/modules/fopen-safer b/modules/fopen-safer index 6a68f0cde..ac4ce8927 100644 --- a/modules/fopen-safer +++ b/modules/fopen-safer @@ -5,17 +5,16 @@ Files: 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" -- 2.11.0