Ticket #10875: patch-dom-setup.py

File patch-dom-setup.py, 522 bytes (added by dominik@…, 18 years ago)

patch of the setup.py

Line 
1--- work/Python-2.4.3/setup.py  2006-03-23 20:07:46.000000000 +0100
2+++ setup.py    2006-10-15 14:43:04.000000000 +0200
3@@ -340,7 +340,7 @@
4             exts.append( Extension('unicodedata', ['unicodedata.c']) )
5         # access to ISO C locale support
6         data = open('pyconfig.h').read()
7-        m = re.search(r"#s*define\s+WITH_LIBINTL\s+1\s*", data)
8+        m = re.search(r"#\s*define\s+(HAVE_LIBINTL_H|WITH_LIBINTL)\s+1\s*", data)
9         if m is not None:
10             locale_libs = ['intl']
11         else: