diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-07-24 11:08:16 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-07-24 11:08:16 -0700 |
commit | 82691c8d9312b87ba50d726a15aead2a50834bad (patch) | |
tree | 38a2f96a432aee19266d89b01091eb5200444fbd | |
parent | 2578d274b926088ae7565e9a4bcfa1ca8ba6fdda (diff) |
config: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERS
Regroup AC statements under the Autoconf initialization section.
Regroup AM statements under the Automake initialization section.
update AC_PREREQ statement to 2.60
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r-- | configure.ac | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac index b6fdbfc..0095e68 100644 --- a/configure.ac +++ b/configure.ac @@ -20,22 +20,23 @@ # # Process this file with autoconf to produce a configure script -AC_PREREQ(2.57) +# Initialize Autoconf +AC_PREREQ([2.60]) AC_INIT([xf86-input-elographics], 1.4.2, [https://gitlab.freedesktop.org/xorg/driver/xf86-input-elographics/issues], xf86-input-elographics) - AC_CONFIG_SRCDIR([Makefile.am]) AC_CONFIG_AUX_DIR(.) -AM_INIT_AUTOMAKE([dist-xz]) +AC_CONFIG_HEADERS([config.h]) +# Initialize Automake +AM_INIT_AUTOMAKE([dist-xz]) AM_MAINTAINER_MODE # Require xorg-macros: XORG_CWARNFLAGS, XORG_CHANGELOG m4_ifndef([XORG_MACROS_VERSION], [AC_FATAL([must install xorg-macros 1.2 or later before running autoconf/autogen])]) XORG_MACROS_VERSION(1.2) -AM_CONFIG_HEADER([config.h]) # Checks for programs. AC_DISABLE_STATIC |