configure script now prints "warning: unrecognized option" and sleeps

for 2 seconds instead of silently ignoring wrong options. This seems
like a good compromise to me (I've typed "./configure --disable-opengl"
about 50 times now, and of course it doesn't work because it's supposed
to say "--disable-gl")


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@611 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
This commit is contained in:
urchlay 2005-07-05 19:29:57 +00:00
parent 135f662a03
commit ed06990d04
1 changed files with 5 additions and 5 deletions

10
stella/configure vendored
View File

@ -316,11 +316,11 @@ for ac_option in $@; do
--mandir=*)
_mandir=`echo $ac_option | cut -d '=' -f 2`
;;
# *)
# echo "error: unrecognised option: $ac_option
#Try \`$0 --help' for more information." >&2
# exit 1
# ;;
*)
echo "warning: unrecognised option: $ac_option
Try \`$0 --help' for more information." >&2
sleep 2
;;
esac;
done;