roundf-ieee: Fix test failures on AIX 7.1 and OSF/1 5.1.
[pspp] / modules / ldexpl
index 1d759d02b2e34b12d23266a296dfcf8bc22dc148..b6d31173432611c02ac0f59817f35eea6087ca1a 100644 (file)
@@ -7,11 +7,14 @@ m4/ldexpl.m4
 
 Depends-on:
 math
-isnanl-nolibm
-fpucw
+isnanl          [test $HAVE_DECL_LDEXPL = 0 || test $gl_func_ldexpl = no]
+fpucw           [test $HAVE_DECL_LDEXPL = 0 || test $gl_func_ldexpl = no]
 
 configure.ac:
 gl_FUNC_LDEXPL
+if test $HAVE_DECL_LDEXPL = 0 || test $gl_func_ldexpl = no; then
+  AC_LIBOBJ([ldexpl])
+fi
 gl_MATH_MODULE_INDICATOR([ldexpl])
 
 Makefile.am:
@@ -19,6 +22,9 @@ Makefile.am:
 Include:
 <math.h>
 
+Link:
+$(LDEXPL_LIBM)
+
 License:
 LGPL