X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=modules%2Fsinl;h=6ee7834e5267a029e511410fe75ea626eb9bf8fa;hb=4752c7c4aaba4eca621082dc8042646f6efd71ec;hp=7f2007a94848c48df819bafa41302aa70a67b26c;hpb=b6772983c800c6faee7fc793b83975afb6d58bcc;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: