mbsrtowcs: Move AC_LIBOBJ invocations to module description.
[pspp] / modules / cosl
index 88ebf9c40e4ac007a861b9e26fbf7bdfac4fa9b0..65fcbd13990a83ab7f2f70e0737b7524a7632182 100644 (file)
@@ -11,13 +11,18 @@ m4/cosl.m4
 Depends-on:
 math
 extensions
-float
-isnanl
-floor
-floorl
+float           [test $HAVE_COSL = 0]
+isnanl          [test $HAVE_COSL = 0]
+floor           [test $HAVE_COSL = 0]
+floorl          [test $HAVE_COSL = 0]
 
 configure.ac:
 gl_FUNC_COSL
+if test $HAVE_COSL = 0; then
+  AC_LIBOBJ([cosl])
+  AC_LIBOBJ([sincosl])
+  AC_LIBOBJ([trigl])
+fi
 gl_MATH_MODULE_INDICATOR([cosl])
 
 Makefile.am:
@@ -29,7 +34,7 @@ Link:
 $(ACOSL_LIBM)
 
 License:
-GPL
+LGPL
 
 Maintainer:
 Paolo Bonzini