summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authormhoffman <mhoffman@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-08-16 12:41:01 +0000
committermhoffman <mhoffman@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-08-16 12:41:01 +0000
commitca359e92ec4a2c56c251913e6f1156010e275a23 (patch)
tree9c87395be932da910e179b24c71f70aeab93262b /configure
parent6c32800e44fa9fd60bbd43cfa2e6dda144846e94 (diff)
downloadmpv-ca359e92ec4a2c56c251913e6f1156010e275a23.tar.bz2
mpv-ca359e92ec4a2c56c251913e6f1156010e275a23.tar.xz
allow setting of ar from the commandline of configure
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24078 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 5 insertions, 0 deletions
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