1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00

gettext fixes

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1180 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2001-02-03 18:12:41 +00:00 committed by cras
parent ef721655a2
commit db6aaec89a
2 changed files with 10 additions and 6 deletions

View File

@ -13,11 +13,7 @@ if BUILD_SERVERTEST
SERVERTEST=servertest
endif
if HAVE_MSGFMT
NLS_DIRS=po
endif
SUBDIRS = $(NLS_DIRS) intl $(GLIB_DIR) src $(SERVERTEST) docs scripts
SUBDIRS = po intl $(GLIB_DIR) src $(SERVERTEST) docs scripts
confdir = $(sysconfdir)/irssi
conf_DATA = config default.theme colorless.theme

View File

@ -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"