From 136032470ce3630db88b641387e7a7d8916a17a6 Mon Sep 17 00:00:00 2001 From: Vincent Torri Date: Fri, 21 Oct 2011 21:20:12 +0000 Subject: [PATCH] Elementary: do not enter po/ if --disable-nls is passed to configure SVN revision: 64271 --- legacy/elementary/configure.ac | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/legacy/elementary/configure.ac b/legacy/elementary/configure.ac index b48e465b1d..9a46b0b074 100644 --- a/legacy/elementary/configure.ac +++ b/legacy/elementary/configure.ac @@ -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