Hi,
The 5.7.0 release absolutely refuses to build with NLS, after several
lines were removed from the configure.in script. Attached is a patch.
G'luck,
Peter
--
If this sentence didn't exist, somebody would have invented it.
Index: fetchmail/configure.in
===================================================================
RCS file: /home/cvsroot/roam/c/contrib/net/fetchmail/configure.in,v
retrieving revision 1.3
diff -u -r1.3 configure.in
--- fetchmail/configure.in 2001/03/02 13:40:49 1.3
+++ fetchmail/configure.in 2001/03/02 15:48:06
@@ -35,6 +35,7 @@
AC_SUBST(LDEFLAGS)
AC_SUBST(LIBOBJS)
AC_SUBST(POMAKE)
+AC_SUBST(LOCALE_DIR)
PACKAGE=`sed -n '/PACKAGE *= *\(.*\)/s//\1/p' <$srcdir/Makefile.in`
AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE")
@@ -226,7 +227,13 @@
if test "$USE_NLS" = "yes"
then
echo 'Enabling internationalization support...'
- POMAKE='$(MAKE) -C po'
+ POMAKE='cd po; $(MAKE)'
+ if test "x$prefix" != xNONE; then
+ LOCALE_DIR=$prefix/share/locale
+ else
+ LOCALE_DIR=$ac_default_prefix/share/locale
+ fi
+ EXTRADEFS="$EXTRADEFS -DLOCALEDIR='\"${LOCALE_DIR}\"'"
else
echo 'Disabling internationalization support...'
POMAKE="@echo '(NLS support disabled)'; #"