From b262d79e05978b0491de38cdbefef67776ff5844 Mon Sep 17 00:00:00 2001 From: Joel Klinghed Date: Thu, 9 Jan 2014 10:05:02 +0900 Subject: [PATCH] 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 --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 1098af5d88..8f991867f3 100644 --- a/configure.ac +++ b/configure.ac @@ -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"