From fc54d8525101908a2547d8e6c1800950b4286bf9 Mon Sep 17 00:00:00 2001 From: Stefan Schmidt Date: Thu, 30 Oct 2014 09:14:48 +0100 Subject: [PATCH] build: Print configure warning when trying --with-api=eo Our code base simply do not work with the EO API alone right now. Leave the option for testing but hide the knob to turn it on behind the beloved "I know what I do" option. Fixes T1558 --- configure.ac | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/configure.ac b/configure.ac index c5d1268..783ca4e 100644 --- a/configure.ac +++ b/configure.ac @@ -40,6 +40,7 @@ case "$efl_api" in eo) EFL_API_LEGACY_DEF="#define EFL_NOLEGACY_API_SUPPORT" EFL_API_EO_DEF="#define EFL_EO_API_SUPPORT" + CFOPT_WARNING="xyes" ;; legacy) EFL_API_LEGACY_DEF="" @@ -4902,6 +4903,16 @@ if test -n "$CFOPT_WARNING"; then echo "that, as opposed to compiling it out." echo "_____________________________________________________________________" fi + if test "x${efl_api}" = "xeo"; then + echo "_____________________________________________________________________" + echo "Using the EO based EFL API only does not work at the moment. We still" + echo "have a lot code that depends on the legacy interfaces. We provide" + echo "this option for testing once we are able to migrate to the EO based" + echo "API." + echo "If you are not working on this migration please leave the option set" + echo "to both as it will break your build if set to eo." + echo "_____________________________________________________________________" + fi echo "_____________________________________________________________________" echo "" echo "==-- WARNING --==" -- 2.7.4