Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
28a83ab3
Commit
28a83ab3
authored
Jan 18, 1991
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Made all configurable options optional (see Makefile).
parent
e8e7cf49
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
5 deletions
+16
-5
Modules/config.c.in
Modules/config.c.in
+16
-5
No files found.
Modules/config.c.in
View file @
28a83ab3
/* Configura
tion containing EVERYTHING
*/
/* Configura
ble Python configuration file
*/
/* At CWI, this implies stdwin, audio, Amoeba and the NASA Panel Library */
#define USE_AUDIO
#define USE_AMOEBA
#define USE_PANEL
#ifdef USE_STDWIN
#include <stdwin.h>
static int use_stdwin;
#endif
/*ARGSUSED*/
void
...
...
@@ -13,6 +12,7 @@ initargs(p_argc, p_argv)
int *p_argc;
char ***p_argv;
{
#ifdef USE_STDWIN
extern char *getenv();
char *display;
...
...
@@ -44,6 +44,7 @@ initargs(p_argc, p_argv)
if (use_stdwin)
winitargs(p_argc, p_argv);
#endif
}
void
...
...
@@ -53,25 +54,35 @@ initcalls()
initmath();
initregexp();
initposix();
#ifdef USE_AUDIO
initaudio();
#endif
#ifdef USE_AMOEBA
initamoeba();
#endif
#ifdef USE_GL
initgl();
#ifdef USE_PANEL
initpanel();
#endif
#endif
#ifdef USE_STDWIN
if (use_stdwin)
initstdwin();
#endif
}
void
donecalls()
{
#ifdef USE_STDWIN
if (use_stdwin)
wdone();
#endif
#ifdef USE_AUDIO
asa_done();
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment