iswblank: Move AC_LIBOBJ invocations to module description.
[pspp] / modules / getdelim
index 1bb24f5d3ee9ebe4e7148d50321fd4b2d6142665..e84558cc2e2024aa145ca906185d7d7d1ea7f2c4 100644 (file)
@@ -6,13 +6,18 @@ lib/getdelim.c
 m4/getdelim.m4
 
 Depends-on:
-extensions
 stdio
-realloc-posix
-EOVERFLOW
+extensions
+stdint          [test $HAVE_GETDELIM = 0 || test $REPLACE_GETDELIM = 1]
+realloc-posix   [test $HAVE_GETDELIM = 0 || test $REPLACE_GETDELIM = 1]
+errno           [test $HAVE_GETDELIM = 0 || test $REPLACE_GETDELIM = 1]
 
 configure.ac:
 gl_FUNC_GETDELIM
+if test $HAVE_GETDELIM = 0 || test $REPLACE_GETDELIM = 1; then
+  AC_LIBOBJ([getdelim])
+  gl_PREREQ_GETDELIM
+fi
 gl_STDIO_MODULE_INDICATOR([getdelim])
 
 Makefile.am: