diff libpurple/gconf/Makefile.am @ 29620:f7d03842b9c9

Make --disable-nls work again. Fixes #11548.
author John Bailey <rekkanoryo@rekkanoryo.org>
date Sat, 20 Mar 2010 21:04:17 +0000
parents 309c1478b457
children f2fba90f6ce7
line wrap: on
line diff
--- a/libpurple/gconf/Makefile.am	Sat Mar 20 06:40:13 2010 +0000
+++ b/libpurple/gconf/Makefile.am	Sat Mar 20 21:04:17 2010 +0000
@@ -2,14 +2,17 @@
 
 EXTRA_DIST = purple.schemas.in
 
+if GCONF_SCHEMAS_INSTALL
+
+if INSTALL_I18N
 schema_in_files = purple.schemas.in
 schema_DATA = $(schema_in_files:.schemas.in=.schemas)
 @INTLTOOL_SCHEMAS_RULE@
+endif #INSTALL_I18N
 
-if GCONF_SCHEMAS_INSTALL
 install-data-local:
 	GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(schema_DATA) 2>&1 | \
 		grep -v "^WARNING: failed to install schema" | grep -v "^Attached schema" 1>&2
 else
 install-data-local:
-endif
+endif #GCONF_SCHEMAS_INSTALL