[vlc-devel] [PATCH] configure: fix SAPI detection when sphelper.h is missing

Steve Lhomme robux4 at gmail.com
Mon Feb 1 17:07:56 CET 2016


---
 configure.ac | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 0931cdd..3a9121b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3285,7 +3285,8 @@ AC_CHECK_TYPES([ISpObjectToken],[
               have_sapi="yes"
             ],[AC_MSG_WARN([sapi.h not found. Text to Speech renderer for Windows disabled])],
               [#include <windows.h>
-               #include <sapi.h>])
+               #include <sapi.h>
+               #include <sphelper.h>])
 AM_CONDITIONAL([HAVE_SAPI], [test "${have_sapi}" = "yes"])
 
 dnl
-- 
2.7.0



More information about the vlc-devel mailing list