summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2011-05-14 03:19:41 +0300
committerTor Lillqvist <tml@iki.fi>2011-05-14 03:19:41 +0300
commit705b13ce9fa32b4118ef0427d1b2ae038cfb7885 (patch)
tree0261202f621735259ebde9ce8aacf2375aa949ac /configure.in
parent025ca51745cd64b213874c49fc12bbc084cb5c3d (diff)
Follow our convention, set CROSS_COMPILING to YES or empty
Diffstat (limited to 'configure.in')
-rwxr-xr-xconfigure.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 8e16acd48470..a8d0ef5fa695 100755
--- a/configure.in
+++ b/configure.in
@@ -1307,7 +1307,11 @@ dnl checks build and host OSes
dnl ===================================================================
AC_CANONICAL_SYSTEM
-CROSS_COMPILING=$cross_compiling
+if test "$cross_compiling" = "yes"; then
+ CROSS_COMPILING=YES
+else
+ CROSS_COMPILING=
+fi
AC_SUBST(CROSS_COMPILING)
dnl ===================================================================