doc: use ASCII in .texi files where UTF-8 isn't needed
[gnulib.git] / modules / strtod
index 935e5f8..e8b72b4 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: