From c6e08009488e636b04791b25a28e57748aa59797 Mon Sep 17 00:00:00 2001
From: Jindrich Makovicka <makovick@gmail.com>
Date: Mon, 8 Aug 2011 23:29:00 +0200
Subject: [PATCH] fix autoconf warning
Signed-off-by: Jindrich Makovicka <makovick@gmail.com>
---
m4.include/mc-with-screen-slang.m4 | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/m4.include/mc-with-screen-slang.m4 b/m4.include/mc-with-screen-slang.m4
index 876b839..d1b4b28 100644
a
|
b
|
AC_DEFUN([MC_CHECK_SLANG_BY_PATH], [ |
78 | 78 | dnl check if S-Lang have version 2.0 or newer |
79 | 79 | if test x"$found_slang" = x"yes"; then |
80 | 80 | AC_MSG_CHECKING([for S-Lang version 2.0 or newer]) |
81 | | AC_RUN_IFELSE([ |
| 81 | AC_RUN_IFELSE([AC_LANG_SOURCE([ |
82 | 82 | #ifdef HAVE_SLANG_SLANG_H |
83 | 83 | #include <slang/slang.h> |
84 | 84 | #else |
… |
… |
int main (void) |
92 | 92 | return 1; |
93 | 93 | #endif |
94 | 94 | } |
95 | | ], |
| 95 | ])], |
96 | 96 | [mc_slang_is_valid_version=yes], |
97 | 97 | [mc_slang_is_valid_version=no], |
98 | 98 | [ |