1
mirror of https://github.com/mpv-player/mpv synced 2024-08-04 14:59:58 +02:00

- Ask 'gcc' for the name of the assembler binary used by the gcc compiler; use

that binary as the default assembler binary tested for the availability of
  MMX/MMXEXT/3DNOW/... instructions

- On solaris, there are a few libraries missing, if you compile MPlayer
  without SDL (with SDL, we pick up these libraries from "sdl-config --libs")
  Typical problem is a missing nanosleep() from the -lrt library.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1262 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
jkeil 2001-07-03 14:22:23 +00:00
parent f782243be6
commit d1aae7b241

21
configure vendored
View File

@ -207,7 +207,10 @@ MCONF='config.mak'
# --- Check for C compiler:
_cc=gcc
_as=as
_as=`gcc -print-prog-name=as`
if [ x"_$as" = x ]; then
_as=as
fi
_x11=auto
_x11libdir=
@ -617,6 +620,10 @@ $_cc $_extraincdir $_extralibdir $TMPC -o $TMPO -lpng -lz -lm > /dev/null 2>&1 &
_ggi=no
$_cc $TMPC -o $TMPO -lggi > /dev/null 2>&1 && _ggi=yes
_kstat=no
$_cc $TMPC -o $TMPO -lkstat >/dev/null 2>&1 && _kstat=yes _archlibs="-lkstat $_archlibs"
$_cc $TMPC -o $TMPO -lrt >/dev/null 2>&1 && _archlibs="-lrt $_archlibs"
_binutils=no
$_as libac3/downmix/downmix_i386.S -o $TMPO > /dev/null 2>&1 && _binutils=yes
@ -990,7 +997,7 @@ done
# Checking assembler (_as) compatibility...
as_version=`$_as --version 2>&1 | sed -n 's/^.*assembler \([0-9.]*\).*$/\1/p'`
echo $_echo_n "Checking assembler (as) ... $as_version, $_echo_c"
echo $_echo_n "Checking assembler ($_as) ... $as_version, $_echo_c"
_pref_as_version='2.9.1'
### this test disabled, see _binutils test above! --A'rpi
# cat > astest.S <<EOF
@ -1218,6 +1225,12 @@ else
_libtermcap=''
fi
if [ "$_kstat" = "yes" ]; then
_have_kstat="#define HAVE_KSTAT 1"
else
_have_kstat="#undef HAVE_KSTAT"
fi
if [ "$_xmmp" = "yes" ]; then
_xmmpaudio='#define USE_XMMP_AUDIO'
_xmmplibs='-Llibxmm -lxmm'
@ -1566,6 +1579,10 @@ $_xmmpaudio
$_have_soundcard_h
/* Define this if you have the kstat kernel statistics library */
$_have_kstat
/* LIRC (remote control, see www.lirc.org) support: */
$_lircdefs