[Libvir] [PATCH] Fix substitution of QEMUD_PID_FILE

Mark McLoughlin markmc at redhat.com
Tue Apr 3 11:00:37 UTC 2007


On Tue, 2007-04-03 at 11:40 +0100, Richard W.M. Jones wrote:

> Use AC_SUBST instead of AC_DEFINE because we want autoconf to
> substitute 
> the value into the Makefile, not into config.h.  Then add 
> @QEMUD_PID_FILE@ to CFLAGS.

	Sounds sane ...

	Bear in mind, though, that ${prefix}/var is the default for
$localstatedir ... but all Fedora packages would be built with
--localstatedir=/var, just like --sysconfdir=/etc

	I don't think you see the problem if you pass a value for
--localstatedir

> +       -DQEMUD_PID_FILE="\"@QEMUD_PID_FILE@\""

	Use $(QEMU_PID_FILE)

Chers,
Mark.




More information about the libvir-list mailing list