gettimeofday: port recent C++ fix to Emacs
[gnulib.git] / modules / asinl
index 19e049c..8abb65b 100644 (file)
@@ -8,10 +8,14 @@ m4/asinl.m4
 Depends-on:
 math
 extensions
-sqrtl           [test $HAVE_ASINL = 0]
+asin            [test $HAVE_ASINL = 0 && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1]
+sqrtl           [test $HAVE_ASINL = 0 && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]
 
 configure.ac:
 gl_FUNC_ASINL
+if test $HAVE_ASINL = 0; then
+  AC_LIBOBJ([asinl])
+fi
 gl_MATH_MODULE_INDICATOR([asinl])
 
 Makefile.am: