[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] Added dependency check for lilo in configure.ac for vmx enabled builds. Must
# 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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |