Mercurial > mplayer.hg
changeset 8489:2dd791127398
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
author | jkeil |
---|---|
date | Tue, 17 Dec 2002 10:38:48 +0000 |
parents | ea503d32ae93 |
children | ac40496c7d9e |
files | configure |
diffstat | 1 files changed, 5 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/configure Tue Dec 17 00:04:11 2002 +0000 +++ b/configure Tue Dec 17 10:38:48 2002 +0000 @@ -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'