iswblank: Move AC_LIBOBJ invocations to module description.
[pspp] / modules / frexpl-nolibm
index 80ce8fb70176228e9e2fc9390525f99bc0404d4e..ec1acd2f09f0199e601fa4a9d0ab954b8a658705 100644 (file)
@@ -9,11 +9,14 @@ m4/frexpl.m4
 
 Depends-on:
 math
-isnanl-nolibm
-fpucw
+isnanl-nolibm   [test $HAVE_DECL_FREXPL = 0 || test $gl_func_frexpl_no_libm = no]
+fpucw           [test $HAVE_DECL_FREXPL = 0 || test $gl_func_frexpl_no_libm = no]
 
 configure.ac:
 gl_FUNC_FREXPL_NO_LIBM
+if test $HAVE_DECL_FREXPL = 0 || test $gl_func_frexpl_no_libm = no; then
+  AC_LIBOBJ([frexpl])
+fi
 gl_MATH_MODULE_INDICATOR([frexpl])
 
 Makefile.am: