diff --git a/racket/src/cs/c/configure b/racket/src/cs/c/configure index 486e502fda..18f6bab3ea 100755 --- a/racket/src/cs/c/configure +++ b/racket/src/cs/c/configure @@ -4352,7 +4352,7 @@ fi if test "$INCLUDEDEP" = "#" ; then is_gmake=`make -v no-such-target-we-hope 2>&1 | grep "GNU Make"` - if test "$is_gmake" = "" ; then + if test "$is_gmake" != "" ; then INCLUDEDEP="-include" fi fi diff --git a/racket/src/cs/c/configure.ac b/racket/src/cs/c/configure.ac index 1016d7a2d0..0147ca57ad 100644 --- a/racket/src/cs/c/configure.ac +++ b/racket/src/cs/c/configure.ac @@ -431,7 +431,7 @@ m4_include(../ac/ubsan.m4) if test "$INCLUDEDEP" = "#" ; then is_gmake=`make -v no-such-target-we-hope 2>&1 | grep "GNU Make"` - if test "$is_gmake" = "" ; then + if test "$is_gmake" != "" ; then INCLUDEDEP="-include" fi fi