[PATCH 1/2] maint: use modern autoconf idioms

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Autoconf 2.59 says that AC_OUTPUT with arguments is obsolete,
and we are already using the replacement for some, but not all,
of our output files.

* configure.ac (AC_OUTPUT): Rewrite to use AC_CONFIG_FILES.

Signed-off-by: Eric Blake <eblake@xxxxxxxxxx>
---
 configure.ac | 42 ++++++++++++++++++++++--------------------
 1 file changed, 22 insertions(+), 20 deletions(-)

diff --git a/configure.ac b/configure.ac
index 084d864..a155790 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2440,26 +2440,28 @@ AC_DEFINE_UNQUOTED([base64_encode_alloc],[libvirt_gl_base64_encode_alloc],[Hack

 AC_CONFIG_FILES([run],
                 [chmod +x,-w run])
-AC_OUTPUT(Makefile src/Makefile include/Makefile docs/Makefile \
-	  docs/schemas/Makefile \
-	  gnulib/lib/Makefile \
-	  gnulib/tests/Makefile \
-          libvirt.pc libvirt.spec mingw-libvirt.spec \
-          po/Makefile.in \
-	  include/libvirt/Makefile include/libvirt/libvirt.h \
-	  python/Makefile \
-          daemon/Makefile \
-          tools/Makefile \
-          tests/Makefile \
-          examples/apparmor/Makefile \
-          examples/domain-events/events-c/Makefile \
-          examples/domsuspend/Makefile \
-          examples/dominfo/Makefile \
-          examples/openauth/Makefile \
-          examples/python/Makefile \
-          examples/hellolibvirt/Makefile \
-          examples/systemtap/Makefile \
-          examples/xml/nwfilter/Makefile)
+AC_CONFIG_FILES([\
+        Makefile src/Makefile include/Makefile docs/Makefile \
+        docs/schemas/Makefile \
+        gnulib/lib/Makefile \
+        gnulib/tests/Makefile \
+        libvirt.pc libvirt.spec mingw-libvirt.spec \
+        po/Makefile.in \
+        include/libvirt/Makefile include/libvirt/libvirt.h \
+        python/Makefile \
+        daemon/Makefile \
+        tools/Makefile \
+        tests/Makefile \
+        examples/apparmor/Makefile \
+        examples/domain-events/events-c/Makefile \
+        examples/domsuspend/Makefile \
+        examples/dominfo/Makefile \
+        examples/openauth/Makefile \
+        examples/python/Makefile \
+        examples/hellolibvirt/Makefile \
+        examples/systemtap/Makefile \
+        examples/xml/nwfilter/Makefile])
+AC_OUTPUT

 AC_MSG_NOTICE([])
 AC_MSG_NOTICE([Configuration summary])
-- 
1.8.3.1

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]