Make configure bail out when confronted with unknown options.
authorDiego Biurrun <diego@biurrun.de>
Fri, 23 Sep 2005 01:08:48 +0000 (01:08 +0000)
committerDiego Biurrun <diego@biurrun.de>
Fri, 23 Sep 2005 01:08:48 +0000 (01:08 +0000)
Originally committed as revision 4612 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index 7ba1465..a54ee2f 100755 (executable)
--- a/configure
+++ b/configure
@@ -541,6 +541,11 @@ for opt do
   ;;
   --disable-demuxers) demuxers="no"
   ;;
+  *)
+  echo "Unknown option \"$opt\"."
+  echo "See $0 --help for available options."
+  exit 1
+  ;;
   esac
 done