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
c242f16186
commit
084d898a4b
|
@ -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 data po
|
||||
SUBDIRS = src data
|
||||
|
||||
if HAVE_PO
|
||||
|
||||
SUBDIRS += po
|
||||
|
||||
endif
|
||||
|
||||
EDJE_FLAGS = -v \
|
||||
-id $(top_srcdir)
|
||||
|
|
14
configure.ac
14
configure.ac
|
@ -21,8 +21,18 @@ AC_C_CONST
|
|||
AM_ENABLE_SHARED
|
||||
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)
|
||||
|
||||
release=$(pkg-config --variable=release enlightenment)
|
||||
MODULE_ARCH="$host_os-$host_cpu-$release"
|
||||
|
@ -58,7 +68,7 @@ data/Makefile
|
|||
data/themes/Makefile
|
||||
src/Makefile
|
||||
module.desktop
|
||||
po/Makefile.in
|
||||
$po_makefile_in
|
||||
],[
|
||||
])
|
||||
|
||||
|
|
Loading…
Reference in New Issue