autotools: make sure libsynthesis is recent enough

synthesis.pc (somewhat arbitrary) was bumped to 3.4 in the latest
source. SyncEvolution needs recent features in libsynthesis, so
check that libsynthesis is recent enough.
This commit is contained in:
Patrick Ohly 2011-02-28 11:22:41 +01:00
parent 466cd0b5f0
commit 5f6f0e78ba

View file

@ -633,7 +633,7 @@ elif test "$SYNTHESISSRC" != "none" && test -d $srcdir/src/synthesis; then
esac
elif test "$enable_shared" = "no"; then
# link against engine
PKG_CHECK_MODULES(SYNTHESIS, "synthesis")
PKG_CHECK_MODULES(SYNTHESIS, "synthesis >= 3.4")
SYNTHESIS_ENGINE="$SYNTHESIS_LIBS -lsynthesis"
else
# link against SDK alone, except in client-test
@ -641,7 +641,7 @@ else
#SYNTHESIS_ENGINE="`echo $SYNTHESIS_LIBS | sed -e 's/-lsynthesisstubs/-lsynthesis/'`"
# can't use the SDK alone because of sysync::SySyncDebugPuts()
PKG_CHECK_MODULES(SYNTHESIS, "synthesis")
PKG_CHECK_MODULES(SYNTHESIS, "synthesis >= 3.4")
SYNTHESIS_ENGINE="$SYNTHESIS_LIBS"
fi