webrtcdsp: Relax C++11 check

The library does not require any STL C++11 specific headers.
This fixes our OSX build as we target a SDK version that does not
support C++11 STL.
This commit is contained in:
Nicolas Dufresne 2016-07-07 12:31:20 -04:00
parent 928dcd93ef
commit 4d6a21926e

View file

@ -3386,6 +3386,7 @@ AG_GST_CHECK_FEATURE(WEBRTCDSP, [WebRTC Audio Processing], webrtcdsp, [
old_CPPFLAGS=$CPPFLAGS
old_LDFLAGS=$GNUSTL_LIBS
CPPFLAGS="-std=c++11 $CPPFLAGS $GNUSTL_CFLAGS"
AC_CHECK_HEADER([vector],[],[HAVE_WEBRTCDSP=no])
CPPFLAGS=$old_CPPFLAGS
LDFLAGS=$old_LDFLAGS
AC_LANG_POP([C++])