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
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
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])