WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] Tweak to pygrub build config detection.

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Tweak to pygrub build config detection.
From: Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 21 Oct 2005 18:54:35 +0000
Delivery-date: Fri, 21 Oct 2005 18:54:48 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID 8eaaa622db81393ef0eae497090c34c04adf4212
# Parent  3eee5653f08b01a310e0a9172a6c0149f16217df
Tweak to pygrub build config detection.
Signed-off-by: Jeremy Katz <katzj@xxxxxxxxxx>

diff -r 3eee5653f08b -r 8eaaa622db81 tools/pygrub/setup.py
--- a/tools/pygrub/setup.py     Fri Oct 21 15:22:09 2005
+++ b/tools/pygrub/setup.py     Fri Oct 21 17:19:38 2005
@@ -13,7 +13,7 @@
     cc = new_compiler()
     cc.add_library("ext2fs")
     try:
-        if cc.has_function("ext2fs_open2"):
+        if hasattr(cc, "has_function") and cc.has_function("ext2fs_open2"):
             ext2defines.append( ("HAVE_EXT2FS_OPEN2", None) )
         else:
             sys.stderr.write("WARNING: older version of e2fsprogs installed, 
not building full\n")

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Tweak to pygrub build config detection., Xen patchbot -unstable <=