Ticket #2514: patch-without-nls

File patch-without-nls, 896 bytes (added by fjoe, 14 years ago)

Omit localized hints files installation if configured with --disable-nls

Line 
1--- doc/hints/Makefile.am.orig  2011-03-22 00:02:49.000000000 +0600
2+++ doc/hints/Makefile.am       2011-03-22 00:03:11.000000000 +0600
3@@ -1,7 +1,11 @@
4 HINTFILES = \
5-       mc.hint mc.hint.cs mc.hint.es mc.hint.hu mc.hint.it     \
6+       mc.hint
7+if USE_NLS
8+HINTFILES += \
9+       mc.hint.cs mc.hint.es mc.hint.hu mc.hint.it     \
10        mc.hint.nl mc.hint.pl mc.hint.ru mc.hint.sr mc.hint.uk  \
11        mc.hint.zh
12+endif
13 
14 hintdir = $(pkgdatadir)/hints
15 hint_DATA = $(HINTFILES)
16--- configure.ac.orig   2011-03-21 23:58:52.000000000 +0600
17+++ configure.ac        2011-03-22 00:01:04.000000000 +0600
18@@ -504,6 +504,7 @@
19 AM_CONDITIONAL(USE_SCREEN_SLANG, [test x"$with_screen" = xslang])
20 AM_CONDITIONAL(USE_EDIT, [test -n "$use_edit"])
21 AM_CONDITIONAL(USE_DIFF, [test -n "$use_diff"])
22+AM_CONDITIONAL(USE_NLS, [test x"$USE_NLS" = xyes])
23 AM_CONDITIONAL(CHARSET, [test -n "$have_charset"])
24 AM_CONDITIONAL(CONS_SAVER, [test -n "$cons_saver"])
25