Whamcloud - gitweb
Fix reversed FORCE_NATIVE_MAKE test in acinclude.m4
authorTheodore Ts'o <tytso@mit.edu>
Mon, 12 Sep 2016 03:11:31 +0000 (23:11 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 12 Sep 2016 03:12:07 +0000 (23:12 -0400)
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
acinclude.m4
configure

index b4bdc5d..912383a 100644 (file)
@@ -108,7 +108,7 @@ AC_DEFUN(
         [CHECK_GNU_MAKE], [ AC_CACHE_CHECK( for GNU make,_cv_gnu_make_command,
                 _cv_gnu_make_command='' ;
 dnl Search all the common names for GNU make
-                if test -z "$FORCE_NATIVE_MAKE" ; then
+                if test -n "$FORCE_NATIVE_MAKE" ; then
                    MAKES="make"
                 else
                    MAKES="make gmake gnumake"
index 6825bd2..7118ce3 100755 (executable)
--- a/configure
+++ b/configure
@@ -11515,7 +11515,7 @@ if ${_cv_gnu_make_command+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   _cv_gnu_make_command='' ;
-                if test -z "$FORCE_NATIVE_MAKE" ; then
+                if test -n "$FORCE_NATIVE_MAKE" ; then
                    MAKES="make"
                 else
                    MAKES="make gmake gnumake"