Properly quote AC_CHECK_DECL's 4th argument.
[gnulib.git] / m4 / expl.m4
index 8f1a9a9..c9c1b7b 100644 (file)
@@ -1,4 +1,4 @@
-# expl.m4 serial 3
+# expl.m4 serial 4
 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_EXPL],
      || test $gl_cv_func_expl_in_libm = yes; then
     dnl Also check whether it's declared.
     dnl MacOS X 10.3 has expl() in libc but doesn't declare it in <math.h>.
-    AC_CHECK_DECL([expl], , [HAVE_DECL_EXPL=0], [#include <math.h>])
+    AC_CHECK_DECL([expl], , [HAVE_DECL_EXPL=0], [[#include <math.h>]])
   else
     HAVE_DECL_EXPL=0
     HAVE_EXPL=0