aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@samsung.com>2014-02-20 20:06:47 +0900
committerCedric BAIL <cedric.bail@samsung.com>2014-02-20 20:23:24 +0900
commit5ea8c8cc4dc74a14cc44ff14554187ade8e061f2 (patch)
treee92c013106f7cc5a96a82a7f73aadda64b8acef3 /configure.ac
parentdoc: fix build on windows. (diff)
downloadefl-5ea8c8cc4dc74a14cc44ff14554187ade8e061f2.tar.gz
autotools: detect cross compilation.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 34914e4593..8c6193d196 100644
--- a/configure.ac
+++ b/configure.ac
@@ -283,6 +283,8 @@ AC_LANG(C)
AC_PROG_CC_C99
AM_PROG_CC_C_O
+AM_CONDITIONAL([BUILD_EFL_NATIVE], [test "x${cross_compiling}" = "xno"])
+
if test "x${ac_cv_prog_cc_c99}" = "xno" ; then
AC_MSG_ERROR([efl requires a c99-capable compiler])
fi