e17: do not enter po/ if --disable-nls is passed to configure

SVN revision: 64187
This commit is contained in:
Vincent Torri 2011-10-19 17:46:59 +00:00
parent fd8e562507
commit 1a310e1eac
1 changed files with 8 additions and 2 deletions

View File

@ -258,15 +258,21 @@ AM_GNU_GETTEXT_VERSION([0.17])
m4_ifdef([AM_GNU_GETTEXT], [
AM_GNU_GETTEXT([external])
po_makefile_in=po/Makefile.in
AM_CONDITIONAL([HAVE_PO], [true])
have_po="yes"
],[
AM_CONDITIONAL([HAVE_PO], [false])
have_po="no"
])
AC_SUBST(LTLIBINTL)
if test "x$LIBINTL" = "x"; then
LIBINTL="$INTLLIBS"
fi
if test "x${POSUB}" = "x" ; then
have_po="no"
fi
AM_CONDITIONAL([HAVE_PO], [test "x${have_po}" = "xyes"])
AC_CHECK_LIB(dl, dlopen, dlopen_libs=-ldl)
AC_SUBST(dlopen_libs)