configure: add pthread to the configure check for openh264

This commit is contained in:
Stefan Sauer 2014-10-20 11:22:54 +02:00
parent a4d8efde0f
commit ca5971850d

View file

@ -2573,8 +2573,11 @@ dnl *** openh264 ***
translit(dnm, m, l) AM_CONDITIONAL(USE_OPENH264, true)
AG_GST_CHECK_FEATURE(OPENH264, [openh264 library], openh264, [
HAVE_OPENH264="yes"
saved_LIBS="$LIBS"
LIBS="-lpthread $LIBS"
AG_GST_CHECK_LIBHEADER(OPENH264, openh264, WelsSnprintf, ,wels/codec_api.h,
OPENH264_LIBS="-lopenh264", HAVE_OPENH264="no")
LIBS=$saved_LIBS
AC_SUBST(OPENH264_LIBS)
])