summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Ross-Gowan <rossymiles@gmail.com>2013-06-26 22:44:46 +1000
committerJames Ross-Gowan <rossymiles@gmail.com>2013-06-26 22:55:04 +1000
commit9fcce1c8a6e44e09eb0ea09c8fe517ebc0a6244c (patch)
tree8e3085fc59fb81c71c7b2940ea9498f17ec995f7
parent66693662800443fd3e28c57f665d50b232b46596 (diff)
downloadmpv-9fcce1c8a6e44e09eb0ea09c8fe517ebc0a6244c.tar.bz2
mpv-9fcce1c8a6e44e09eb0ea09c8fe517ebc0a6244c.tar.xz
configure: fix wasapi0 checks
-rwxr-xr-xconfigure12
1 files changed, 6 insertions, 6 deletions
diff --git a/configure b/configure
index 3330ab56ee..0fcaf5821d 100755
--- a/configure
+++ b/configure
@@ -598,8 +598,8 @@ for ac_option do
--disable-sdl2) _sdl2=no ;;
--enable-dsound) _dsound=yes ;;
--disable-dsound) _dsound=no ;;
- --enable-waspi0) _waspi0=yes ;;
- --disable-waspi0) _waspi0=no ;;
+ --enable-wasapi0) _wasapi0=yes ;;
+ --disable-wasapi0) _wasapi0=no ;;
--enable-mng) _mng=yes ;;
--disable-mng) _mng=no ;;
--enable-jpeg) _jpeg=yes ;;
@@ -2243,18 +2243,18 @@ int main(void) {
}
EOF
-if cc_check "-lole32 -lavrt"; then
+if cc_check "-lole32"; then
_wasapi0="yes"
fi
fi
if test "$_wasapi0" = yes ; then
def_wasapi0='#define CONFIG_WASAPI0 1'
- aomodules="wasap0 $aomodules"
- libs_mplayer="$libs_mplayer -lole32 -lavrt"
+ aomodules="wasapi0 $aomodules"
+ libs_mplayer="$libs_mplayer -lole32"
else
def_wasapi0='#undef CONFIG_WASAPI0'
- noaomodules="wasaip0 $noaomodules"
+ noaomodules="wasapi0 $noaomodules"
fi
echores "$_wasapi0"