--- mc/acinclude.m4.orig 2008-02-24 16:47:21 +0500 +++ mc/acinclude.m4 2008-03-12 01:49:18 +0500 @@ -380,7 +380,7 @@ AC_DEFUN([MC_WITH_SLANG], [ dnl Check the header slang_h_found= - AC_CHECK_HEADERS([slang.h slang/slang.h], + AC_CHECK_HEADERS([slang.h slang/slang.h slang2/slang.h], [slang_h_found=yes; break]) if test -z "$slang_h_found"; then with_screen=mcslang --- mc/src/myslang.h.orig 2008-02-24 16:47:23 +0500 +++ mc/src/myslang.h 2008-03-12 01:50:37 +0500 @@ -7,7 +7,11 @@ #ifdef HAVE_SLANG_SLANG_H # include #else +#ifdef HAVE_SLANG2_SLANG_H +# include +#else # include +#endif /* HAVE_SLANG2_SLANG_H */ #endif /* HAVE_SLANG_SLANG_H */ #endif