]> git.ipfire.org Git - thirdparty/mlmmj.git/commitdiff
Modernize autotools
authorMichael Jeanson <mjeanson@debian.org>
Mon, 12 Feb 2024 22:29:10 +0000 (17:29 -0500)
committerMichael Jeanson <mjeanson@debian.org>
Wed, 14 Feb 2024 16:53:37 +0000 (11:53 -0500)
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 <mjeanson@debian.org>
configure.ac

index d55dd969d0710664b5d08738077eada673ffbfb3..16681d9c307aa62a361a9d1a17ad3e7ae268b30e 100644 (file)
@@ -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