diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-12-13 06:26:27 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-12-13 06:26:27 +0000 |
commit | 9fab5b8a216e283e563f3457315715672bc8b55a (patch) | |
tree | c1251952e4e0e28fad0bca829d49335ff15b6e98 /kopete/protocols/configure.in.in | |
parent | bcb704366cb5e333a626c18c308c7e0448a8e69f (diff) | |
download | tdenetwork-9fab5b8a216e283e563f3457315715672bc8b55a.tar.gz tdenetwork-9fab5b8a216e283e563f3457315715672bc8b55a.zip |
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
Diffstat (limited to 'kopete/protocols/configure.in.in')
-rw-r--r-- | kopete/protocols/configure.in.in | 16 |
1 files changed, 14 insertions, 2 deletions
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; } |