summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2012-09-18 21:34:01 +0200
committerwm4 <wm4@nowhere>2012-09-23 14:56:49 +0200
commitc57883b71b959d7d5c1c1bade8b4234017c11d1e (patch)
tree285400ccac3fc43d3569810f93e7744b340ebddf
parentaf14474879f088031154ce441341fc56352b7341 (diff)
downloadmpv-c57883b71b959d7d5c1c1bade8b4234017c11d1e.tar.bz2
mpv-c57883b71b959d7d5c1c1bade8b4234017c11d1e.tar.xz
configure: make --enable-openal use auto detection
OpenAL is disabled by default, because it supposedly inteferes with some other configure tests and makes them fail silently. Previously, --enable-openal followed configure's utterly braindead semantics and disabled auto detection. However, since OpenAL was disabled by default, there was no easy way to enable OpenAL at all, even if it was explicitly requested. Solve this by making --enable-openal use auto detection.
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 8526a5879b..d0fedf2d59 100755
--- a/configure
+++ b/configure
@@ -662,7 +662,7 @@ for ac_option do
--disable-portaudio) _portaudio=no ;;
--enable-jack) _jack=yes ;;
--disable-jack) _jack=no ;;
- --enable-openal) _openal=yes ;;
+ --enable-openal) _openal=auto ;;
--disable-openal) _openal=no ;;
--enable-libcdio) _libcdio=yes ;;
--disable-libcdio) _libcdio=no ;;