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