mbsrtowcs: Move AC_LIBOBJ invocations to module description.
[pspp] / modules / getgroups
index 4903123eb54398e5cfd34a3c3e171170f9a06dff..66ff12f2a79d663be22e56a2b262be06bc35891b 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: