grim/guifications2

And restore --disable-nls here too.
org.guifications.gf2
2008-03-30, John Bailey
b073543ae836
Parents fd058a9d37c1
Children 9062840d6e97
And restore --disable-nls here too.
--- a/Makefile.am Thu Mar 27 02:53:05 2008 -0400
+++ b/Makefile.am Sun Mar 30 16:56:13 2008 -0400
@@ -25,7 +25,11 @@
intltool-update \
intltool-merge
-SUBDIRS = doc nsis pixmaps po src themes
+if INSTALL_I18N
+PO_DIR=po
+endif
+
+SUBDIRS = doc nsis pixmaps $(PO_DIR) src themes
BUILT_SOURCES = gf_config.h
--- a/configure.ac Thu Mar 27 02:53:05 2008 -0400
+++ b/configure.ac Sun Mar 30 16:56:13 2008 -0400
@@ -130,6 +130,13 @@
want_plugins=yes
AM_CONDITIONAL(PLUGINS, test "$want_plugins" = "yes")
+dnl #######################################################################
+dnl # Disable installation of translation files
+dnl #######################################################################
+AC_ARG_ENABLE(nls, AC_HELP_STRING([--enable-nls], [enable installation of translation files]), enable_i18n="$enableval", enable_i18n=yes)
+
+AM_CONDITIONAL(INSTALL_I18N, test "x$enable_i18n" = "xyes")
+
#
# Version stuff
#