summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@samsung.com>2014-02-05 11:10:29 +0900
committerCedric BAIL <cedric.bail@samsung.com>2014-02-05 11:12:55 +0900
commit329433f10d993d69d2f1424d0645cd15d763c9d8 (patch)
tree2143d7923cc381b104b1e31328b988d365c34a5f
parent5809234c08dc4e1512723adeeda81c21c0d1e2e0 (diff)
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 -
-rw-r--r--configure.ac14
1 files changed, 12 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 9ca8f426e4..4f78ef9a6d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -688,7 +688,6 @@ EFL_LIB_START([Eina])
688 688
689### Default values 689### Default values
690 690
691have_magic_debug="yes"
692have_safety_checks="yes" 691have_safety_checks="yes"
693want_log="yes" 692want_log="yes"
694case "${build_profile}" in 693case "${build_profile}" in
@@ -724,7 +723,6 @@ case "${build_profile}" in
724esac 723esac
725 724
726EINA_CONFIG([HAVE_ALLOCA_H], [test "x${ac_cv_working_alloca_h}" = "xyes"]) 725EINA_CONFIG([HAVE_ALLOCA_H], [test "x${ac_cv_working_alloca_h}" = "xyes"])
727EINA_CONFIG([MAGIC_DEBUG], [test "x${have_magic_debug}" = "xyes"])
728EINA_CONFIG([SAFETY_CHECKS], [test "x${have_safety_checks}" = "xyes"]) 726EINA_CONFIG([SAFETY_CHECKS], [test "x${have_safety_checks}" = "xyes"])
729EINA_CONFIG([DEFAULT_MEMPOOL], [test "x${want_default_mempool}" = "xyes"]) 727EINA_CONFIG([DEFAULT_MEMPOOL], [test "x${want_default_mempool}" = "xyes"])
730 728
@@ -738,6 +736,18 @@ AC_DEFINE_IF([EINA_STRINGSHARE_USAGE],
738 [1], [Report Eina stringshare usage pattern]) 736 [1], [Report Eina stringshare usage pattern])
739 737
740### Additional options to configure 738### Additional options to configure
739AC_ARG_ENABLE([magic-debug],
740 [AC_HELP_STRING([--disable-magic-debug], [disable magic debug of eina structure @<:@default=enabled@:>@])],
741 [
742 if test "x${enableval}" = "xyes" ; then
743 have_magic_debug="yes"
744 else
745 have_magic_debug="no"
746 fi
747 ],
748 [have_magic_debug="yes"])
749
750EINA_CONFIG([MAGIC_DEBUG], [test "x${have_magic_debug}" = "xyes"])
741 751
742### Checks for programs 752### Checks for programs
743 753