From 3e5a6c4b8d430c2311dfe6722d637bd21626a434 Mon Sep 17 00:00:00 2001 From: Gustavo Sverzut Barbieri Date: Mon, 22 Oct 2012 19:56:05 +0000 Subject: [PATCH] efl: use EINA_CONFIG() instead of manual if-define-endif-AC_SUBST bad cedric, did not look around in the file :-) SVN revision: 78338 --- configure.ac | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/configure.ac b/configure.ac index 61df05fc2e..5aaeecbbeb 100644 --- a/configure.ac +++ b/configure.ac @@ -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