]> granicus.if.org Git - libx264/commitdiff
* configure: support extra $(ASFLAGS) through --extra-asflags.
authorSam Hocevar <sam@videolan.org>
Sun, 25 Sep 2005 13:52:58 +0000 (13:52 +0000)
committerSam Hocevar <sam@videolan.org>
Sun, 25 Sep 2005 13:52:58 +0000 (13:52 +0000)
git-svn-id: svn://svn.videolan.org/x264/trunk@301 df754926-b1dd-0310-bc7b-ec298dee348c

configure

index 5541c921d75cdfcd87d62c7bf64ecd9d13296224..f74e95574e0a57e669c5a388fd56893335ba0350 100755 (executable)
--- a/configure
+++ b/configure
@@ -13,6 +13,7 @@ echo "  --enable-vfw             compiles the VfW frontend"
 echo "  --enable-pthread         enables multithreaded encoding"
 echo "  --enable-debug           adds -g, doesn't strip"
 echo "  --enable-visualize       enables visualization (X11 only)"
+echo "  --extra-asflags=EASFLAGS add EASFLAGS to ASFLAGS"
 echo "  --extra-cflags=ECFLAGS   add ECFLAGS to CFLAGS"
 echo "  --extra-ldflags=ELDFLAGS add ELDFLAGS to LDFLAGS"
 echo ""
@@ -182,6 +183,9 @@ for opt do
             fi
             mp4_output="yes"
             ;;
+        --extra-asflags=*)
+            ASFLAGS="$ASFLAGS ${opt#--extra-asflags=}"
+            ;;
         --extra-cflags=*)
             CFLAGS="$CFLAGS ${opt#--extra-cflags=}"
             VFW_CFLAGS="${opt#--extra-cflags=}"