Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit be9f149

Browse files
committed
Various layout changes; some extra warnings; for IRIX, IRIX 5 is the default.
1 parent cc1b8d5 commit be9f149

1 file changed

Lines changed: 31 additions & 18 deletions

File tree

Modules/Setup.in

Lines changed: 31 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ PYTHONPATH=$(COREPYTHONPATH)
6565

6666

6767
# Modules that should always be present (non UNIX dependent)
68+
# NB when using shared libraries, don't make posix a shared library!
6869

6970
array arraymodule.c # array objects
7071
math mathmodule.c -lm # math library functions, e.g. sin()
@@ -155,16 +156,17 @@ md5 md5module.c md5c.c
155156
# Note that some required libraries and header files aren't always
156157
# installed; you may be better off switching on only 'fm' and 'gl'
157158
# (Font Manager and Graphics Library).
159+
# NB when using shared libraries, don't make gl a shared library!
158160

159-
# # ADD THESE FOR IRIX5:
161+
# # THESE ARE ONLY FOR IRIX5:
160162
#al almodule.c -laudio
161-
#cd cdmodule.c -lcdaudio -lds # -lmediad
162-
#cl clmodule.c -lcl # -lawareaudio
163-
#fm fmmodule.c -lfm_s -lgl_s
164-
#gl glmodule.c -lgl_s -lX11_s
165-
#imgfile imgfile.c -limage -lgutil
163+
#cd cdmodule.c -lcdaudio -lds -lmediad
164+
#cl clmodule.c -lcl -lawareaudio
165+
#fm fmmodule.c -lfm -lgl
166+
#gl glmodule.c -lgl -lX11
167+
#imgfile imgfile.c -limage -lgutil -lm
166168
#sgi sgimodule.c
167-
#sv svmodule.c yuvconvert.c -lsvideo -lXext -lX11_s
169+
#sv svmodule.c yuvconvert.c -lsvideo -lXext -lX11
168170

169171
# The FORMS library, by Mark Overmars, implements user interface
170172
# components such as dialogs and buttons using SGI's GL and FM
@@ -174,60 +176,71 @@ md5 md5module.c md5c.c
174176
# toplevel directory.
175177

176178
#FORMS=/ufs/guido/src/forms/FORMS
177-
#fl flmodule.c -I$(FORMS) $(FORMS)/libforms.a -lfm_s -lgl_s
179+
#fl flmodule.c -I$(FORMS) $(FORMS)/libforms.a -lfm -lgl
178180

179181

180182
# SunOS specific modules -- off by default
181183

182-
# sunaudiodev sunaudiodev.c
184+
#sunaudiodev sunaudiodev.c
183185

184186

185187
# Thread module -- works on SGI IRIX and on SunOS 5.x (SOLARIS) only.
186188
# Note that you must have configured (and built!) Python with the
187189
# --with-thread option passed to the configure script for this to work.
190+
# NB when using shared libraries, don't make thread a shared library!
188191

189-
# thread threadmodule.c
192+
#thread threadmodule.c
190193

191194

192195
# GNN's timing module
193-
# timing timingmodule.c
196+
197+
#timing timingmodule.c
194198

195199

196200
# Steen Lumholt's tkinter module. For use with plain Tk, use the
197201
# first line. For use with extended Tk, edit tkappinit.c, add
198202
# appropriate -DWITH_... and libraries/objects to the second line, and
199203
# use that. In all cases also enable the last line (TKPATH).
200204

205+
# *** Use ONE of the following two lines, see previous comments ***
201206
#tkinter tkintermodule.c -I/usr/local/include -L/usr/local/lib -ltk -ltcl -lX11
202207
#tkinter tkintermodule.c tkappinit.c -DWITH_APPINIT -I/usr/local/include -L/usr/local/lib -ltk -ltcl -lX11
208+
203209
#TKPATH=:$(DESTLIB)/tkinter
204210

205211

206212
# Lance Ellinghouse's modules
213+
207214
rotor rotormodule.c # enigma-inspired encryption
208-
# syslog syslogmodule.c # syslog daemon interface
209-
# curses cursesmodule.c -lcurses -ltermcap # guess what?
215+
#syslog syslogmodule.c # syslog daemon interface
216+
#curses cursesmodule.c -lcurses -ltermcap # guess what?
217+
210218

211219

212220
# Tommy Burnette's 'new' module (creates new empty objects of certain kinds)
213-
# new newmodule.c
221+
222+
#new newmodule.c
214223

215224

216225
# John Redford's sybase module
217-
# sybase sybasemodule.c
226+
227+
#sybase sybasemodule.c
218228

219229

220230
# Generic (SunOS / SVR4) dynamic loading module
221-
# dl dlmodule.c
231+
232+
#dl dlmodule.c
222233

223234

224235
# Jack Jansen's imgformat module
225-
# imgformat imgformat.c
236+
237+
#imgformat imgformat.c
226238

227239

228240
# Anthony Baxter's gdbm module (derived from Jack's dbm module)
229241
# GNU dbm(3) will require -lgdbm
230-
# gdbm gdbmmodule.c -I/usr/local/include -L/usr/local/lib -lgdbm
242+
243+
#gdbm gdbmmodule.c -I/usr/local/include -L/usr/local/lib -lgdbm
231244

232245

233246
# Example -- included for reference only

0 commit comments

Comments
 (0)