Commit 750c086d authored by Code Ass's avatar Code Ass
Browse files

GNU Make is always required for JRuby

parent d7668be2
Loading
Loading
Loading
Loading
+10 −2
Original line number Diff line number Diff line
@@ -1194,8 +1194,16 @@ if "${CC:-cc}" -x c /dev/null -E -Wno-error=shorten-64-to-32 &>/dev/null; then
fi

if [ -z "$MAKE" ]; then
  if [ "FreeBSD" = "$(uname -s)" ] && [ "$(uname -r | sed 's/[^[:digit:]].*//')" -lt 10 ]; then
  if [ "FreeBSD" = "$(uname -s)" ]; then
    if [ $(echo $1 | sed 's/-.*$//') = "jruby" ]; then
      export MAKE="gmake"
    else
      if [ "$(uname -r | sed 's/[^[:digit:]].*//')" -lt 10 ]; then
	export MAKE="gmake"
      else
	export MAKE="make"
      fi
    fi
  else
    export MAKE="make"
  fi