More fixes to the configure script

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2013-08-09 18:35:32 -07:00
parent 189b81cd49
commit 5f63183247

View File

@ -116,14 +116,14 @@ if [ -z "$vendor" ]; then
fi fi
fi fi
if [ -z "vendor" ]; then if [ -z "$vendor" ]; then
case `uname` in case `uname` in
Darwin) Darwin)
params[HOST]=apple params[HOST]=apple
rcfile=shorewallrc.apple rcfile=shorewallrc.apple
;; ;;
cygwin*) cygwin*|CYGWIN*)
params[HOST]=cygwin params[HOST]=cygwin
rcfile=shorewallrc.cygwin rcfile=shorewallrc.cygwin
;; ;;
@ -154,6 +154,7 @@ if [ -z "vendor" ]; then
elif [ $vendor = linux ]; then elif [ $vendor = linux ]; then
rcfile=shorewallrc.default; rcfile=shorewallrc.default;
else else
echo "Vendor is '$vendor'"
rcfile=shorewallrc.$vendor rcfile=shorewallrc.$vendor
if [ ! -f $rcfile ]; then if [ ! -f $rcfile ]; then
echo "ERROR: $vendor is not a recognized host type" >&2 echo "ERROR: $vendor is not a recognized host type" >&2