memcpy: Move AC_LIBOBJ invocations to module description.
[pspp] / modules / floorf
index 47b9d5ca242f4897c5a9cba956f7b376508acf69..7357649e776543ec6539746ac3e382615ee646be 100644 (file)
@@ -9,10 +9,13 @@ m4/floorf.m4
 Depends-on:
 math
 extensions
-float
+float           [test $HAVE_DECL_FLOORF = 0 || test $REPLACE_FLOORF = 1]
 
 configure.ac:
 gl_FUNC_FLOORF
+if test $HAVE_DECL_FLOORF = 0 || test $REPLACE_FLOORF = 1; then
+  AC_LIBOBJ([floorf])
+fi
 gl_MATH_MODULE_INDICATOR([floorf])
 
 Makefile.am: