@@ -331,19 +331,13 @@ dnl feature: omemo
331331AM_CONDITIONAL([ BUILD_OMEMO] , [ false] )
332332if 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