configure: correctly detect C99-capabilities for ecore_con_resolver

ac_cv_prog_cc_c99 being empty just means there is no need to add
any flags for the compiler to be C99-capable.
"no" means the compiler isn't C99-capable.

The check is actually unnecessary as EFL demands a C99-capable
compiler these days but if that every changes ...

Reviewers: zmike

CC: cedric

Differential Revision: https://phab.enlightenment.org/D443

Signed-off-by: Cedric BAIL <cedric.bail@samsung.com>
This commit is contained in:
Joel Klinghed 2014-01-09 10:05:02 +09:00 committed by Cedric BAIL
parent 555df8f510
commit b262d79e05
1 changed files with 1 additions and 1 deletions

View File

@ -2079,7 +2079,7 @@ AM_CONDITIONAL([HAVE_CARES], [test "x${have_cares}" = "xyes"])
if test "x$have_cares" = "xyes" ; then
ecore_con_resolver="cares"
elif test -n "$ac_cv_prog_cc_c99" ; then
elif test "x$ac_cv_prog_cc_c99" != "xno" ; then
ecore_con_resolver="dns.c"
else
ecore_con_resolver="fork"