]>
Commit | Line | Data |
---|---|---|
1876d8f6 RT |
1 | --- pidgin-2.3.0/configure.ac2 2007-12-08 19:18:44.000000000 +0100 |
2 | +++ pidgin-2.3.0/configure.ac 2007-12-08 19:19:15.000000000 +0100 | |
3 | @@ -902,29 +902,9 @@ | |
be9750be | 4 | AC_MSG_CHECKING(for libgadu GPL compatibility) |
5 | CPPFLAGS_save="$CPPFLAGS" | |
6 | CPPFLAGS="$CPPFLAGS $GADU_CFLAGS" | |
7 | - AC_TRY_COMPILE([#include <libgadu.h>], [ | |
1876d8f6 | 8 | -#if defined(__GG_LIBGADU_HAVE_OPENSSL) || defined(GG_CONFIG_HAVE_OPENSSL) |
be9750be | 9 | -#error "libgadu is not compatible with the GPL when compiled with OpenSSL support." |
10 | -#endif | |
11 | - ], [ | |
12 | AC_MSG_RESULT(yes) | |
13 | AC_DEFINE([HAVE_LIBGADU], [1], | |
1876d8f6 | 14 | [Define to 1 if you have libgadu.]) |
be9750be | 15 | - ], [ |
16 | - AC_MSG_RESULT(no) | |
17 | - echo | |
18 | - echo | |
19 | - echo "libgadu is not compatible with the GPL when compiled with OpenSSL support." | |
1876d8f6 | 20 | - echo "To compile against system libgadu, please recompile libgadu using:" |
be9750be | 21 | - echo "./autogen.sh --disable-libgadu-openssl --disable-static --enable-shared" |
22 | - echo "Then rerun this ./configure" | |
23 | - echo | |
1876d8f6 | 24 | - echo "Falling back to using our own copy of libgadu" |
be9750be | 25 | - echo |
26 | - GADU_LIBS="" | |
27 | - GADU_CFLAGS="" | |
28 | - gadu_libs=no | |
29 | - ]) | |
30 | CPPFLAGS="$CPPFLAGS_save" | |
31 | fi | |
32 |