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

SVN revision: 64271
This commit is contained in:
Vincent Torri 2011-10-21 21:20:12 +00:00
parent 51136e3e81
commit 136032470c
1 changed files with 9 additions and 2 deletions

View File

@ -600,11 +600,18 @@ 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${POSUB}" = "x" ; then
have_po="no"
fi
AM_CONDITIONAL([HAVE_PO], [test "x${have_po}" = "xyes"])
EFL_CHECK_PATH_MAX