diff --git a/auto/make b/auto/make index ec09f0164..dc9123989 100644 --- a/auto/make +++ b/auto/make @@ -36,14 +36,7 @@ manpage: $NXT_BUILD_DIR/share/man/man8/unitd.8 END - -NXT_OS=$(uname -s) -NXT_GNU_MAKE=$(make --version | grep GNU || true) - -# Requires GNU make. On OpenIndiana at least we have to use gmake -if [ -n "$NXT_GNU_MAKE" ] || [ $NXT_OS = "SunOS" ]; then - - cat << END >> $NXT_MAKEFILE +cat << END >> $NXT_MAKEFILE # By default compiler etc output is hidden, use # make V=1 ... # to show it. @@ -78,10 +71,9 @@ endif END -fi - # potentially set otel lib location if [ $NXT_OTEL = YES ]; then + cat << END >> $NXT_MAKEFILE ifeq (\$D,1) @@ -91,6 +83,7 @@ else endif END + fi # The include paths list.