New module 'asinf'.
[gnulib.git] / m4 / sinl.m4
index d77230a..510c9b7 100644 (file)
@@ -1,5 +1,5 @@
-# sinl.m4 serial 3
-dnl Copyright (C) 2010 Free Software Foundation, Inc.
+# sinl.m4 serial 5
+dnl Copyright (C) 2010-2011 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
@@ -51,13 +51,11 @@ AC_DEFUN([gl_FUNC_SINL],
      || test $gl_cv_func_sinl_in_libm = yes; then
     dnl Also check whether it's declared.
     dnl MacOS X 10.3 has sinl() in libc but doesn't declare it in <math.h>.
-    AC_CHECK_DECL([sinl], , [HAVE_DECL_SINL=0], [#include <math.h>])
+    AC_CHECK_DECL([sinl], , [HAVE_DECL_SINL=0], [[#include <math.h>]])
   else
     HAVE_DECL_SINL=0
     HAVE_SINL=0
-    AC_LIBOBJ([sinl])
-    AC_LIBOBJ([sincosl])
-    AC_LIBOBJ([trigl])
+    dnl Find libraries needed to link lib/sinl.c, lib/sincosl.c, lib/trigl.c.
     AC_REQUIRE([gl_FUNC_ISNANL])
     AC_REQUIRE([gl_FUNC_FLOOR])
     AC_REQUIRE([gl_FUNC_FLOORL])