summaryrefslogtreecommitdiff
path: root/legacy/eet
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@free.fr>2012-02-24 11:17:26 +0000
committerCedric BAIL <cedric.bail@free.fr>2012-02-24 11:17:26 +0000
commitbf1ebaf7f445cb5973bf729948ca2bedd8d234b0 (patch)
tree6f529c668e4bdb0fc1fd6c9eb1442c2f27c95019 /legacy/eet
parent342cf187482c7e7e3cb25639c63d93d350ba9c42 (diff)
eet: add Exotic support
SVN revision: 68400
Diffstat (limited to 'legacy/eet')
-rw-r--r--legacy/eet/configure.ac13
-rw-r--r--legacy/eet/m4/efl_fnmatch.m412
-rw-r--r--legacy/eet/src/bin/Makefile.am2
3 files changed, 26 insertions, 1 deletions
diff --git a/legacy/eet/configure.ac b/legacy/eet/configure.ac
index 30e2d381c2..70c8dbc21a 100644
--- a/legacy/eet/configure.ac
+++ b/legacy/eet/configure.ac
@@ -234,6 +234,19 @@ AC_SUBST(EET_LIBS)
234PKG_CHECK_MODULES(EINA, [eina >= 1.1.0]) 234PKG_CHECK_MODULES(EINA, [eina >= 1.1.0])
235requirement_eet="eina >= 1.1.0 ${requirement_eet}" 235requirement_eet="eina >= 1.1.0 ${requirement_eet}"
236 236
237### Checks for portability layer
238
239PKG_CHECK_MODULES([EXOTIC],
240 [exotic],
241 [enable_exotic="yes"],
242 [enable_exotic="no"])
243
244if test "x${enable_exotic}" = "xyes"; then
245 requirement_eet="exotic ${requirement_eet}"
246
247 AC_DEFINE([HAVE_EXOTIC_H], [1], [Define to 1 if you have Exotic.])
248fi
249
237# Gnutls support 250# Gnutls support
238 251
239AC_ARG_ENABLE([gnutls], 252AC_ARG_ENABLE([gnutls],
diff --git a/legacy/eet/m4/efl_fnmatch.m4 b/legacy/eet/m4/efl_fnmatch.m4
index a92ac6b636..b5555ee338 100644
--- a/legacy/eet/m4/efl_fnmatch.m4
+++ b/legacy/eet/m4/efl_fnmatch.m4
@@ -24,6 +24,18 @@ if (! test "x${ac_cv_search_fnmatch}" = "xnone required") && (! test "x${ac_cv_s
24 EFL_FNMATCH_LIBS=${ac_cv_search_fnmatch} 24 EFL_FNMATCH_LIBS=${ac_cv_search_fnmatch}
25fi 25fi
26 26
27if test "x${_efl_have_fnmatch}" != "xyes" -a "x${enable_exotic}" = "xyes"; then
28 LDFLAGS_SAVE="$LDFLAGS"
29 LDFLAGS="$LDFLAGS $EXOTIC_LIBS"
30 AC_CHECK_LIB([exotic], [fnmatch],
31 [_efl_have_fnmatch="yes"],
32 [_efl_have_fnmatch="no"])
33
34 if test "x${_efl_have_fnmatch}" = "xyes"; then
35 EFL_FNMATCH_LIBS="exotic"
36 fi
37fi
38
27AC_SUBST(EFL_FNMATCH_LIBS) 39AC_SUBST(EFL_FNMATCH_LIBS)
28 40
29AS_IF([test "x$_efl_have_fnmatch" = "xyes"], [$1], [$2]) 41AS_IF([test "x$_efl_have_fnmatch" = "xyes"], [$1], [$2])
diff --git a/legacy/eet/src/bin/Makefile.am b/legacy/eet/src/bin/Makefile.am
index ba7d67e3b6..89c68f1dca 100644
--- a/legacy/eet/src/bin/Makefile.am
+++ b/legacy/eet/src/bin/Makefile.am
@@ -17,5 +17,5 @@ EXTRA_PROGRAMS = eet
17 17
18eet_SOURCES = eet_main.c 18eet_SOURCES = eet_main.c
19eet_CFLAGS = @EET_CFLAGS@ 19eet_CFLAGS = @EET_CFLAGS@
20eet_LDADD = $(top_builddir)/src/lib/libeet.la @EINA_LIBS@ @EVIL_LIBS@ 20eet_LDADD = $(top_builddir)/src/lib/libeet.la @EINA_LIBS@ @EVIL_LIBS@ @EXOTIC_LIBS@
21eet_LDFLAGS = @lt_enable_auto_import@ 21eet_LDFLAGS = @lt_enable_auto_import@