aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index ee2fb6e0b..63aa48493 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1365,6 +1365,8 @@ AC_HELP_STRING([--disable-debug],[Disable debug options]),
AC_MSG_RESULT(no)
)
+AM_CONDITIONAL(CROSSCOMPILING, test x$cross_compiling = xyes)
+
AC_CONFIG_FILES([Makefile \
docs/Makefile \
docs/examples/Makefile \