DOC_SUBDIR = doc
endif
+if BUILD_PO
+PO_SUBDIR = po
+endif
+
if BUILD_IMAP
IMAP_SUBDIR = imap
IMAP_INCLUDES = -I$(top_srcdir)/imap
endif
-SUBDIRS = m4 po intl $(DOC_SUBDIR) contrib $(IMAP_SUBDIR)
+SUBDIRS = m4 intl $(DOC_SUBDIR) $(PO_SUBDIR) contrib $(IMAP_SUBDIR)
bin_SCRIPTS = $(SMIMEAUX_TARGET)
])
AM_CONDITIONAL(BUILD_DOC, test x$do_build_doc != xno)
+AC_ARG_ENABLE(po, AS_HELP_STRING([--disable-po],[Do not build the translation messages]),
+[ if test x$enableval = xno ; then
+ do_build_po=no
+ fi
+])
+AM_CONDITIONAL(BUILD_PO, test x$do_build_po != xno)
+
AC_ARG_ENABLE(full_doc,
AS_HELP_STRING([--disable-full-doc],[Omit disabled variables]),
[ if test x$enableval = xno ; then