[FFmpeg-cvslog] r19471 - trunk/configure

mru subversion
Mon Jul 20 21:00:59 CEST 2009


Author: mru
Date: Mon Jul 20 21:00:59 2009
New Revision: 19471

Log:
configure: make --extra-cflags cumulative again

Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	Mon Jul 20 20:27:17 2009	(r19470)
+++ trunk/configure	Mon Jul 20 21:00:59 2009	(r19471)
@@ -1002,7 +1002,6 @@ CMDLINE_SET="
     cpu
     cross_prefix
     dep_cc
-    extra_cflags
     extra_version
     host_cc
     host_cflags
@@ -1020,6 +1019,10 @@ CMDLINE_SET="
     target_path
 "
 
+CMDLINE_APPEND="
+    extra_cflags
+"
+
 # code dependency declarations
 
 # architecture extensions
@@ -1401,8 +1404,13 @@ for opt do
     optname="${opt%%=*}"
     optname="${optname#--}"
     optname=$(echo "$optname" | sed 's/-/_/g')
-    is_in $optname $CMDLINE_SET || die_unknown $opt
-    eval $optname='$optval'
+    if is_in $optname $CMDLINE_SET; then
+        eval $optname='$optval'
+    elif is_in $optname $CMDLINE_APPEND; then
+        append $optname "$optval"
+    else
+         die_unknown $opt
+    fi
     ;;
     esac
 done



More information about the ffmpeg-cvslog mailing list