Mailinglist Archive: vhostmd (42 mails)
| < Previous | Next > |
[vhostmd] [PATCH] Fix --with-xenstore option
- From: "Richard W.M. Jones" <rjones@xxxxxxxxxx>
- Date: Mon, 12 Oct 2009 17:16:30 +0100
- Message-id: <20091012161630.GC17519@xxxxxxxxxxxxxxxxxxxx>
In AC_ARG_WITH you have to use $withval instead of $enableval.
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-top is 'top' for virtual machines. Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://et.redhat.com/~rjones/virt-top
From e862e465e59905355010768f80dde94084249393 Mon Sep 17 00:00:00 2001From: Richard Jones <rjones@xxxxxxxxxx>
Date: Mon, 12 Oct 2009 17:14:57 +0100
Subject: [PATCH] configure: Fix '--with{,out}-xenstore' option.
---
configure.ac | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index d4086ee..8cd4350 100644
--- a/configure.ac
+++ b/configure.ac
@@ -72,11 +72,11 @@ fi
# Configure argument to support using xenstore in domU utility
AC_ARG_WITH([xenstore],
[ --with-xenstore use xenstore in domU utility ],
- [case "${enableval}" in
+ [case "${withval}" in
yes) with_xenstore=true
;;
no) with_xenstore=false;;
- *) AC_MSG_ERROR(bad value ${enableval} for --with-xenstore) ;;
+ *) AC_MSG_ERROR(bad value ${withval} for --with-xenstore) ;;
esac],[with_xenstore=false])
AM_CONDITIONAL(WITH_XENSTORE, test x$with_xenstore = xtrue)
--
1.6.2.5
| < Previous | Next > |