gettimeofday: port recent C++ fix to Emacs
[gnulib.git] / modules / modf
index a075374..fae62eb 100644 (file)
@@ -2,12 +2,22 @@ Description:
 modf() function: get signed integer and fractional parts.
 
 Files:
+lib/modf.c
+m4/modf.m4
 m4/mathfunc.m4
 
 Depends-on:
+math
+isfinite        [test $REPLACE_MODF = 1]
+trunc           [test $REPLACE_MODF = 1]
+isinf           [test $REPLACE_MODF = 1]
 
 configure.ac:
-gl_MATHFUNC([modf])
+gl_FUNC_MODF
+if test $REPLACE_MODF = 1; then
+  AC_LIBOBJ([modf])
+fi
+gl_MATH_MODULE_INDICATOR([modf])
 
 Makefile.am: