From: Bruno Haible Date: Mon, 23 May 2011 23:50:49 +0000 (+0200) Subject: freopen-safer: Move AC_LIBOBJ invocations to module description. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c784be7bb43801d115f163586ad94534dfa27845;p=pspp 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. --- diff --git a/ChangeLog b/ChangeLog index 46b4a78291..7fcd5b65c1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +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. diff --git a/m4/stdio-safer.m4 b/m4/stdio-safer.m4 index e243a00066..83bf9c0f20 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 91c67b6ebb..bfeb0ce88f 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"