From a441e845377c9791aaa33c3db0a49c25ea7baead Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Wed, 2 Jul 2008 17:58:02 +0100 Subject: 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 --- configure.ac | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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") -- cgit v1.2.3