diff options
author | Matthias Ringwald <mringwal@inf.ethz.ch> | 2008-07-02 17:58:02 +0100 |
---|---|---|
committer | Matthias Ringwald <mringwal@inf.ethz.ch> | 2008-07-02 17:58:02 +0100 |
commit | a441e845377c9791aaa33c3db0a49c25ea7baead (patch) | |
tree | 7372d68eade303bfb935f5babbbdcc8e07a2f3b9 | |
parent | c30a4a18ee3656adab5b9ae5aad92cabfcade372 (diff) | |
download | xine-lib-a441e845377c9791aaa33c3db0a49c25ea7baead.tar.gz xine-lib-a441e845377c9791aaa33c3db0a49c25ea7baead.tar.bz2 |
don't check for ioctl request type if oss audio is not available
on mingw32, ioctl does not exist and the AC_IOCTL_REQUEST macro breaks
configure
As this test is only needed for OSS audio (otherwise it should be
somewhere else), it's now only called if OSS audio is actually available
-rw-r--r-- | configure.ac | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index fa141a22a..2bb0e378c 100644 --- a/configure.ac +++ b/configure.ac @@ -1439,7 +1439,9 @@ if test "x$enable_oss" != "xno"; then #endif ]) - AC_IOCTL_REQUEST + if test "x$have_ossaudio" = "xyes"; then + AC_IOCTL_REQUEST + fi fi AM_CONDITIONAL(HAVE_OSS, test "x$have_ossaudio" = "xyes") |