From 884a36a78badab059ed6857d6b69205063510768 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A5ns=20Rullg=C3=A5rd?= Date: Tue, 21 Oct 2008 00:57:17 +0000 Subject: [PATCH] configure: fix handling of option arguments containing = sign Originally committed as revision 15656 to svn://svn.ffmpeg.org/ffmpeg/trunk --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 5deab4a27e..18c666cd9a 100755 --- a/configure +++ b/configure @@ -1104,7 +1104,7 @@ for opt do --help|-h) show_help ;; *) - optname="${opt%=*}" + optname="${opt%%=*}" optname="${optname#--}" optname=$(echo "$optname" | sed 's/-/_/g') is_in $optname $CMDLINE_SET || die_unknown $opt