CVS patchset: 3353
CVS date: 1999/09/30 16:03:43
fi
AC_SUBST(BUILD_RPMCONVERT)
+dnl whether or not we should try to build rpmgettext/rpmputtext.
+if test X"USE_NLS" = Xyes; then
+ BUILD_RPMNLSTOOLS="rpmgettext rpmputtext"
+else
+ BUILD_RPMNLSTOOLS=
+fi
+AC_SUBST(BUILD_RPMNLSTOOLS)
+
AC_CHECK_HEADERS(glob.h)
dnl statfs portability fiddles.
AS = @AS@
AWK = @AWK@
BUILD_RPMCONVERT = @BUILD_RPMCONVERT@
+BUILD_RPMNLSTOOLS = @BUILD_RPMNLSTOOLS@
BZIP2BIN = @BZIP2BIN@
CATALOGS = @CATALOGS@
CATOBJEXT = @CATOBJEXT@
AS = @AS@
AWK = @AWK@
BUILD_RPMCONVERT = @BUILD_RPMCONVERT@
+BUILD_RPMNLSTOOLS = @BUILD_RPMNLSTOOLS@
BZIP2BIN = @BZIP2BIN@
CATALOGS = @CATALOGS@
CATOBJEXT = @CATOBJEXT@
$(top_builddir)/popt/.libs/libpopt.a \
@LIBMISC@
+EXTRA_PROGRAMS = rpmgettext rpmputtext
+
LDADD = $(top_builddir)/lib/.libs/librpm.a @LIBMISC@
noinst_PROGRAMS = \
dump dumpdb javadeps rpmarchive rpmheader rpmlead rpmsignature
pkgbindir = @RPMCONFIGDIR@
-pkgbin_PROGRAMS = rpmgettext rpmputtext
+pkgbin_PROGRAMS = @BUILD_RPMNLSTOOLS@
rpmgettext_SOURCES = rpmgettext.c
rpmgettext_LDADD = $(mylibs)