forked from enlightenment/efl
parent
342cf18748
commit
bf1ebaf7f4
|
@ -234,6 +234,19 @@ AC_SUBST(EET_LIBS)
|
||||||
PKG_CHECK_MODULES(EINA, [eina >= 1.1.0])
|
PKG_CHECK_MODULES(EINA, [eina >= 1.1.0])
|
||||||
requirement_eet="eina >= 1.1.0 ${requirement_eet}"
|
requirement_eet="eina >= 1.1.0 ${requirement_eet}"
|
||||||
|
|
||||||
|
### Checks for portability layer
|
||||||
|
|
||||||
|
PKG_CHECK_MODULES([EXOTIC],
|
||||||
|
[exotic],
|
||||||
|
[enable_exotic="yes"],
|
||||||
|
[enable_exotic="no"])
|
||||||
|
|
||||||
|
if test "x${enable_exotic}" = "xyes"; then
|
||||||
|
requirement_eet="exotic ${requirement_eet}"
|
||||||
|
|
||||||
|
AC_DEFINE([HAVE_EXOTIC_H], [1], [Define to 1 if you have Exotic.])
|
||||||
|
fi
|
||||||
|
|
||||||
# Gnutls support
|
# Gnutls support
|
||||||
|
|
||||||
AC_ARG_ENABLE([gnutls],
|
AC_ARG_ENABLE([gnutls],
|
||||||
|
|
|
@ -24,6 +24,18 @@ if (! test "x${ac_cv_search_fnmatch}" = "xnone required") && (! test "x${ac_cv_s
|
||||||
EFL_FNMATCH_LIBS=${ac_cv_search_fnmatch}
|
EFL_FNMATCH_LIBS=${ac_cv_search_fnmatch}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if test "x${_efl_have_fnmatch}" != "xyes" -a "x${enable_exotic}" = "xyes"; then
|
||||||
|
LDFLAGS_SAVE="$LDFLAGS"
|
||||||
|
LDFLAGS="$LDFLAGS $EXOTIC_LIBS"
|
||||||
|
AC_CHECK_LIB([exotic], [fnmatch],
|
||||||
|
[_efl_have_fnmatch="yes"],
|
||||||
|
[_efl_have_fnmatch="no"])
|
||||||
|
|
||||||
|
if test "x${_efl_have_fnmatch}" = "xyes"; then
|
||||||
|
EFL_FNMATCH_LIBS="exotic"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
AC_SUBST(EFL_FNMATCH_LIBS)
|
AC_SUBST(EFL_FNMATCH_LIBS)
|
||||||
|
|
||||||
AS_IF([test "x$_efl_have_fnmatch" = "xyes"], [$1], [$2])
|
AS_IF([test "x$_efl_have_fnmatch" = "xyes"], [$1], [$2])
|
||||||
|
|
|
@ -17,5 +17,5 @@ EXTRA_PROGRAMS = eet
|
||||||
|
|
||||||
eet_SOURCES = eet_main.c
|
eet_SOURCES = eet_main.c
|
||||||
eet_CFLAGS = @EET_CFLAGS@
|
eet_CFLAGS = @EET_CFLAGS@
|
||||||
eet_LDADD = $(top_builddir)/src/lib/libeet.la @EINA_LIBS@ @EVIL_LIBS@
|
eet_LDADD = $(top_builddir)/src/lib/libeet.la @EINA_LIBS@ @EVIL_LIBS@ @EXOTIC_LIBS@
|
||||||
eet_LDFLAGS = @lt_enable_auto_import@
|
eet_LDFLAGS = @lt_enable_auto_import@
|
||||||
|
|
Loading…
Reference in New Issue