|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] build: autoconf: remove python xml check
# HG changeset patch
# User Roger Pau Monne <roger.pau@xxxxxxxxxxxxx>
# Date 1330620075 0
# Node ID f5bef22b3619f9eb5db941e70222c5b0c36a7254
# Parent ed898c1d80881e9e3fb07ad7d9b30b70ac407543
build: autoconf: remove python xml check
Remove the xml module check from autoconf and move it to xend init
script (in a later patch), since it's a run time dependency.
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 ed898c1d8088 -r f5bef22b3619 tools/configure
--- a/tools/configure Thu Mar 01 16:19:29 2012 +0000
+++ b/tools/configure Thu Mar 01 16:41:15 2012 +0000
@@ -3843,8 +3843,6 @@
-
-
# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
# serial 1 (pkg-config-0.24)
#
@@ -6141,18 +6139,6 @@
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
$as_echo "yes" >&6; }
fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for python
xml.dom.minidom" >&5
-$as_echo_n "checking for python xml.dom.minidom... " >&6; }
-`$PYTHON -c 'import xml.dom.minidom'`
-if test "$?" != "0"
-then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
- as_fn_error $? "Unable to find xml.dom.minidom module" "$LINENO" 5
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-$as_echo "yes" >&6; }
-fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for python devel" >&5
$as_echo_n "checking for python devel... " >&6; }
diff -r ed898c1d8088 -r f5bef22b3619 tools/configure.ac
--- a/tools/configure.ac Thu Mar 01 16:19:29 2012 +0000
+++ b/tools/configure.ac Thu Mar 01 16:41:15 2012 +0000
@@ -26,7 +26,6 @@
m4_include([m4/enable_feature.m4])
m4_include([m4/disable_feature.m4])
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/ocaml.m4])
@@ -95,7 +94,6 @@
[AC_MSG_ERROR([PYTHON specified, but is not an absolute path])])
AX_PATH_PROG_OR_FAIL([PYTHONPATH], [$PYTHON])
AX_CHECK_PYTHON_VERSION([2], [3])
- AX_CHECK_PYTHON_XML()
AX_CHECK_PYTHON_DEVEL()
])
AX_PATH_PROG_OR_FAIL([XGETTEXT], [xgettext])
diff -r ed898c1d8088 -r f5bef22b3619 tools/m4/python_xml.m4
--- a/tools/m4/python_xml.m4 Thu Mar 01 16:19:29 2012 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,10 +0,0 @@
-AC_DEFUN([AX_CHECK_PYTHON_XML],
-[AC_MSG_CHECKING([for python xml.dom.minidom])
-`$PYTHON -c 'import xml.dom.minidom'`
-if test "$?" != "0"
-then
- AC_MSG_RESULT([no])
- AC_MSG_ERROR([Unable to find xml.dom.minidom module])
-else
- AC_MSG_RESULT([yes])
-fi])
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |