patch 7.4.1733
Problem: "make install" doesn't know about cross-compiling. (Christian
Neukirchen)
Solution: Add CROSS_COMPILING. (closes #740)
diff --git a/src/auto/configure b/src/auto/configure
index a708230..91b075d 100755
--- a/src/auto/configure
+++ b/src/auto/configure
@@ -721,6 +721,7 @@
OS_EXTRA_SRC
XCODE_SELECT
CPP_MM
+CROSS_COMPILING
STRIP
AWK
FGREP
@@ -4113,11 +4114,14 @@
$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