# HG changeset patch # User jkeil # Date 994170143 0 # Node ID 5bb83ed0db33eb1ded248bb71f0143c5f1f0c7a3 # Parent 3a58015415a6d6ea008fc14fd3c1aac6bb880c5f - 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. diff -r 3a58015415a6 -r 5bb83ed0db33 configure --- a/configure Tue Jul 03 11:35:10 2001 +0000 +++ b/configure Tue Jul 03 14:22:23 2001 +0000 @@ -207,7 +207,10 @@ # --- 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 @@ _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 @@ # 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 <