mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-30 04:00:37 +00:00
configure: simplify openh264 check
Of course PTHREADS_CFLAGS is not used anywhere now for the check, but that was the case before as well.
This commit is contained in:
parent
af6e2228b2
commit
6c8446ffa6
1 changed files with 2 additions and 6 deletions
|
@ -2575,12 +2575,8 @@ AG_GST_CHECK_FEATURE(OPENEXR, [openexr library], openexr, [
|
||||||
dnl *** openh264 ***
|
dnl *** openh264 ***
|
||||||
translit(dnm, m, l) AM_CONDITIONAL(USE_OPENH264, true)
|
translit(dnm, m, l) AM_CONDITIONAL(USE_OPENH264, true)
|
||||||
AG_GST_CHECK_FEATURE(OPENH264, [openh264 library], openh264, [
|
AG_GST_CHECK_FEATURE(OPENH264, [openh264 library], openh264, [
|
||||||
HAVE_OPENH264="yes"
|
AG_GST_CHECK_LIBHEADER(OPENH264, openh264, WelsSnprintf, $PTHREAD_LIBS,
|
||||||
saved_LIBS="$LIBS"
|
wels/codec_api.h, OPENH264_LIBS="-lopenh264 $PTHREAD_LIBS")
|
||||||
LIBS="$PTHREAD_LIBS $LIBS"
|
|
||||||
AG_GST_CHECK_LIBHEADER(OPENH264, openh264, WelsSnprintf, ,wels/codec_api.h,
|
|
||||||
OPENH264_LIBS="-lopenh264 $PTHREAD_LIBS", HAVE_OPENH264="no")
|
|
||||||
LIBS=$saved_LIBS
|
|
||||||
AC_SUBST(OPENH264_LIBS)
|
AC_SUBST(OPENH264_LIBS)
|
||||||
])
|
])
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue