Changes for SunOS compatibility.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1412 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
# This file is sourced by build.sh
|
||||
|
||||
# Include build functions used here
|
||||
. build/unix/config_functions
|
||||
|
||||
@@ -29,7 +29,7 @@ fi
|
||||
|
||||
# Read in the config settings that affect the build, if present.
|
||||
# Don't reread for every dir when recursing.
|
||||
if [ -e "$BUILD_WORK/build.vars" -a -z "$BUILD_COMMAND" ]; then
|
||||
if [ -r "$BUILD_WORK/build.vars" -a -z "$BUILD_COMMAND" ]; then
|
||||
. "$BUILD_WORK/build.vars"
|
||||
fi
|
||||
|
||||
|
||||
@@ -79,16 +79,6 @@ EOF
|
||||
fi
|
||||
}
|
||||
|
||||
# Description: Output a message to stderr, unless BUILD_SILENT is set
|
||||
# Arguments: the message
|
||||
build_message() {
|
||||
if [ -z "$BUILD_SILENT" ]; then
|
||||
cat >&2 << EOF
|
||||
$@
|
||||
EOF
|
||||
fi
|
||||
}
|
||||
|
||||
# Description: check if a string is lexicographically before
|
||||
# another string
|
||||
# Arguments: $1 - the first string
|
||||
|
||||
@@ -30,7 +30,7 @@ PROG_sed_VERSION=''
|
||||
|
||||
PROG_make_NAME="Make"
|
||||
case "$OSNAME" in
|
||||
FreeBSD|OpenBSD)
|
||||
FreeBSD|OpenBSD|SunOS)
|
||||
PROG_make_FILE="gmake"
|
||||
;;
|
||||
*)
|
||||
|
||||
Reference in New Issue
Block a user