allows ecore to setup and compile even if gettext is not installed
authorcaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 8 Jun 2010 18:06:56 +0000 (18:06 +0000)
committercaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 8 Jun 2010 18:06:56 +0000 (18:06 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@49578 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

configure.ac

index e3ccdda..80ae7d2 100644 (file)
@@ -53,8 +53,13 @@ AC_SUBST(release_info)
 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
 
-AM_GNU_GETTEXT_VERSION([0.12.1])
-AM_GNU_GETTEXT([external])
+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
+   ])
+AC_SUBST(LTLIBINTL)
 
 EFL_CHECK_PATH_MAX
 
@@ -1355,7 +1360,7 @@ src/lib/ecore_x/xcb/Makefile
 src/tests/Makefile
 README
 ecore.spec
-po/Makefile.in
+$po_makefile_in
 ])
 
 echo