make gettext optional
some problem might arise like undef symbols if they are not guarded correctly (like in alarm, see next commit) SVN revision: 59994
This commit is contained in:
parent
28a2d36221
commit
3e7207f767
|
@ -3,7 +3,13 @@ MAINTAINERCLEANFILES = Makefile.in aclocal.m4 config.guess config.h.in \
|
||||||
config.sub configure depcomp install-sh ltmain.sh \
|
config.sub configure depcomp install-sh ltmain.sh \
|
||||||
missing module.desktop config.rpath mkinstalldirs
|
missing module.desktop config.rpath mkinstalldirs
|
||||||
|
|
||||||
SUBDIRS = src po
|
SUBDIRS = src
|
||||||
|
|
||||||
|
if HAVE_PO
|
||||||
|
|
||||||
|
SUBDIRS += po
|
||||||
|
|
||||||
|
endif
|
||||||
|
|
||||||
EDJE_FLAGS = -v \
|
EDJE_FLAGS = -v \
|
||||||
-id $(top_srcdir)/images
|
-id $(top_srcdir)/images
|
||||||
|
|
14
configure.ac
14
configure.ac
|
@ -36,8 +36,18 @@ define([AC_LIBTOOL_LANG_CXX_CONFIG], [:])dnl
|
||||||
define([AC_LIBTOOL_LANG_F77_CONFIG], [:])dnl
|
define([AC_LIBTOOL_LANG_F77_CONFIG], [:])dnl
|
||||||
AC_PROG_LIBTOOL
|
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([external])
|
||||||
AM_GNU_GETTEXT_VERSION(0.14)
|
po_makefile_in=po/Makefile.in
|
||||||
|
AM_CONDITIONAL([HAVE_PO], [true])
|
||||||
|
],[
|
||||||
|
AM_CONDITIONAL([HAVE_PO], [false])
|
||||||
|
])
|
||||||
|
AC_SUBST(LTLIBINTL)
|
||||||
|
|
||||||
# Find edje_cc
|
# Find edje_cc
|
||||||
PKG_CHECK_MODULES(EDJE, [edje >= 0.5.0])
|
PKG_CHECK_MODULES(EDJE, [edje >= 0.5.0])
|
||||||
|
@ -63,8 +73,8 @@ AC_ARG_ENABLE(homedir-install,
|
||||||
AC_OUTPUT([
|
AC_OUTPUT([
|
||||||
Makefile
|
Makefile
|
||||||
e_modules-moon.spec
|
e_modules-moon.spec
|
||||||
po/Makefile.in
|
|
||||||
src/Makefile
|
src/Makefile
|
||||||
module.desktop
|
module.desktop
|
||||||
|
$po_makefile_in
|
||||||
], [
|
], [
|
||||||
])
|
])
|
||||||
|
|
Loading…
Reference in New Issue