Properly quote AC_CHECK_DECL's 4th argument.
[gnulib.git] / m4 / sinl.m4
index 5666cab..510c9b7 100644 (file)
@@ -1,4 +1,4 @@
-# sinl.m4 serial 4
+# 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,
@@ -51,7 +51,7 @@ 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