From 1847c11424a039d71b56706af805e0de1adbc278 Mon Sep 17 00:00:00 2001 From: Ian Abbott Date: Mon, 21 Jan 2013 16:47:04 +0000 Subject: [PATCH] m4/as-linux.m4: Add extra quoting in AS_CHECK_REDHAT_PRE_FC2 macro Avoid the following warning: $ ./autogen.sh configure.ac:42: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from... ../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from... m4/as-linux.m4:435: AS_CHECK_REDHAT_PRE_FC2 is expanded from... m4/as-linux.m4:69: AS_LINUX is expanded from... configure.ac:42: the top level Signed-off-by: Ian Abbott --- m4/as-linux.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/m4/as-linux.m4 b/m4/as-linux.m4 index 65e2a16e..84823436 100644 --- a/m4/as-linux.m4 +++ b/m4/as-linux.m4 @@ -438,10 +438,10 @@ AC_DEFUN([AS_CHECK_REDHAT_PRE_FC2], HAVE_REDHAT_KERNEL=false ac_save_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -I${LINUX_DIR}/include/linux" - AC_COMPILE_IFELSE(AC_LANG_PROGRAM([ + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ #include "rhconfig.h" int code = RED_HAT_LINUX_KERNEL; - ]), + ]])], AC_MSG_RESULT(found); HAVE_REDHAT_KERNEL=true, AC_MSG_RESULT(not found)) dnl restore CFLAGS -- 2.26.2