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


_______________________________________________
Mc-devel mailing list
http://mail.gnome.org/mailman/listinfo/mc-devel

Reply via email to