public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] eglibc: Make configure accept make v3.9+
@ 2014-08-08 19:15 Daniel Zauner aka Delta Tatham
  0 siblings, 0 replies; only message in thread
From: Daniel Zauner aka Delta Tatham @ 2014-08-08 19:15 UTC (permalink / raw)
  To: crossgcc

eglibc configure threw an error in combination w/ make v4.0.
This patch extends the range of make-versions configure accepts.


Signed-off-by: Daniel Zauner aka Delta Tatham <delta.tatham@me.com>
---
 .../eglibc/2_18/01-configure-make-version.patch    | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 patches/eglibc/2_18/01-configure-make-version.patch

diff --git a/patches/eglibc/2_18/01-configure-make-version.patch b/patches/eglibc/2_18/01-configure-make-version.patch
new file mode 100644
index 0000000..e8d46a5
--- /dev/null
+++ b/patches/eglibc/2_18/01-configure-make-version.patch
@@ -0,0 +1,22 @@
+--- a/configure.in	2014-08-08 20:04:48.839868771 +0200
++++ b/configure.in	2014-08-08 20:06:02.062724030 +0200
+@@ -989,7 +989,7 @@
+   critic_missing="$critic_missing gcc")
+ AC_CHECK_PROG_VER(MAKE, gnumake gmake make, --version,
+   [GNU Make[^0-9]*\([0-9][0-9.]*\)],
+-  [3.79* | 3.[89]*], critic_missing="$critic_missing make")
++  [3.79* | 3.[89]* | [4-9].* | [1-9][0-9]*], critic_missing="$critic_missing make")
+ 
+ AC_CHECK_PROG_VER(MSGFMT, gnumsgfmt gmsgfmt msgfmt, --version,
+   [GNU gettext.* \([0-9]*\.[0-9.]*\)],
+--- a/configure	2014-08-08 20:02:21.801175776 +0200
++++ b/configure	2014-08-08 20:04:30.264412865 +0200
+@@ -4772,7 +4772,7 @@
+   ac_prog_version=`$MAKE --version 2>&1 | sed -n 's/^.*GNU Make[^0-9]*\([0-9][0-9.]*\).*$/\1/p'`
+   case $ac_prog_version in
+     '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
+-    3.79* | 3.[89]*)
++    3.79* | 3.[89]* | [4-9].* | [1-9][0-9]*)
+        ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
+     *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
+ 
-- 
2.0.1


--
For unsubscribe information see http://sourceware.org/lists.html#faq

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-08-08 19:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-08 19:15 [PATCH] eglibc: Make configure accept make v3.9+ Daniel Zauner aka Delta Tatham

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).