From b2e9af98bf5f44363f3877baf7bfa6cce4d64805 Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Sun, 25 Sep 2005 13:52:58 +0000 Subject: [PATCH] * configure: support extra $(ASFLAGS) through --extra-asflags. git-svn-id: svn://svn.videolan.org/x264/trunk@301 df754926-b1dd-0310-bc7b-ec298dee348c --- configure | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configure b/configure index 5541c921..f74e9557 100755 --- 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=}" -- 2.47.3