[Xcb-commit] xcb/demo: 2 commits - configure.ac

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Sat Jun 18 17:14:07 UTC 2022


 configure.ac |    7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

New commits:
commit d68d04f11dc2591c618eb48f7f6e81d4c8aa6ccc
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Sat Jun 18 10:12:47 2022 -0700

    Build xz tarballs instead of bzip2
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>

diff --git a/configure.ac b/configure.ac
index 4ad8fb4..67b5e97 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,7 +1,7 @@
 AC_PREREQ(2.57)
 AC_INIT([xcb-demo],0.1,[xcb at lists.freedesktop.org])
 AC_CONFIG_SRCDIR([Makefile.am])
-AM_INIT_AUTOMAKE([foreign dist-bzip2])
+AM_INIT_AUTOMAKE([foreign dist-xz])
 AC_CONFIG_HEADERS([config.h])
 
 AC_PROG_CC
commit 0f48a0215c3f883755d014706d6a80d493b9fc4a
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Sat Jun 18 10:11:52 2022 -0700

    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 at oracle.com>

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 at 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


More information about the xcb-commit mailing list