X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=find-gnumake.sh;h=df76c7ee8bc1b8c98dde59384a8bbe57da2fbd28;hb=7a7a5268d45a213d425228e87c9ecc9f79bd7858;hp=c4186fef65aa4b1d1ae5ac8c9bfd3aa79214f853;hpb=22c1de0a40df83bb5628974010a879cb2c17ff53;p=sbcl.git diff --git a/find-gnumake.sh b/find-gnumake.sh index c4186fe..df76c7e 100644 --- a/find-gnumake.sh +++ b/find-gnumake.sh @@ -1,3 +1,4 @@ +#!/bin/false # Not a shell script, but something intended to be sourced from shell scripts find_gnumake() { # the GNU dialect of "make" -- easier to find or port it than to @@ -8,6 +9,9 @@ find_gnumake() { elif [ -x "`which gmake`" ] ; then # "gmake" is the preferred name in *BSD. GNUMAKE=gmake + elif [ -x "`which gnumake`" ] ; then + # MacOS X aka Darwin + GNUMAKE=gnumake elif [ "GNU Make" = "`make -v | head -n 1 | cut -b 0-8`" ]; then GNUMAKE=make else @@ -15,5 +19,5 @@ find_gnumake() { exit 1 fi export GNUMAKE - echo "//GNUMAKE=\"$GNUMAKE\"" + #echo "//GNUMAKE=\"$GNUMAKE\"" }