From a6d40bf8bd62118cf5194af3fb9824767c3a99ac Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Sun, 28 Jan 2001 03:29:09 +0000 Subject: [PATCH] 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 --- Makefile.am | 6 +++++- 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"