Externals - Cleanup, cross-compiler working
[tpg/acess2.git] / Externals / cross-compiler / patches / config / override.m4.patch
diff --git a/Externals/cross-compiler/patches/config/override.m4.patch b/Externals/cross-compiler/patches/config/override.m4.patch
new file mode 100644 (file)
index 0000000..ea2aafb
--- /dev/null
@@ -0,0 +1,15 @@
+--- orig/gcc-4.7.1/config/override.m4  2014-03-08 22:29:42.765585740 +0800
++++ gcc-4.7.1/config/override.m4       2011-03-05 15:32:50.000000000 +0800
+@@ -39,9 +39,9 @@
+ dnl without rewriting this file.
+ dnl Or for updating the whole tree at once with the definition above.
+ AC_DEFUN([_GCC_AUTOCONF_VERSION_CHECK],
++[dnl m4_if(m4_defn([_GCC_AUTOCONF_VERSION]),
++ dnl  m4_defn([m4_PACKAGE_VERSION]), [],
++ dnl [m4_fatal([Please use exactly Autoconf ]_GCC_AUTOCONF_VERSION[ instead of ]m4_defn([m4_PACKAGE_VERSION])[.])])
+-[m4_if(m4_defn([_GCC_AUTOCONF_VERSION]),
+-  m4_defn([m4_PACKAGE_VERSION]), [],
+-  [m4_fatal([Please use exactly Autoconf ]_GCC_AUTOCONF_VERSION[ instead of ]m4_defn([m4_PACKAGE_VERSION])[.])])
+ ])
+ m4_define([AC_INIT], m4_defn([AC_INIT])[
+ _GCC_AUTOCONF_VERSION_CHECK

UCC git Repository :: git.ucc.asn.au