Removing that configure check isn't enough. I've posted some build log messages a few days ago to #libreoffice-dev. I've moved to internal gpgme/libgpg-error/libassuan until a fix is available.
-Andy Arch Linux
pgp991mhvqpvy.pgp
Description: Digitale Signatur von OpenPGP