summaryrefslogtreecommitdiff
path: root/configure.ac
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:10:29 +0900
commitb7b6b5f956c93ff3651b9e239bb6724d0e087fb6 (patch)
tree3cff8682a1c7e054ce18f52257f0909425c24cf2 /configure.ac
parent17d028f9444eebc0eafef1e4edaaf258665bb093 (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 -
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac14
1 files changed, 12 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 6bfb7f485f..a7287d057a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -696,7 +696,6 @@ EFL_LIB_START([Eina])
696 696
697### Default values 697### Default values
698 698
699have_magic_debug="yes"
700have_safety_checks="yes" 699have_safety_checks="yes"
701want_log="yes" 700want_log="yes"
702case "${build_profile}" in 701case "${build_profile}" in
@@ -732,7 +731,6 @@ case "${build_profile}" in
732esac 731esac
733 732
734EINA_CONFIG([HAVE_ALLOCA_H], [test "x${ac_cv_working_alloca_h}" = "xyes"]) 733EINA_CONFIG([HAVE_ALLOCA_H], [test "x${ac_cv_working_alloca_h}" = "xyes"])
735EINA_CONFIG([MAGIC_DEBUG], [test "x${have_magic_debug}" = "xyes"])
736EINA_CONFIG([SAFETY_CHECKS], [test "x${have_safety_checks}" = "xyes"]) 734EINA_CONFIG([SAFETY_CHECKS], [test "x${have_safety_checks}" = "xyes"])
737EINA_CONFIG([DEFAULT_MEMPOOL], [test "x${want_default_mempool}" = "xyes"]) 735EINA_CONFIG([DEFAULT_MEMPOOL], [test "x${want_default_mempool}" = "xyes"])
738 736
@@ -746,6 +744,18 @@ AC_DEFINE_IF([EINA_STRINGSHARE_USAGE],
746 [1], [Report Eina stringshare usage pattern]) 744 [1], [Report Eina stringshare usage pattern])
747 745
748### Additional options to configure 746### Additional options to configure
747AC_ARG_ENABLE([magic-debug],
748 [AC_HELP_STRING([--disable-magic-debug], [disable magic debug of eina structure @<:@default=enabled@:>@])],
749 [
750 if test "x${enableval}" = "xyes" ; then
751 have_magic_debug="yes"
752 else
753 have_magic_debug="no"
754 fi
755 ],
756 [have_magic_debug="yes"])
757
758EINA_CONFIG([MAGIC_DEBUG], [test "x${have_magic_debug}" = "xyes"])
749 759
750### Checks for programs 760### Checks for programs
751 761