WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] Added dependency check for lilo in configure.ac for vmx

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Added dependency check for lilo in configure.ac for vmx enabled builds. Must
From: Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 25 Jan 2006 13:58:07 +0000
Delivery-date: Wed, 25 Jan 2006 14:07:28 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User stekloff@xxxxxxxxxxxxxxxxxxxxxxxxxx
# Node ID 85dd812ca054638f039b950e94903f038d17eaf0
# Parent  018e6dc18f97dc09a31c94e39b28dbb163e40a82
Added dependency check for lilo in configure.ac for vmx enabled builds. Must
have lilo version 22.7 or greater.

Signed-off-by: Daniel Stekloff <dsteklof@xxxxxxxxxx>

diff -r 018e6dc18f97 -r 85dd812ca054 tools/xm-test/configure.ac
--- a/tools/xm-test/configure.ac        Tue Jan 24 16:58:43 2006
+++ b/tools/xm-test/configure.ac        Tue Jan 24 16:59:33 2006
@@ -7,6 +7,7 @@
 # Check for dependencies
 AC_PROG_CC
 #AC_PROG_INSTALL
+AC_CHECK_PROG([LILO],  lilo,   lilo,   "no",   [$PATH])
 
 # Right now, we can assume that the lib/ and ramdisk/ directories
 # are two levels above the tests
@@ -21,6 +22,18 @@
        ],[
                ENABLE_VMX=False
        ])
+
+if test "x$ENABLE_VMX" = "xTrue"; then
+       if test "$LILO" = "no"; then 
+               AC_MSG_ERROR([lilo not found
+lilo version 22.7 or greater must be installed for testing with vmx enabled.])
+       else
+               pass=`$LILO -V | sed -e "s/LILO version //" | awk -F "." '{if 
($1 >=22 && $2 >= 7) print "true"; else print "false"}'`
+               if test "$pass" != "true"; then
+                       AC_MSG_ERROR(Lilo version must be equal or greater to 
22.7+.)
+               fi
+       fi
+fi
 
 AM_CONDITIONAL(VMX, test x$ENABLE_VMX = xTrue)
 AC_SUBST(ENABLE_VMX)

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Added dependency check for lilo in configure.ac for vmx enabled builds. Must, Xen patchbot -unstable <=