From ca359e92ec4a2c56c251913e6f1156010e275a23 Mon Sep 17 00:00:00 2001 From: mhoffman Date: Thu, 16 Aug 2007 12:41:01 +0000 Subject: allow setting of ar from the commandline of configure git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24078 b3059339-0415-0410-9bf9-f77b7e298cf2 --- configure | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/configure b/configure index 4e37e6814b..8695cbf942 100755 --- a/configure +++ b/configure @@ -483,6 +483,7 @@ _install=install _ranlib=ranlib _ldconfig=ldconfig _cc=cc +_ar=ar test "$CC" && _cc="$CC" _gcc_check=yes _as=auto @@ -760,6 +761,9 @@ for ac_option do --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 @@ CONFDIR = \$(DESTDIR)$_confdir LIBDIR = \$(DESTDIR)$_libdir # FFmpeg uses libdir instead of LIBDIR libdir = \$(LIBDIR) +AR = $_ar CC = $_cc CXX = $_cc HOST_CC = $_host_cc -- cgit v1.2.3