The problem in the previous commit was that AM_GNU_GETTEXT and
AM_GNU_GETTEXT_VERSION must begin a line (autopoint searches lines
beginning by them).
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@49738
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
SUBDIRS = doc src po
+if HAVE_PO
+
+SUBDIRS += po
+
+endif
MAINTAINERCLEANFILES = \
ABOUT-NLS \
m4/progtest.m4 \
m4/stdint_h.m4 \
m4/uintmax_t.m4 \
-m4/ulonglong.m4 \
+m4/ulonglong.m4
+
+if HAVE_PO
+
+MAINTAINERCLEANFILES += \
po/boldquot.sed \
po/en@boldquot.header \
po/en@quot.header \
po/remove-potcdate.sin \
po/Rules-quot
+endif
+
bin_SCRIPTS =
EXTRA_DIST = AUTHORS COPYING COPYING-PLAIN \
##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
+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)
EFL_CHECK_PATH_MAX
src/tests/Makefile
README
ecore.spec
-po/Makefile.in
+$po_makefile_in
])
echo