summaryrefslogtreecommitdiff
path: root/modules/getcwd
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2011-05-08 11:25:18 +0200
committerBruno Haible <bruno@clisp.org>2011-06-16 00:06:03 +0200
commit342c3921744f00e8139322ed90fe826275b0739d (patch)
treea7537218e3dba5f71d99413cd330667556c6f341 /modules/getcwd
parent95a8ef959ffec07e349bc9da437d5333d7b00455 (diff)
downloadgnulib-342c3921744f00e8139322ed90fe826275b0739d.tar.gz
getcwd: Move AC_LIBOBJ invocations to module description.
* m4/getcwd.m4 (gl_FUNC_GETCWD): Move AC_LIBOBJ and gl_PREREQ_GETCWD invocations from here... * modules/getcwd (configure.ac): ... to here.
Diffstat (limited to 'modules/getcwd')
-rw-r--r--modules/getcwd4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/getcwd b/modules/getcwd
index cc80bfe882..6b764d21c8 100644
--- a/modules/getcwd
+++ b/modules/getcwd
@@ -20,6 +20,10 @@ strdup-posix [test $REPLACE_GETCWD = 1]
configure.ac:
gl_FUNC_GETCWD
+if test $REPLACE_GETCWD = 1; then
+ AC_LIBOBJ([getcwd])
+ gl_PREREQ_GETCWD
+fi
gl_MODULE_INDICATOR([getcwd])
gl_UNISTD_MODULE_INDICATOR([getcwd])