Browse Source

make gettext stuff optional

SVN revision: 59833
master
Vincent Torri 11 years ago
parent
commit
c306cc1535
  1. 10
      Makefile.am
  2. 11
      configure.ac

10
Makefile.am

@ -3,7 +3,13 @@ MAINTAINERCLEANFILES = Makefile.in aclocal.m4 config.guess config.h.in \
config.sub configure depcomp install-sh ltmain.sh \
missing module.desktop config.rpath mkinstalldirs
SUBDIRS = src po
SUBDIRS = src
if HAVE_PO
SUBDIRS += po
endif
EDJE_FLAGS = -v \
-id $(top_srcdir)/images
@ -22,7 +28,7 @@ EXTRA_DIST = module.desktop.in \
%.edj: %.edc
$(EDJE_CC) $(EDJE_FLAGS) $< $@
clean-local:
rm -rf alarm.edj e-module-alarm.edj module.desktop e_modules-alarm.spec *~

11
configure.ac

@ -22,8 +22,17 @@ define([AC_LIBTOOL_LANG_CXX_CONFIG], [:])dnl
define([AC_LIBTOOL_LANG_F77_CONFIG], [:])dnl
AC_PROG_LIBTOOL
m4_ifdef([AM_GNU_GETTEXT_VERSION], [
AM_GNU_GETTEXT_VERSION([0.14])
])
m4_ifdef([AM_GNU_GETTEXT], [
AM_GNU_GETTEXT([external])
AM_GNU_GETTEXT_VERSION(0.14)
AM_CONDITIONAL([HAVE_PO], [true])
],[
AM_CONDITIONAL([HAVE_PO], [false])
])
AC_SUBST(LTLIBINTL)
PKG_CHECK_MODULES(E, [enlightenment])
release=$(pkg-config --variable=release enlightenment)

Loading…
Cancel
Save