save-cwd: Move AC_LIBOBJ invocations to module description.
authorBruno Haible <bruno@clisp.org>
Mon, 23 May 2011 23:33:23 +0000 (01:33 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 15 Jun 2011 22:07:37 +0000 (00:07 +0200)
* m4/save-cwd.m4 (gl_SAVE_CWD): Remove AC_LIBOBJ invocation.
* modules/save-cwd (Makefile.am): Augment lib_SOURCES.

ChangeLog
m4/save-cwd.m4
modules/save-cwd

index 9e110ed..08d0104 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2011-05-23  Bruno Haible  <bruno@clisp.org>
 
+       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  <bruno@clisp.org>
+
        same: Move AC_LIBOBJ invocations to module description.
        * m4/same.m4 (gl_SAME): Remove AC_LIBOBJ invocation.
        * modules/same (Makefile.am): Augment lib_SOURCES.
index 7437e05..0769ea8 100644 (file)
@@ -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])
 ])
index 974b596..876826b 100644 (file)
@@ -18,6 +18,7 @@ configure.ac:
 gl_SAVE_CWD
 
 Makefile.am:
+lib_SOURCES += save-cwd.c
 
 Include:
 "save-cwd.h"