X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=modules%2Fcosl;h=2b7aaeab070ed3bf775fb224a16eb5d4ae94a95b;hb=bbfcd2f1a92c9bdbb8d7d7d0a8a8c6665c316747;hp=391a841837ce11ae58ce0932443fc7398e994b8a;hpb=622614060bdf3f9d66a61a8789eecbf29d6b2a36;p=gnulib.git diff --git a/modules/cosl b/modules/cosl index 391a84183..2b7aaeab0 100644 --- a/modules/cosl +++ b/modules/cosl @@ -11,13 +11,21 @@ m4/cosl.m4 Depends-on: math extensions -float [test $HAVE_COSL = 0] -isnanl [test $HAVE_COSL = 0] -floor [test $HAVE_COSL = 0] -floorl [test $HAVE_COSL = 0] +cos [test $HAVE_COSL = 0 && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1] +float [test $HAVE_COSL = 0 && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0] +isnanl [test $HAVE_COSL = 0 && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0] +floor [test $HAVE_COSL = 0 && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0] +floorl [test $HAVE_COSL = 0 && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0] configure.ac: gl_FUNC_COSL +if test $HAVE_COSL = 0; then + AC_LIBOBJ([cosl]) + if test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0; then + AC_LIBOBJ([sincosl]) + AC_LIBOBJ([trigl]) + fi +fi gl_MATH_MODULE_INDICATOR([cosl]) Makefile.am: