From 7c43c757ce9fa1857ac5e96249eb947bf5de2d31 Mon Sep 17 00:00:00 2001 From: darealshinji Date: Wed, 13 Jun 2018 01:31:51 +0200 Subject: [PATCH] don't be too pedantic on the OpenAL checks --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 44a3860d4..1d8c93067 100644 --- a/configure.ac +++ b/configure.ac @@ -342,9 +342,9 @@ AS_IF([test x$with_openal != xno], [ #endif int main(void) { ALCdevice *device = alcOpenDevice(0); - if (!device) return 1; ALCcontext *context = alcCreateContext(device, 0); - if (!context) return 1; + alcDestroyContext(context); + alcCloseDevice(device); return 0; } ]) ])