From ed06990d040ea66955d3e57393003a474b68ffbd Mon Sep 17 00:00:00 2001 From: urchlay Date: Tue, 5 Jul 2005 19:29:57 +0000 Subject: [PATCH] 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 --- stella/configure | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/stella/configure b/stella/configure index c9aa1ecbd..8db8f09af 100755 --- a/stella/configure +++ b/stella/configure @@ -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;