public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
From: mingw.android@gmail.com
To: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: crossgcc@sourceware.org
Subject: [PATCH 2 of 2] If GNU make 3.81 is not found then build it as a companion tool
Date: Thu, 20 Feb 2014 18:30:00 -0000	[thread overview]
Message-ID: <8b8bf6998f3d239f6c74.1392920971@advancedsearch.virginmedia.com> (raw)
In-Reply-To: <patchbomb.1392920969@advancedsearch.virginmedia.com>

# HG changeset patch
# User Ray Donnelly <mingw.android@gmail.com>
# Date 1392920588 0
#      Thu Feb 20 18:23:08 2014 +0000
# Node ID 8b8bf6998f3d239f6c74d0f91782164af9f3c741
# Parent  3e204a5cf9648db53a6a2a6070d301ec705f6dd4
If GNU make 3.81 is not found then build it as a companion tool.

Signed-off-by: Ray Donnelly <mingw.android@gmail.com>

diff -r 3e204a5cf964 -r 8b8bf6998f3d config/companion_tools.in
--- a/config/companion_tools.in	Thu Feb 20 18:22:50 2014 +0000
+++ b/config/companion_tools.in	Thu Feb 20 18:23:08 2014 +0000
@@ -2,6 +2,13 @@
 
 menu "Companion tools"
 
+config COMP_TOOLS_make_3_81_NEEDED
+    bool
+    depends on ! CONFIGURE_has_make381
+    default y
+    select COMP_TOOLS
+    select COMP_TOOLS_make
+
 comment "READ HELP before you say 'Y' below !!!"
 config COMP_TOOLS
     bool
diff -r 3e204a5cf964 -r 8b8bf6998f3d configure.ac
--- a/configure.ac	Thu Feb 20 18:22:50 2014 +0000
+++ b/configure.ac	Thu Feb 20 18:23:08 2014 +0000
@@ -220,6 +220,15 @@
 AC_SUBST([MAKE], [$ac_cv_path_MAKE])
 AC_PROG_MAKE_SET
 
+# Check for GNU make 3.81 exactly, otherwise
+# it will be built as a companion tool.
+AS_IF(
+      [test "$MAKE_ver" = "GNU Make 3.81"],
+      [make381="y"],
+      [make381=]
+     )
+ACX_SET_KCONFIG_OPTION([make381])
+
 #----------------------------------------
 # Check for libtool >= 1.5.26
 AC_CACHE_VAL([ac_cv_path_LIBTOOL],

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

  parent reply	other threads:[~2014-02-20 18:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-20 18:30 [PATCH 0 of 2] Make companion tools not experimental and build GNU make 3.81 if needed mingw.android
2014-02-20 18:30 ` [PATCH 1 of 2] Companion tools are no longer experimental mingw.android
2014-02-20 19:37   ` Yann E. MORIN
2014-02-20 18:30 ` mingw.android [this message]
2014-02-20 19:37   ` If GNU make 3.81 is not found then build it as a companion tool Yann E. MORIN

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=8b8bf6998f3d239f6c74.1392920971@advancedsearch.virginmedia.com \
    --to=mingw.android@gmail.com \
    --cc=crossgcc@sourceware.org \
    --cc=yann.morin.1998@free.fr \
    /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).