ia64/xen-unstable

view tools/xm-test/configure.ac @ 8740:3d7ea7972b39

Update patches for linux 2.6.15.

Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
author cl349@firebug.cl.cam.ac.uk
date Thu Feb 02 17:16:00 2006 +0000 (2006-02-02)
parents f1b361b05bf3
children 136aea67b369
line source
1 # xm-test configure.ac input script
3 # Basic header information
4 AC_INIT([xm-test], [0.7.0])
5 AM_INIT_AUTOMAKE([1.7 foreign])
7 # Check for dependencies
8 AC_PROG_CC
9 #AC_PROG_INSTALL
10 AC_CHECK_PROG([LILO], lilo, lilo, "no", [$PATH])
12 # Right now, we can assume that the lib/ and ramdisk/ directories
13 # are two levels above the tests
14 TESTLIB=../../lib
15 RD_PATH=../../ramdisk
16 TENV="PYTHONPATH=$PYTHONPATH:$TESTLIB:/usr/lib/python RD_PATH=$RD_PATH"
18 AC_ARG_ENABLE(hvm-support,
19 [[ --enable-hvm-support enable hardware virtual machine assist]],
20 [
21 ENABLE_HVM=True
22 ],[
23 ENABLE_HVM=False
24 ])
26 if test "x$ENABLE_HVM" = "xTrue"; then
27 if test "$LILO" = "no"; then
28 AC_MSG_ERROR([lilo not found
29 lilo version 22.7 or greater must be installed for testing with hvm enabled.])
30 else
31 pass=`$LILO -V | sed -e "s/LILO version //" | awk -F "." '{if ($1 >=22 && $2 >= 7) print "true"; else print "false"}'`
32 if test "$pass" != "true"; then
33 AC_MSG_ERROR(Lilo version must be equal or greater to 22.7+.)
34 fi
35 fi
36 fi
38 AM_CONDITIONAL(HVM, test x$ENABLE_HVM = xTrue)
39 AC_SUBST(ENABLE_HVM)
41 AC_ARG_WITH(hvm-kernel,
42 [[ --with-hvm-kernel=kernel Use this kernel for hvm disk.img testing]],
43 HVMKERNEL=$withval,
44 HVMKERNEL="no")
46 dnl substitute @HVMKERNEL@ in all Makefiles
47 AC_SUBST(HVMKERNEL)
49 AC_ARG_WITH(driver-dir,
50 [[ --with-driver-dir=drvdir Look in this directory for the pcnet32 driver for the vmx disk.img. drvdir can equal key word "builtin" if driver is built into the kernel]],
51 DRVDIR=$withval,
52 DRVDIR="no")
54 dnl substitute @DRVDIR@ in all Makefiles
55 AC_SUBST(DRVDIR)
57 AC_SUBST(TENV)
58 AC_SUBST(PACKAGE_VERSION)
60 AC_PROG_YACC
61 AC_PROG_LEX
63 # basic build files
64 AC_CONFIG_FILES([
65 Makefile
66 ramdisk/Makefile
67 tests/Makefile
68 tests/_sanity/Makefile
69 tests/block-list/Makefile
70 tests/block-create/Makefile
71 tests/block-destroy/Makefile
72 tests/console/Makefile
73 tests/create/Makefile
74 tests/destroy/Makefile
75 tests/dmesg/Makefile
76 tests/domid/Makefile
77 tests/domname/Makefile
78 tests/help/Makefile
79 tests/info/Makefile
80 tests/list/Makefile
81 tests/memmax/Makefile
82 tests/memset/Makefile
83 tests/migrate/Makefile
84 tests/network-attach/Makefile
85 tests/network/Makefile
86 tests/pause/Makefile
87 tests/reboot/Makefile
88 tests/restore/Makefile
89 tests/save/Makefile
90 tests/sedf/Makefile
91 tests/shutdown/Makefile
92 tests/sysrq/Makefile
93 tests/unpause/Makefile
94 tests/vcpu-pin/Makefile
95 tests/vcpu-disable/Makefile
96 tests/enforce_dom0_cpus/Makefile
97 lib/XmTestReport/xmtest.py
98 lib/XmTestLib/config.py
99 ])
101 AC_OUTPUT
103 chmod a+x lib/XmTestReport/xmtest.py