From b34c63f7737464278e2f9a44c4b94b6a521ca6ec Mon Sep 17 00:00:00 2001
From: Diego Biurrun <diego@biurrun.de>
Date: Fri, 23 Sep 2005 01:08:48 +0000
Subject: Make configure bail out when confronted with unknown options.

Originally committed as revision 4612 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 configure | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/configure b/configure
index 7ba146548e..a54ee2ff9f 100755
--- 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
 
-- 
cgit v1.2.3