libvirt/m4
Eric Blake f92c7e31fc build: fix regression in requiring yajl for new enough qemu
Jonathan Lebon reported an issue to me off-list about his build
failing to use qemu because he failed to install yajl-devel.  But
I recalled specifically tweaking configure.ac to die in that
situation (commits 350583c, ba9c38b).  After a bit more
head-scratching, we found the cause of the regression: commit
654c709 rearranged things so that the qemu version check now
occurs before AC_ARG_WITH has had a chance to set either
$with_qemu or $with_yajl.

Coincidentally, this fix aligns with a documentation patch that
was just posted to the autoconf mailing list :)
http://thread.gmane.org/gmane.comp.sysutils.autoconf.patches/8324

* m4/virt-lib.m4 (LIBVIRT_CHECK_LIB, LIBVIRT_CHECK_LIB_ALT)
(LIBVIRT_CHECK_PKG): Populate defaults earlier.
* configure.ac (AC_ARG_WITH): Likewise for drivers.

Signed-off-by: Eric Blake <eblake@redhat.com>
2013-09-10 12:03:19 -06:00
..
virt-apparmor.m4 build: avoid obsolete AC_HELP_STRING 2013-09-09 13:27:49 -06:00
virt-attr.m4 Add a test suite for validating SELinux labelling 2013-01-14 13:40:04 +00:00
virt-audit.m4 Convert audit check to use LIBVIRT_CHECK_LIB 2013-01-11 11:03:23 +00:00
virt-avahi.m4 Convert avahi check to use LIBVIRT_CHECK_PKG 2013-01-14 13:26:46 +00:00
virt-blkid.m4 Convert blkid check over to use LIBVIRT_CHECK_PKG 2013-01-14 13:26:47 +00:00
virt-capng.m4 Convert cap-ng check to use LIBVIRT_CHECK_LIB 2013-01-14 13:25:06 +00:00
virt-compile-pie.m4 Don't enable -fPIE on Win32 platforms 2013-04-15 17:35:30 +01:00
virt-compile-warnings.m4 maint: slightly reduce configure size 2013-08-16 13:31:05 -06:00
virt-curl.m4 Fix typo LIBCURL_{CFLAGS,LIBS} to CURL_{CFLAGS,LIBS} 2013-01-14 17:22:31 +00:00
virt-dbus.m4 Fix typo in configure.ac causing $LIBS to gain a copy of $CFLAGS 2013-02-05 18:04:16 +00:00
virt-fuse.m4 Convert fuse check over to use LIBVIRT_CHECK_PKG 2013-01-14 13:29:17 +00:00
virt-hal.m4 Convert HAL check to use LIBVIRT_CHECK_PKG 2013-01-14 13:26:47 +00:00
virt-lib.m4 build: fix regression in requiring yajl for new enough qemu 2013-09-10 12:03:19 -06:00
virt-linker-no-indirect.m4 Check for --no-copy-dt-needed linker flag 2013-08-22 16:17:36 +02:00
virt-linker-relro.m4 Simplify RELRO_LDFLAGS 2013-08-22 16:17:35 +02:00
virt-netcf.m4 Convert netcf check to use LIBVIRT_CHECK_PKG 2013-01-14 13:25:40 +00:00
virt-numactl.m4 Convert numactl checks to use LIBVIRT_CHECK_LIB 2013-01-14 13:25:06 +00:00
virt-openwsman.m4 Convert openwsman check to use LIBVIRT_CHECK_PKG 2013-01-14 13:29:54 +00:00
virt-pciaccess.m4 Convert udev/pciaccess checks to use LIBVIRT_CHECK_PKG 2013-01-14 13:26:47 +00:00
virt-pkgconfig-back-compat.m4 Remove acinclude.m4 file 2011-04-05 11:39:44 +01:00
virt-result.m4 Add some autoconf helper macros for checking for libraries 2013-01-11 11:03:22 +00:00
virt-sanlock.m4 Convert sanlock check to use LIBVIRT_CHECK_LIB 2013-01-11 11:03:23 +00:00
virt-sasl.m4 Convert sasl check to use LIBVIRT_CHECK_LIB_ALT 2013-01-11 11:03:23 +00:00
virt-selinux.m4 build: avoid obsolete AC_HELP_STRING 2013-09-09 13:27:49 -06:00
virt-ssh2.m4 Convert ssh2 check to use LIBVIRT_CHECK_PKG 2013-01-14 13:29:44 +00:00
virt-udev.m4 maint: typo fix 2013-01-14 09:33:48 -07:00
virt-yajl.m4 Convert yajl check to use LIBVIRT_CHECK_LIB_ALT 2013-01-11 11:03:23 +00:00