--- a/Makefile.am 2017-05-16 15:48:55.943709210 +0300 +++ b/Makefile.am 2017-05-16 15:50:20.950184710 +0300 @@ -635,7 +635,6 @@ cunit/guid.testc \ cunit/hash.testc \ cunit/imapurl.testc \ - cunit/jmapauth.testc \ cunit/libconfig.testc \ cunit/mboxname.testc \ cunit/md5.testc \ @@ -654,6 +653,10 @@ cunit_TESTS += cunit/sieve.testc endif +if JMAP +cunit_TESTS += cunit/jmapauth.testc +endif + cunit_TESTS += \ cunit/spool.testc \ cunit/squat.testc \