summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-02-03 18:12:41 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-02-03 18:12:41 +0000
commitdb6aaec89afd233cda93039eb8e7709cdd31205d (patch)
tree7bfbd5e663b5a37362bff0f9dc2adeb288a3ee13 /configure.in
parentef721655a27b0d69f00534d83ec7edeb231d371e (diff)
downloadirssi-db6aaec89afd233cda93039eb8e7709cdd31205d.zip
gettext fixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1180 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in10
1 files changed, 9 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index aa6c11ee..eb4b8a4e 100644
--- a/configure.in
+++ b/configure.in
@@ -580,7 +580,15 @@ dnl **
ALL_LINGUAS="pl pt_BR fr de sv"
AM_GNU_GETTEXT
-AM_CONDITIONAL(HAVE_MSGFMT, test "x$MSGFMT" != "xno")
+
+dnl stupid gettext.. we must not leave the po/ dir from SUBDIRS or
+dnl "make dist" doesn't work, and po/Makefile doesn't check if MSGFMT
+dnl exists or not, so instead of failing in po/ dir if there's no msgfmt,
+dnl we just do some stupid echos.
+if test "x$MSGFMT" = "xno"; then
+ MSGFMT=echo
+ GMSGFMT=echo
+fi
dnl ** common libraries needed by frontends
COMMON_NOUI_LIBS="$CHAT_LIBS $CORE_LIBS $INTLLIBS"