]> xenbits.xensource.com Git - people/iwj/osstest.git/commitdiff
ts-xen-build: enable xend at configure time if necessary
authorIan Campbell <Ian.Campbell@citrix.com>
Thu, 12 Sep 2013 14:05:36 +0000 (15:05 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Thu, 12 Sep 2013 14:19:04 +0000 (15:19 +0100)
ts-xen-build

index 894297f93d7c5af05f63d21deafff81a992d0bf6..f0ea8ca8753c457cba22e812915ab070506ad54b 100755 (executable)
@@ -126,8 +126,11 @@ sub build () {
 END
     buildcmd_stamped_logged(300, 'configure', <<END,<<END,<<END);
             if test -f configure; then
+                if grep -q -- --enable-xend tools/configure ; then
+                    enable_xend=--enable-xend
+                fi
 END
-                ./configure --sysconfdir=/etc
+                ./configure --sysconfdir=/etc \$enable_xend
 END
             fi
 END