From 35f2ea5ac7d79f615a509b0d0dc75c521ec0c5af Mon Sep 17 00:00:00 2001 From: Michael Jeanson Date: Mon, 12 Feb 2024 17:29:10 -0500 Subject: [PATCH] Modernize autotools Set conservative base version requirements for Automake (>= 1.13) and Autoconf (>= 2.69). Enable silent rules (can be disabled with 'make V=1') and use a subdirectory for auxiliary files. Signed-off-by: Michael Jeanson --- configure.ac | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index d55dd969..16681d9c 100644 --- a/configure.ac +++ b/configure.ac @@ -1,12 +1,18 @@ # Process this file with autoconf to produce a configure script. +AC_PREREQ([2.69]) AC_INIT([mlmmj],[1.4.4],[bapt@nours.eu]) VERSION=$PACKAGE_VERSION AC_SUBST(VERSION) -AM_INIT_AUTOMAKE([dist-xz foreign subdir-objects]) AC_CONFIG_SRCDIR([src/mlmmj-receive.c]) AC_CONFIG_HEADERS([config.h]) +AC_CONFIG_AUX_DIR([build-aux]) + +AM_INIT_AUTOMAKE([1.13 dist-xz foreign subdir-objects]) + +# Enable silent rules by default +AM_SILENT_RULES([yes]) # Checks for programs. AC_PROG_CC -- 2.47.2