strtoumax: fix typo in previous commit.
[gnulib.git] / modules / sinl
index 7f2007a..6ee7834 100644 (file)
@@ -11,13 +11,21 @@ m4/sinl.m4
 Depends-on:
 math
 extensions
-float           [test $HAVE_SINL = 0]
-isnanl          [test $HAVE_SINL = 0]
-floor           [test $HAVE_SINL = 0]
-floorl          [test $HAVE_SINL = 0]
+sin             [test $HAVE_SINL = 0 && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1]
+float           [test $HAVE_SINL = 0 && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]
+isnanl          [test $HAVE_SINL = 0 && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]
+floor           [test $HAVE_SINL = 0 && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]
+floorl          [test $HAVE_SINL = 0 && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]
 
 configure.ac:
 gl_FUNC_SINL
+if test $HAVE_SINL = 0; then
+  AC_LIBOBJ([sinl])
+  if test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0; then
+    AC_LIBOBJ([sincosl])
+    AC_LIBOBJ([trigl])
+  fi
+fi
 gl_MATH_MODULE_INDICATOR([sinl])
 
 Makefile.am: