comparison configure.ac @ 31933:6b3bc0947068

merged from im.pidgin.pidgin
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Thu, 21 Apr 2011 20:36:02 +0900
parents 8b9e9c61d061 3248407d3cfe
children 380f530c3f86
comparison
equal deleted inserted replaced
31895:8b9e9c61d061 31933:6b3bc0947068
1056 #error "libgadu is not compatible with the GPL when compiled with OpenSSL support." 1056 #error "libgadu is not compatible with the GPL when compiled with OpenSSL support."
1057 #endif 1057 #endif
1058 ]])], [ 1058 ]])], [
1059 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <libgadu.h>]], [[ 1059 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <libgadu.h>]], [[
1060 #if GG_DEFAULT_PROTOCOL_VERSION < 0x2e 1060 #if GG_DEFAULT_PROTOCOL_VERSION < 0x2e
1061 #error "Your libgadu version is too old. libpurple requires 1.9.0-rc2 or higher." 1061 #error "Your libgadu version is too old. libpurple requires 1.10.1 or higher."
1062 #endif 1062 #endif
1063 ]])], [ 1063 ]])], [
1064 AC_MSG_RESULT(yes) 1064 AC_MSG_RESULT(yes)
1065 AC_DEFINE([HAVE_LIBGADU], [1], 1065 AC_DEFINE([HAVE_LIBGADU], [1],
1066 [Define to 1 if you have libgadu.]) 1066 [Define to 1 if you have libgadu.])
1067 ], [ 1067 ], [
1068 AC_MSG_RESULT(no) 1068 AC_MSG_RESULT(no)
1069 echo 1069 echo
1070 echo 1070 echo
1071 echo "Your supplied copy of libgadu is too old." 1071 echo "Your supplied copy of libgadu is too old."
1072 echo "Install version 1.9.0-rc2 or newer." 1072 echo "Install version 1.10.1 or newer."
1073 echo "Then rerun this ./configure" 1073 echo "Then rerun this ./configure"
1074 echo 1074 echo
1075 echo "Falling back to using our own copy of libgadu" 1075 echo "Falling back to using our own copy of libgadu"
1076 echo 1076 echo
1077 GADU_LIBS="" 1077 GADU_LIBS=""