Elementary: do not enter po/ if --disable-nls is passed to configure
authorcaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 21 Oct 2011 21:20:12 +0000 (21:20 +0000)
committerMike McCormack <mj.mccormack@samsung.com>
Fri, 18 Nov 2011 02:40:20 +0000 (11:40 +0900)
git-svn-id: https://svn.enlightenment.org/svn/e/trunk/elementary@64271 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

configure.ac

index 84466c8..86b972a 100755 (executable)
@@ -622,11 +622,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