[vlc-devel] [PATCH] configure: fix SAPI detection when sphelper.h is missing
Rafaël Carré
funman at videolan.org
Tue Feb 2 09:04:10 CET 2016
On 01/02/2016 17:07, Steve Lhomme wrote:
> ---
> 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
>
Works fine, thanks
More information about the vlc-devel
mailing list