summaryrefslogtreecommitdiff
path: root/modules/getgroups
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2011-05-08 11:46:22 +0200
committerBruno Haible <bruno@clisp.org>2011-06-16 00:06:05 +0200
commit82be3c7a98c3e607ab82ab7380fc15624c7bcba2 (patch)
tree4e08b7e93fda8cb8114dc26fbdeac534d55729c2 /modules/getgroups
parent70c1fe79c3480638fbd70ac5c3ac036f87ca5136 (diff)
downloadgnulib-82be3c7a98c3e607ab82ab7380fc15624c7bcba2.tar.gz
getgroups: Move AC_LIBOBJ invocations to module description.
* m4/getgroups.m4 (gl_FUNC_GETGROUPS): Move AC_LIBOBJ invocations from here... * modules/getgroups (configure.ac): ... to here.
Diffstat (limited to 'modules/getgroups')
-rw-r--r--modules/getgroups3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/getgroups b/modules/getgroups
index 4903123eb5..66ff12f2a7 100644
--- a/modules/getgroups
+++ b/modules/getgroups
@@ -12,6 +12,9 @@ stdint [test $HAVE_GETGROUPS = 0 || test $REPLACE_GETGROUPS = 1]
configure.ac:
gl_FUNC_GETGROUPS
+if test $HAVE_GETGROUPS = 0 || test $REPLACE_GETGROUPS = 1; then
+ AC_LIBOBJ([getgroups])
+fi
gl_UNISTD_MODULE_INDICATOR([getgroups])
Makefile.am: