]> The Tcpdump Group git mirrors - tcpdump/commitdiff
And another quoting of AC_LANG_SOURCE.
authorGuy Harris <[email protected]>
Tue, 1 Feb 2011 23:04:00 +0000 (15:04 -0800)
committerGuy Harris <[email protected]>
Tue, 1 Feb 2011 23:04:34 +0000 (15:04 -0800)
aclocal.m4
configure

index 679921a892bfdb7d5129047bbd73da145916c8b6..968da9c514638e9b1e5e9bab025efa9c6260959f 100644 (file)
@@ -1149,7 +1149,7 @@ dnl
 AC_DEFUN(AC_C___ATTRIBUTE___FORMAT_FUNCTION_POINTER, [
 AC_MSG_CHECKING([whether __attribute__((format)) can be applied to function pointers])
 AC_CACHE_VAL(ac_cv___attribute___format_function_pointer, [
-AC_COMPILE_IFELSE(
+AC_COMPILE_IFELSE([
   AC_LANG_SOURCE([[
 #include <stdlib.h>
 
@@ -1161,7 +1161,7 @@ main(int argc, char **argv)
 {
   (*foo)("%s", "test");
 }
-  ]]),
+  ]])],
 ac_cv___attribute___format_function_pointer=yes,
 ac_cv___attribute___format_function_pointer=no)])
 if test "$ac_cv___attribute___format_function_pointer" = "yes"; then
index 34cd7e2f421bd3e3ff71aacd464431e37e6afc1c..b66a947527f7dc11051b66f6ab91f00cd3ae4fb4 100755 (executable)
--- a/configure
+++ b/configure
@@ -3291,7 +3291,8 @@ if test "${ac_cv___attribute___format_function_pointer+set}" = set; then
 else
 
 cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
+
+  /* confdefs.h.  */
 _ACEOF
 cat confdefs.h >>conftest.$ac_ext
 cat >>conftest.$ac_ext <<_ACEOF