[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] autoconf: remove udev checks from build
# HG changeset patch # User Roger Pau Monne <roger.pau@xxxxxxxxxxxxx> # Date 1329911784 0 # Node ID 4aa563f19a18c476a378e844a2d4e37a79428eea # Parent 69c6e5d33f101145752dc94fee5b916f5012d4f8 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> Acked-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx> Committed-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx> --- diff -r 69c6e5d33f10 -r 4aa563f19a18 tools/configure.ac --- a/tools/configure.ac Wed Feb 22 11:54:16 2012 +0000 +++ b/tools/configure.ac Wed Feb 22 11:56:24 2012 +0000 @@ -29,7 +29,6 @@ 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 @@ 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 69c6e5d33f10 -r 4aa563f19a18 tools/m4/udev.m4 --- a/tools/m4/udev.m4 Wed Feb 22 11:54:16 2012 +0000 +++ /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-changelog mailing list Xen-changelog@xxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |