configure: rewrote the support for option '--with-menu-textdomain'
commitf222a319b1f1e2f3e4233b56a6077a23c7662b75
authorChristophe CURIS <christophe.curis@free.fr>
Tue, 20 Jan 2015 21:04:02 +0000 (20 22:04 +0100)
committerCarlos R. Mafra <crmafra@gmail.com>
Tue, 20 Jan 2015 21:29:24 +0000 (20 21:29 +0000)
tree3e347ef668abb0fcf07b8a0ad242d0d2b276d38b
parentbf6bc120a5cbdefb337b8390eff3fa7a147e9c3c
configure: rewrote the support for option '--with-menu-textdomain'

The idea is to include consistency check to warn the user if he is not
using it properly, instead of silently misbehaving;

Updated code style to use Autoconf macros for consistency.

Took opportunity to remove the hacky setting inside 'config-paths.h' where
it is a bit out of place, in favour of a standard DEFINE in the 'config.h'.

Include in the i18n documentation the explanation on how Window Maker
translates the menus, both when the 'menu-textdomain' option is used and
when it is not.

Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
Makefile.am
configure.ac
doc/build/Translations.texi
m4/wm_i18n.m4