summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2022-06-18 10:11:52 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2022-06-18 10:11:52 -0700
commit0f48a0215c3f883755d014706d6a80d493b9fc4a (patch)
tree85d4254e16c8fc7e1fe8325059e0a6767efbb433
parent7b8eb1b3a5d38e897cf2cd0f29ba4b90fd76e996 (diff)
Update configure.ac to stop warnings about deprecated usage
configure.ac:5: warning: 'AM_CONFIG_HEADER': this macro is obsolete. configure.ac:5: You should use the 'AC_CONFIG_HEADERS' macro instead. ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... aclocal.m4:745: AM_CONFIG_HEADER is expanded from... configure.ac:5: the top level configure.ac:24: warning: AC_OUTPUT should be used without arguments. configure.ac:24: You should run autoupdate. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--configure.ac5
1 files changed, 3 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index e5eefa2..4ad8fb4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2,7 +2,7 @@ AC_PREREQ(2.57)
AC_INIT([xcb-demo],0.1,[xcb@lists.freedesktop.org])
AC_CONFIG_SRCDIR([Makefile.am])
AM_INIT_AUTOMAKE([foreign dist-bzip2])
-AM_CONFIG_HEADER(config.h)
+AC_CONFIG_HEADERS([config.h])
AC_PROG_CC
dnl AC_PROG_INSTALL
@@ -21,4 +21,5 @@ PKG_CHECK_MODULES(XCBRANDR, xcb-randr)
PKG_CHECK_MODULES(XCBXF86DRI, xcb-xf86dri)
PKG_CHECK_MODULES(XCBXV, xcb-xv)
-AC_OUTPUT([Makefile tests/Makefile])
+AC_CONFIG_FILES([Makefile tests/Makefile])
+AC_OUTPUT