forked from enlightenment/efl
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:
parent
555df8f510
commit
b262d79e05
|
@ -2079,7 +2079,7 @@ AM_CONDITIONAL([HAVE_CARES], [test "x${have_cares}" = "xyes"])
|
||||||
|
|
||||||
if test "x$have_cares" = "xyes" ; then
|
if test "x$have_cares" = "xyes" ; then
|
||||||
ecore_con_resolver="cares"
|
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"
|
ecore_con_resolver="dns.c"
|
||||||
else
|
else
|
||||||
ecore_con_resolver="fork"
|
ecore_con_resolver="fork"
|
||||||
|
|
Loading…
Reference in New Issue