aboutsummaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1998-11-30 17:12:02 +0000
committerEric S. Raymond <esr@thyrsus.com>1998-11-30 17:12:02 +0000
commited46e0d7c7ad8d8228b230e4038446c7fdba30c7 (patch)
tree62ff9339825bd15ae5dda4ddc75a22a1c42dd59d /configure.in
parentd5e84ad7d162fb95335ef4605aed766f9efdccc1 (diff)
downloadfetchmail-ed46e0d7c7ad8d8228b230e4038446c7fdba30c7.tar.gz
fetchmail-ed46e0d7c7ad8d8228b230e4038446c7fdba30c7.tar.bz2
fetchmail-ed46e0d7c7ad8d8228b230e4038446c7fdba30c7.zip
Enable us to cleanly leave out the internationalization support.
svn path=/trunk/; revision=2237
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 52b2bd39..8d7427de 100644
--- a/configure.in
+++ b/configure.in
@@ -33,6 +33,7 @@ AC_SUBST(CPFLAGS)
AC_SUBST(CEFLAGS)
AC_SUBST(LDEFLAGS)
AC_SUBST(LIBOBJS)
+AC_SUBST(POMAKE)
# Check for LynxOS special case: -lbsd needed (at least on 2.3.0) and -s
# not working.
@@ -191,6 +192,15 @@ AC_CHECK_SIZEOF(short)
AC_CHECK_SIZEOF(int)
AC_CHECK_SIZEOF(long)
+if test "$USE_NLS" = "yes"
+then
+ echo "Enabling internationalization support..."
+ POMAKE="make -C po"
+else
+ echo "Disabling internationalization support..."
+ POMAKE="@echo '(NLS support disabled)'; #"
+fi
+
### use option --enable-POP2 to compile in the POP2 support
AC_ARG_ENABLE(POP2,
[ --enable-POP2 compile in POP2 protocol support (obsolete)],