From 43f19912e3487d9369f48d9353789fcb8ca28399 Mon Sep 17 00:00:00 2001 From: Robert Roth Date: Thu, 22 Aug 2013 01:34:34 +0300 Subject: [PATCH] Fixed automake warning --- libgtop-sysdeps.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libgtop-sysdeps.m4 b/libgtop-sysdeps.m4 index 161e1a62..85d434d9 100644 --- a/libgtop-sysdeps.m4 +++ b/libgtop-sysdeps.m4 @@ -240,7 +240,7 @@ AC_DEFUN([GNOME_LIBGTOP_SYSDEPS],[ AC_CACHE_VAL(msginfo_needs, msginfo_needs= for def in nothing KERNEL _KERNEL; do - AC_COMPILE_IFELSE([#define $def + AC_COMPILE_IFELSE([AC_LANG_SOURCE([#define $def #include #include #include @@ -252,7 +252,7 @@ main (void) struct msginfo mi; mi.msgmax = 0; return 0; -}], +}])], [ msginfo_needs=$def if test ${msginfo_needs} = KERNEL; then