configure: rewrote detection for 'xgettext'
commit2cfb2b5276825cc5196ee7ead53d1b976f9d8478
authorChristophe CURIS <christophe.curis@free.fr>
Tue, 20 Jan 2015 21:03:57 +0000 (20 22:03 +0100)
committerCarlos R. Mafra <crmafra@gmail.com>
Tue, 20 Jan 2015 21:29:24 +0000 (20 21:29 +0000)
tree8ae3fbd7075400168bcf57f32c18d96450f83bfa
parent80e00c3521109071907467322cc98214f613eeb0
configure: rewrote detection for 'xgettext'

The main change is to use Autoconf's syntax for consistency;

Now the detected program is used in the makefiles (user has the possibility
to change the name of the command);

A conditional is used to avoid enabling make targets that would fail if
the command does not exist.

Took opportunity to implement the silent-rules compliance to POT generation
rules.

Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
WINGs/po/Makefile.am
WPrefs.app/po/Makefile.am
configure.ac
m4/wm_i18n.m4
po/Makefile.am
util/po/Makefile.am