[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH] autoconf: remove udev checks from build
# HG changeset patch # User Roger Pau Monne <roger.pau@xxxxxxxxxxxxx> # Date 1329808760 -3600 # Node ID 31a50458bab3ffe84710d0e2e952598a642965c7 # Parent 0ab0491f2819fc8440da323d1bb0fa5534450b35 autoconf: remove udev checks from build There's no need to have udev when building Xen since it's only used at run time. Signed-off-by: Roger Pau Monne <roger.pau@xxxxxxxxxxxxx> diff -r 0ab0491f2819 -r 31a50458bab3 tools/configure.ac --- a/tools/configure.ac Tue Feb 21 06:16:24 2012 +0100 +++ b/tools/configure.ac Tue Feb 21 08:19:20 2012 +0100 @@ -29,7 +29,6 @@ m4_include([m4/path_or_fail.m4]) m4_include([m4/python_xml.m4]) m4_include([m4/python_version.m4]) m4_include([m4/python_devel.m4]) -m4_include([m4/udev.m4]) m4_include([m4/ocaml.m4]) m4_include([m4/default_lib.m4]) m4_include([m4/set_cflags_ldflags.m4]) @@ -107,7 +106,6 @@ AS_IF([test "x$pythontools" = "xy"], [ AX_CHECK_PYTHON_DEVEL() ]) AX_PATH_PROG_OR_FAIL([XGETTEXT], [xgettext]) -AX_CHECK_UDEV([59]) AX_CHECK_UUID PKG_CHECK_MODULES(glib, glib-2.0) diff -r 0ab0491f2819 -r 31a50458bab3 tools/m4/udev.m4 --- a/tools/m4/udev.m4 Tue Feb 21 06:16:24 2012 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,32 +0,0 @@ -AC_DEFUN([AX_CHECK_UDEV], -[if test "x$host_os" == "xlinux-gnu" -then - AC_PATH_PROG([UDEVADM], [udevadm], [no]) - if test x"${UDEVADM}" == x"no" - then - AC_PATH_PROG([UDEVINFO], [udevinfo], [no]) - if test x"${UDEVINFO}" == x"no" - then - AC_MSG_ERROR( - [Unable to find udevadm or udevinfo, please install udev]) - fi - udevver=`${UDEVINFO} -V | awk '{print $NF}'` - else - udevver=`${UDEVADM} info -V | awk '{print $NF}'` - fi - if test ${udevver} -lt 59 - then - AC_PATH_PROG([HOTPLUG], [hotplug], [no]) - if test x"${HOTPLUG}" == x"no" - then - AC_MSG_ERROR([udev is too old, upgrade to version 59 or later]) - fi - fi -else - AC_PATH_PROG([VNCONFIG], [vnconfig], [no]) - if test x"${VNCONFIG}" == x"no" - then - AC_MSG_ERROR([Not a Linux system and unable to find vnd]) - fi -fi -]) _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |