Configure summary omits "S-Lang" when used as screen library.
commit17706ad9f3a2ddfdab69814941297a179239331f
authorMooffie <mooffie@gmail.com>
Wed, 16 Mar 2016 16:47:22 +0000 (16 18:47 +0200)
committerAndrew Borodin <aborodin@vmail.ru>
Sat, 7 May 2016 13:19:02 +0000 (7 16:19 +0300)
tree67612e5f61af5e43102a9bf2e31e12f1adf488a9
parent284a19aff125f27b612159e7a9d9028a5a11b097
Configure summary omits "S-Lang" when used as screen library.

When using slang, 'configure' prints blank in the "Screen library" name:

    ...
    File system:                Midnight Commander Virtual Filesystem
                                cpio, extfs, fish, ftp, sfs, sftp, smb, tar
    Screen library:
    Mouse support:              gpm and xterm
    X11 events support:         yes
    ...

This occurs when slang is found using pkg-config (as opposed to explicit path
search). The patch fixes this by moving the 'screen_msg' assignment one level
up, to the controlling function (mc_WITH_SLANG) so that it's effective for
however method the library was found.

The problem was mentioned on our mailing list:

    https://mail.gnome.org/archives/mc-devel/2016-March/msg00021.html

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
m4.include/mc-with-screen-slang.m4