[Kde-imaging] extragear/libs/kipi-plugins
Angelo Naselli
anaselli at linux.it
Wed Nov 29 00:06:51 CET 2006
SVN commit 608932 by anaselli:
Added libexiv2 >= 0.12 requirement
CCMAIL: kde-imaging at kde.org
M +7 -8 configure.in.in
--- trunk/extragear/libs/kipi-plugins/configure.in.in #608931:608932
@@ -131,16 +131,16 @@
#------------------------------------------------------------------
# Check for Exiv2 library
#------------------------------------------------------------------
-
have_exiv2='no'
AC_PATH_PROG(EXIV2_CONFIG,exiv2-config)
-KDE_CHECK_HEADER(exiv2/exif.hpp, have_exiv2=yes, have_exiv2=no)
-
-if test "x$have_exiv2" != "xyes"; then
- AC_WARN([Exiv2 library is require for kipi-plugins.])
-else
- LIB_EXIV2="-lexiv2"
+if test -n "${EXIV2_CONFIG}"; then
+ EXIV2_CFLAGS="`$EXIV2_CONFIG --cflags`"
+ AC_SUBST(EXIV2_CFLAGS)
+ LIB_EXIV2="`$EXIV2_CONFIG --libs`"
AC_SUBST(LIB_EXIV2)
+ PKG_CHECK_MODULES(EXIV2, exiv2 >= 0.12, have_exiv2=yes,have_exiv2=no)
+else
+ AC_MSG_WARN([Exiv2 library is require for kipi-plugins.])
fi
if test "x$have_exiv2" != "xyes"; then
@@ -148,7 +148,6 @@
fi
-
#------------------------------------------------------------------
# Check for libgpod (ipod export plugin)
#------------------------------------------------------------------
More information about the Kde-imaging
mailing list