[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 65277] ./configure doesn't detect gadu 1.3
From:       Grzegorz Jaskiewicz <gj () pointblue ! com ! pl>
Date:       2003-09-30 21:53:56
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
     
http://bugs.kde.org/show_bug.cgi?id=65277     
gj@pointblue.com.pl changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From gj@pointblue.com.pl  2003-09-30 23:53 -------
Subject: kdenetwork/kopete/protocols

CVS commit by gj: 

libgadu from snapshot gives version number/name "CVS" which does not tell us anything.
Basicaly, now we are testing for two defines. If set - it means version is higher or equal 1.3 and 
pthread support is compiled into libgadu.
This closes 65277
CCMAIL: 65277-done@bugs.kde.org


  M +3 -22     configure.in.in   1.14


--- kdenetwork/kopete/protocols/configure.in.in  #1.13:1.14
@@ -36,27 +36,8 @@
         {
 #if defined __GG_LIBGADU_HAVE_PTHREAD && defined GG_LOGIN60
-                
-                int bar;
-                bar = (int) strlen((char *)gg_libgadu_version());
-                if (bar == 8)
-                {
-                        int foo;
-                        sscanf (gg_libgadu_version(), "%d", &foo);
-                        if (foo >= 20030901)
-                        {
-                                return 0;
-                        }
-                }
-                else
-                {
-                        float foo;
-                        sscanf (gg_libgadu_version(), "%f", &foo);
-                        if (foo >= 1.3)
-                        {
-                                return 0;
-                        }
-                }
+            return 0;
+#else
+            return 1;
 #endif
-        return 1;
         }
         ], [
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic