X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=modules%2Fsinl;h=6ee7834e5267a029e511410fe75ea626eb9bf8fa;hb=fa1db0dd22768f09a507674a30beb5b8a87bb35f;hp=7f2007a94848c48df819bafa41302aa70a67b26c;hpb=622614060bdf3f9d66a61a8789eecbf29d6b2a36;p=gnulib.git diff --git a/modules/sinl b/modules/sinl index 7f2007a94..6ee7834e5 100644 --- a/modules/sinl +++ b/modules/sinl @@ -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: