Mercurial > pidgin
comparison configure.ac @ 13465:b03f19de58b8
[gaim-migrate @ 15840]
* Use GADU_CFLAGS when checking for compatibility of libgadu with the GPL.
* Try to display buddy's alias when asking user for a chatroom.
* Added myself to the Help->About dialog.
committer: Tailor Script <tailor@pidgin.im>
author | Bartoz Oler <bartosz@pidgin.im> |
---|---|
date | Wed, 08 Mar 2006 21:25:19 +0000 |
parents | c1f5d9858c1d |
children | 40c5d0508a1a |
comparison
equal
deleted
inserted
replaced
13464:974fffde9f60 | 13465:b03f19de58b8 |
---|---|
315 AC_CHECK_LIB(gadu, gg_libgadu_version, [gadu_libs=yes], , $GADU_LIBS) | 315 AC_CHECK_LIB(gadu, gg_libgadu_version, [gadu_libs=yes], , $GADU_LIBS) |
316 fi | 316 fi |
317 | 317 |
318 if test "x$gadu_libs" = "xyes"; then | 318 if test "x$gadu_libs" = "xyes"; then |
319 AC_MSG_CHECKING(for libgadu GPL compatibility) | 319 AC_MSG_CHECKING(for libgadu GPL compatibility) |
320 CPPFLAGS_save="$CPPFLAGS" | |
321 CPPFLAGS="$CPPFLAGS $GADU_CFLAGS" | |
320 AC_TRY_COMPILE([#include <libgadu.h>], [ | 322 AC_TRY_COMPILE([#include <libgadu.h>], [ |
321 #ifdef __GG_LIBGADU_HAVE_OPENSSL | 323 #ifdef __GG_LIBGADU_HAVE_OPENSSL |
322 #error "libgadu is not compatible with the GPL when compiled with OpenSSL support." | 324 #error "libgadu is not compatible with the GPL when compiled with OpenSSL support." |
323 #endif | 325 #endif |
324 ], [ | 326 ], [ |
337 echo | 339 echo |
338 GADU_LIBS="" | 340 GADU_LIBS="" |
339 GADU_CFLAGS="" | 341 GADU_CFLAGS="" |
340 gadu_libs=no | 342 gadu_libs=no |
341 ]) | 343 ]) |
344 CPPFLAGS="$CPPFLAGS_save" | |
342 fi | 345 fi |
343 | 346 |
344 AC_SUBST(GADU_LIBS) | 347 AC_SUBST(GADU_LIBS) |
345 AC_SUBST(GADU_CFLAGS) | 348 AC_SUBST(GADU_CFLAGS) |
346 | 349 |