Re: mcslang2
- From: Pavel Tsekov <ptsekov gmx net>
- To: Leonard den Ottolander <leonard den ottolander nl>
- Cc: MC development <mc-devel gnome org>
- Subject: Re: mcslang2
- Date: Tue, 27 Sep 2005 15:13:21 +0300
This is plain wrong:
diff -pruN mc/acinclude.m4 mc.slang2/acinclude.m4
--- mc/acinclude.m4 2005-07-20 14:45:13.000000000 +0200
+++ mc.slang2/acinclude.m4 2005-09-26 22:31:34.000000000 +0200
@@ -674,7 +674,11 @@ AC_DEFUN([MC_SLANG_PRIVATE], [
AC_CACHE_CHECK([if S-Lang exports private functions],
[mc_cv_slang_private], [
ac_save_LIBS="$LIBS"
+ #if SLANG_VERSION < 20000
LIBS="$LIBS -lslang"
+ #else
+ LIBS="$LIBS -lslang2"
+ #endif
AC_TRY_LINK([
#ifdef HAVE_SLANG_SLANG_H
#include <slang/slang.h>
@@ -711,7 +715,11 @@ dnl
AC_DEFUN([MC_SLANG_TERMCAP], [
AC_CACHE_CHECK([if S-Lang uses termcap], [mc_cv_slang_termcap], [
ac_save_LIBS="$LIBS"
+ #if SLANG_VERSION < 20000
LIBS="$LIBS -lslang"
+ #else
+ LIBS="$LIBS -lslang2"
+ #endif
AC_TRY_LINK([
#ifdef HAVE_SLANG_SLANG_H
#include <slang/slang.h>
You are not writing C code here - this is shell scripting.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]