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