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.



SVN revision: 72213
This commit is contained in:
Gustavo Sverzut Barbieri 2012-06-16 06:10:15 +00:00
parent 5db0925a4b
commit 9281f6b559
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

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