forked from enlightenment/efl
eina: restore magic debug option for ABI compatibility purpose.
We can't remove that option as it break ABI for people who did turn it off in 1.7. - cherry-pick me -
This commit is contained in:
parent
17d028f944
commit
b7b6b5f956
14
configure.ac
14
configure.ac
|
@ -696,7 +696,6 @@ EFL_LIB_START([Eina])
|
||||||
|
|
||||||
### Default values
|
### Default values
|
||||||
|
|
||||||
have_magic_debug="yes"
|
|
||||||
have_safety_checks="yes"
|
have_safety_checks="yes"
|
||||||
want_log="yes"
|
want_log="yes"
|
||||||
case "${build_profile}" in
|
case "${build_profile}" in
|
||||||
|
@ -732,7 +731,6 @@ case "${build_profile}" in
|
||||||
esac
|
esac
|
||||||
|
|
||||||
EINA_CONFIG([HAVE_ALLOCA_H], [test "x${ac_cv_working_alloca_h}" = "xyes"])
|
EINA_CONFIG([HAVE_ALLOCA_H], [test "x${ac_cv_working_alloca_h}" = "xyes"])
|
||||||
EINA_CONFIG([MAGIC_DEBUG], [test "x${have_magic_debug}" = "xyes"])
|
|
||||||
EINA_CONFIG([SAFETY_CHECKS], [test "x${have_safety_checks}" = "xyes"])
|
EINA_CONFIG([SAFETY_CHECKS], [test "x${have_safety_checks}" = "xyes"])
|
||||||
EINA_CONFIG([DEFAULT_MEMPOOL], [test "x${want_default_mempool}" = "xyes"])
|
EINA_CONFIG([DEFAULT_MEMPOOL], [test "x${want_default_mempool}" = "xyes"])
|
||||||
|
|
||||||
|
@ -746,6 +744,18 @@ AC_DEFINE_IF([EINA_STRINGSHARE_USAGE],
|
||||||
[1], [Report Eina stringshare usage pattern])
|
[1], [Report Eina stringshare usage pattern])
|
||||||
|
|
||||||
### Additional options to configure
|
### Additional options to configure
|
||||||
|
AC_ARG_ENABLE([magic-debug],
|
||||||
|
[AC_HELP_STRING([--disable-magic-debug], [disable magic debug of eina structure @<:@default=enabled@:>@])],
|
||||||
|
[
|
||||||
|
if test "x${enableval}" = "xyes" ; then
|
||||||
|
have_magic_debug="yes"
|
||||||
|
else
|
||||||
|
have_magic_debug="no"
|
||||||
|
fi
|
||||||
|
],
|
||||||
|
[have_magic_debug="yes"])
|
||||||
|
|
||||||
|
EINA_CONFIG([MAGIC_DEBUG], [test "x${have_magic_debug}" = "xyes"])
|
||||||
|
|
||||||
### Checks for programs
|
### Checks for programs
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue