|
|
6e8c2f |
--- Python-2.7.4/Modules/Setup.dist.rhconfig 2013-04-06 16:02:34.000000000 +0200
|
|
|
6e8c2f |
+++ Python-2.7.4/Modules/Setup.dist 2013-04-08 10:05:16.369985654 +0200
|
|
|
6e8c2f |
@@ -153,7 +153,7 @@ GLHACK=-Dclear=__GLclear
|
|
|
6e8c2f |
# modules are to be built as shared libraries (see above for more
|
|
|
6e8c2f |
# detail; also note that *static* reverses this effect):
|
|
|
6e8c2f |
|
|
|
6e8c2f |
-#*shared*
|
|
|
6e8c2f |
+*shared*
|
|
|
6e8c2f |
|
|
|
6e8c2f |
# GNU readline. Unlike previous Python incarnations, GNU readline is
|
|
|
6e8c2f |
# now incorporated in an optional module, configured in the Setup file
|
|
|
6e8c2f |
@@ -163,77 +163,77 @@ GLHACK=-Dclear=__GLclear
|
|
|
6e8c2f |
# it, depending on your system -- see the GNU readline instructions.
|
|
|
6e8c2f |
# It's okay for this to be a shared library, too.
|
|
|
6e8c2f |
|
|
|
6e8c2f |
-#readline readline.c -lreadline -ltermcap
|
|
|
6e8c2f |
+readline readline.c -lreadline -ltermcap
|
|
|
6e8c2f |
|
|
|
6e8c2f |
|
|
|
6e8c2f |
# Modules that should always be present (non UNIX dependent):
|
|
|
6e8c2f |
|
|
|
6e8c2f |
-#array arraymodule.c # array objects
|
|
|
6e8c2f |
-#cmath cmathmodule.c _math.c # -lm # complex math library functions
|
|
|
6e8c2f |
-#math mathmodule.c _math.c # -lm # math library functions, e.g. sin()
|
|
|
6e8c2f |
-#_struct _struct.c # binary structure packing/unpacking
|
|
|
6e8c2f |
-#time timemodule.c # -lm # time operations and variables
|
|
|
6e8c2f |
-#operator operator.c # operator.add() and similar goodies
|
|
|
6e8c2f |
-#_testcapi _testcapimodule.c # Python C API test module
|
|
|
6e8c2f |
-#_random _randommodule.c # Random number generator
|
|
|
6e8c2f |
-#_collections _collectionsmodule.c # Container types
|
|
|
6e8c2f |
+array arraymodule.c # array objects
|
|
|
6e8c2f |
+cmath cmathmodule.c _math.c # -lm # complex math library functions
|
|
|
6e8c2f |
+math mathmodule.c _math.c # -lm # math library functions, e.g. sin()
|
|
|
6e8c2f |
+_struct _struct.c # binary structure packing/unpacking
|
|
|
6e8c2f |
+time timemodule.c # -lm # time operations and variables
|
|
|
6e8c2f |
+operator operator.c # operator.add() and similar goodies
|
|
|
6e8c2f |
+_testcapi _testcapimodule.c # Python C API test module
|
|
|
6e8c2f |
+_random _randommodule.c # Random number generator
|
|
|
6e8c2f |
+_collections _collectionsmodule.c # Container types
|
|
|
6e8c2f |
#_heapq _heapqmodule.c # Heapq type
|
|
|
6e8c2f |
-#itertools itertoolsmodule.c # Functions creating iterators for efficient looping
|
|
|
6e8c2f |
-#strop stropmodule.c # String manipulations
|
|
|
6e8c2f |
-#_functools _functoolsmodule.c # Tools for working with functions and callable objects
|
|
|
6e8c2f |
+itertools itertoolsmodule.c # Functions creating iterators for efficient looping
|
|
|
6e8c2f |
+strop stropmodule.c # String manipulations
|
|
|
6e8c2f |
+_functools _functoolsmodule.c # Tools for working with functions and callable objects
|
|
|
6e8c2f |
#_elementtree -I$(srcdir)/Modules/expat -DHAVE_EXPAT_CONFIG_H -DUSE_PYEXPAT_CAPI _elementtree.c # elementtree accelerator
|
|
|
6e8c2f |
#_pickle _pickle.c # pickle accelerator
|
|
|
6e8c2f |
#datetime datetimemodule.c # date/time type
|
|
|
6e8c2f |
-#_bisect _bisectmodule.c # Bisection algorithms
|
|
|
6e8c2f |
+_bisect _bisectmodule.c # Bisection algorithms
|
|
|
6e8c2f |
|
|
|
6e8c2f |
-#unicodedata unicodedata.c # static Unicode character database
|
|
|
6e8c2f |
+unicodedata unicodedata.c # static Unicode character database
|
|
|
6e8c2f |
|
|
|
6e8c2f |
# access to ISO C locale support
|
|
|
6e8c2f |
-#_locale _localemodule.c # -lintl
|
|
|
6e8c2f |
+_locale _localemodule.c # -lintl
|
|
|
6e8c2f |
|
|
|
6e8c2f |
# Standard I/O baseline
|
|
|
6e8c2f |
#_io -I$(srcdir)/Modules/_io _io/bufferedio.c _io/bytesio.c _io/fileio.c _io/iobase.c _io/_iomodule.c _io/stringio.c _io/textio.c
|
|
|
6e8c2f |
|
|
|
6e8c2f |
|
|
|
6e8c2f |
# Modules with some UNIX dependencies -- on by default:
|
|
|
6e8c2f |
# (If you have a really backward UNIX, select and socket may not be
|
|
|
6e8c2f |
# supported...)
|
|
|
6e8c2f |
|
|
|
6e8c2f |
-#fcntl fcntlmodule.c # fcntl(2) and ioctl(2)
|
|
|
6e8c2f |
-#spwd spwdmodule.c # spwd(3)
|
|
|
6e8c2f |
-#grp grpmodule.c # grp(3)
|
|
|
6e8c2f |
-#select selectmodule.c # select(2); not on ancient System V
|
|
|
6e8c2f |
+fcntl fcntlmodule.c # fcntl(2) and ioctl(2)
|
|
|
6e8c2f |
+spwd spwdmodule.c # spwd(3)
|
|
|
6e8c2f |
+grp grpmodule.c # grp(3)
|
|
|
6e8c2f |
+select selectmodule.c # select(2); not on ancient System V
|
|
|
6e8c2f |
|
|
|
6e8c2f |
# Memory-mapped files (also works on Win32).
|
|
|
6e8c2f |
-#mmap mmapmodule.c
|
|
|
6e8c2f |
+mmap mmapmodule.c
|
|
|
6e8c2f |
|
|
|
6e8c2f |
# CSV file helper
|
|
|
6e8c2f |
-#_csv _csv.c
|
|
|
6e8c2f |
+_csv _csv.c
|
|
|
6e8c2f |
|
|
|
6e8c2f |
# Socket module helper for socket(2)
|
|
|
6e8c2f |
-#_socket socketmodule.c timemodule.c
|
|
|
6e8c2f |
+_socket socketmodule.c timemodule.c
|
|
|
6e8c2f |
|
|
|
6e8c2f |
# Socket module helper for SSL support; you must comment out the other
|
|
|
6e8c2f |
# socket line above, and possibly edit the SSL variable:
|
|
|
6e8c2f |
#SSL=/usr/local/ssl
|
|
|
6e8c2f |
-#_ssl _ssl.c \
|
|
|
6e8c2f |
-# -DUSE_SSL -I$(SSL)/include -I$(SSL)/include/openssl \
|
|
|
6e8c2f |
-# -L$(SSL)/lib -lssl -lcrypto
|
|
|
6e8c2f |
+_ssl _ssl.c \
|
|
|
6e8c2f |
+ -DUSE_SSL -I$(SSL)/include -I$(SSL)/include/openssl \
|
|
|
6e8c2f |
+ -L$(SSL)/lib -lssl -lcrypto
|
|
|
6e8c2f |
|
|
|
6e8c2f |
# The crypt module is now disabled by default because it breaks builds
|
|
|
6e8c2f |
# on many systems (where -lcrypt is needed), e.g. Linux (I believe).
|
|
|
6e8c2f |
#
|
|
|
6e8c2f |
# First, look at Setup.config; configure may have set this for you.
|
|
|
6e8c2f |
|
|
|
6e8c2f |
-#crypt cryptmodule.c # -lcrypt # crypt(3); needs -lcrypt on some systems
|
|
|
6e8c2f |
+crypt cryptmodule.c # -lcrypt # crypt(3); needs -lcrypt on some systems
|
|
|
6e8c2f |
|
|
|
6e8c2f |
|
|
|
6e8c2f |
# Some more UNIX dependent modules -- off by default, since these
|
|
|
6e8c2f |
# are not supported by all UNIX systems:
|
|
|
6e8c2f |
|
|
|
6e8c2f |
-#nis nismodule.c -lnsl # Sun yellow pages -- not everywhere
|
|
|
6e8c2f |
-#termios termios.c # Steen Lumholt's termios module
|
|
|
6e8c2f |
-#resource resource.c # Jeremy Hylton's rlimit interface
|
|
|
6e8c2f |
+nis nismodule.c -lnsl # Sun yellow pages -- not everywhere
|
|
|
6e8c2f |
+termios termios.c # Steen Lumholt's termios module
|
|
|
6e8c2f |
+resource resource.c # Jeremy Hylton's rlimit interface
|
|
|
6e8c2f |
|
|
|
6e8c2f |
|
|
|
6e8c2f |
# Multimedia modules -- off by default.
|
|
|
6e8c2f |
@@ -238,8 +238,8 @@ GLHACK=-Dclear=__GLclear
|
|
|
6e8c2f |
# #993173 says audioop works on 64-bit platforms, though.
|
|
|
6e8c2f |
# These represent audio samples or images as strings:
|
|
|
6e8c2f |
|
|
|
6e8c2f |
-#audioop audioop.c # Operations on audio samples
|
|
|
6e8c2f |
-#imageop imageop.c # Operations on images
|
|
|
6e8c2f |
+audioop audioop.c # Operations on audio samples
|
|
|
6e8c2f |
+imageop imageop.c # Operations on images
|
|
|
6e8c2f |
|
|
|
6e8c2f |
|
|
|
6e8c2f |
# Note that the _md5 and _sha modules are normally only built if the
|
|
|
6e8c2f |
@@ -249,14 +249,14 @@ GLHACK=-Dclear=__GLclear
|
|
|
6e8c2f |
# Message-Digest Algorithm, described in RFC 1321. The necessary files
|
|
|
6e8c2f |
# md5.c and md5.h are included here.
|
|
|
6e8c2f |
|
|
|
6e8c2f |
-#_md5 md5module.c md5.c
|
|
|
6e8c2f |
+_md5 md5module.c md5.c
|
|
|
6e8c2f |
|
|
|
6e8c2f |
|
|
|
6e8c2f |
# The _sha module implements the SHA checksum algorithms.
|
|
|
6e8c2f |
# (NIST's Secure Hash Algorithms.)
|
|
|
6e8c2f |
-#_sha shamodule.c
|
|
|
6e8c2f |
-#_sha256 sha256module.c
|
|
|
6e8c2f |
-#_sha512 sha512module.c
|
|
|
6e8c2f |
+_sha shamodule.c
|
|
|
6e8c2f |
+_sha256 sha256module.c
|
|
|
6e8c2f |
+_sha512 sha512module.c
|
|
|
6e8c2f |
|
|
|
6e8c2f |
|
|
|
6e8c2f |
# SGI IRIX specific modules -- off by default.
|
|
|
6e8c2f |
@@ -303,12 +303,12 @@ GLHACK=-Dclear=__GLclear
|
|
|
6e8c2f |
# A Linux specific module -- off by default; this may also work on
|
|
|
6e8c2f |
# some *BSDs.
|
|
|
6e8c2f |
|
|
|
6e8c2f |
-#linuxaudiodev linuxaudiodev.c
|
|
|
6e8c2f |
+linuxaudiodev linuxaudiodev.c
|
|
|
6e8c2f |
|
|
|
6e8c2f |
|
|
|
6e8c2f |
# George Neville-Neil's timing module:
|
|
|
6e8c2f |
|
|
|
6e8c2f |
-#timing timingmodule.c
|
|
|
6e8c2f |
+timing timingmodule.c
|
|
|
6e8c2f |
|
|
|
6e8c2f |
|
|
|
6e8c2f |
# The _tkinter module.
|
|
|
6e8c2f |
@@ -323,7 +323,7 @@ GLHACK=-Dclear=__GLclear
|
|
|
6e8c2f |
# every system.
|
|
|
6e8c2f |
|
|
|
6e8c2f |
# *** Always uncomment this (leave the leading underscore in!):
|
|
|
6e8c2f |
-# _tkinter _tkinter.c tkappinit.c -DWITH_APPINIT \
|
|
|
6e8c2f |
+_tkinter _tkinter.c tkappinit.c -DWITH_APPINIT \
|
|
|
6e8c2f |
# *** Uncomment and edit to reflect where your Tcl/Tk libraries are:
|
|
|
6e8c2f |
# -L/usr/local/lib \
|
|
|
6e8c2f |
# *** Uncomment and edit to reflect where your Tcl/Tk headers are:
|
|
|
6e8c2f |
@@ -333,7 +333,7 @@ GLHACK=-Dclear=__GLclear
|
|
|
6e8c2f |
# *** Or uncomment this for Solaris:
|
|
|
6e8c2f |
# -I/usr/openwin/include \
|
|
|
6e8c2f |
# *** Uncomment and edit for Tix extension only:
|
|
|
6e8c2f |
-# -DWITH_TIX -ltix8.1.8.2 \
|
|
|
6e8c2f |
+ -DWITH_TIX -ltix \
|
|
|
6e8c2f |
# *** Uncomment and edit for BLT extension only:
|
|
|
6e8c2f |
# -DWITH_BLT -I/usr/local/blt/blt8.0-unoff/include -lBLT8.0 \
|
|
|
6e8c2f |
# *** Uncomment and edit for PIL (TkImaging) extension only:
|
|
|
6e8c2f |
@@ -342,7 +342,7 @@ GLHACK=-Dclear=__GLclear
|
|
|
6e8c2f |
# *** Uncomment and edit for TOGL extension only:
|
|
|
6e8c2f |
# -DWITH_TOGL togl.c \
|
|
|
6e8c2f |
# *** Uncomment and edit to reflect your Tcl/Tk versions:
|
|
|
6e8c2f |
-# -ltk8.2 -ltcl8.2 \
|
|
|
6e8c2f |
+ -ltk -ltcl \
|
|
|
6e8c2f |
# *** Uncomment and edit to reflect where your X11 libraries are:
|
|
|
6e8c2f |
# -L/usr/X11R6/lib \
|
|
|
6e8c2f |
# *** Or uncomment this for Solaris:
|
|
|
6e8c2f |
@@ -352,7 +352,7 @@ GLHACK=-Dclear=__GLclear
|
|
|
6e8c2f |
# *** Uncomment for AIX:
|
|
|
6e8c2f |
# -lld \
|
|
|
6e8c2f |
# *** Always uncomment this; X11 libraries to link with:
|
|
|
6e8c2f |
-# -lX11
|
|
|
6e8c2f |
+ -lX11
|
|
|
6e8c2f |
|
|
|
6e8c2f |
# Lance Ellinghaus's syslog module
|
|
|
6e8c2f |
#syslog syslogmodule.c # syslog daemon interface
|
|
|
6e8c2f |
@@ -374,7 +374,7 @@ GLHACK=-Dclear=__GLclear
|
|
|
6e8c2f |
# it is a highly experimental and dangerous device for calling
|
|
|
6e8c2f |
# *arbitrary* C functions in *arbitrary* shared libraries:
|
|
|
6e8c2f |
|
|
|
6e8c2f |
-#dl dlmodule.c
|
|
|
6e8c2f |
+dl dlmodule.c
|
|
|
6e8c2f |
|
|
|
6e8c2f |
|
|
|
6e8c2f |
# Modules that provide persistent dictionary-like semantics. You will
|
|
|
6e8c2f |
@@ -397,7 +397,7 @@ GLHACK=-Dclear=__GLclear
|
|
|
6e8c2f |
#
|
|
|
6e8c2f |
# First, look at Setup.config; configure may have set this for you.
|
|
|
6e8c2f |
|
|
|
6e8c2f |
-#gdbm gdbmmodule.c -I/usr/local/include -L/usr/local/lib -lgdbm
|
|
|
6e8c2f |
+gdbm gdbmmodule.c -lgdbm
|
|
|
6e8c2f |
|
|
|
6e8c2f |
|
|
|
6e8c2f |
# Sleepycat Berkeley DB interface.
|
|
|
6e8c2f |
@@ -412,11 +412,9 @@ GLHACK=-Dclear=__GLclear
|
|
|
6e8c2f |
#
|
|
|
6e8c2f |
# Edit the variables DB and DBLIBVERto point to the db top directory
|
|
|
6e8c2f |
# and the subdirectory of PORT where you built it.
|
|
|
6e8c2f |
-#DB=/usr/local/BerkeleyDB.4.0
|
|
|
6e8c2f |
-#DBLIBVER=4.0
|
|
|
6e8c2f |
-#DBINC=$(DB)/include
|
|
|
6e8c2f |
-#DBLIB=$(DB)/lib
|
|
|
6e8c2f |
-#_bsddb _bsddb.c -I$(DBINC) -L$(DBLIB) -ldb-$(DBLIBVER)
|
|
|
6e8c2f |
+DBINC=/usr/include/libdb
|
|
|
6e8c2f |
+DBLIB=/usr/lib
|
|
|
6e8c2f |
+_bsddb _bsddb.c -I$(DBINC) -L$(DBLIB) -ldb
|
|
|
6e8c2f |
|
|
|
6e8c2f |
# Historical Berkeley DB 1.85
|
|
|
6e8c2f |
#
|
|
|
6e8c2f |
@@ -431,14 +430,14 @@ GLHACK=-Dclear=__GLclear
|
|
|
6e8c2f |
|
|
|
6e8c2f |
|
|
|
6e8c2f |
# Helper module for various ascii-encoders
|
|
|
6e8c2f |
-#binascii binascii.c
|
|
|
6e8c2f |
+binascii binascii.c
|
|
|
6e8c2f |
|
|
|
6e8c2f |
# Fred Drake's interface to the Python parser
|
|
|
6e8c2f |
-#parser parsermodule.c
|
|
|
6e8c2f |
+parser parsermodule.c
|
|
|
6e8c2f |
|
|
|
6e8c2f |
# cStringIO and cPickle
|
|
|
6e8c2f |
-#cStringIO cStringIO.c
|
|
|
6e8c2f |
-#cPickle cPickle.c
|
|
|
6e8c2f |
+cStringIO cStringIO.c
|
|
|
6e8c2f |
+cPickle cPickle.c
|
|
|
6e8c2f |
|
|
|
6e8c2f |
|
|
|
6e8c2f |
# Lee Busby's SIGFPE modules.
|
|
|
6e8c2f |
@@ -461,7 +460,7 @@ GLHACK=-Dclear=__GLclear
|
|
|
6e8c2f |
# Andrew Kuchling's zlib module.
|
|
|
6e8c2f |
# This require zlib 1.1.3 (or later).
|
|
|
6e8c2f |
# See http://www.gzip.org/zlib/
|
|
|
6e8c2f |
-#zlib zlibmodule.c -I$(prefix)/include -L$(exec_prefix)/lib -lz
|
|
|
6e8c2f |
+zlib zlibmodule.c -I$(prefix)/include -L$(exec_prefix)/lib -lz
|
|
|
6e8c2f |
|
|
|
6e8c2f |
# Interface to the Expat XML parser
|
|
|
6e8c2f |
#
|
|
|
6e8c2f |
@@ -480,14 +479,14 @@ GLHACK=-Dclear=__GLclear
|
|
|
6e8c2f |
# Hye-Shik Chang's CJKCodecs
|
|
|
6e8c2f |
|
|
|
6e8c2f |
# multibytecodec is required for all the other CJK codec modules
|
|
|
6e8c2f |
-#_multibytecodec cjkcodecs/multibytecodec.c
|
|
|
6e8c2f |
+_multibytecodec cjkcodecs/multibytecodec.c
|
|
|
6e8c2f |
|
|
|
6e8c2f |
-#_codecs_cn cjkcodecs/_codecs_cn.c
|
|
|
6e8c2f |
-#_codecs_hk cjkcodecs/_codecs_hk.c
|
|
|
6e8c2f |
-#_codecs_iso2022 cjkcodecs/_codecs_iso2022.c
|
|
|
6e8c2f |
-#_codecs_jp cjkcodecs/_codecs_jp.c
|
|
|
6e8c2f |
-#_codecs_kr cjkcodecs/_codecs_kr.c
|
|
|
6e8c2f |
-#_codecs_tw cjkcodecs/_codecs_tw.c
|
|
|
6e8c2f |
+_codecs_cn cjkcodecs/_codecs_cn.c
|
|
|
6e8c2f |
+_codecs_hk cjkcodecs/_codecs_hk.c
|
|
|
6e8c2f |
+_codecs_iso2022 cjkcodecs/_codecs_iso2022.c
|
|
|
6e8c2f |
+_codecs_jp cjkcodecs/_codecs_jp.c
|
|
|
6e8c2f |
+_codecs_kr cjkcodecs/_codecs_kr.c
|
|
|
6e8c2f |
+_codecs_tw cjkcodecs/_codecs_tw.c
|
|
|
6e8c2f |
|
|
|
6e8c2f |
# Example -- included for reference only:
|
|
|
6e8c2f |
# xx xxmodule.c
|