annotate Modules/Setup.dist @ 15842:f6cd36498a50 legacy-trunk

Document extensions to .pth files.
author Martin v. Löwis <martin@v.loewis.de>
date Sat, 13 Jan 2001 09:54:41 +0000
parents c68b06249d8a
children e6a0fd54b607
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
15342
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
1 # -*- makefile -*-
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
2 # The file Setup is used by the makesetup script to construct the files
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
3 # Makefile and config.c, from Makefile.pre and config.c.in,
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
4 # respectively. The file Setup itself is initially copied from
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
5 # Setup.dist; once it exists it will not be overwritten, so you can edit
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
6 # Setup to your heart's content. Note that Makefile.pre is created
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
7 # from Makefile.pre.in by the toplevel configure script.
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
8
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
9 # (VPATH notes: Setup and Makefile.pre are in the build directory, as
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
10 # are Makefile and config.c; the *.in and *.dist files are in the source
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
11 # directory.)
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
12
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
13 # Each line in this file describes one or more optional modules.
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
14 # Comment out lines to suppress modules.
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
15 # Lines have the following structure:
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
16 #
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
17 # <module> ... [<sourcefile> ...] [<cpparg> ...] [<library> ...]
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
18 #
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
19 # <sourcefile> is anything ending in .c (.C, .cc, .c++ are C++ files)
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
20 # <cpparg> is anything starting with -I, -D, -U or -C
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
21 # <library> is anything ending in .a or beginning with -l or -L
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
22 # <module> is anything else but should be a valid Python
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
23 # identifier (letters, digits, underscores, beginning with non-digit)
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
24 #
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
25 # (As the makesetup script changes, it may recognize some other
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
26 # arguments as well, e.g. *.so and *.sl as libraries. See the big
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
27 # case statement in the makesetup script.)
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
28 #
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
29 # Lines can also have the form
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
30 #
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
31 # <name> = <value>
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
32 #
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
33 # which defines a Make variable definition inserted into Makefile.in
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
34 #
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
35 # Finally, if a line contains just the word "*shared*" (without the
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
36 # quotes but with the stars), then the following modules will not be
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
37 # included in the config.c file, nor in the list of objects to be
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
38 # added to the library archive, and their linker options won't be
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
39 # added to the linker options, but rules to create their .o files and
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
40 # their shared libraries will still be added to the Makefile, and
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
41 # their names will be collected in the Make variable SHAREDMODS. This
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
42 # is used to build modules as shared libraries. (They can be
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
43 # installed using "make sharedinstall", which is implied by the
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
44 # toplevel "make install" target.) (For compatibility,
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
45 # *noconfig* has the same effect as *shared*.)
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
46 #
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
47 # In addition, *static* reverses this effect (negating a previous
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
48 # *shared* line).
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
49
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
50 # NOTE: As a standard policy, as many modules as can be supported by a
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
51 # platform should be present. The distribution comes with all modules
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
52 # enabled that are supported by most platforms and don't require you
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
53 # to ftp sources from elsewhere.
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
54
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
55
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
56 # Some special rules to define PYTHONPATH.
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
57 # Edit the definitions below to indicate which options you are using.
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
58 # Don't add any whitespace or comments!
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
59
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
60 # Directories where library files get installed.
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
61 # DESTLIB is for Python modules; MACHDESTLIB for shared libraries.
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
62 DESTLIB=$(LIBDEST)
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
63 MACHDESTLIB=$(BINLIBDEST)
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
64
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
65 # NOTE: all the paths are now relative to the prefix that is computed
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
66 # at run time!
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
67
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
68 # Standard path -- don't edit.
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
69 # No leading colon since this is the first entry.
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
70 # Empty since this is now just the runtime prefix.
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
71 DESTPATH=
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
72
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
73 # Site specific path components -- should begin with : if non-empty
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
74 SITEPATH=
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
75
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
76 # Standard path components for test modules
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
77 TESTPATH=
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
78
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
79 # Path components for machine- or system-dependent modules and shared libraries
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
80 MACHDEPPATH=:plat-$(MACHDEP)
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
81
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
82 COREPYTHONPATH=$(DESTPATH)$(SITEPATH)$(TESTPATH)$(MACHDEPPATH)$(TKPATH)
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
83 PYTHONPATH=$(COREPYTHONPATH)
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
84
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
85
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
86 # The modules listed here can't be built as shared libraries for
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
87 # various reasons; therefore they are listed here instead of in the
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
88 # normal order.
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
89
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
90 # Some modules that are normally always on:
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
91
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
92 regex regexmodule.c regexpr.c # Regular expressions, GNU Emacs style
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
93 pcre pcremodule.c pypcre.c # Regular expressions, Perl style (for re.py)
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
94 posix posixmodule.c # posix (UNIX) system calls
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
95 signal signalmodule.c # signal(2)
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
96 _sre _sre.c # Fredrik Lundh's new regular expressions
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
97
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
98 # The SGI specific GL module:
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
99
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
100 GLHACK=-Dclear=__GLclear
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
101 #gl glmodule.c cgensupport.c -I$(srcdir) $(GLHACK) -lgl -lX11
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
102
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
103 # Pure module. Cannot be linked dynamically.
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
104 # -DWITH_QUANTIFY, -DWITH_PURIFY, or -DWITH_ALL_PURE
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
105 #WHICH_PURE_PRODUCTS=-DWITH_ALL_PURE
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
106 #PURE_INCLS=-I/usr/local/include
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
107 #PURE_STUBLIBS=-L/usr/local/lib -lpurify_stubs -lquantify_stubs
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
108 #pure puremodule.c $(WHICH_PURE_PRODUCTS) $(PURE_INCLS) $(PURE_STUBLIBS)
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
109
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
110 # Uncommenting the following line tells makesetup that all following
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
111 # modules are to be built as shared libraries (see above for more
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
112 # detail; also note that *static* reverses this effect):
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
113
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
114 #*shared*
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
115
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
116 # GNU readline. Unlike previous Python incarnations, GNU readline is
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
117 # now incorporated in an optional module, configured in the Setup file
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
118 # instead of by a configure script switch. You may have to insert a
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
119 # -L option pointing to the directory where libreadline.* lives,
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
120 # and you may have to change -ltermcap to -ltermlib or perhaps remove
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
121 # it, depending on your system -- see the GNU readline instructions.
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
122 # It's okay for this to be a shared library, too.
15798
d027e85e209f Adapted version of Eric Raymond's patches to automatically configure
Guido van Rossum <guido@python.org>
parents: 15778
diff changeset
123 #
d027e85e209f Adapted version of Eric Raymond's patches to automatically configure
Guido van Rossum <guido@python.org>
parents: 15778
diff changeset
124 # First, look at Setup.config; configure may have set this for you.
15342
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
125
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
126 #readline readline.c -lreadline -ltermcap
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
127
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
128
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
129 # Modules that should always be present (non UNIX dependent):
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
130
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
131 array arraymodule.c # array objects
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
132 cmath cmathmodule.c # -lm # complex math library functions
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
133 math mathmodule.c # -lm # math library functions, e.g. sin()
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
134 strop stropmodule.c # fast string operations implemented in C
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
135 struct structmodule.c # binary structure packing/unpacking
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
136 time timemodule.c # -lm # time operations and variables
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
137 operator operator.c # operator.add() and similar goodies
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
138 _codecs _codecsmodule.c # access to the builtin codecs and codec registry
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
139
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
140 unicodedata unicodedata.c unicodedatabase.c
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
141 # static Unicode character database
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
142 ucnhash ucnhash.c # Unicode Character Name expansion hash table
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
143
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
144 _locale _localemodule.c # access to ISO C locale support
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
145
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
146
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
147 # Modules with some UNIX dependencies -- on by default:
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
148 # (If you have a really backward UNIX, select and socket may not be
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
149 # supported...)
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
150
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
151 fcntl fcntlmodule.c # fcntl(2) and ioctl(2)
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
152 pwd pwdmodule.c # pwd(3)
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
153 grp grpmodule.c # grp(3)
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
154 errno errnomodule.c # posix (UNIX) errno values
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
155 select selectmodule.c # select(2); not on ancient System V
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
156
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
157 # Memory-mapped files (also works on Win32).
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
158 mmap mmapmodule.c
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
159
15778
b5a37bf9d12d Jeff Epler's xreadlines module, with slight reformatting and some
Guido van Rossum <guido@python.org>
parents: 15648
diff changeset
160 # Dynamic readlines
b5a37bf9d12d Jeff Epler's xreadlines module, with slight reformatting and some
Guido van Rossum <guido@python.org>
parents: 15648
diff changeset
161 xreadlines xreadlinesmodule.c
b5a37bf9d12d Jeff Epler's xreadlines module, with slight reformatting and some
Guido van Rossum <guido@python.org>
parents: 15648
diff changeset
162
15816
c68b06249d8a Move the _socket module closer to the SSL-_socket line (mmap and
Thomas Wouters <thomas@python.org>
parents: 15798
diff changeset
163 # for socket(2), without SSL support.
c68b06249d8a Move the _socket module closer to the SSL-_socket line (mmap and
Thomas Wouters <thomas@python.org>
parents: 15798
diff changeset
164 _socket socketmodule.c
c68b06249d8a Move the _socket module closer to the SSL-_socket line (mmap and
Thomas Wouters <thomas@python.org>
parents: 15798
diff changeset
165
c68b06249d8a Move the _socket module closer to the SSL-_socket line (mmap and
Thomas Wouters <thomas@python.org>
parents: 15798
diff changeset
166 # Socket module compiled with SSL support; you must comment out the other
c68b06249d8a Move the _socket module closer to the SSL-_socket line (mmap and
Thomas Wouters <thomas@python.org>
parents: 15798
diff changeset
167 # socket line above, and possibly edit the SSL variable:
15342
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
168 #SSL=/usr/local/ssl
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
169 #_socket socketmodule.c \
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
170 # -DUSE_SSL -I$(SSL)/include -I$(SSL)/include/openssl \
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
171 # -L$(SSL)/lib -lssl -lcrypto
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
172
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
173 # The crypt module is now disabled by default because it breaks builds
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
174 # on many systems (where -lcrypt is needed), e.g. Linux (I believe).
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
175 #crypt cryptmodule.c # -lcrypt # crypt(3); needs -lcrypt on some systems
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
176
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
177
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
178 # Some more UNIX dependent modules -- off by default, since these
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
179 # are not supported by all UNIX systems:
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
180
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
181 #nis nismodule.c -lnsl # Sun yellow pages -- not everywhere
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
182 #termios termios.c # Steen Lumholt's termios module
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
183 #resource resource.c # Jeremy Hylton's rlimit interface
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
184
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
185
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
186 # Multimedia modules -- off by default.
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
187 # These don't work for 64-bit platforms!!!
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
188 # These represent audio samples or images as strings:
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
189
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
190 #audioop audioop.c # Operations on audio samples
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
191 #imageop imageop.c # Operations on images
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
192 #rgbimg rgbimgmodule.c # Read SGI RGB image files (but coded portably)
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
193
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
194
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
195 # The md5 module implements the RSA Data Security, Inc. MD5
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
196 # Message-Digest Algorithm, described in RFC 1321. The necessary files
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
197 # md5c.c and md5.h are included here.
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
198
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
199 md5 md5module.c md5c.c
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
200
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
201
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
202 # The sha module implements the SHA checksum algorithm.
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
203 # (NIST's Secure Hash Algorithm.)
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
204 sha shamodule.c
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
205
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
206
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
207 # The mpz module interfaces to the GNU Multiple Precision library.
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
208 # You need to ftp the GNU MP library.
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
209 # The GMP variable must point to the GMP source directory.
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
210 # This was originally written and tested against GMP 1.2 and 1.3.2.
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
211 # It has been modified by Rob Hooft to work with 2.0.2 as well, but I
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
212 # haven't tested it recently.
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
213
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
214 # A compatible MP library unencombered by the GPL also exists. It was
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
215 # posted to comp.sources.misc in volume 40 and is widely available from
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
216 # FTP archive sites. One URL for it is:
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
217 # ftp://gatekeeper.dec.com/.b/usenet/comp.sources.misc/volume40/fgmp/part01.Z
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
218
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
219 #GMP=/ufs/guido/src/gmp
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
220 #mpz mpzmodule.c -I$(GMP) $(GMP)/libgmp.a
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
221
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
222
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
223 # SGI IRIX specific modules -- off by default.
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
224
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
225 # These module work on any SGI machine:
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
226
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
227 # *** gl must be enabled higher up in this file ***
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
228 #fm fmmodule.c $(GLHACK) -lfm -lgl # Font Manager
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
229 #sgi sgimodule.c # sgi.nap() and a few more
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
230
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
231 # This module requires the header file
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
232 # /usr/people/4Dgifts/iristools/include/izoom.h:
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
233 #imgfile imgfile.c -limage -lgutil -lgl -lm # Image Processing Utilities
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
234
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
235
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
236 # These modules require the Multimedia Development Option (I think):
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
237
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
238 #al almodule.c -laudio # Audio Library
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
239 #cd cdmodule.c -lcdaudio -lds -lmediad # CD Audio Library
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
240 #cl clmodule.c -lcl -lawareaudio # Compression Library
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
241 #sv svmodule.c yuvconvert.c -lsvideo -lXext -lX11 # Starter Video
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
242
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
243
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
244 # The FORMS library, by Mark Overmars, implements user interface
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
245 # components such as dialogs and buttons using SGI's GL and FM
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
246 # libraries. You must ftp the FORMS library separately from
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
247 # ftp://ftp.cs.ruu.nl/pub/SGI/FORMS. It was tested with FORMS 2.2a.
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
248 # NOTE: if you want to be able to use FORMS and curses simultaneously
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
249 # (or both link them statically into the same binary), you must
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
250 # compile all of FORMS with the cc option "-Dclear=__GLclear".
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
251
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
252 # The FORMS variable must point to the FORMS subdirectory of the forms
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
253 # toplevel directory:
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
254
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
255 #FORMS=/ufs/guido/src/forms/FORMS
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
256 #fl flmodule.c -I$(FORMS) $(GLHACK) $(FORMS)/libforms.a -lfm -lgl
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
257
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
258
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
259 # SunOS specific modules -- off by default:
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
260
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
261 #sunaudiodev sunaudiodev.c
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
262
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
263
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
264 # Linux specific modules -- off by default:
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
265
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
266 #linuxaudiodev linuxaudiodev.c
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
267
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
268
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
269 # George Neville-Neil's timing module:
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
270
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
271 #timing timingmodule.c
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
272
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
273
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
274 # The _tkinter module.
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
275 #
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
276 # The TKPATH variable is always enabled, to save you the effort.
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
277 TKPATH=:lib-tk
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
278
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
279 # The command for _tkinter is long and site specific. Please
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
280 # uncomment and/or edit those parts as indicated. If you don't have a
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
281 # specific extension (e.g. Tix or BLT), leave the corresponding line
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
282 # commented out. (Leave the trailing backslashes in! If you
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
283 # experience strange errors, you may want to join all uncommented
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
284 # lines and remove the backslashes -- the backslash interpretation is
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
285 # done by the shell's "read" command and it may not be implemented on
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
286 # every system.
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
287
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
288 # *** Always uncomment this (leave the leading underscore in!):
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
289 # _tkinter _tkinter.c tkappinit.c -DWITH_APPINIT \
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
290 # *** Uncomment and edit to reflect where your Tcl/Tk headers are:
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
291 # -I/usr/local/include \
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
292 # *** Uncomment and edit to reflect where your X11 header files are:
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
293 # -I/usr/X11R6/include \
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
294 # *** Or uncomment this for Solaris:
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
295 # -I/usr/openwin/include \
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
296 # *** Uncomment and edit for Tix extension only:
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
297 # -DWITH_TIX -ltix4.1.8.0 \
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
298 # *** Uncomment and edit for BLT extension only:
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
299 # -DWITH_BLT -I/usr/local/blt/blt8.0-unoff/include -lBLT8.0 \
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
300 # *** Uncomment and edit for PIL (TkImaging) extension only:
15516
c13336572f4f Add URL with info for PIL.
Guido van Rossum <guido@python.org>
parents: 15342
diff changeset
301 # (See http://www.pythonware.com/products/pil/ for more info)
15342
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
302 # -DWITH_PIL -I../Extensions/Imaging/libImaging tkImaging.c \
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
303 # *** Uncomment and edit for TOGL extension only:
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
304 # -DWITH_TOGL togl.c \
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
305 # *** Uncomment and edit to reflect where your Tcl/Tk libraries are:
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
306 # -L/usr/local/lib \
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
307 # *** Uncomment and edit to reflect your Tcl/Tk versions:
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
308 # -ltk8.0 -ltcl8.0 \
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
309 # *** Uncomment and edit to reflect where your X11 libraries are:
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
310 # -L/usr/X11R6/lib \
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
311 # *** Or uncomment this for Solaris:
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
312 # -L/usr/openwin/lib \
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
313 # *** Uncomment these for TOGL extension only:
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
314 # -lGL -lGLU -lXext -lXmu \
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
315 # *** Uncomment for AIX:
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
316 # -lld \
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
317 # *** Always uncomment this; X11 libraries to link with:
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
318 # -lX11
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
319
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
320 # Lance Ellinghaus's modules:
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
321
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
322 rotor rotormodule.c # enigma-inspired encryption
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
323 #syslog syslogmodule.c # syslog daemon interface
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
324
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
325
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
326 # Curses support, requring the System V version of curses, often
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
327 # provided by the ncurses library. e.g. on Linux, link with -lncurses
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
328 # instead of -lcurses; on SunOS 4.1.3, insert -I/usr/5include
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
329 # -L/usr/5lib before -lcurses).
15798
d027e85e209f Adapted version of Eric Raymond's patches to automatically configure
Guido van Rossum <guido@python.org>
parents: 15778
diff changeset
330 #
d027e85e209f Adapted version of Eric Raymond's patches to automatically configure
Guido van Rossum <guido@python.org>
parents: 15778
diff changeset
331 # First, look at Setup.config; configure may have set this for you.
15342
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
332
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
333 #_curses _cursesmodule.c -lcurses -ltermcap
15648
1a4a5a936f50 Add _curses_panel to Setup
Andrew M. Kuchling <amk@amk.ca>
parents: 15516
diff changeset
334 # Wrapper for the panel library that's part of ncurses and SYSV curses.
1a4a5a936f50 Add _curses_panel to Setup
Andrew M. Kuchling <amk@amk.ca>
parents: 15516
diff changeset
335 #_curses_panel _curses_panel.c -lpanel -lncurses
15342
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
336
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
337
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
338 # Tommy Burnette's 'new' module (creates new empty objects of certain kinds):
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
339
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
340 new newmodule.c
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
341
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
342
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
343 # Generic (SunOS / SVR4) dynamic loading module.
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
344 # This is not needed for dynamic loading of Python modules --
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
345 # it is a highly experimental and dangerous device for calling
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
346 # *arbitrary* C functions in *arbitrary* shared libraries:
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
347
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
348 #dl dlmodule.c
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
349
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
350
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
351 # Modules that provide persistent dictionary-like semantics. You will
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
352 # probably want to arrange for at least one of them to be available on
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
353 # your machine, though none are defined by default because of library
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
354 # dependencies. The Python module anydbm.py provides an
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
355 # implementation independent wrapper for these; dumbdbm.py provides
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
356 # similar functionality (but slower of course) implemented in Python.
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
357
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
358 # The standard Unix dbm module:
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
359
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
360 #dbm dbmmodule.c # dbm(3) may require -lndbm or similar
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
361
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
362 # Anthony Baxter's gdbm module. GNU dbm(3) will require -lgdbm:
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
363
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
364 #gdbm gdbmmodule.c -I/usr/local/include -L/usr/local/lib -lgdbm
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
365
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
366
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
367 # Berkeley DB interface.
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
368 #
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
369 # This requires the Berkeley DB code, see
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
370 # ftp://ftp.cs.berkeley.edu/pub/4bsd/db.1.85.tar.gz
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
371 #
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
372 # Edit the variables DB and DBPORT to point to the db top directory
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
373 # and the subdirectory of PORT where you built it.
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
374 #
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
375 # (See http://electricrain.com/greg/python/bsddb3/ for an interface to
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
376 # BSD DB 3.x.)
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
377
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
378 # Note: If a db.h file is found by configure, bsddb will be enabled
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
379 # automatically via Setup.config.in. It only needs to be enabled here
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
380 # if it is not automatically enabled there; check the generated
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
381 # Setup.config before enabling it here.
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
382
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
383 #DB=/depot/sundry/src/berkeley-db/db.1.85
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
384 #DBPORT=$(DB)/PORT/irix.5.3
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
385 #bsddb bsddbmodule.c -I$(DBPORT)/include -I$(DBPORT) $(DBPORT)/libdb.a
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
386
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
387
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
388
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
389 # David Wayne Williams' soundex module (obsolete -- this will disappear!)
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
390 #soundex soundex.c
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
391
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
392 # Helper module for various ascii-encoders
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
393 binascii binascii.c
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
394
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
395 # Fred Drake's interface to the Python parser
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
396 parser parsermodule.c
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
397
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
398 # Digital Creations' cStringIO and cPickle
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
399 cStringIO cStringIO.c
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
400 cPickle cPickle.c
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
401
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
402
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
403 # Lee Busby's SIGFPE modules.
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
404 # The library to link fpectl with is platform specific.
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
405 # Choose *one* of the options below for fpectl:
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
406
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
407 # For SGI IRIX (tested on 5.3):
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
408 #fpectl fpectlmodule.c -lfpe
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
409
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
410 # For Solaris with SunPro compiler (tested on Solaris 2.5 with SunPro C 4.2):
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
411 # (Without the compiler you don't have -lsunmath.)
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
412 #fpectl fpectlmodule.c -R/opt/SUNWspro/lib -lsunmath -lm
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
413
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
414 # For other systems: see instructions in fpectlmodule.c.
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
415 #fpectl fpectlmodule.c ...
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
416
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
417 # Test module for fpectl. No extra libraries needed.
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
418 #fpetest fpetestmodule.c
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
419
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
420 # Andrew Kuchling's zlib module.
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
421 # This require zlib 1.1.3 (or later).
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
422 # See http://www.cdrom.com/pub/infozip/zlib/
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
423 #zlib zlibmodule.c -I$(prefix)/include -L$(exec_prefix)/lib -lz
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
424
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
425 # Interface to the Expat XML parser
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
426 #
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
427 # Expat is written by James Clark and must be downloaded separately
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
428 # (see below). The pyexpat module was written by Paul Prescod after a
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
429 # prototype by Jack Jansen.
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
430 #
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
431 # The Expat dist includes Windows .lib and .dll files. Home page is at
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
432 # http://www.jclark.com/xml/expat.html, the current production release is
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
433 # always ftp://ftp.jclark.com/pub/xml/expat.zip.
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
434 #
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
435 # EXPAT_DIR, below, should point to the expat/ directory created by
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
436 # unpacking the Expat source distribution.
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
437 #
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
438 # Note: the expat build process doesn't yet build a libexpat.a; you can
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
439 # do this manually while we try convince the author to add it. To do so,
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
440 # cd to EXPAT_DIR, run "make" if you have not done so, then run:
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
441 #
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
442 # ar cr libexpat.a xmltok/*.o xmlparse/*.o
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
443 #
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
444 #EXPAT_DIR=/usr/local/src/expat
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
445 #pyexpat pyexpat.c -I$(EXPAT_DIR)/xmlparse -L$(EXPAT_DIR) -lexpat
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
446
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
447
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
448 # Example -- included for reference only:
cb11fa5b11f4 Rename Setup.in to Setup.dist, and assume that configure will create
Fred Drake <fdrake@acm.org>
parents:
diff changeset
449 # xx xxmodule.c