# probably on any system using pkgsrc.
# One should have readline installed already (pkgsrc/devel/readline).
-# Quagga is currently documented not to require GNU make, but the
-# contents of solaris seem to require it.
-
-if true; then
+# Quagga is currently documented not to require GNU make, but sometimes
+# BSD make fails. Enable this if statement as a workaround.
+if false; then
MAKE=gmake
- echo "WARNING: using gmake to work around buggy solaris/Makefile.am"
+ echo "WARNING: using gmake to work around nonportable makefiles"
fi
case $1 in
clean)
make clean
+ ;;
+
+ *)
+ echo "Illegal command $1"
+ exit 1
+ ;;
esac