summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorJoel Klinghed <the_jk@yahoo.com>2014-01-09 10:05:02 +0900
committerCedric BAIL <cedric.bail@samsung.com>2014-01-09 10:05:07 +0900
commitb262d79e05978b0491de38cdbefef67776ff5844 (patch)
tree1351ce3ef90cd34172c2ee379a15de64f62fbc80 /configure.ac
parent555df8f51077791b2330f27851ca39b6a513202e (diff)
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>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
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"])
2079 2079
2080if test "x$have_cares" = "xyes" ; then 2080if test "x$have_cares" = "xyes" ; then
2081 ecore_con_resolver="cares" 2081 ecore_con_resolver="cares"
2082elif test -n "$ac_cv_prog_cc_c99" ; then 2082elif test "x$ac_cv_prog_cc_c99" != "xno" ; then
2083 ecore_con_resolver="dns.c" 2083 ecore_con_resolver="dns.c"
2084else 2084else
2085 ecore_con_resolver="fork" 2085 ecore_con_resolver="fork"