memcpy: Move AC_LIBOBJ invocations to module description.
[pspp] / modules / isnanf
index a04a8b364a008eedb33ee05e407c9e59cb1f8d36..8b9e3a138824ab7817a4fe8981a43d9926a36092 100644 (file)
@@ -15,7 +15,10 @@ memcmp
 
 configure.ac:
 gl_FUNC_ISNANF
-if test $HAVE_ISNANF = 0; then
+m4_ifdef([gl_ISNAN], [
+  AC_REQUIRE([gl_ISNAN])
+])
+if test $HAVE_ISNANF = 0 || test $REPLACE_ISNAN = 1; then
   AC_LIBOBJ([isnanf])
   gl_PREREQ_ISNANF
 fi