Ticket #2589: 0001-fix-autoconf-warning.patch

File 0001-fix-autoconf-warning.patch, 1.0 KB (added by jmak, 13 years ago)
  • m4.include/mc-with-screen-slang.m4

    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], [ 
    7878    dnl check if S-Lang have version 2.0 or newer 
    7979    if test x"$found_slang" = x"yes"; then 
    8080        AC_MSG_CHECKING([for S-Lang version 2.0 or newer]) 
    81         AC_RUN_IFELSE([ 
     81        AC_RUN_IFELSE([AC_LANG_SOURCE([ 
    8282#ifdef HAVE_SLANG_SLANG_H 
    8383#include <slang/slang.h> 
    8484#else 
    int main (void) 
    9292    return 1; 
    9393#endif 
    9494} 
    95 ], 
     95])], 
    9696            [mc_slang_is_valid_version=yes], 
    9797            [mc_slang_is_valid_version=no], 
    9898            [