NEWS.stable: log cherry-pick [e446f25]->[c092018] relocatable-shell: Update suggested...
[gnulib.git] / modules / acosl
index 3c49196..2ca9ebe 100644 (file)
@@ -8,11 +8,15 @@ m4/acosl.m4
 Depends-on:
 math
 extensions
-asinl
-sqrtl
+acos            [test $HAVE_ACOSL = 0 && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1]
+asinl           [test $HAVE_ACOSL = 0 && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]
+sqrtl           [test $HAVE_ACOSL = 0 && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]
 
 configure.ac:
 gl_FUNC_ACOSL
+if test $HAVE_ACOSL = 0; then
+  AC_LIBOBJ([acosl])
+fi
 gl_MATH_MODULE_INDICATOR([acosl])
 
 Makefile.am:
@@ -24,7 +28,7 @@ Link:
 $(ACOSL_LIBM)
 
 License:
-GPL
+LGPL
 
 Maintainer:
 Paolo Bonzini