Properly quote AC_CHECK_DECL's 4th argument.
[gnulib.git] / m4 / sqrtl.m4
index 87ffc37..aa8522b 100644 (file)
@@ -1,4 +1,4 @@
-# sqrtl.m4 serial 4
+# sqrtl.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_SQRTL],
      || test $gl_cv_func_sqrtl_in_libm = yes; then
     dnl Also check whether it's declared.
     dnl MacOS X 10.3 has sqrtl() in libc but doesn't declare it in <math.h>.
-    AC_CHECK_DECL([sqrtl], , [HAVE_DECL_SQRTL=0], [#include <math.h>])
+    AC_CHECK_DECL([sqrtl], , [HAVE_DECL_SQRTL=0], [[#include <math.h>]])
   else
     HAVE_DECL_SQRTL=0
     HAVE_SQRTL=0