gettimeofday: port recent C++ fix to Emacs
[gnulib.git] / modules / isnand
index 362b1f8..1ac796d 100644 (file)
@@ -15,7 +15,10 @@ memcmp
 
 configure.ac:
 gl_FUNC_ISNAND
-if test $HAVE_ISNAND = 0; then
+m4_ifdef([gl_ISNAN], [
+  AC_REQUIRE([gl_ISNAN])
+])
+if test $HAVE_ISNAND = 0 || test $REPLACE_ISNAN = 1; then
   AC_LIBOBJ([isnand])
   gl_PREREQ_ISNAND
 fi