Kaydet (Commit) 13df2ce5 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Don't check $cross_compiling until it has been detected more reliably

Change-Id: I00b2a29d30bee2e71b0a04790b6de48bbbacae8a
üst 01346afe
...@@ -66,14 +66,6 @@ dnl do this before argument processing to allow for platform dependent defaults ...@@ -66,14 +66,6 @@ dnl do this before argument processing to allow for platform dependent defaults
dnl =================================================================== dnl ===================================================================
AC_CANONICAL_HOST AC_CANONICAL_HOST
if test "$cross_compiling" = "yes"; then
CROSS_COMPILING=YES
else
CROSS_COMPILING=
BUILD_TYPE="$BUILD_TYPE NATIVE"
fi
AC_SUBST(CROSS_COMPILING)
AC_PROG_EGREP AC_PROG_EGREP
# AC_PROG_EGREP doesn't set GREP on all systems as well # AC_PROG_EGREP doesn't set GREP on all systems as well
AC_PATH_PROG(GREP, grep) AC_PATH_PROG(GREP, grep)
...@@ -2761,6 +2753,14 @@ AC_SUBST(ENABLE_DIRECTX) ...@@ -2761,6 +2753,14 @@ AC_SUBST(ENABLE_DIRECTX)
AC_SUBST(DISABLE_ACTIVEX) AC_SUBST(DISABLE_ACTIVEX)
AC_SUBST(DISABLE_ATL) AC_SUBST(DISABLE_ATL)
if test "$cross_compiling" = "yes"; then
CROSS_COMPILING=YES
else
CROSS_COMPILING=
BUILD_TYPE="$BUILD_TYPE NATIVE"
fi
AC_SUBST(CROSS_COMPILING)
dnl =================================================================== dnl ===================================================================
dnl Test the gcc version dnl Test the gcc version
dnl =================================================================== dnl ===================================================================
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment