openoffice-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r1816238 - /openoffice/trunk/main/configure.ac
Date Fri, 24 Nov 2017 15:36:31 GMT
Author: jim
Date: Fri Nov 24 15:36:31 2017
New Revision: 1816238

URL: http://svn.apache.org/viewvc?rev=1816238&view=rev
Log:
We need $GREP, which may not be defined/set with the
EGREP check.

Modified:
    openoffice/trunk/main/configure.ac

Modified: openoffice/trunk/main/configure.ac
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/configure.ac?rev=1816238&r1=1816237&r2=1816238&view=diff
==============================================================================
--- openoffice/trunk/main/configure.ac (original)
+++ openoffice/trunk/main/configure.ac Fri Nov 24 15:36:31 2017
@@ -984,6 +984,9 @@ dnl ====================================
 cat /dev/null > warn
 
 AC_PROG_EGREP
+if test -z "$GREP"; then
+GREP=$EGREP
+fi
 AC_PROG_AWK
 AC_PATH_PROG( AWK, $AWK)
 if test -z "$AWK"; then
@@ -1806,7 +1809,7 @@ dnl ====================================
 dnl Search all the common names for GNU make
 dnl ===================================================================
 AC_MSG_CHECKING([for GNU make])
-for a in "$MAKE" $GNUMAKE make gmake gnumake; do
+for a in "$MAKE" "$GNUMAKE" make gmake gnumake; do
       $a --version 2> /dev/null | $GREP GNU  2>&1 > /dev/null
       if test $? -eq 0;  then
            GNUMAKE=$a



Mime
View raw message