[libvirt] [libvirt-glib] build: Replace obsolete macro in configure.ac

From: Stefano Facchini <stefano.facchini@gmail.com> Fix the build for newer automake --- AUTHORS | 1 + configure.ac | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/AUTHORS b/AUTHORS index 6cec5d7..db05f64 100644 --- a/AUTHORS +++ b/AUTHORS @@ -17,5 +17,6 @@ Patches have been received from: Timo Juhani Lindfors <timo.lindfors@iki.fi> Alexander Larsson <alexl@redhat.com> Claudio Bley <cbley@av-test.de> + Stefano Facchini <stefano.facchini@gmail.com> ... send patches to get your name added ... diff --git a/configure.ac b/configure.ac index 96dbf5a..2bf9c1b 100644 --- a/configure.ac +++ b/configure.ac @@ -1,7 +1,7 @@ AC_INIT(libvirt-glib, 0.1.7) AC_CONFIG_SRCDIR(libvirt-glib/libvirt-glib-main.c) AC_CONFIG_AUX_DIR([build-aux]) -AM_CONFIG_HEADER(config.h) +AC_CONFIG_HEADERS(config.h) AC_CONFIG_MACRO_DIR([m4]) dnl Make automake keep quiet about wildcards & other GNUmake-isms AM_INIT_AUTOMAKE([-Wno-portability]) -- 1.8.1.4

On Fri, Mar 29, 2013 at 09:34:51AM +0100, Christophe Fergeau wrote:
From: Stefano Facchini <stefano.facchini@gmail.com> diff --git a/configure.ac b/configure.ac index 96dbf5a..2bf9c1b 100644 --- a/configure.ac +++ b/configure.ac @@ -1,7 +1,7 @@ AC_INIT(libvirt-glib, 0.1.7) AC_CONFIG_SRCDIR(libvirt-glib/libvirt-glib-main.c) AC_CONFIG_AUX_DIR([build-aux]) -AM_CONFIG_HEADER(config.h) +AC_CONFIG_HEADERS(config.h) AC_CONFIG_MACRO_DIR([m4]) dnl Make automake keep quiet about wildcards & other GNUmake-isms AM_INIT_AUTOMAKE([-Wno-portability])
ACK from me, though I'll wait a bit before pushing in case there are some autoconf/automake subtleties I'm not aware of at play here :) Christophe

On Fri, Mar 29, 2013 at 10:41:36AM +0100, Christophe Fergeau wrote:
On Fri, Mar 29, 2013 at 09:34:51AM +0100, Christophe Fergeau wrote:
From: Stefano Facchini <stefano.facchini@gmail.com> diff --git a/configure.ac b/configure.ac index 96dbf5a..2bf9c1b 100644 --- a/configure.ac +++ b/configure.ac @@ -1,7 +1,7 @@ AC_INIT(libvirt-glib, 0.1.7) AC_CONFIG_SRCDIR(libvirt-glib/libvirt-glib-main.c) AC_CONFIG_AUX_DIR([build-aux]) -AM_CONFIG_HEADER(config.h) +AC_CONFIG_HEADERS(config.h) AC_CONFIG_MACRO_DIR([m4]) dnl Make automake keep quiet about wildcards & other GNUmake-isms AM_INIT_AUTOMAKE([-Wno-portability])
ACK from me, though I'll wait a bit before pushing in case there are some autoconf/automake subtleties I'm not aware of at play here :)
Actually I'd tend to squash this in: -AC_CONFIG_HEADERS(config.h) +AC_CONFIG_HEADERS([config.h]) Christophe

On Fri, Mar 29, 2013 at 2:49 PM, Christophe Fergeau <cfergeau@redhat.com> wrote:
On Fri, Mar 29, 2013 at 10:41:36AM +0100, Christophe Fergeau wrote:
On Fri, Mar 29, 2013 at 09:34:51AM +0100, Christophe Fergeau wrote:
From: Stefano Facchini <stefano.facchini@gmail.com> diff --git a/configure.ac b/configure.ac index 96dbf5a..2bf9c1b 100644 --- a/configure.ac +++ b/configure.ac @@ -1,7 +1,7 @@ AC_INIT(libvirt-glib, 0.1.7) AC_CONFIG_SRCDIR(libvirt-glib/libvirt-glib-main.c) AC_CONFIG_AUX_DIR([build-aux]) -AM_CONFIG_HEADER(config.h) +AC_CONFIG_HEADERS(config.h) AC_CONFIG_MACRO_DIR([m4]) dnl Make automake keep quiet about wildcards & other GNUmake-isms AM_INIT_AUTOMAKE([-Wno-portability])
ACK from me, though I'll wait a bit before pushing in case there are some autoconf/automake subtleties I'm not aware of at play here :)
Actually I'd tend to squash this in: -AC_CONFIG_HEADERS(config.h) +AC_CONFIG_HEADERS([config.h])
Sure. If you have tested this to work, ACK. -- Regards, Zeeshan Ali (Khattak) FSF member#5124
participants (2)
-
Christophe Fergeau
-
Zeeshan Ali (Khattak)