From e140572a4d4ccd7a359abe48bba4411c6b180a93 Mon Sep 17 00:00:00 2001 From: "ramiro%netscape.com" Date: Fri, 16 Apr 1999 02:55:02 +0000 Subject: [PATCH] Make it not break on systems where 'make' is not gnu make. --- configure.in | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/configure.in b/configure.in index 81d7dfb1cb6..529f2288784 100644 --- a/configure.in +++ b/configure.in @@ -1840,9 +1840,13 @@ dnl in NSPR to be 'make -j1' - or just 'make' dnl dnl Only set this if 'make' is found. -_make_try=`make -v 2> /dev/null` +_make_command='make' +_make_version=`$_make_command -v 2> /dev/null` +_make_is_gnu=`echo $_make_version | head -1 | awk '{ print $1; }'` -if test "$_make_try" +echo "_make_is_gnu=$_make_is_gnu" + +if test "$_make_is_gnu" = "GNU" then MOZ_NSPRENV_OVERRIDE_MAKE=make fi