add optional azy support to e

This commit is contained in:
Mike Blumenkrantz 2013-03-15 13:35:31 +00:00
parent 12d6309d9a
commit f4da77932d
3 changed files with 23 additions and 3 deletions

View File

@ -586,6 +586,25 @@ if test "x$want_emotion" != "xno"; then
fi fi
fi fi
want_azy=auto
have_azy=no
AC_ARG_ENABLE(azy,
AC_HELP_STRING([--enable-azy], [enable azy support @<:@default=detect@:>@]),
[want_azy=$enableval],
[want_azy=auto]
)
if test "x$want_azy" != "xno"; then
PKG_CHECK_MODULES(AZY, [azy],
[have_azy=yes], [have_azy=no])
if test "x$want_azy" = "xyes" -a "x$have_azy" = "xno"; then
AC_MSG_ERROR([azy support requested but it was not found])
fi
if test "x$have_azy" = "xyes"; then
AC_DEFINE([HAVE_AZY], 1, "Have azy support")
requirements_e="${requirements_e} azy"
fi
fi
PKG_CHECK_MODULES(E_OPEN, [ PKG_CHECK_MODULES(E_OPEN, [
eina >= ${efl_version} eina >= ${efl_version}
ecore >= ${efl_version} ecore >= ${efl_version}

View File

@ -13,6 +13,7 @@ AM_CPPFLAGS = \
@VALGRIND_CFLAGS@ \ @VALGRIND_CFLAGS@ \
@EDJE_DEF@ \ @EDJE_DEF@ \
@ELM_CFLAGS@ \ @ELM_CFLAGS@ \
@AZY_CFLAGS@ \
@EMOTION_CFLAGS@ \ @EMOTION_CFLAGS@ \
@WAYLAND_CFLAGS@ \ @WAYLAND_CFLAGS@ \
-DPACKAGE_BIN_DIR=\"@PACKAGE_BIN_DIR@\" \ -DPACKAGE_BIN_DIR=\"@PACKAGE_BIN_DIR@\" \
@ -393,7 +394,7 @@ e_main.c \
$(enlightenment_src) $(enlightenment_src)
enlightenment_LDFLAGS = -export-dynamic enlightenment_LDFLAGS = -export-dynamic
enlightenment_LDADD = @e_libs@ @ELM_LIBS@ @EMOTION_LIBS@ @dlopen_libs@ @cf_libs@ @VALGRIND_LIBS@ @WAYLAND_LIBS@ -lm enlightenment_LDADD = @e_libs@ @ELM_LIBS@ @AZY_LIBS@ @EMOTION_LIBS@ @dlopen_libs@ @cf_libs@ @VALGRIND_LIBS@ @WAYLAND_LIBS@ -lm
enlightenment_imc_SOURCES = \ enlightenment_imc_SOURCES = \
e.h \ e.h \

View File

@ -13,8 +13,8 @@ AM_CPPFLAGS = -I. \
-I$(top_srcdir)/src/bin \ -I$(top_srcdir)/src/bin \
-I$(top_builddir)/src/bin \ -I$(top_builddir)/src/bin \
-I$(top_srcdir)/src/modules -I$(top_srcdir)/src/modules
AM_CFLAGS = @e_cflags@ AM_CFLAGS = @e_cflags@ @AZY_CFLAGS@
LIBS += @e_libs@ @dlopen_libs@ LIBS += @e_libs@ @dlopen_libs@ @AZY_LIBS@
EDJE_CC = $(EDJE_CC_$(V)) EDJE_CC = $(EDJE_CC_$(V))
EDJE_CC_ = $(EDJE_CC_$(AM_DEFAULT_VERBOSITY)) EDJE_CC_ = $(EDJE_CC_$(AM_DEFAULT_VERBOSITY))