Mercurial > pidgin
diff configure.ac @ 13319:d5bfc701e1e5
[gaim-migrate @ 15688]
We probably want to know when we have libgadu compiled in...
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Wed, 22 Feb 2006 03:21:20 +0000 |
parents | 41747a38a1a8 |
children | 723f5b7ef6a2 |
line wrap: on
line diff
--- a/configure.ac Wed Feb 22 03:07:46 2006 +0000 +++ b/configure.ac Wed Feb 22 03:21:20 2006 +0000 @@ -309,17 +309,14 @@ if test "x$gadu_libs" = "xyes"; then AC_MSG_CHECKING(for libgadu GPL compatibility) - AC_TRY_COMPILE([], [ -#include <libgadu.h> -int main() -{ + AC_TRY_COMPILE([#include <libgadu.h>], [ #ifdef __GG_LIBGADU_HAVE_OPENSSL #error "libgadu is not compatible with the GPL when compiled with OpenSSL support." #endif - return 0; -} ], [ AC_MSG_RESULT(yes) + AC_DEFINE([HAVE_LIBGADU], [1], + [Define to 1 if you have libgadu.]) ], [ AC_MSG_RESULT(no) echo