Added libotr back to configure by default
Renamed to BUILD_OTR3
This commit is contained in:
14
configure.ac
14
configure.ac
@@ -131,17 +131,15 @@ elif test "x$with_xscreensaver" = x; then
|
||||
[AC_MSG_NOTICE([libX11 not found, falling back to profanity auto-away])])
|
||||
fi
|
||||
|
||||
AM_CONDITIONAL([BUILD_OTR], [true])
|
||||
AM_CONDITIONAL([BUILD_OTR3], [false])
|
||||
if test "x$enable_otr" = xyes; then
|
||||
AC_CHECK_LIB([otr], [main], [],
|
||||
AC_CHECK_LIB([otr], [main],
|
||||
[AM_CONDITIONAL([BUILD_OTR3], [true])],
|
||||
[AC_MSG_ERROR([libotr is required for otr encryption support])])
|
||||
elif test "x$enable_otr" = xno; then
|
||||
AM_CONDITIONAL([BUILD_OTR], [false])
|
||||
elif test "x$enable_otr" = x; then
|
||||
AM_CONDITIONAL([BUILD_OTR], [false])
|
||||
### 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])])
|
||||
AC_CHECK_LIB([otr], [main],
|
||||
[AM_CONDITIONAL([BUILD_OTR3], [true])],
|
||||
[AC_MSG_NOTICE([libotr not found, otr entryption support not enabled])])
|
||||
fi
|
||||
|
||||
### cmocka is required only for tests, profanity shouldn't be linked with it
|
||||
|
||||
Reference in New Issue
Block a user