From 342c3921744f00e8139322ed90fe826275b0739d Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sun, 8 May 2011 11:25:18 +0200 Subject: 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. --- modules/getcwd | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'modules/getcwd') 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]) -- cgit v1.2.1