getgroups: Move AC_LIBOBJ invocations to module description.
[pspp] / modules / fseeko
index 3581d8a7b0de9b65ce2453faabddd8b79cd08364..07f78e5550b4456cc99d721c74e9733101a5f296 100644 (file)
@@ -10,12 +10,17 @@ Depends-on:
 extensions
 lseek
 stdio
+# Just to guarantee consistency between fseek() and fseeko().
+fseek
 
 configure.ac-early:
 AC_REQUIRE([AC_FUNC_FSEEKO])
 
 configure.ac:
 gl_FUNC_FSEEKO
+if test $HAVE_FSEEKO = 0 || test $REPLACE_FSEEKO = 1; then
+  AC_LIBOBJ([fseeko])
+fi
 gl_STDIO_MODULE_INDICATOR([fseeko])
 
 Makefile.am: