mbsrtowcs: Move AC_LIBOBJ invocations to module description.
[pspp] / modules / floorl
index 66c13621ad324e8ac749bf2fb2af6e64d23e0948..9d1bac28403d5eef80e6e77b414749c10f9f7c07 100644 (file)
@@ -9,10 +9,13 @@ m4/floorl.m4
 Depends-on:
 math
 extensions
-float
+float           [test $HAVE_DECL_FLOORL = 0 || test $REPLACE_FLOORL = 1]
 
 configure.ac:
 gl_FUNC_FLOORL
+if test $HAVE_DECL_FLOORL = 0 || test $REPLACE_FLOORL = 1; then
+  AC_LIBOBJ([floorl])
+fi
 gl_MATH_MODULE_INDICATOR([floorl])
 
 Makefile.am: