From 9fab5b8a216e283e563f3457315715672bc8b55a Mon Sep 17 00:00:00 2001 From: tpearson Date: Sun, 13 Dec 2009 06:26:27 +0000 Subject: Update to Trinity 3.5.11 Will need to watch for commit warnings and rebuild test git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1061808 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kopete/protocols/configure.in.in | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'kopete/protocols/configure.in.in') diff --git a/kopete/protocols/configure.in.in b/kopete/protocols/configure.in.in index bc946d92..05da3ea5 100644 --- a/kopete/protocols/configure.in.in +++ b/kopete/protocols/configure.in.in @@ -40,8 +40,20 @@ if test "x$with_external_libgadu" != xno; then int main() { #if defined __GG_LIBGADU_HAVE_PTHREAD && defined GG_LOGIN60 - int maj, min, date; - sscanf( gg_libgadu_version(), "%u.%u.%u", &maj,&min,&date ); + int maj, min, date, items; + const char *libgadu_version = gg_libgadu_version(); + + items = sscanf( libgadu_version, "%u.%u.%u", &maj,&min,&date ); + + if ( items != 3 ) { /* version in YYYYDDMM format only */ + sscanf( libgadu_version, "%u", &date ); + + if ( date < 20040520 ) + return 1; + else + return 0; + } + if ( maj != 1 ) { return 1; } -- cgit v1.2.1