pthread: Determine $(LIB_PTHREAD) correctly on IRIX 6.5.
[gnulib.git] / modules / getgroups
index 4903123..66ff12f 100644 (file)
@@ -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: