Doc update.
[pspp] / modules / strtod
index 056ff4263d88a48ea2fc0b2618181858ad2d4931..e8b72b4ff30a61357ce3c17adf0d1951fcefeff3 100644 (file)
@@ -7,12 +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: