Mercurial > pidgin
comparison configure.ac @ 9095:61b33ac58669
[gaim-migrate @ 9872]
Evolution bumps the version just before release, and libebook is part of
evolution-data-server, so we can't check what version we're using to
determine if we're calling the new libebook API or not. This should work
around that.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Thu, 27 May 2004 18:43:16 +0000 |
parents | c307cf4c84d2 |
children | 6a17b7e2e3b2 |
comparison
equal
deleted
inserted
replaced
9094:d516da4b8ace | 9095:61b33ac58669 |
---|---|
310 PKG_CHECK_MODULES(EVOLUTION_ADDRESSBOOK, $evo_deps, build_gevo=yes, build_gevo=no) | 310 PKG_CHECK_MODULES(EVOLUTION_ADDRESSBOOK, $evo_deps, build_gevo=yes, build_gevo=no) |
311 | 311 |
312 AC_SUBST(EVOLUTION_ADDRESSBOOK_CFLAGS) | 312 AC_SUBST(EVOLUTION_ADDRESSBOOK_CFLAGS) |
313 AC_SUBST(EVOLUTION_ADDRESSBOOK_LIBS) | 313 AC_SUBST(EVOLUTION_ADDRESSBOOK_LIBS) |
314 | 314 |
315 dnl This is necessary, because Evolution bumps the version just before | |
316 dnl release, and they broke the API in the current evolution-data-server | |
317 dnl release (0.0.93). Version checks won't work until 0.0.94, so we'll | |
318 dnl do this for now. Remove in a couple versions! | |
319 AC_CHECK_LIB(ebook, e_book_new_system_addressbook, | |
320 [ | |
321 AC_DEFINE(LIBEBOOK_NEW_API, 1, [new API in libebook 0.0.94cvs]) | |
322 ], , $EVOLUTION_ADDRESSBOOK_LIBS) | |
323 | |
315 dnl This can be removed in a few releases of Evolution, especially when | 324 dnl This can be removed in a few releases of Evolution, especially when |
316 dnl it goes stable! | 325 dnl it goes stable! |
317 AC_MSG_CHECKING([libebook version]) | 326 AC_MSG_CHECKING([libebook version]) |
318 LIBEBOOK_VERSION=`$PKG_CONFIG --modversion libebook-1.0` | 327 LIBEBOOK_VERSION=`$PKG_CONFIG --modversion libebook-1.0` |
319 LIBEBOOK_MAJOR_VER=`echo $LIBEBOOK_VERSION | sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'` | 328 LIBEBOOK_MAJOR_VER=`echo $LIBEBOOK_VERSION | sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'` |