PKG_CHECK_MODULES(ANNODEX, annodex >= 0.6.0,
HAVE_ANNODEX="yes", HAVE_ANNODEX="no")
if test "x$HAVE_ANNODEX" = "xyes" ; then
AC_SUBST(ANNODEX_CFLAGS)
AC_SUBST(ANNODEX_LIBS)
fi
If libannodex is found, HAVE_ANNODEX will be set to "yes", and the autoconf variables ANNODEX_CFLAGS and ANNODEX_LIBS will be set appropriately.
ANNODEX_CFLAGS=`pkg-config --cflags annodex`
ANNODEX_LIBS=`pkg-config --libs annodex`
1.4.4