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
16e1e60764
commit
5b65f0a870
|
@ -1,7 +1,13 @@
|
||||||
ACLOCAL_AMFLAGS = -I m4
|
ACLOCAL_AMFLAGS = -I m4
|
||||||
MAINTAINERCLEANFILES = Makefile.in
|
MAINTAINERCLEANFILES = Makefile.in
|
||||||
|
|
||||||
SUBDIRS = src data po
|
SUBDIRS = src data
|
||||||
|
|
||||||
|
if HAVE_PO
|
||||||
|
|
||||||
|
SUBDIRS += po
|
||||||
|
|
||||||
|
endif
|
||||||
|
|
||||||
filesdir = $(datadir)
|
filesdir = $(datadir)
|
||||||
files_DATA = module.desktop
|
files_DATA = module.desktop
|
||||||
|
|
14
configure.ac
14
configure.ac
|
@ -23,8 +23,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)
|
||||||
|
|
||||||
PKG_CHECK_MODULES(E, [enlightenment])
|
PKG_CHECK_MODULES(E, [enlightenment])
|
||||||
release=$(pkg-config --variable=release enlightenment)
|
release=$(pkg-config --variable=release enlightenment)
|
||||||
|
@ -63,8 +73,8 @@ data/images/feeds/Makefile
|
||||||
data/images/categories/Makefile
|
data/images/categories/Makefile
|
||||||
data/theme/Makefile
|
data/theme/Makefile
|
||||||
src/Makefile
|
src/Makefile
|
||||||
po/Makefile.in
|
|
||||||
module.desktop
|
module.desktop
|
||||||
|
$po_makefile_in
|
||||||
], [
|
], [
|
||||||
])
|
])
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue