summaryrefslogtreecommitdiffstats
path: root/src/auto
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-04-14 16:46:02 +0200
committerBram Moolenaar <Bram@vim.org>2016-04-14 16:46:02 +0200
commit839e954aaa72ef62f65416d177f829e681c15466 (patch)
tree366c3be1239c4112295f7f2db97a8be9ef4f0c46 /src/auto
parent429fcfbf9a9275367fe9441a50a3dcd773497d84 (diff)
patch 7.4.1733v7.4.1733
Problem: "make install" doesn't know about cross-compiling. (Christian Neukirchen) Solution: Add CROSS_COMPILING. (closes #740)
Diffstat (limited to 'src/auto')
-rwxr-xr-xsrc/auto/configure4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/auto/configure b/src/auto/configure
index a7082300bd..91b075d95a 100755
--- a/src/auto/configure
+++ b/src/auto/configure
@@ -721,6 +721,7 @@ OS_EXTRA_OBJ
OS_EXTRA_SRC
XCODE_SELECT
CPP_MM
+CROSS_COMPILING
STRIP
AWK
FGREP
@@ -4113,11 +4114,14 @@ else
$as_echo "no" >&6; }
fi
+CROSS_COMPILING=
if test "$cross_compiling" = yes; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: cannot compile a simple program; if not cross compiling check CC and CFLAGS" >&5
$as_echo "cannot compile a simple program; if not cross compiling check CC and CFLAGS" >&6; }
+ CROSS_COMPILING=1
fi
+
test "$GCC" = yes && CPP_MM=M;
if test -f ./toolcheck; then