diff options
author | Filipe Brandenburger <filbranden@google.com> | 2014-06-24 23:06:46 -0700 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2014-06-26 01:41:05 -0400 |
commit | f15515b5e6a9ebe95c938cc670df6e576fcf9176 (patch) | |
tree | 88efafc0bbe4f5bc7322696795cfdac6292f2a3b /src/shared/unit-name.c | |
parent | 2f96919bcdd0978164c801b21e053fb3b31e8bac (diff) |
build-sys: disable NLS support if intltool is not found
IT_PROG_INTLTOOL makes configure fail if intltool is not present. If we can
not find intltool, then disable NLS (otherwise make in po/ fails since MSGFMT
will not be defined.)
Tested: Built it on a host without intltool.
$ ./configure --enable-nls
...
checking for intltool-merge... no
configure: error: --enable-nls requested but intltool not found
$ ./configure --disable-polkit
...
checking for intltool-merge... no
configure: WARNING: *** Disabling NLS support because intltool was not found
checking whether NLS is requested... no
...
$ make
https://bugs.freedesktop.org/show_bug.cgi?id=79692
Diffstat (limited to 'src/shared/unit-name.c')
0 files changed, 0 insertions, 0 deletions