[Mplayer-dev-eng] old binutils problem
Juergen Keil
jk at tools.de
Tue Jul 3 14:03:45 CEST 2001
> is there any method to check 'as' version through gcc?
How about this change? Does it detect the correct version of 'as' used on
your system?
Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.94
diff -u -B -r1.94 configure
--- configure 29 Jun 2001 10:45:00 -0000 1.94
+++ configure 3 Jul 2001 11:58:58 -0000
@@ -203,7 +203,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=
@@ -986,7 +993,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 <<EOF
Jürgen Keil jk at tools.de
Tools GmbH +49 (228) 9858011
_______________________________________________
Mplayer-dev-eng mailing list
Mplayer-dev-eng at lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/mplayer-dev-eng
More information about the MPlayer-dev-eng
mailing list