changeset 24058:345b18b889c9

allow setting of ar from the commandline of configure
author mhoffman
date Thu, 16 Aug 2007 12:41:01 +0000
parents eb9f3e3723d1
children 819259b10a09
files configure
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Thu Aug 16 10:47:22 2007 +0000
+++ b/configure	Thu Aug 16 12:41:01 2007 +0000
@@ -483,6 +483,7 @@
 _ranlib=ranlib
 _ldconfig=ldconfig
 _cc=cc
+_ar=ar
 test "$CC" && _cc="$CC"
 _gcc_check=yes
 _as=auto
@@ -760,6 +761,9 @@
   --as=*)
     _as=`echo $ac_option | cut -d '=' -f 2`
     ;;
+  --ar=*)
+    _ar=`echo $ac_option | cut -d '=' -f 2`
+    ;;
   --charset=*)
     _charset=`echo $ac_option | cut -d '=' -f 2`
     ;;
@@ -7483,6 +7487,7 @@
 LIBDIR = \$(DESTDIR)$_libdir
 # FFmpeg uses libdir instead of LIBDIR
 libdir = \$(LIBDIR)
+AR = $_ar
 CC = $_cc
 CXX = $_cc
 HOST_CC = $_host_cc