efl: when you remove option at least make the default sane or don't do it.

SVN revision: 81731
This commit is contained in:
Cedric BAIL 2012-12-27 06:46:29 +00:00
parent ebaf0ce575
commit 0d86917bbe
2 changed files with 6 additions and 1 deletions

View File

@ -838,6 +838,7 @@ case "${build_profile}" in
want_valgrind="no" # TODO: "yes" is not working: relocation R_X86_64_32S against `vgPlain_interim_stack' can not be used when making a shared object; recompile with -fPIC
want_debug_malloc="no"
want_debug_threads="no"
want_pass_through="no"
;;
debug)
@ -846,6 +847,7 @@ case "${build_profile}" in
want_valgrind="no" # TODO: "yes" is not working: relocation R_X86_64_32S against `vgPlain_interim_stack' can not be used when making a shared object; recompile with -fPIC
want_debug_malloc="yes"
want_debug_threads="yes"
want_pass_through="yes"
;;
release)
@ -854,11 +856,13 @@ case "${build_profile}" in
want_valgrind="no"
want_debug_malloc="no"
want_debug_threads="no"
want_pass_through="no"
;;
esac
EINA_CONFIG([MAGIC_DEBUG], [test "x${have_magic_debug}" = "xyes"])
EINA_CONFIG([SAFETY_CHECKS], [test "x${have_safety_checks}" = "xyes"])
EINA_CONFIG([DEFAULT_MEMPOOL], [test "x${want_pass_through}" = "xyes"])
if test -n "${with_max_log_level}"; then
AC_MSG_NOTICE([ignoring any EINA_LOG() with level greater than ${with_max_log_level}])

View File

@ -29,8 +29,9 @@
@EINA_CONFIGURE_MAGIC_DEBUG@
#ifndef EINA_DEFAULT_MEMPOOL
#define EINA_DEFAULT_MEMPOOL
# undef EINA_DEFAULT_MEMPOOL
#endif
@EINA_CONFIGURE_DEFAULT_MEMPOOL@
#ifdef EINA_SAFETY_CHECKS
# undef EINA_SAFETY_CHECKS