0.8.1.16:
[sbcl.git] / make.sh
diff --git a/make.sh b/make.sh
index b3b47fa..080b45a 100755 (executable)
--- a/make.sh
+++ b/make.sh
@@ -70,15 +70,11 @@ if [ "$GNUMAKE" != "" ] ; then
 elif [ -x "`which gmake`" ] ; then
   # "gmake" is the preferred name in *BSD.
   GNUMAKE=gmake
-else
-  # FIXME: Now that we do this early, maybe prompt the user rather
-  # than guessing?  I'd still be annoyed, though... -- CSR,
-  # 2003-05-16.
-  #
-  # All the world's a Linux, and all its users weary of cautious
-  # BSDish worries that "make" might not be GNU make; so just guess
-  # that "make" is GNU make and hope for the best.
+elif [ "GNU Make" = "`make -v | head -n 1 | cut -b 0-8`" ]; then
   GNUMAKE=make
+else
+  echo "GNU Make not found. Try setting the environment variable GNUMAKE."
+  exit 1
 fi
 
 export GNUMAKE
@@ -122,4 +118,12 @@ sh make-target-1.sh || exit 1
 sh make-host-2.sh   || exit 1
 sh make-target-2.sh || exit 1
 sh make-target-contrib.sh || exit 1
+
+# Sometimes people used to see the "No tests failed." output from the last
+# DEFTEST in contrib self-tests and thing that's all that is. So...
+echo
+echo The build seems to have finished successfully. If you would like
+echo run more extensive tests on the new SBCL, you can try run-tests.sh.
+echo
+
 date