configure.in | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-)
New commits: commit a2d9f7178d4516f7d0f21f3d699dff9940697409 Author: Stephan Bergmann <sberg...@redhat.com> Date: Tue May 8 17:20:42 2012 +0200 Proper quoting Change-Id: I4ac3e017f1450a14d2bb389b72ffd2e69cc5767a diff --git a/configure.in b/configure.in index 750899b..1ee1ba1 100644 --- a/configure.in +++ b/configure.in @@ -3739,11 +3739,13 @@ if test -z "$GNUMAKE"; then fi fi -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 - break +for a in "$MAKE" "$GNUMAKE" make gmake gnumake; do + if test -n "$a"; then + $a --version 2> /dev/null | grep GNU 2>&1 > /dev/null + if test $? -eq 0; then + GNUMAKE=$a + break + fi fi done AC_MSG_RESULT($GNUMAKE) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits