efl: use EINA_CONFIG() instead of manual if-define-endif-AC_SUBST

bad cedric, did not look around in the file :-)



SVN revision: 78338
This commit is contained in:
Gustavo Sverzut Barbieri 2012-10-22 19:56:05 +00:00
parent 7a8ba6acef
commit 3e5a6c4b8d
1 changed files with 2 additions and 10 deletions

View File

@ -517,16 +517,8 @@ EINA_CONFIG(ENABLE_LOG, test "x${enable_log}" = "xyes")
EFL_CHECK_THREADS
if ! test "x${efl_have_pthread_barrier}" = "xno" ; then
EINA_CONFIGURE_HAVE_PTHREAD_BARRIER="#define EINA_HAVE_PTHREAD_BARRIER"
fi
AC_SUBST(EINA_CONFIGURE_HAVE_PTHREAD_BARRIER)
if ! test "x${efl_have_setaffinity}" = "xno" ; then
EINA_CONFIGURE_HAVE_PTHREAD_SETAFFINITY="#define EINA_HAVE_PTHREAD_AFFINITY"
fi
AC_SUBST(EINA_CONFIGURE_HAVE_PTHREAD_SETAFFINITY)
EINA_CONFIG(HAVE_PTHREAD_BARRIER, test "x${efl_have_pthread_barrier}" = "xyes")
EINA_CONFIG(HAVE_PTHREAD_AFFINITY, test "x${efl_have_setaffinity}" = "xyes")
EINA_CONFIG(HAVE_DEBUG_THREADS, test "$want_debug_threads" = "yes")
### Modules