From a4545594f62f62bcbdd84e09b6ecf2299eb07bc4 Mon Sep 17 00:00:00 2001 From: Matthew Flatt Date: Fri, 31 May 2019 06:44:07 -0600 Subject: [PATCH] fix make include setup in configure for Racket CS Relevant to #2669 --- racket/src/cs/c/configure | 2 +- racket/src/cs/c/configure.ac | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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