diff options
-rwxr-xr-x | configure | 6 | ||||
-rw-r--r-- | debian/control | 2 |
2 files changed, 7 insertions, 1 deletions
@@ -511,6 +511,12 @@ elif [ "$otr" = "plugin" ]; then echo "CFLAGS+=-I${otrprefix}/include" >> Makefile.settings echo 'OTR_PI=otr.so' >> Makefile.settings fi +if [ "$otr" != 0 ] && ! pkg-config libotr --atleast-version=4.0; then + echo + echo 'WARNING: Your libotr seems to be old. BitlBee now needs at least libotr 4.0.' + # Not hard-failing because the code above doesn't use pkg-config, so who knows + # what's true at this point... +fi if [ "$skype" = "1" -o "$skype" = "plugin" ]; then if [ "$arch" = "Darwin" ]; then diff --git a/debian/control b/debian/control index 56114bd7..0d4b1739 100644 --- a/debian/control +++ b/debian/control @@ -4,7 +4,7 @@ Priority: optional Maintainer: Wilmer van der Gaast <wilmer@gaast.net> Uploaders: Jelmer Vernooij <jelmer@samba.org> Standards-Version: 3.9.1 -Build-Depends: libglib2.0-dev (>= 2.4), libevent-dev, gnutls-dev | libgnutls-dev, po-debconf, libpurple-dev, libotr5-dev, debhelper (>= 6.0.7~), asciidoc +Build-Depends: libglib2.0-dev (>= 2.4), libevent-dev, gnutls-dev | libgnutls-dev, po-debconf, libpurple-dev, libotr5-dev | libotr2-dev, debhelper (>= 6.0.7~), asciidoc Homepage: http://www.bitlbee.org/ Vcs-Bzr: http://code.bitlbee.org/bitlbee/ DM-Upload-Allowed: yes |