btowc: Move AC_LIBOBJ invocations to module description.
[pspp] / modules / frexpl
index 465336e34ec39038f2c0e63fff7adc73d2245692..d1f0159b638cf4fd43bcfcb4e771de5825bd22a8 100644 (file)
@@ -8,8 +8,8 @@ m4/frexpl.m4
 
 Depends-on:
 math
-isnanl-nolibm
-fpucw
+isnanl-nolibm   [test $HAVE_DECL_FREXPL = 0 || test $gl_func_frexpl = no]
+fpucw           [test $HAVE_DECL_FREXPL = 0 || test $gl_func_frexpl = no]
 
 configure.ac:
 gl_FUNC_FREXPL
@@ -20,6 +20,9 @@ Makefile.am:
 Include:
 <math.h>
 
+Link:
+$(FREXPL_LIBM)
+
 License:
 LGPL