[SCM] libav/experimental: Make configure bail out when confronted with unknown options.

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 15:45:11 UTC 2013


The following commit has been merged in the experimental branch:
commit b34c63f7737464278e2f9a44c4b94b6a521ca6ec
Author: Diego Biurrun <diego at biurrun.de>
Date:   Fri Sep 23 01:08:48 2005 +0000

    Make configure bail out when confronted with unknown options.
    
    Originally committed as revision 4612 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/configure b/configure
index 7ba1465..a54ee2f 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
 

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list