configure.ac: Really check for libdc1394 >= 2.0.0, pkg-config thinks that 2.0.0-rcX is newer than 2.0.0 so we check f...

Original commit message from CVS:
* configure.ac:
Really check for libdc1394 >= 2.0.0, pkg-config thinks that
2.0.0-rcX is newer than 2.0.0 so we check for this too.
This commit is contained in:
Sebastian Dröge 2008-03-07 13:28:06 +00:00
parent db1ef249b6
commit e82812b2dc
2 changed files with 14 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2008-03-07 Sebastian Dröge <slomo@circular-chaos.org>
* configure.ac:
Really check for libdc1394 >= 2.0.0, pkg-config thinks that
2.0.0-rcX is newer than 2.0.0 so we check for this too.
2008-03-05 David Schleef <ds@schleef.org> 2008-03-05 David Schleef <ds@schleef.org>
* ext/dirac/gstdiracenc.cc: Add a bunch of properties cribbed * ext/dirac/gstdiracenc.cc: Add a bunch of properties cribbed

View file

@ -355,7 +355,14 @@ AG_GST_CHECK_FEATURE(CDAUDIO, [cdaudio], cdaudio, [
dnl *** dc1394 *** dnl *** dc1394 ***
translit(dnm, m, l) AM_CONDITIONAL(USE_DC1394, true) translit(dnm, m, l) AM_CONDITIONAL(USE_DC1394, true)
AG_GST_CHECK_FEATURE(DC1394, [libdc1394], dc1394, [ AG_GST_CHECK_FEATURE(DC1394, [libdc1394], dc1394, [
PKG_CHECK_MODULES(LIBDC1394, libdc1394-2 >= 2.0.0, HAVE_DC1394="yes", [ PKG_CHECK_MODULES(LIBDC1394, libdc1394-2 >= 2.0.0, [
if test -z "`pkg-config --modversion libdc1394-2 | grep 2.0.0-rc`"; then
HAVE_DC1394="yes"
else
HAVE_DC1394="no"
AC_MSG_RESULT(no)
fi
], [
HAVE_DC1394="no" HAVE_DC1394="no"
AC_MSG_RESULT(no) AC_MSG_RESULT(no)
]) ])