From 1c078531a017358241a35475fb24f2bd65d501db Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Tue, 19 Nov 2019 11:06:43 +0100 Subject: build: use AX_IS_RELEASE() and AX_COMPILER_FLAGS() The autoconf macros AX_COMPILER_FLAGS_{CFLAGS|GIR|LDFLAGS} test for compiler and linker support of various flags, and add the flags to the generated output. If the command-line option '--enable-compile-warnings' is specified to 'configure', a number of additional warning options is also added to the output. This is the default. This update requires the presence of the GNU autoconf-archive in the system. --- test/Makefile.am | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'test') diff --git a/test/Makefile.am b/test/Makefile.am index ba737bc5..bf54f0af 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -2,6 +2,14 @@ noinst_PROGRAMS = EXTRA_DIST = +AM_CFLAGS = \ + $(WARN_CFLAGS) \ + $(NULL) + +AM_LDFLAGS = \ + $(WARN_LDFLAGS) \ + $(NULL) + ################################################################################ # lsudev ################################################################################ -- cgit v1.2.3-70-g09d2