diff options
author | Gustavo Sverzut Barbieri <barbieri@gmail.com> | 2012-10-22 19:56:05 +0000 |
---|---|---|
committer | Gustavo Sverzut Barbieri <barbieri@gmail.com> | 2012-10-22 19:56:05 +0000 |
commit | 3e5a6c4b8d430c2311dfe6722d637bd21626a434 (patch) | |
tree | f9f35dad1a620f037f6e67ce4b6966f1d0aafa54 /configure.ac | |
parent | 7a8ba6acef2767c3706fd9db92539be015d2d4df (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
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 12 |
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 | ||
518 | EFL_CHECK_THREADS | 518 | EFL_CHECK_THREADS |
519 | 519 | ||
520 | if ! test "x${efl_have_pthread_barrier}" = "xno" ; then | 520 | EINA_CONFIG(HAVE_PTHREAD_BARRIER, test "x${efl_have_pthread_barrier}" = "xyes") |
521 | EINA_CONFIGURE_HAVE_PTHREAD_BARRIER="#define EINA_HAVE_PTHREAD_BARRIER" | 521 | EINA_CONFIG(HAVE_PTHREAD_AFFINITY, test "x${efl_have_setaffinity}" = "xyes") |
522 | fi | ||
523 | AC_SUBST(EINA_CONFIGURE_HAVE_PTHREAD_BARRIER) | ||
524 | |||
525 | if ! test "x${efl_have_setaffinity}" = "xno" ; then | ||
526 | EINA_CONFIGURE_HAVE_PTHREAD_SETAFFINITY="#define EINA_HAVE_PTHREAD_AFFINITY" | ||
527 | fi | ||
528 | AC_SUBST(EINA_CONFIGURE_HAVE_PTHREAD_SETAFFINITY) | ||
529 | |||
530 | EINA_CONFIG(HAVE_DEBUG_THREADS, test "$want_debug_threads" = "yes") | 522 | EINA_CONFIG(HAVE_DEBUG_THREADS, test "$want_debug_threads" = "yes") |
531 | 523 | ||
532 | ### Modules | 524 | ### Modules |