Re: mcslang2
- From: Leonard den Ottolander <leonard den ottolander nl>
- To: MC development <mc-devel gnome org>
- Subject: Re: mcslang2
- Date: Tue, 27 Sep 2005 20:54:25 +0200
Hi Pavel,
On Tue, 2005-09-27 at 20:39 +0200, Pavel Tsekov wrote:
> Bootstrap the code and see the generated configure file. Similiar construct
> is used but in different context. I told you many times - you are too fast,
> too eager.
I didn't say this patch was perfect yet. Looking for some feedback to
improve it. Sorry for not posting the correct patch immediately.
configure, make distcheck and a consequent build after configure
--with-screen=mcslang2 is fine (assuming the correct patch is applied,
which still awaits moderator approval, but you got it already).
Please explain to me why the first use of #if SLANG_VERSION is invalid,
but the second isn't. And what am I supposed to see in the configure
script that needs correction?
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>
#else
#include <slang.h>
#endif
#if SLANG_VERSION >= 10000
extern unsigned int SLsys_getkey (void);
#else
extern unsigned int _SLsys_getkey (void);
#endif
Leonard.
--
mount -t life -o ro /dev/dna /genetic/research
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]