]> granicus.if.org Git - apache/commitdiff
Just make 'buildconf' run on BSD (there is a space after the hash-bang) and
authorDirk-Willem van Gulik <dirkx@apache.org>
Mon, 13 Mar 2000 18:44:41 +0000 (18:44 +0000)
committerDirk-Willem van Gulik <dirkx@apache.org>
Mon, 13 Mar 2000 18:44:41 +0000 (18:44 +0000)
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

buildconf

index 273eabd9e8087b23ccc7a46425db29f771794475..26a0976ae9a63ef5b56da7f6968ee7e8ba21a494 100755 (executable)
--- a/buildconf
+++ b/buildconf
@@ -1,3 +1,3 @@
-#! /bin/sh
+#!/bin/sh
 
 ${MAKE:-make} -f build/build.mk