[PATCH] Use the make binary that configure found in PATH

Mathias Hasselmann (via Code Review) gerrit at gerrit.libreoffice.org
Sat Mar 23 02:26:28 PDT 2013


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/2924

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/24/2924/1

Use the make binary that configure found in PATH

When auto-detecting the GNU make binary from PATH store its absolute
path in the GNUMAKE variable to ensure to keep using exactly the same
GNU make binary even when the PATH settings change. This is needed
because the gbuild system relies on the GNU make features detected and
reported by the configure script.

Change-Id: I05916f0ad7f2e98e4e908455ed72758ebf396863
---
M configure.ac
1 file changed, 1 insertion(+), 1 deletion(-)



diff --git a/configure.ac b/configure.ac
index b9b11f6..665bd2e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -4483,7 +4483,7 @@
     if test -n "$a"; then
         $a --version 2> /dev/null | grep GNU  2>&1 > /dev/null
         if test $? -eq 0;  then
-            GNUMAKE=$a
+            GNUMAKE=`which $a`
             break
         fi
     fi

-- 
To view, visit https://gerrit.libreoffice.org/2924
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I05916f0ad7f2e98e4e908455ed72758ebf396863
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Mathias Hasselmann <mathias at openismus.com>



More information about the LibreOffice mailing list