Build gpgme with --disable-gpg(sm)-tests
authorAndre Heinecke <aheinecke@intevation.de>
Tue, 19 Jun 2018 15:25:41 +0000 (17:25 +0200)
committerAndre Heinecke <aheinecke@intevation.de>
Tue, 19 Jun 2018 15:25:41 +0000 (17:25 +0200)
* src/Makefile.am (gpg4win_pkg_gpgme_configure),
(gpg4win_pkg_gpgme_ex_configure): Add
--disable-gpg(sm)-tests

--
Even without a make check these tests introduce a
build dependency to gpg and gpgsm for the environment
setup which is done at build time.

src/Makefile.am

index e3cca6d..acd359f 100644 (file)
@@ -249,13 +249,17 @@ gpg4win_pkg_gpgme_configure = --silent \
   `test -n "@HAVE_PKG_GLIB@" && echo "--enable-w32-glib"` \
   CFLAGS=-I$(idir)/include/glib-2.0/ \
   LDFLAGS=-L$(idir)/lib \
-  --enable-languages=qt,cpp
+  --enable-languages=qt,cpp \
+  --disable-gpg-test \
+  --disable-gpgsm-test
 
 gpg4win_pkg_gpgme_ex_configure = --silent \
   --with-gpg-error-prefix=$(ex_idir) --enable-static \
   --with-libassuan-prefix=$(ex_idir) \
   LDFLAGS=-L$(ex_idir)/lib \
-  --enable-languages=cpp
+  --enable-languages=cpp \
+  --disable-gpg-test \
+  --disable-gpgsm-test
 
 gpg4win_pkg_gpa_configure = --silent \
   --with-libiconv-prefix=$(idir) --with-libintl-prefix=$(idir) \