mirror of
https://github.com/profanity-im/profanity.git
synced 2025-02-02 15:08:15 -05:00
Fixed configure.ac for --disable-otr
This commit is contained in:
parent
4f98bc8c25
commit
3f73cb7732
@ -134,6 +134,8 @@ AM_CONDITIONAL([BUILD_OTR], [true])
|
|||||||
if test "x$enable_otr" = xyes; then
|
if test "x$enable_otr" = xyes; then
|
||||||
AC_CHECK_LIB([otr], [main], [],
|
AC_CHECK_LIB([otr], [main], [],
|
||||||
[AC_MSG_ERROR([libotr is required for otr encryption support])])
|
[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
|
elif test "x$enable_otr" = x; then
|
||||||
AC_CHECK_LIB([otr], [main], [],
|
AC_CHECK_LIB([otr], [main], [],
|
||||||
[AM_CONDITIONAL([BUILD_OTR], [false]) AC_MSG_NOTICE([libotr not found, otr entryption support not enabled])])
|
[AM_CONDITIONAL([BUILD_OTR], [false]) AC_MSG_NOTICE([libotr not found, otr entryption support not enabled])])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user