From: Dirk-Willem van Gulik Date: Mon, 13 Mar 2000 18:44:41 +0000 (+0000) Subject: Just make 'buildconf' run on BSD (there is a space after the hash-bang) and X-Git-Tag: APACHE_2_0_ALPHA_2~98 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4a67c03b075df3f5ef1550dbedb298b903f8f339;p=apache Just make 'buildconf' run on BSD (there is a space after the hash-bang) and added bogus INSTALL file plus some blurp in readme.mpm to point out that you really need libtool and autoconf (which need m4). On some platform's I found that I really HAD to use 'gmake' as the normal make would not grok it. So I am wondering if adding something like # Work out a correct 'make'. The issue is that we should use # 'gmake' which is called 'make' on some platforms, and 'gmake' # on some others. # GUESS=${MAKE:-make} if `(${GUESS} -v | grep "GNU Make") > /dev/null 2>&1 `; then # Looks like gmake. else GUESS=gmake if `${GUESS} -v | grep "GNU Make" > /dev/null 2>&1`; then echo Warning: Using 'gmake' instead of 'make'. else echo No 'gmake' found. Please set the MAKE environment echo variable first. exit 1 fi fi MAKE=${GUESS} export MAKE to 'buildconf' would be appropriate to detect this ?? Dw. PR: Obtained from: Submitted by: Reviewed by: git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84749 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/buildconf b/buildconf index 273eabd9e8..26a0976ae9 100755 --- a/buildconf +++ b/buildconf @@ -1,3 +1,3 @@ -#! /bin/sh +#!/bin/sh ${MAKE:-make} -f build/build.mk