Doc update.
[pspp] / modules / strtod
index 935e5f8d6c542e955da5526e404369ec420c3290..e8b72b4ff30a61357ce3c17adf0d1951fcefeff3 100644 (file)
@@ -7,13 +7,17 @@ m4/strtod.m4
 m4/ldexp.m4
 
 Depends-on:
-c-ctype
-stdbool
 stdlib
 strtod-obsolete
+c-ctype         [test $HAVE_STRTOD = 0 || test $REPLACE_STRTOD = 1]
+stdbool         [test $HAVE_STRTOD = 0 || test $REPLACE_STRTOD = 1]
 
 configure.ac:
 gl_FUNC_STRTOD
+if test $HAVE_STRTOD = 0 || test $REPLACE_STRTOD = 1; then
+  AC_LIBOBJ([strtod])
+  gl_PREREQ_STRTOD
+fi
 gl_STDLIB_MODULE_INDICATOR([strtod])
 
 Makefile.am: