From 13c573740becea1e68de51b16d38bd39c8d9cb3d Mon Sep 17 00:00:00 2001 From: Eric Blake Date: Wed, 31 Jul 2013 14:52:16 -0600 Subject: [PATCH] maint: use modern autoconf idioms 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 --- configure.ac | 42 ++++++++++++++++++++++-------------------- 1 file changed, 22 insertions(+), 20 deletions(-) diff --git a/configure.ac b/configure.ac index 084d8646ac..a155790f45 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])