From 65d96c70634b527ef8fc9f0b1669f42b87e788b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Wed, 30 Jan 2008 19:19:33 +0000 Subject: Fix build with exempi >= 1.99.5 and fix the include path for exempi. Original commit message from CVS: * configure.ac: * ext/metadata/metadataxmp.c: (metadatamux_xmp_for_each_tag_in_list): Fix build with exempi >= 1.99.5 and fix the include path for exempi. --- configure.ac | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 20b96a6f..97ec66f6 100644 --- a/configure.ac +++ b/configure.ac @@ -519,15 +519,10 @@ AG_GST_CHECK_FEATURE(METADATA, [METADATA muxer and demuxer], metadata, [ PKG_CHECK_MODULES(IPTC, libiptcdata >= 1.0.2, HAVE_IPTC="yes", [ HAVE_IPTC="no" ]) - AC_CHECK_HEADER(exempi-2.0/exempi/xmp.h, - [ - AC_CHECK_LIB(exempi, xmp_init, - [ - HAVE_XMP="yes" - XMP_CFLAGS="-I/usr/local/include/exempi-2.0/exempi/" - XMP_LIBS="-lexempi" - ], HAVE_XMP="no") - ], HAVE_XMP="no") + PKG_CHECK_MODULES(XMP, exempi-2.0, HAVE_XMP="yes", [ + HAVE_XMP="no" + ]) + PKG_CHECK_MODULES(XMP_1_99_5, exempi-2.0 >= 1.99.5, XMP_CFLAGS="-DXMP_1_99_5 $XMP_CFLAGS", AC_MSG_RESULT(no)) if test x$HAVE_EXIF = xyes; then METADATA_CFLAGS="-DHAVE_EXIF $EXIF_CFLAGS $METADATA_CFLAGS" METADATA_LIBS="$EXIF_LIBS $METADATA_LIBS -lm" -- cgit v1.2.1