diff options
author | Timo Sirainen <cras@irssi.org> | 2001-01-28 03:29:09 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2001-01-28 03:29:09 +0000 |
commit | a6d40bf8bd62118cf5194af3fb9824767c3a99ac (patch) | |
tree | 78e9a94f13667ce5338680f92675c564fc2a0d42 | |
parent | cff8ba0c92f06f77cf3accd03ae969c8d74834ca (diff) | |
download | irssi-a6d40bf8bd62118cf5194af3fb9824767c3a99ac.zip |
If msgfmt isn't found, don't go to "po" dir.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1148 dbcabf3a-b0e7-0310-adc4-f8d773084564
-rw-r--r-- | Makefile.am | 6 | ||||
-rw-r--r-- | configure.in | 5 |
2 files changed, 6 insertions, 5 deletions
diff --git a/Makefile.am b/Makefile.am index 8b20f487..ff471e67 100644 --- a/Makefile.am +++ b/Makefile.am @@ -13,7 +13,11 @@ if BUILD_SERVERTEST SERVERTEST=servertest endif -SUBDIRS = po intl $(GLIB_DIR) src $(SERVERTEST) docs scripts +if HAVE_MSGFMT +NLS_DIRS=po +endif + +SUBDIRS = $(NLS_DIRS) intl $(GLIB_DIR) src $(SERVERTEST) docs scripts confdir = $(sysconfdir)/irssi conf_DATA = config default.theme colorless.theme diff --git a/configure.in b/configure.in index ab46e8db..7d9710d6 100644 --- a/configure.in +++ b/configure.in @@ -580,10 +580,7 @@ dnl ** ALL_LINGUAS="pl pt_BR fr de sv" AM_GNU_GETTEXT - -if test "x$MSGFMT" = "xno"; then - USE_NLS=no -fi +AM_CONDITIONAL(HAVE_MSGFMT, test "x$MSGFMT" = "xyes") dnl ** common libraries needed by frontends COMMON_NOUI_LIBS="$CHAT_LIBS $CORE_LIBS $INTLLIBS" |