configure: Call $PKG_CONFIG instead of pkg-config to fix cross compilation

This commit is contained in:
Sebastian Dröge 2010-02-23 17:28:00 +01:00
parent 0922dbc22e
commit e9990ea6bb

View file

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