[vlc-devel] [PATCH] configure: fix SAPI detection when sphelper.h is missing
Jean-Baptiste Kempf
jb at videolan.org
Fri Feb 5 16:28:45 CET 2016
On 02 Feb, Rafaël Carré wrote :
> 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
No, it doesn't.
sphelper.h is a C++ only header, and couldn't be compiled without
LANG_POP|PUSH_C++
I made the change and now it works.
--
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device
More information about the vlc-devel
mailing list