From 5b3f0a5e09cdf8240c659f16b97a76b5c6f2f7f4 Mon Sep 17 00:00:00 2001 From: Vincent Torri Date: Wed, 19 Oct 2011 17:21:33 +0000 Subject: [PATCH] Ecore: do not enter po/ if --disable-nls is passed to configure SVN revision: 64183 --- legacy/ecore/configure.ac | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/legacy/ecore/configure.ac b/legacy/ecore/configure.ac index 47190117df..24066ec547 100644 --- a/legacy/ecore/configure.ac +++ b/legacy/ecore/configure.ac @@ -65,12 +65,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"]) + with_max_log_level="" AC_ARG_WITH(internal-maximum-log-level, [AC_HELP_STRING([--with-internal-maximum-log-level=NUMBER],