Skip to content

Commit 4dd4b1c

Browse files
committed
Revert "WIP"
This reverts commit 93f5052.
1 parent a13318e commit 4dd4b1c

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

configure.ac

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -331,19 +331,13 @@ dnl feature: omemo
331331
AM_CONDITIONAL([BUILD_OMEMO], [false])
332332
if test "x$enable_omemo" != xno; then
333333
OMEMO_LIBS=""
334-
PKG_CHECK_MODULES([libomemo], [libomemo-c >= 0.5.1],
334+
PKG_CHECK_MODULES([libomemo], [libomemo-c],
335335
[OMEMO_LIBS="-lomemo-c"
336336
AC_CHECK_LIB([gcrypt], [gcry_md_extract],
337337
[OMEMO_LIBS="-lgcrypt $OMEMO_LIBS"
338338
AM_CONDITIONAL([BUILD_OMEMO], [true])],
339339
[AC_MSG_NOTICE([gcrypt >= 1.7.0 not found, OMEMO support not enabled])])],
340-
PKG_CHECK_MODULES([libomemo], [libomemo-c],
341-
[OMEMO_LIBS="-lomemo-c"
342-
AC_CHECK_LIB([gcrypt], [gcry_md_extract],
343-
[OMEMO_LIBS="-lgcrypt $OMEMO_LIBS"
344-
AM_CONDITIONAL([BUILD_OMEMO], [true])],
345-
[AC_MSG_NOTICE([gcrypt >= 1.7.0 not found, OMEMO support not enabled])])],
346-
[AC_MSG_NOTICE([libomemo-c not found, OMEMO support not enabled])])
340+
[AC_MSG_NOTICE([libomemo-c not found, OMEMO support not enabled])])
347341

348342
AM_COND_IF([BUILD_OMEMO],
349343
[AC_DEFINE([HAVE_OMEMO], [1], [Have OMEMO])

0 commit comments

Comments
 (0)