diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-09-22 17:22:32 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-09-22 17:22:32 -0500 |
commit | 1b9b8e3c30b106485611a77130ddaa203111d77b (patch) | |
tree | 6fe3d7cd99246e5ef52dd73226610858be9f2baa /configure.in.in | |
parent | c8e8b9c67e66818b15e29929f8a0ca36a1e94d45 (diff) | |
download | kopete-otr-1b9b8e3c30b106485611a77130ddaa203111d77b.tar.gz kopete-otr-1b9b8e3c30b106485611a77130ddaa203111d77b.zip |
Add preliminary untested support for libotr 4.x
This relates to Bug 1987
Diffstat (limited to 'configure.in.in')
-rw-r--r-- | configure.in.in | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/configure.in.in b/configure.in.in index 4978f90..55b59af 100644 --- a/configure.in.in +++ b/configure.in.in @@ -24,4 +24,8 @@ AC_CHECK_HEADERS([libotr/version.h],, m4_pattern_allow([AM_PATH_LIBOTR]) -AM_PATH_LIBOTR(3.1.0,,AC_MSG_ERROR(libotr 3.1.0 or newer is required.)) +AM_PATH_LIBOTR(4.0.0,AC_DEFINE_UNQUOTED(HAVE_LIBOTR_0400, 1, [Defines if your system has libotr greater than or equal to v4.0.0]),) +if test -n "$HAVE_LIBOTR_0400"; then + AM_PATH_LIBOTR(3.1.0,,AC_MSG_ERROR(libotr 3.1.0 or newer is required.)) +fi +AC_SUBST(HAVE_LIBOTR_0400)
\ No newline at end of file |