From: Guy Harris Date: Tue, 1 Feb 2011 23:04:00 +0000 (-0800) Subject: And another quoting of AC_LANG_SOURCE. X-Git-Url: https://git.tcpdump.org/tcpdump/commitdiff_plain/a83611609f58d944f0183df3ce8e341d4632eb22 And another quoting of AC_LANG_SOURCE. --- diff --git a/aclocal.m4 b/aclocal.m4 index 679921a8..968da9c5 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -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 @@ -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 diff --git a/configure b/configure index 34cd7e2f..b66a9475 100755 --- 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