evas: add Exotic support.

SVN revision: 68404
This commit is contained in:
Cedric BAIL 2012-02-24 11:21:57 +00:00
parent 11530b355d
commit cd9cb6abb5
4 changed files with 30 additions and 7 deletions

View File

@ -243,6 +243,20 @@ case "$host_os" in
;;
esac
### Checks for portability layer
PKG_CHECK_MODULES([EXOTIC],
[exotic],
[enable_exotic="yes"],
[enable_exotic="no"])
if test "x${enable_exotic}" = "xyes"; then
requirement_eina="exotic ${requirement_eina}"
AC_DEFINE([HAVE_EXOTIC], [1], [Define to 1 if you have Exotic.])
fi
AM_CONDITIONAL([EVAS_HAVE_EXOTIC], [test "x${enable_exotic}" = "xyes"])
## strong dependencies
# Eina
@ -1837,8 +1851,8 @@ AM_CONDITIONAL([BUILD_EXAMPLES], [test "x${build_examples}" = "xyes"])
EFL_CHECK_TESTS([enable_tests="yes"], [enable_tests="no"])
EFL_CHECK_COVERAGE([${enable_tests}], [enable_coverage="yes"], [enable_coverage="no"])
EVAS_CFLAGS="${EVAS_CFLAGS} ${EFL_COVERAGE_CFLAGS}"
EVAS_LIBS="${EVAS_LIBS} ${EFL_COVERAGE_LIBS}"
EVAS_CFLAGS="${EVAS_CFLAGS} ${EFL_COVERAGE_CFLAGS} ${EXOTIC_CFLAGS}"
EVAS_LIBS="${EVAS_LIBS} ${EFL_COVERAGE_LIBS} ${EXOTIC_LIBS}"
if test "x$enable_coverage" = "xyes" ; then
EVAS_CFLAGS="${EVAS_CFLAGS} ${EFL_DEBUG_CFLAGS}"
fi

View File

@ -13,7 +13,7 @@ AC_CHECK_HEADER([fnmatch.h], [_efl_have_fnmatch="yes"], [_efl_have_fnmatch="no"]
if test "x${_efl_have_fnmatch}" = "xyes" ; then
AC_SEARCH_LIBS([fnmatch],
[fnmatch evil iberty],
[fnmatch evil exotic iberty],
[_efl_have_fnmatch="yes"],
[_efl_have_fnmatch="no"])
fi

View File

@ -5,6 +5,7 @@
@date 2000-2012
Please see the @ref authors page for contact details.
@link Evas.h Evas API @endlink
@link Evas.h Evas API @endlink

View File

@ -52,14 +52,22 @@ void *alloca (size_t);
# include <Escape.h>
#endif
#include <Eina.h>
#include "Evas.h"
//#include "Evas_GL.h"
#ifdef HAVE_PIXMAN
#include <pixman.h>
#endif
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#ifdef HAVE_EXOTIC
# include <Exotic.h>
#endif
#include <Eina.h>
#include "Evas.h"
//#include "Evas_GL.h"
#ifndef HAVE_LROUND
/* right now i dont care about rendering bugs on platforms without lround
(e.g. windows/vc++... yay!)