From: Michael Jeanson Date: Mon, 12 Feb 2024 22:29:10 +0000 (-0500) Subject: Modernize autotools X-Git-Tag: RELEASE_1_4_5~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=35f2ea5ac7d79f615a509b0d0dc75c521ec0c5af;p=thirdparty%2Fmlmmj.git 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 --- 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