1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -05:00

Disable OTR support by default until 4.0.0 is supported.

enable with: ./configure --enable-otr
This commit is contained in:
James Booth 2014-01-28 22:40:01 +00:00
parent 5afb296e67
commit 96af960995

View File

@ -137,8 +137,10 @@ if test "x$enable_otr" = xyes; then
elif test "x$enable_otr" = xno; then elif test "x$enable_otr" = xno; then
AM_CONDITIONAL([BUILD_OTR], [false]) AM_CONDITIONAL([BUILD_OTR], [false])
elif test "x$enable_otr" = x; then elif test "x$enable_otr" = x; then
AC_CHECK_LIB([otr], [main], [], AM_CONDITIONAL([BUILD_OTR], [false])
[AM_CONDITIONAL([BUILD_OTR], [false]) AC_MSG_NOTICE([libotr not found, otr entryption support not enabled])]) ### Add the following back in once libotr 4.0.0 support is enabled
### AC_CHECK_LIB([otr], [main], [],
### [AM_CONDITIONAL([BUILD_OTR], [false]) AC_MSG_NOTICE([libotr not found, otr entryption support not enabled])])
fi fi
### cmocka is required only for tests, profanity shouldn't be linked with it ### cmocka is required only for tests, profanity shouldn't be linked with it