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
629da90e86
commit
f30e902414
|
@ -15,7 +15,13 @@ MAINTAINERCLEANFILES = Makefile.in aclocal.m4 config.guess config.h.in \
|
|||
m4/signed.m4 m4/size_max.m4 m4/wchar_t.m4 \
|
||||
m4/wint_t.m4 m4/xsize.m4
|
||||
|
||||
SUBDIRS = src po
|
||||
SUBDIRS = src
|
||||
|
||||
if HAVE_PO
|
||||
|
||||
SUBDIRS += po
|
||||
|
||||
endif
|
||||
|
||||
EDJE_FLAGS = -v \
|
||||
-id $(top_srcdir)/images
|
||||
|
|
14
configure.ac
14
configure.ac
|
@ -26,8 +26,18 @@ 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)
|
||||
po_makefile_in=po/Makefile.in
|
||||
AM_CONDITIONAL([HAVE_PO], [true])
|
||||
],[
|
||||
AM_CONDITIONAL([HAVE_PO], [false])
|
||||
])
|
||||
AC_SUBST(LTLIBINTL)
|
||||
|
||||
PKG_CHECK_MODULES(E, [enlightenment])
|
||||
release=$(pkg-config --variable=release enlightenment)
|
||||
|
@ -60,8 +70,8 @@ AC_OUTPUT([
|
|||
Makefile
|
||||
src/Makefile
|
||||
e_modules-tclock.spec
|
||||
po/Makefile.in
|
||||
module.desktop
|
||||
$po_makefile_in
|
||||
], [
|
||||
])
|
||||
|
||||
|
|
Loading…
Reference in New Issue