From: Fredrik Tolf Date: Thu, 9 Oct 2025 22:18:20 +0000 (+0200) Subject: Modernize a couple of core autoconf macros. X-Git-Url: http://git.dolda2000.com/gitweb/?a=commitdiff_plain;h=1e18a67ddac68a79db0dcfe790e9338cd0a5d229;p=autoconf-skel.git Modernize a couple of core autoconf macros. --- diff --git a/configure.ac b/configure.ac index 9510b39..41b0d0e 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,7 @@ AC_INIT([pkgname], [0.1]) AC_CONFIG_MACRO_DIRS(m4) AC_CONFIG_SRCDIR(src/main.c) AM_INIT_AUTOMAKE -AM_CONFIG_HEADER(config.h) +AC_CONFIG_HEADERS(config.h) AC_PROG_CC AC_PROG_INSTALL @@ -14,11 +14,10 @@ dnl AM_GNU_GETTEXT([external]) dnl Add for libtool: dnl LT_INIT -AC_HEADER_STDC - -AC_OUTPUT([ +AC_CONFIG_FILES([ Makefile src/Makefile dnl Add for gettext: dnl po/Makefile.in ]) +AC_OUTPUT