X-Git-Url: https://erislabs.net/gitweb/?a=blobdiff_plain;f=modules%2Fsqrtl;h=65a91d7c98482c1746a4b83348c3845ea658e8b7;hb=929bd53a6d2863c97bd3eb371f4693c39540bcb5;hp=d7f73cac92e10695e72dd7bf01bbff24534eb151;hpb=622614060bdf3f9d66a61a8789eecbf29d6b2a36;p=gnulib.git diff --git a/modules/sqrtl b/modules/sqrtl index d7f73cac9..65a91d7c9 100644 --- a/modules/sqrtl +++ b/modules/sqrtl @@ -8,14 +8,17 @@ m4/sqrtl.m4 Depends-on: math extensions -float [test $HAVE_SQRTL = 0] -isnanl [test $HAVE_SQRTL = 0] -frexpl [test $HAVE_SQRTL = 0] -ldexpl [test $HAVE_SQRTL = 0] -sqrt [test $HAVE_SQRTL = 0] +sqrt [{ test $HAVE_SQRTL = 0 || test $REPLACE_SQRTL = 1; }] +float [{ test $HAVE_SQRTL = 0 || test $REPLACE_SQRTL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0] +isnanl [{ test $HAVE_SQRTL = 0 || test $REPLACE_SQRTL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0] +frexpl [{ test $HAVE_SQRTL = 0 || test $REPLACE_SQRTL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0] +ldexpl [{ test $HAVE_SQRTL = 0 || test $REPLACE_SQRTL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0] configure.ac: gl_FUNC_SQRTL +if test $HAVE_SQRTL = 0 || test $REPLACE_SQRTL = 1; then + AC_LIBOBJ([sqrtl]) +fi gl_MATH_MODULE_INDICATOR([sqrtl]) Makefile.am: