allow setting of ar from the commandline of configure

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24078 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
mhoffman 2007-08-16 12:41:01 +00:00
parent 6c32800e44
commit ca359e92ec
1 changed files with 5 additions and 0 deletions

5
configure vendored
View File

@ -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