[Mplayer-cvslog] CVS: main configure,1.621,1.622
Jürgen Keil CVS
jkeil at mplayerhq.hu
Tue Dec 17 11:39:07 CET 2002
Update of /cvsroot/mplayer/main
In directory mail:/var/tmp.root/cvs-serv19634
Modified Files:
configure
Log Message:
Re-write the soundcard.h test, so that it does not use a "!" operator.
This part of configure was failing on solaris, with an error message:
Checking for soundcard.h ... ./configure: !: not found
no
Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.621
retrieving revision 1.622
diff -u -r1.621 -r1.622
--- configure 6 Dec 2002 23:54:02 -0000 1.621
+++ configure 17 Dec 2002 10:38:48 -0000 1.622
@@ -1930,12 +1930,13 @@
EOF
_soundcard=no
cc_check && _soundcard=yes
-if ! linux && test "$_ossaudio" = no ; then
- # we don't want touse soundcard.h on non-linux if no OSS support enabled!
+if linux || test "$_ossaudio" != no ; then
+ # use soundcard.h on linux, or when OSS support is enabled
+ echores "$_soundcard"
+else
+ # we don't want to use soundcard.h on non-linux if no OSS support enabled!
echores "$_soundcard, but ignored!"
_soundcard=no
-else
- echores "$_soundcard"
fi
if test "$_soundcard" = yes ; then
_def_soundcard='#define HAVE_SOUNDCARD_H 1'
More information about the MPlayer-cvslog
mailing list