Update of /cvsroot/wpdev/wolfpack
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29247
Modified Files:
configure.py
Log Message:
added endianess detect code
added UCS2/UCS4 detection
Index: configure.py
===================================================================
RCS file: /cvsroot/wpdev/wolfpack/configure.py,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** configure.py 29 Jul 2004 20:54:09 -0000 1.10
--- configure.py 29 Jul 2004 21:14:11 -0000 1.11
***************
*** 114,117 ****
--- 114,131 ----
sys.stdout.write( "Wolfpack requires Python version greater than 2.3.0 " )
sys.exit();
+
+ sys.stdout.write( "Checking unicode support... " )
+ if sys.maxunicode > 65535:
+ sys.stdout.write( "failed\n" )
+ sys.stdout.write( "Wolfpack currently requires python to be compiled with UCS2, its compiled with UCS4\n" )
+ sys.exit();
+ else:
+ sys.stdout.write( "ok\n" )
+
+ sys.stdout.write( "Checking CPU byte order... %s" % sys.byteorder )
+ if sys.byteorder != 'little':
+ sys.stdout.write("\nError: Wolfpack currently only supports little endian systems\n" )
+ sys.exit();
+
sys.stdout.write( "Searching for Python library... " )
|