getgroups: Move AC_LIBOBJ invocations to module description.
[pspp] / modules / fpurge
index 1caa67deea23e43976ebe3aca5c51471d35f8139..241abeb2f6bfd5198f875b176fe931a56ca609df 100644 (file)
@@ -11,16 +11,18 @@ stdio
 
 configure.ac:
 gl_FUNC_FPURGE
+if test $HAVE_FPURGE = 0 || test $REPLACE_FPURGE = 1; then
+  AC_LIBOBJ([fpurge])
+fi
 gl_STDIO_MODULE_INDICATOR([fpurge])
 
 Makefile.am:
-lib_SOURCES += fpurge.c
 
 Include:
 <stdio.h>
 
 License:
-LGPL
+LGPLv2+
 
 Maintainer:
 Bruno Haible, Eric Blake