From 64ff2b1ddfff20df87ce4e7c13bd4f996d8948cb Mon Sep 17 00:00:00 2001 From: Mathieu Lirzin Date: Tue, 20 Mar 2018 01:16:35 +0100 Subject: build: Support 'make installcheck' * configure.ac: Pass 'std-options' to AM_INIT_AUTOMAKE to check that the "--help" and "--version" options can be passed to installed programs. * Makefile.am (installcheck-local): New rule which checks the programs presence and configuration. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index d0d421c..29f9f60 100644 --- a/configure.ac +++ b/configure.ac @@ -26,7 +26,7 @@ AC_CONFIG_SRCDIR([src/mcron.c]) AC_CONFIG_AUX_DIR([build-aux]) AC_REQUIRE_AUX_FILE([test-driver.scm]) AC_REQUIRE_AUX_FILE([git-version-gen]) -AM_INIT_AUTOMAKE([subdir-objects -Wall -Wno-override]) +AM_INIT_AUTOMAKE([subdir-objects -Wall -Wno-override std-options]) AM_SILENT_RULES([yes]) # enables silent rules by default AC_CANONICAL_HOST -- cgit v1.2.3