From f7fbbd8116487ac9f858c253f4eeb9547e3d6ede Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Tue, 24 May 2011 01:33:23 +0200 Subject: [PATCH] save-cwd: Move AC_LIBOBJ invocations to module description. * m4/save-cwd.m4 (gl_SAVE_CWD): Remove AC_LIBOBJ invocation. * modules/save-cwd (Makefile.am): Augment lib_SOURCES. --- ChangeLog | 6 ++++++ m4/save-cwd.m4 | 5 ++--- modules/save-cwd | 1 + 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 9e110ed6a..08d0104ef 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2011-05-23 Bruno Haible + save-cwd: Move AC_LIBOBJ invocations to module description. + * m4/save-cwd.m4 (gl_SAVE_CWD): Remove AC_LIBOBJ invocation. + * modules/save-cwd (Makefile.am): Augment lib_SOURCES. + +2011-05-23 Bruno Haible + same: Move AC_LIBOBJ invocations to module description. * m4/same.m4 (gl_SAME): Remove AC_LIBOBJ invocation. * modules/same (Makefile.am): Augment lib_SOURCES. diff --git a/m4/save-cwd.m4 b/m4/save-cwd.m4 index 7437e0536..0769ea8e1 100644 --- a/m4/save-cwd.m4 +++ b/m4/save-cwd.m4 @@ -1,12 +1,11 @@ -# serial 9 +# serial 10 dnl Copyright (C) 2002-2006, 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. +dnl Prerequisites for lib/save-cwd.c. AC_DEFUN([gl_SAVE_CWD], [ - AC_LIBOBJ([save-cwd]) - dnl Prerequisites for lib/save-cwd.c. AC_CHECK_FUNCS_ONCE([fchdir]) ]) diff --git a/modules/save-cwd b/modules/save-cwd index 974b5962c..876826b0b 100644 --- a/modules/save-cwd +++ b/modules/save-cwd @@ -18,6 +18,7 @@ configure.ac: gl_SAVE_CWD Makefile.am: +lib_SOURCES += save-cwd.c Include: "save-cwd.h" -- 2.11.0