From: barbieri Date: Sat, 16 Jun 2012 06:10:15 +0000 (+0000) Subject: and make it compile... :-/ X-Git-Tag: 2.0_alpha~25^2~15 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a1de490e1634520667c4d369acd0b6eb324d961a;p=framework%2Fuifw%2Fecore.git and make it compile... :-/ now my bad, I'm rusty enough to get it wrong without testing. The problems were: * missing "_" between EFL_HAVE and ECORE_CON. * must declare the AM_CONDITIONAL, even if the flags were not checked. This case was triggered if --enable-cares or --disable-ipv6. Anyway, EFL_HAVE_ECORE_CON is never used... I have no idea why vtorri did the macro to define this conditional. git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@72213 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/configure.ac b/configure.ac index cb87607..efb2a2e 100644 --- a/configure.ac +++ b/configure.ac @@ -1532,6 +1532,7 @@ if test "x${have_ecore_con}" = "xyes" ; then fi +AM_CONDITIONAL([EFL_HAVE_ECORE_CON], [true]) if test "x${have_cares}" != "xyes" -a "x${have_ipv6}" = "xyes" ; then EFL_CHECK_COMPILER_FLAGS([ECORE_CON], [-Wno-override-init -Wno-initializer-overrides]) fi diff --git a/m4/efl_compiler.m4 b/m4/efl_compiler.m4 index ff514ca..92c57fc 100644 --- a/m4/efl_compiler.m4 +++ b/m4/efl_compiler.m4 @@ -34,7 +34,7 @@ UPEFL[_CFLAGS]="${UPEFL[_CFLAGS]} [$2]" AC_ARG_VAR(UPEFL[_CFLAGS], [preprocessor flags for $2]) AC_SUBST(UPEFL[_CFLAGS]) -AM_CONDITIONAL([EFL_HAVE]UPEFL, [test "x${have_flag}" = "xyes"]) +AM_CONDITIONAL([EFL_HAVE_]UPEFL, [test "x${have_flag}" = "xyes"]) m4_popdef([UP]) m4_popdef([UPEFL])