mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-19 05:45:58 +00:00
configure.ac: Don't error out in configure if mjpegtools dev is not there.
Original commit message from CVS: * configure.ac: Don't error out in configure if mjpegtools dev is not there.
This commit is contained in:
parent
676eafc77c
commit
071967eadd
2 changed files with 9 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2006-07-13 Tim-Philipp Müller <tim at centricular dot net>
|
||||||
|
|
||||||
|
* configure.ac:
|
||||||
|
Don't error out in configure if mjpegtools dev is not there.
|
||||||
|
|
||||||
2006-07-13 Tim-Philipp Müller <tim at centricular dot net>
|
2006-07-13 Tim-Philipp Müller <tim at centricular dot net>
|
||||||
|
|
||||||
Patch by: Mark Nauwelaerts <manauw at skynet be>
|
Patch by: Mark Nauwelaerts <manauw at skynet be>
|
||||||
|
|
|
@ -560,9 +560,9 @@ GST_CHECK_FEATURE(MPEG2ENC, [mpeg2enc], mpeg2enc, [
|
||||||
dnl libmpeg2enc was first included in mjpegtools-1.6.2-rc3 (1.6.1.92)
|
dnl libmpeg2enc was first included in mjpegtools-1.6.2-rc3 (1.6.1.92)
|
||||||
dnl since many distros include mjpegtools specifically without mplex
|
dnl since many distros include mjpegtools specifically without mplex
|
||||||
dnl and mpeg2enc, we check for mpeg2enc on its own, too.
|
dnl and mpeg2enc, we check for mpeg2enc on its own, too.
|
||||||
|
PKG_CHECK_MODULES(MPEG2ENC, mjpegtools >= 1.6.1.93, [
|
||||||
dnl HACK because mpeg2enc 1.8.0 header files have a spurious 'include config.h'
|
dnl HACK because mpeg2enc 1.8.0 header files have a spurious 'include config.h'
|
||||||
touch config.h
|
touch config.h
|
||||||
PKG_CHECK_MODULES(MPEG2ENC, mjpegtools >= 1.6.1.93, [
|
|
||||||
dnl switch over to c++ to test things
|
dnl switch over to c++ to test things
|
||||||
AC_LANG_CPLUSPLUS
|
AC_LANG_CPLUSPLUS
|
||||||
OLD_CPPFLAGS="$CPPFLAGS"
|
OLD_CPPFLAGS="$CPPFLAGS"
|
||||||
|
@ -616,6 +616,8 @@ GST_CHECK_FEATURE(MPEG2ENC, [mpeg2enc], mpeg2enc, [
|
||||||
|
|
||||||
CPPFLAGS="$OLD_CPPFLAGS"
|
CPPFLAGS="$OLD_CPPFLAGS"
|
||||||
AC_LANG_C
|
AC_LANG_C
|
||||||
|
], [
|
||||||
|
HAVE_MPEG2ENC="no"
|
||||||
])
|
])
|
||||||
fi
|
fi
|
||||||
])
|
])
|
||||||
|
|
Loading…
Reference in a new issue