aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2011-06-02 07:30:26 +0000
committerVincent Torri <vincent.torri@gmail.com>2011-06-02 07:30:26 +0000
commit30213063844e234b03ec520f7d2383b34e422c90 (patch)
treecf968e901e308a2d7ba8e4470869f4e2d998fc71 /configure.ac
parentWhoops sorry for not committing this sooner! Thanks to dh for spotting it! (diff)
downloadephoto-30213063844e234b03ec520f7d2383b34e422c90.tar.gz
Ephoto: make gettext optional
SVN revision: 59893
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac12
1 files changed, 11 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 6383b97..c15d108 100644
--- a/configure.ac
+++ b/configure.ac
@@ -69,8 +69,18 @@ EFL_LINKER_FLAG([-Wl,--gc-sections])
ALL_LINGUAS=`cat po/LINGUAS | grep -v '^[ ]*#'`
AC_SUBST(ALL_LINGUAS)
+m4_ifdef([AM_GNU_GETTEXT_VERSION], [
AM_GNU_GETTEXT_VERSION([0.12.1])
+])
+
+m4_ifdef([AM_GNU_GETTEXT], [
AM_GNU_GETTEXT([external])
+po_makefile_in=po/Makefile.in
+AM_CONDITIONAL([HAVE_PO], [true])
+],[
+AM_CONDITIONAL([HAVE_PO], [false])
+])
+AC_SUBST(LTLIBINTL)
PKG_CHECK_MODULES([ELEMENTARY], [elementary ecore-file ethumb_client])
PKG_CHECK_MODULES([EFREET_MIME], [efreet-mime])
@@ -159,7 +169,7 @@ data/themes/default/Makefile
data/themes/default/images/Makefile
src/Makefile
src/bin/Makefile
-po/Makefile.in
+$po_makefile_in
])