Elementary: do not enter po/ if --disable-nls is passed to configure
authorVincent Torri <vincent.torri@gmail.com>
Fri, 21 Oct 2011 21:20:12 +0000 (21:20 +0000)
committerVincent Torri <vincent.torri@gmail.com>
Fri, 21 Oct 2011 21:20:12 +0000 (21:20 +0000)
SVN revision: 64271

configure.ac

index b48e465b1dfbf7862c9ffdae19803c71f60bb519..9a46b0b0744206954c941c1fc0c802a196a1d52f 100644 (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