summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2022-07-24 10:10:58 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2022-07-24 10:10:58 -0700
commit6b4839d1a40d4c89951a8636ea060603de200854 (patch)
treedfdac9d4c8c497d99e774164b5d5f6d8cd842244
parent345ee08ae64578d6f136664964fc57560181eb4e (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. Add missing AC_CONFIG_SRCDIR Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--configure.ac6
1 files changed, 5 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index cc1be5c..da35b73 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,10 +1,14 @@
# Copyright (c) 2012 Jess VanDerwalker <washu@sonic.net>
+# Initialize Autoconf
AC_PREREQ(2.61)
AC_INIT([libxcwm], [0.1])
+AC_CONFIG_SRCDIR([Makefile.am])
+AC_CONFIG_HEADERS([config.h])
+
+# Initialize Automake
AM_INIT_AUTOMAKE([foreign dist-xz])
AM_MAINTAINER_MODE
-AM_CONFIG_HEADER(config.h)
# Initialize libtool
AC_PROG_LIBTOOL