summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@gmail.com>2012-10-22 19:56:05 +0000
committerGustavo Sverzut Barbieri <barbieri@gmail.com>2012-10-22 19:56:05 +0000
commit3e5a6c4b8d430c2311dfe6722d637bd21626a434 (patch)
treef9f35dad1a620f037f6e67ce4b6966f1d0aafa54
parent7a8ba6acef2767c3706fd9db92539be015d2d4df (diff)
efl: use EINA_CONFIG() instead of manual if-define-endif-AC_SUBST
bad cedric, did not look around in the file :-) SVN revision: 78338
-rw-r--r--configure.ac12
1 files 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")
517 517
518EFL_CHECK_THREADS 518EFL_CHECK_THREADS
519 519
520if ! test "x${efl_have_pthread_barrier}" = "xno" ; then 520EINA_CONFIG(HAVE_PTHREAD_BARRIER, test "x${efl_have_pthread_barrier}" = "xyes")
521 EINA_CONFIGURE_HAVE_PTHREAD_BARRIER="#define EINA_HAVE_PTHREAD_BARRIER" 521EINA_CONFIG(HAVE_PTHREAD_AFFINITY, test "x${efl_have_setaffinity}" = "xyes")
522fi
523AC_SUBST(EINA_CONFIGURE_HAVE_PTHREAD_BARRIER)
524
525if ! test "x${efl_have_setaffinity}" = "xno" ; then
526 EINA_CONFIGURE_HAVE_PTHREAD_SETAFFINITY="#define EINA_HAVE_PTHREAD_AFFINITY"
527fi
528AC_SUBST(EINA_CONFIGURE_HAVE_PTHREAD_SETAFFINITY)
529
530EINA_CONFIG(HAVE_DEBUG_THREADS, test "$want_debug_threads" = "yes") 522EINA_CONFIG(HAVE_DEBUG_THREADS, test "$want_debug_threads" = "yes")
531 523
532### Modules 524### Modules