Commit 927db789 authored by Werner Koch's avatar Werner Koch

common: Do not build maintainer modules in non-maintainer mode.

* common/Makefile.am (module_maint_tests): Use only in maintainer
mode.
(t_common_cflags): New.
parent cad181b5
......@@ -181,13 +181,21 @@ module_tests = t-convert t-percent t-gettime t-sysutils t-sexputil \
if !HAVE_W32CE_SYSTEM
module_tests += t-exechelp
endif
if MAINTAINER_MODE
module_maint_tests = t-helpfile t-b64 t-http
else
module_maint_tests =
endif
t_common_cflags = $(KSBA_CFLAGS) $(LIBGCRYPT_CFLAGS) \
$(LIBASSUAN_CFLAGS) $(GPG_ERROR_CFLAGS)
t_common_ldadd = libcommon.a ../gl/libgnu.a \
$(LIBGCRYPT_LIBS) $(LIBASSUAN_LIBS) $(GPG_ERROR_LIBS) \
$(LIBINTL) $(LIBICONV)
# jnlib tests
t_stringhelp_SOURCES = t-stringhelp.c $(t_jnlib_src)
t_stringhelp_LDADD = $(t_common_ldadd)
......
......@@ -226,7 +226,7 @@ main (int argc, char **argv)
}
if (argc != 1)
{
fprintf (stderr, PGM ": no or roo many URLS given\n");
fprintf (stderr, PGM ": no or too many URLS given\n");
exit (1);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment