[vlc-devel] [PATCH] configure.ac: fix handling of sndio module enablement

Vikram Fugro vikram.fugro at gmail.com
Thu Aug 20 16:38:17 CEST 2015


Have the field("enable_sndio") be checked against the fixed
value ("yes"), as "enable_sndio" is set to "yes" based on
the OS (openBSD).
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 83a6ad9..93df10c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3504,7 +3504,7 @@ AC_ARG_ENABLE([sndio],
   ])
 ])
 have_sndio="no"
-AS_IF([test "$enable_sndio" != "no"], [
+AS_IF([test "${enable_sndio}" = "yes"], [
   AC_CHECK_HEADER([sndio.h], [
     have_sndio="yes"
   ])
-- 
2.1.4



More information about the vlc-devel mailing list