diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2013-12-07 12:49:28 +0000 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2013-12-07 12:49:28 +0000 |
commit | a8aa823a772724abd7c61ee457b208afa44e4e7e (patch) | |
tree | 63e96386db1e7e589da317f62b3f9c562a9ec491 /configure | |
parent | 434a2d0fdc34d9dd70b6001220a8597634efe65a (diff) |
Ugly: Bogus dependency on libotr2-dev, but adding a warning to the configure
script that this actually won't work.
This because I can't figure out how to make a source dependency conditional
on whether a certain binary packages is going to be built. It's kind of okay
since libotr2-dev is unavailable on new systems anyway.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 6 |
1 files changed, 6 insertions, 0 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 |