[Pkg-libvirt-commits] [libguestfs] 09/34: build: Don't allow --disable-daemon and --enable-appliance together.

Hilko Bengen bengen at moszumanska.debian.org
Fri Mar 7 10:39:32 UTC 2014


This is an automated email from the git hooks/post-receive script.

bengen pushed a commit to branch experimental
in repository libguestfs.

commit a6d72be984498e07f455c643e07a51b977603fc2
Author: Richard W.M. Jones <rjones at redhat.com>
Date:   Mon Mar 3 13:41:59 2014 +0000

    build: Don't allow --disable-daemon and --enable-appliance together.
    
    This makes no sense, since the daemon is contained in the appliance so
    you cannot build a (meaningful) appliance without having a daemon.
---
 configure.ac | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/configure.ac b/configure.ac
index da7caa7..8668bea 100644
--- a/configure.ac
+++ b/configure.ac
@@ -448,6 +448,12 @@ AM_CONDITIONAL([ENABLE_APPLIANCE],[test "x$ENABLE_APPLIANCE" = "xyes"])
 AC_MSG_RESULT([$ENABLE_APPLIANCE])
 AC_SUBST([ENABLE_APPLIANCE])
 
+if test "x$enable_daemon" != "xyes" && test "x$ENABLE_APPLIANCE" = "xyes" ; then
+    AC_MSG_FAILURE([conflicting ./configure arguments: if you --disable-daemon
+then you have to --disable-appliance as well, since the appliance contains
+the daemon inside it.])
+fi
+
 dnl Check for supermin >= 5.1.0.
 AC_PATH_PROG([SUPERMIN],[supermin],[no])
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libguestfs.git



More information about the Pkg-libvirt-commits mailing list