public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
From: Daniel Zauner aka Delta Tatham <delta.tatham@me.com>
To: crossgcc@sourceware.org
Subject: [PATCH] eglibc: Make configure accept make v3.9+
Date: Fri, 08 Aug 2014 19:15:00 -0000	[thread overview]
Message-ID: <20140808191519.GA20991@fratler.de> (raw)

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

                 reply	other threads:[~2014-08-08 19:15 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140808191519.GA20991@fratler.de \
    --to=delta.tatham@me.com \
    --cc=crossgcc@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).