aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2005-09-23 01:08:48 +0000
committerDiego Biurrun <diego@biurrun.de>2005-09-23 01:08:48 +0000
commitb34c63f7737464278e2f9a44c4b94b6a521ca6ec (patch)
tree6c2210f3b0139b25279ae5ad19531128ff092287
parenta9e350952992f07f4b560385185f406fbbb752d7 (diff)
downloadffmpeg-b34c63f7737464278e2f9a44c4b94b6a521ca6ec.tar.gz
Make configure bail out when confronted with unknown options.
Originally committed as revision 4612 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rwxr-xr-xconfigure5
1 files changed, 5 insertions, 0 deletions
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