From b344de996cd51f8a2f2558a3172016b64d99c622 Mon Sep 17 00:00:00 2001
From: Bruno Haible <bruno@clisp.org>
Date: Tue, 24 May 2011 02:30:19 +0200
Subject: [PATCH] xgetcwd: Move AC_LIBOBJ invocations to module description.

* m4/xgetcwd.m4 (gl_XGETCWD): Remove AC_LIBOBJ invocation.
* modules/xgetcwd (Makefile.am): Augment lib_SOURCES.
---
 ChangeLog       | 6 ++++++
 m4/xgetcwd.m4   | 4 ++--
 modules/xgetcwd | 1 +
 3 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index c03e3de008..53fa879656 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2011-05-23  Bruno Haible  <bruno@clisp.org>
+
+	xgetcwd: Move AC_LIBOBJ invocations to module description.
+	* m4/xgetcwd.m4 (gl_XGETCWD): Remove AC_LIBOBJ invocation.
+	* modules/xgetcwd (Makefile.am): Augment lib_SOURCES.
+
 2011-05-23  Bruno Haible  <bruno@clisp.org>
 
 	xalloc: Move AC_LIBOBJ invocations to module description.
diff --git a/m4/xgetcwd.m4 b/m4/xgetcwd.m4
index e876dfaf7b..951bc3dd6e 100644
--- a/m4/xgetcwd.m4
+++ b/m4/xgetcwd.m4
@@ -1,4 +1,4 @@
-#serial 7
+#serial 8
 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,
@@ -6,5 +6,5 @@ dnl with or without modifications, as long as this notice is preserved.
 
 AC_DEFUN([gl_XGETCWD],
 [
-  AC_LIBOBJ([xgetcwd])
+  :
 ])
diff --git a/modules/xgetcwd b/modules/xgetcwd
index a3ae23f5be..21cef522cf 100644
--- a/modules/xgetcwd
+++ b/modules/xgetcwd
@@ -15,6 +15,7 @@ configure.ac:
 gl_XGETCWD
 
 Makefile.am:
+lib_SOURCES += xgetcwd.c
 
 Include:
 "xgetcwd.h"
-- 
2.39.5