[PATCH] Fix --with-xenstore option
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
Richard W.M. Jones wrote:
In AC_ARG_WITH you have to use $withval instead of $enableval.
Rich.
From e862e465e59905355010768f80dde94084249393 Mon Sep 17 00:00:00 2001 From: Richard Jones <rjones@redhat.com> 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)
Opps ... ACK. Thanks, Jim -- To unsubscribe, e-mail: vhostmd+unsubscribe@opensuse.org For additional commands, e-mail: vhostmd+help@opensuse.org
participants (2)
-
Jim Fehlig
-
Richard W.M. Jones