Merge commit 'a39d4083cab589d7cd6a13e8a4b8db8875261d75'
[gnulib.git] / modules / modff
index 891b01c..9c510eb 100644 (file)
@@ -4,14 +4,16 @@ modff() function: get signed integer and fractional parts.
 Files:
 lib/modff.c
 m4/modff.m4
+m4/mathfunc.m4
 
 Depends-on:
 math
-modf            [test $HAVE_MODFF = 0]
+extensions
+modf            [test $HAVE_MODFF = 0 || test $REPLACE_MODFF = 1]
 
 configure.ac:
 gl_FUNC_MODFF
-if test $HAVE_MODFF = 0; then
+if test $HAVE_MODFF = 0 || test $REPLACE_MODFF = 1; then
   AC_LIBOBJ([modff])
 fi
 gl_MATH_MODULE_INDICATOR([modff])