Mercurial > cpython-lru_cache-weakref
annotate Mac/Include/config.h @ 5817:48b94de85bf3 legacy-trunk
Extensive changes by AMK.
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Thu, 17 Jul 1997 16:29:42 +0000 |
| parents | d6b292a33cfe |
| children | 4e1f89a12f99 |
| rev | line source |
|---|---|
|
5079
d6b292a33cfe
Added/updated copyright notices
Jack Jansen <jack.jansen@cwi.nl>
parents:
4924
diff
changeset
|
1 /*********************************************************** |
|
d6b292a33cfe
Added/updated copyright notices
Jack Jansen <jack.jansen@cwi.nl>
parents:
4924
diff
changeset
|
2 Copyright 1991-1997 by Stichting Mathematisch Centrum, Amsterdam, |
|
d6b292a33cfe
Added/updated copyright notices
Jack Jansen <jack.jansen@cwi.nl>
parents:
4924
diff
changeset
|
3 The Netherlands. |
|
d6b292a33cfe
Added/updated copyright notices
Jack Jansen <jack.jansen@cwi.nl>
parents:
4924
diff
changeset
|
4 |
|
d6b292a33cfe
Added/updated copyright notices
Jack Jansen <jack.jansen@cwi.nl>
parents:
4924
diff
changeset
|
5 All Rights Reserved |
|
d6b292a33cfe
Added/updated copyright notices
Jack Jansen <jack.jansen@cwi.nl>
parents:
4924
diff
changeset
|
6 |
|
d6b292a33cfe
Added/updated copyright notices
Jack Jansen <jack.jansen@cwi.nl>
parents:
4924
diff
changeset
|
7 Permission to use, copy, modify, and distribute this software and its |
|
d6b292a33cfe
Added/updated copyright notices
Jack Jansen <jack.jansen@cwi.nl>
parents:
4924
diff
changeset
|
8 documentation for any purpose and without fee is hereby granted, |
|
d6b292a33cfe
Added/updated copyright notices
Jack Jansen <jack.jansen@cwi.nl>
parents:
4924
diff
changeset
|
9 provided that the above copyright notice appear in all copies and that |
|
d6b292a33cfe
Added/updated copyright notices
Jack Jansen <jack.jansen@cwi.nl>
parents:
4924
diff
changeset
|
10 both that copyright notice and this permission notice appear in |
|
d6b292a33cfe
Added/updated copyright notices
Jack Jansen <jack.jansen@cwi.nl>
parents:
4924
diff
changeset
|
11 supporting documentation, and that the names of Stichting Mathematisch |
|
d6b292a33cfe
Added/updated copyright notices
Jack Jansen <jack.jansen@cwi.nl>
parents:
4924
diff
changeset
|
12 Centrum or CWI not be used in advertising or publicity pertaining to |
|
d6b292a33cfe
Added/updated copyright notices
Jack Jansen <jack.jansen@cwi.nl>
parents:
4924
diff
changeset
|
13 distribution of the software without specific, written prior permission. |
|
d6b292a33cfe
Added/updated copyright notices
Jack Jansen <jack.jansen@cwi.nl>
parents:
4924
diff
changeset
|
14 |
|
d6b292a33cfe
Added/updated copyright notices
Jack Jansen <jack.jansen@cwi.nl>
parents:
4924
diff
changeset
|
15 STICHTING MATHEMATISCH CENTRUM DISCLAIMS ALL WARRANTIES WITH REGARD TO |
|
d6b292a33cfe
Added/updated copyright notices
Jack Jansen <jack.jansen@cwi.nl>
parents:
4924
diff
changeset
|
16 THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND |
|
d6b292a33cfe
Added/updated copyright notices
Jack Jansen <jack.jansen@cwi.nl>
parents:
4924
diff
changeset
|
17 FITNESS, IN NO EVENT SHALL STICHTING MATHEMATISCH CENTRUM BE LIABLE |
|
d6b292a33cfe
Added/updated copyright notices
Jack Jansen <jack.jansen@cwi.nl>
parents:
4924
diff
changeset
|
18 FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES |
|
d6b292a33cfe
Added/updated copyright notices
Jack Jansen <jack.jansen@cwi.nl>
parents:
4924
diff
changeset
|
19 WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN |
|
d6b292a33cfe
Added/updated copyright notices
Jack Jansen <jack.jansen@cwi.nl>
parents:
4924
diff
changeset
|
20 ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT |
|
d6b292a33cfe
Added/updated copyright notices
Jack Jansen <jack.jansen@cwi.nl>
parents:
4924
diff
changeset
|
21 OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
|
d6b292a33cfe
Added/updated copyright notices
Jack Jansen <jack.jansen@cwi.nl>
parents:
4924
diff
changeset
|
22 |
|
d6b292a33cfe
Added/updated copyright notices
Jack Jansen <jack.jansen@cwi.nl>
parents:
4924
diff
changeset
|
23 ******************************************************************/ |
|
d6b292a33cfe
Added/updated copyright notices
Jack Jansen <jack.jansen@cwi.nl>
parents:
4924
diff
changeset
|
24 |
| 4022 | 25 /* config.h for Macintosh. |
| 26 Most recently tested with CodeWarrior C (define: __MWERKS__), | |
| 27 but there are some provisions for Think C (define: THINK_C), | |
| 28 Apple C for MPW (define: applec), or Symantec C for MPW (define: __SC__). | |
| 29 There's no point in giving exact version numbers of the compilers | |
| 30 since we don't update this file as each compiler comes out; | |
| 31 with CodeWarrior, we generally use the most recent version. | |
| 32 */ | |
| 33 | |
| 34 #define USE_STACKCHECK | |
|
1822
76d0f2b3b9ee
Completed (hopefully) the unification of THINK 6.0 and MPW 3.2
Guido van Rossum <guido@python.org>
parents:
1808
diff
changeset
|
35 |
|
2379
1a20d5058744
put #undefs insize comments; rationalize MPW support
Guido van Rossum <guido@python.org>
parents:
2185
diff
changeset
|
36 #ifdef applec |
|
1a20d5058744
put #undefs insize comments; rationalize MPW support
Guido van Rossum <guido@python.org>
parents:
2185
diff
changeset
|
37 #define MPW |
|
1822
76d0f2b3b9ee
Completed (hopefully) the unification of THINK 6.0 and MPW 3.2
Guido van Rossum <guido@python.org>
parents:
1808
diff
changeset
|
38 #endif |
| 1495 | 39 |
| 2178 | 40 /* Define if on Macintosh (THINK_C, MPW or __MWERKS__ should also be defined) */ |
|
2379
1a20d5058744
put #undefs insize comments; rationalize MPW support
Guido van Rossum <guido@python.org>
parents:
2185
diff
changeset
|
41 #ifndef macintosh |
| 1614 | 42 #define macintosh |
|
2379
1a20d5058744
put #undefs insize comments; rationalize MPW support
Guido van Rossum <guido@python.org>
parents:
2185
diff
changeset
|
43 #endif |
| 1495 | 44 |
|
2185
9c8b4323808b
ported Jacks changes back to think C
Guido van Rossum <guido@python.org>
parents:
2178
diff
changeset
|
45 #ifdef THINK_C |
|
9c8b4323808b
ported Jacks changes back to think C
Guido van Rossum <guido@python.org>
parents:
2178
diff
changeset
|
46 #define HAVE_FOPENRF |
|
9c8b4323808b
ported Jacks changes back to think C
Guido van Rossum <guido@python.org>
parents:
2178
diff
changeset
|
47 #endif |
| 3394 | 48 |
| 4462 | 49 #ifdef __MWERKS__ |
| 50 #define HAVE_STRFTIME | |
| 51 #endif | |
| 52 | |
| 3394 | 53 #ifdef USE_GUSI |
| 54 /* GUSI provides a lot of unixisms */ | |
| 55 #define HAVE_SELECT | |
| 56 #define DIRENT | |
| 57 #define HAVE_GETPEERNAME | |
| 58 #define HAVE_SELECT | |
| 59 #define HAVE_FCNTL_H | |
| 60 #define HAVE_SYS_TIME_H | |
| 61 #define HAVE_UNISTD_H | |
| 62 #endif | |
|
2185
9c8b4323808b
ported Jacks changes back to think C
Guido van Rossum <guido@python.org>
parents:
2178
diff
changeset
|
63 |
|
2794
823f3a8ecfe4
Initial port to CodeWarrior CFM68K support (mainly by disabling
Jack Jansen <jack.jansen@cwi.nl>
parents:
2419
diff
changeset
|
64 #ifdef SYMANTEC__CFM68K__ |
|
2390
ddb13862fbb2
hacks for atoi/strtod in __SC__
Guido van Rossum <guido@python.org>
parents:
2379
diff
changeset
|
65 #define atof Py_AtoF |
|
ddb13862fbb2
hacks for atoi/strtod in __SC__
Guido van Rossum <guido@python.org>
parents:
2379
diff
changeset
|
66 #define strtod Py_StrToD |
|
ddb13862fbb2
hacks for atoi/strtod in __SC__
Guido van Rossum <guido@python.org>
parents:
2379
diff
changeset
|
67 #endif |
|
ddb13862fbb2
hacks for atoi/strtod in __SC__
Guido van Rossum <guido@python.org>
parents:
2379
diff
changeset
|
68 |
| 1495 | 69 /* Define if on AIX 3. |
| 70 System headers sometimes define this. | |
| 71 We just want to avoid a redefinition error message. */ | |
| 72 #ifndef _ALL_SOURCE | |
|
2379
1a20d5058744
put #undefs insize comments; rationalize MPW support
Guido van Rossum <guido@python.org>
parents:
2185
diff
changeset
|
73 /* #undef _ALL_SOURCE */ |
| 1495 | 74 #endif |
| 75 | |
|
1795
fa8bbd09f2e6
Updates for THINK C 6.0. Moved the necessary UNIX emulation routines here.
Guido van Rossum <guido@python.org>
parents:
1614
diff
changeset
|
76 /* Define if type char is unsigned and you are not using gcc. */ |
|
2379
1a20d5058744
put #undefs insize comments; rationalize MPW support
Guido van Rossum <guido@python.org>
parents:
2185
diff
changeset
|
77 /* #undef __CHAR_UNSIGNED__ */ |
|
1795
fa8bbd09f2e6
Updates for THINK C 6.0. Moved the necessary UNIX emulation routines here.
Guido van Rossum <guido@python.org>
parents:
1614
diff
changeset
|
78 |
| 1495 | 79 /* Define to empty if the keyword does not work. */ |
|
2379
1a20d5058744
put #undefs insize comments; rationalize MPW support
Guido van Rossum <guido@python.org>
parents:
2185
diff
changeset
|
80 /* #undef const */ |
| 1495 | 81 |
| 82 /* Define if you have dirent.h. */ | |
|
2379
1a20d5058744
put #undefs insize comments; rationalize MPW support
Guido van Rossum <guido@python.org>
parents:
2185
diff
changeset
|
83 /* #undef DIRENT */ |
| 1495 | 84 |
| 85 /* Define to the type of elements in the array set by `getgroups'. | |
| 86 Usually this is either `int' or `gid_t'. */ | |
|
2379
1a20d5058744
put #undefs insize comments; rationalize MPW support
Guido van Rossum <guido@python.org>
parents:
2185
diff
changeset
|
87 /* #undef GETGROUPS_T */ |
| 1495 | 88 |
| 89 /* Define to `int' if <sys/types.h> doesn't define. */ | |
|
2379
1a20d5058744
put #undefs insize comments; rationalize MPW support
Guido van Rossum <guido@python.org>
parents:
2185
diff
changeset
|
90 /* #undef gid_t */ |
| 1495 | 91 |
| 92 /* Define if your struct tm has tm_zone. */ | |
|
2379
1a20d5058744
put #undefs insize comments; rationalize MPW support
Guido van Rossum <guido@python.org>
parents:
2185
diff
changeset
|
93 /* #undef HAVE_TM_ZONE */ |
| 1495 | 94 |
| 95 /* Define if you don't have tm_zone but do have the external array | |
| 96 tzname. */ | |
|
2379
1a20d5058744
put #undefs insize comments; rationalize MPW support
Guido van Rossum <guido@python.org>
parents:
2185
diff
changeset
|
97 /* #undef HAVE_TZNAME */ |
| 1495 | 98 |
| 99 /* Define if on MINIX. */ | |
|
2379
1a20d5058744
put #undefs insize comments; rationalize MPW support
Guido van Rossum <guido@python.org>
parents:
2185
diff
changeset
|
100 /* #undef _MINIX */ |
| 1495 | 101 |
| 102 /* Define to `int' if <sys/types.h> doesn't define. */ | |
|
2379
1a20d5058744
put #undefs insize comments; rationalize MPW support
Guido van Rossum <guido@python.org>
parents:
2185
diff
changeset
|
103 /* #undef mode_t */ |
| 1495 | 104 |
| 105 /* Define if you don't have dirent.h, but have ndir.h. */ | |
|
2379
1a20d5058744
put #undefs insize comments; rationalize MPW support
Guido van Rossum <guido@python.org>
parents:
2185
diff
changeset
|
106 /* #undef NDIR */ |
| 1495 | 107 |
| 108 /* Define to `long' if <sys/types.h> doesn't define. */ | |
|
2379
1a20d5058744
put #undefs insize comments; rationalize MPW support
Guido van Rossum <guido@python.org>
parents:
2185
diff
changeset
|
109 /* #undef off_t */ |
| 1495 | 110 |
| 111 /* Define to `int' if <sys/types.h> doesn't define. */ | |
|
2379
1a20d5058744
put #undefs insize comments; rationalize MPW support
Guido van Rossum <guido@python.org>
parents:
2185
diff
changeset
|
112 /* #undef pid_t */ |
| 1495 | 113 |
| 114 /* Define if the system does not provide POSIX.1 features except | |
| 115 with this defined. */ | |
|
2379
1a20d5058744
put #undefs insize comments; rationalize MPW support
Guido van Rossum <guido@python.org>
parents:
2185
diff
changeset
|
116 /* #undef _POSIX_1_SOURCE */ |
| 1495 | 117 |
| 118 /* Define if you need to in order for stat and other things to work. */ | |
|
2379
1a20d5058744
put #undefs insize comments; rationalize MPW support
Guido van Rossum <guido@python.org>
parents:
2185
diff
changeset
|
119 /* #undef _POSIX_SOURCE */ |
| 1495 | 120 |
| 121 /* Define as the return type of signal handlers (int or void). */ | |
| 122 #define RETSIGTYPE void | |
| 123 | |
| 124 /* Define to `unsigned' if <sys/types.h> doesn't define. */ | |
|
2379
1a20d5058744
put #undefs insize comments; rationalize MPW support
Guido van Rossum <guido@python.org>
parents:
2185
diff
changeset
|
125 /* #undef size_t */ |
| 1495 | 126 |
| 127 /* Define if you have the ANSI C header files. */ | |
| 128 #define STDC_HEADERS | |
| 129 | |
| 130 /* Define if you don't have dirent.h, but have sys/dir.h. */ | |
|
2379
1a20d5058744
put #undefs insize comments; rationalize MPW support
Guido van Rossum <guido@python.org>
parents:
2185
diff
changeset
|
131 /* #undef SYSDIR */ |
| 1495 | 132 |
| 133 /* Define if you don't have dirent.h, but have sys/ndir.h. */ | |
|
2379
1a20d5058744
put #undefs insize comments; rationalize MPW support
Guido van Rossum <guido@python.org>
parents:
2185
diff
changeset
|
134 /* #undef SYSNDIR */ |
| 1495 | 135 |
| 136 /* Define if you can safely include both <sys/time.h> and <time.h>. */ | |
|
2379
1a20d5058744
put #undefs insize comments; rationalize MPW support
Guido van Rossum <guido@python.org>
parents:
2185
diff
changeset
|
137 /* #undef TIME_WITH_SYS_TIME */ |
| 1495 | 138 |
| 139 /* Define if your <sys/time.h> declares struct tm. */ | |
|
2379
1a20d5058744
put #undefs insize comments; rationalize MPW support
Guido van Rossum <guido@python.org>
parents:
2185
diff
changeset
|
140 /* #undef TM_IN_SYS_TIME */ |
| 1495 | 141 |
| 142 /* Define to `int' if <sys/types.h> doesn't define. */ | |
|
2379
1a20d5058744
put #undefs insize comments; rationalize MPW support
Guido van Rossum <guido@python.org>
parents:
2185
diff
changeset
|
143 /* #undef uid_t */ |
| 1495 | 144 |
| 145 /* Define if the closedir function returns void instead of int. */ | |
|
2379
1a20d5058744
put #undefs insize comments; rationalize MPW support
Guido van Rossum <guido@python.org>
parents:
2185
diff
changeset
|
146 /* #undef VOID_CLOSEDIR */ |
| 1495 | 147 |
| 148 /* Define if your <unistd.h> contains bad prototypes for exec*() | |
| 149 (as it does on SGI IRIX 4.x) */ | |
|
2379
1a20d5058744
put #undefs insize comments; rationalize MPW support
Guido van Rossum <guido@python.org>
parents:
2185
diff
changeset
|
150 /* #undef BAD_EXEC_PROTOTYPES */ |
| 1495 | 151 |
|
2379
1a20d5058744
put #undefs insize comments; rationalize MPW support
Guido van Rossum <guido@python.org>
parents:
2185
diff
changeset
|
152 /* Define if your compiler botches static forward declarations */ |
|
2029
2a3c8bebf156
Added support for MetroWerks CodeWarrior compiler
Jack Jansen <jack.jansen@cwi.nl>
parents:
1822
diff
changeset
|
153 #ifdef __MWERKS__ |
|
2a3c8bebf156
Added support for MetroWerks CodeWarrior compiler
Jack Jansen <jack.jansen@cwi.nl>
parents:
1822
diff
changeset
|
154 #define BAD_STATIC_FORWARD |
|
2379
1a20d5058744
put #undefs insize comments; rationalize MPW support
Guido van Rossum <guido@python.org>
parents:
2185
diff
changeset
|
155 #endif |
|
1a20d5058744
put #undefs insize comments; rationalize MPW support
Guido van Rossum <guido@python.org>
parents:
2185
diff
changeset
|
156 #ifdef __SC__ |
|
1a20d5058744
put #undefs insize comments; rationalize MPW support
Guido van Rossum <guido@python.org>
parents:
2185
diff
changeset
|
157 #define BAD_STATIC_FORWARD |
|
2029
2a3c8bebf156
Added support for MetroWerks CodeWarrior compiler
Jack Jansen <jack.jansen@cwi.nl>
parents:
1822
diff
changeset
|
158 #endif |
|
1795
fa8bbd09f2e6
Updates for THINK C 6.0. Moved the necessary UNIX emulation routines here.
Guido van Rossum <guido@python.org>
parents:
1614
diff
changeset
|
159 |
|
fa8bbd09f2e6
Updates for THINK C 6.0. Moved the necessary UNIX emulation routines here.
Guido van Rossum <guido@python.org>
parents:
1614
diff
changeset
|
160 /* Define to `long' if <time.h> doesn't define. */ |
|
2379
1a20d5058744
put #undefs insize comments; rationalize MPW support
Guido van Rossum <guido@python.org>
parents:
2185
diff
changeset
|
161 /* #undef clock_t */ |
|
1795
fa8bbd09f2e6
Updates for THINK C 6.0. Moved the necessary UNIX emulation routines here.
Guido van Rossum <guido@python.org>
parents:
1614
diff
changeset
|
162 |
| 1495 | 163 /* Define if getpgrp() must be called as getpgrp(0) |
| 164 and (consequently) setpgrp() as setpgrp(0, 0). */ | |
|
2379
1a20d5058744
put #undefs insize comments; rationalize MPW support
Guido van Rossum <guido@python.org>
parents:
2185
diff
changeset
|
165 /* #undef GETPGRP_HAVE_ARG */ |
|
1795
fa8bbd09f2e6
Updates for THINK C 6.0. Moved the necessary UNIX emulation routines here.
Guido van Rossum <guido@python.org>
parents:
1614
diff
changeset
|
166 |
|
fa8bbd09f2e6
Updates for THINK C 6.0. Moved the necessary UNIX emulation routines here.
Guido van Rossum <guido@python.org>
parents:
1614
diff
changeset
|
167 /* Define this if your time.h defines altzone */ |
|
2379
1a20d5058744
put #undefs insize comments; rationalize MPW support
Guido van Rossum <guido@python.org>
parents:
2185
diff
changeset
|
168 /* #undef HAVE_ALTZONE */ |
| 1495 | 169 |
| 170 /* Define if your compiler supports function prototypes */ | |
| 171 #define HAVE_PROTOTYPES | |
| 172 | |
|
1795
fa8bbd09f2e6
Updates for THINK C 6.0. Moved the necessary UNIX emulation routines here.
Guido van Rossum <guido@python.org>
parents:
1614
diff
changeset
|
173 /* Define if your compiler supports variable length function prototypes |
|
fa8bbd09f2e6
Updates for THINK C 6.0. Moved the necessary UNIX emulation routines here.
Guido van Rossum <guido@python.org>
parents:
1614
diff
changeset
|
174 (e.g. void fprintf(FILE *, char *, ...);) *and* <stdarg.h> */ |
|
fa8bbd09f2e6
Updates for THINK C 6.0. Moved the necessary UNIX emulation routines here.
Guido van Rossum <guido@python.org>
parents:
1614
diff
changeset
|
175 #define HAVE_STDARG_PROTOTYPES |
|
fa8bbd09f2e6
Updates for THINK C 6.0. Moved the necessary UNIX emulation routines here.
Guido van Rossum <guido@python.org>
parents:
1614
diff
changeset
|
176 |
|
fa8bbd09f2e6
Updates for THINK C 6.0. Moved the necessary UNIX emulation routines here.
Guido van Rossum <guido@python.org>
parents:
1614
diff
changeset
|
177 /* Define if you have POSIX threads */ |
|
2379
1a20d5058744
put #undefs insize comments; rationalize MPW support
Guido van Rossum <guido@python.org>
parents:
2185
diff
changeset
|
178 /* #undef _POSIX_THREADS */ |
|
1795
fa8bbd09f2e6
Updates for THINK C 6.0. Moved the necessary UNIX emulation routines here.
Guido van Rossum <guido@python.org>
parents:
1614
diff
changeset
|
179 |
|
fa8bbd09f2e6
Updates for THINK C 6.0. Moved the necessary UNIX emulation routines here.
Guido van Rossum <guido@python.org>
parents:
1614
diff
changeset
|
180 /* Define to empty if the keyword does not work. */ |
|
2379
1a20d5058744
put #undefs insize comments; rationalize MPW support
Guido van Rossum <guido@python.org>
parents:
2185
diff
changeset
|
181 /* #undef signed */ |
|
1795
fa8bbd09f2e6
Updates for THINK C 6.0. Moved the necessary UNIX emulation routines here.
Guido van Rossum <guido@python.org>
parents:
1614
diff
changeset
|
182 |
| 1495 | 183 /* Define if you can safely include both <sys/select.h> and <sys/time.h> |
| 184 (which you can't on SCO ODT 3.0). */ | |
|
2379
1a20d5058744
put #undefs insize comments; rationalize MPW support
Guido van Rossum <guido@python.org>
parents:
2185
diff
changeset
|
185 /* #undef SYS_SELECT_WITH_SYS_TIME */ |
| 1495 | 186 |
|
1795
fa8bbd09f2e6
Updates for THINK C 6.0. Moved the necessary UNIX emulation routines here.
Guido van Rossum <guido@python.org>
parents:
1614
diff
changeset
|
187 /* Define if you want to use SGI (IRIX 4) dynamic linking. |
|
fa8bbd09f2e6
Updates for THINK C 6.0. Moved the necessary UNIX emulation routines here.
Guido van Rossum <guido@python.org>
parents:
1614
diff
changeset
|
188 This requires the "dl" library by Jack Jansen, |
|
fa8bbd09f2e6
Updates for THINK C 6.0. Moved the necessary UNIX emulation routines here.
Guido van Rossum <guido@python.org>
parents:
1614
diff
changeset
|
189 ftp://ftp.cwi.nl/pub/dynload/dl-1.6.tar.Z. |
|
fa8bbd09f2e6
Updates for THINK C 6.0. Moved the necessary UNIX emulation routines here.
Guido van Rossum <guido@python.org>
parents:
1614
diff
changeset
|
190 Don't bother on IRIX 5, it already has dynamic linking using SunOS |
|
fa8bbd09f2e6
Updates for THINK C 6.0. Moved the necessary UNIX emulation routines here.
Guido van Rossum <guido@python.org>
parents:
1614
diff
changeset
|
191 style shared libraries */ |
|
2379
1a20d5058744
put #undefs insize comments; rationalize MPW support
Guido van Rossum <guido@python.org>
parents:
2185
diff
changeset
|
192 /* #undef WITH_SGI_DL */ |
|
1795
fa8bbd09f2e6
Updates for THINK C 6.0. Moved the necessary UNIX emulation routines here.
Guido van Rossum <guido@python.org>
parents:
1614
diff
changeset
|
193 |
|
fa8bbd09f2e6
Updates for THINK C 6.0. Moved the necessary UNIX emulation routines here.
Guido van Rossum <guido@python.org>
parents:
1614
diff
changeset
|
194 /* Define if you want to emulate SGI (IRIX 4) dynamic linking. |
|
fa8bbd09f2e6
Updates for THINK C 6.0. Moved the necessary UNIX emulation routines here.
Guido van Rossum <guido@python.org>
parents:
1614
diff
changeset
|
195 This is rumoured to work on VAX (Ultrix), Sun3 (SunOS 3.4), |
|
fa8bbd09f2e6
Updates for THINK C 6.0. Moved the necessary UNIX emulation routines here.
Guido van Rossum <guido@python.org>
parents:
1614
diff
changeset
|
196 Sequent Symmetry (Dynix), and Atari ST. |
|
fa8bbd09f2e6
Updates for THINK C 6.0. Moved the necessary UNIX emulation routines here.
Guido van Rossum <guido@python.org>
parents:
1614
diff
changeset
|
197 This requires the "dl-dld" library, |
|
fa8bbd09f2e6
Updates for THINK C 6.0. Moved the necessary UNIX emulation routines here.
Guido van Rossum <guido@python.org>
parents:
1614
diff
changeset
|
198 ftp://ftp.cwi.nl/pub/dynload/dl-dld-1.1.tar.Z, |
|
fa8bbd09f2e6
Updates for THINK C 6.0. Moved the necessary UNIX emulation routines here.
Guido van Rossum <guido@python.org>
parents:
1614
diff
changeset
|
199 as well as the "GNU dld" library, |
|
fa8bbd09f2e6
Updates for THINK C 6.0. Moved the necessary UNIX emulation routines here.
Guido van Rossum <guido@python.org>
parents:
1614
diff
changeset
|
200 ftp://ftp.cwi.nl/pub/dynload/dld-3.2.3.tar.Z. |
|
fa8bbd09f2e6
Updates for THINK C 6.0. Moved the necessary UNIX emulation routines here.
Guido van Rossum <guido@python.org>
parents:
1614
diff
changeset
|
201 Don't bother on SunOS 4 or 5, they already have dynamic linking using |
|
fa8bbd09f2e6
Updates for THINK C 6.0. Moved the necessary UNIX emulation routines here.
Guido van Rossum <guido@python.org>
parents:
1614
diff
changeset
|
202 shared libraries */ |
|
2379
1a20d5058744
put #undefs insize comments; rationalize MPW support
Guido van Rossum <guido@python.org>
parents:
2185
diff
changeset
|
203 /* #undef WITH_DL_DLD */ |
|
1795
fa8bbd09f2e6
Updates for THINK C 6.0. Moved the necessary UNIX emulation routines here.
Guido van Rossum <guido@python.org>
parents:
1614
diff
changeset
|
204 |
| 1495 | 205 /* Define if you want to compile in rudimentary thread support */ |
|
2379
1a20d5058744
put #undefs insize comments; rationalize MPW support
Guido van Rossum <guido@python.org>
parents:
2185
diff
changeset
|
206 /* #undef WITH_THREAD */ |
| 1495 | 207 |
| 208 /* Define if you want to use the GNU readline library */ | |
|
2379
1a20d5058744
put #undefs insize comments; rationalize MPW support
Guido van Rossum <guido@python.org>
parents:
2185
diff
changeset
|
209 /* #undef WITH_READLINE */ |
| 1495 | 210 |
|
1795
fa8bbd09f2e6
Updates for THINK C 6.0. Moved the necessary UNIX emulation routines here.
Guido van Rossum <guido@python.org>
parents:
1614
diff
changeset
|
211 /* Define if you have chown. */ |
|
2379
1a20d5058744
put #undefs insize comments; rationalize MPW support
Guido van Rossum <guido@python.org>
parents:
2185
diff
changeset
|
212 /* #undef HAVE_CHOWN */ |
|
1795
fa8bbd09f2e6
Updates for THINK C 6.0. Moved the necessary UNIX emulation routines here.
Guido van Rossum <guido@python.org>
parents:
1614
diff
changeset
|
213 |
| 1495 | 214 /* Define if you have clock. */ |
|
1795
fa8bbd09f2e6
Updates for THINK C 6.0. Moved the necessary UNIX emulation routines here.
Guido van Rossum <guido@python.org>
parents:
1614
diff
changeset
|
215 #define HAVE_CLOCK |
|
fa8bbd09f2e6
Updates for THINK C 6.0. Moved the necessary UNIX emulation routines here.
Guido van Rossum <guido@python.org>
parents:
1614
diff
changeset
|
216 |
|
fa8bbd09f2e6
Updates for THINK C 6.0. Moved the necessary UNIX emulation routines here.
Guido van Rossum <guido@python.org>
parents:
1614
diff
changeset
|
217 /* Define if you have dlopen. */ |
|
2379
1a20d5058744
put #undefs insize comments; rationalize MPW support
Guido van Rossum <guido@python.org>
parents:
2185
diff
changeset
|
218 /* #undef HAVE_DLOPEN */ |
| 1495 | 219 |
| 220 /* Define if you have ftime. */ | |
|
2379
1a20d5058744
put #undefs insize comments; rationalize MPW support
Guido van Rossum <guido@python.org>
parents:
2185
diff
changeset
|
221 /* #undef HAVE_FTIME */ |
| 1495 | 222 |
| 223 /* Define if you have getpeername. */ | |
|
2379
1a20d5058744
put #undefs insize comments; rationalize MPW support
Guido van Rossum <guido@python.org>
parents:
2185
diff
changeset
|
224 /* #undef HAVE_GETPEERNAME */ |
| 1495 | 225 |
| 226 /* Define if you have getpgrp. */ | |
|
2379
1a20d5058744
put #undefs insize comments; rationalize MPW support
Guido van Rossum <guido@python.org>
parents:
2185
diff
changeset
|
227 /* #undef HAVE_GETPGRP */ |
| 1495 | 228 |
|
1795
fa8bbd09f2e6
Updates for THINK C 6.0. Moved the necessary UNIX emulation routines here.
Guido van Rossum <guido@python.org>
parents:
1614
diff
changeset
|
229 /* Define if you have getpid. */ |
|
2379
1a20d5058744
put #undefs insize comments; rationalize MPW support
Guido van Rossum <guido@python.org>
parents:
2185
diff
changeset
|
230 /* #undef HAVE_GETPID */ |
|
1795
fa8bbd09f2e6
Updates for THINK C 6.0. Moved the necessary UNIX emulation routines here.
Guido van Rossum <guido@python.org>
parents:
1614
diff
changeset
|
231 |
| 1495 | 232 /* Define if you have gettimeofday. */ |
|
2379
1a20d5058744
put #undefs insize comments; rationalize MPW support
Guido van Rossum <guido@python.org>
parents:
2185
diff
changeset
|
233 /* #undef HAVE_GETTIMEOFDAY */ |
| 1495 | 234 |
| 235 /* Define if you have getwd. */ | |
|
2379
1a20d5058744
put #undefs insize comments; rationalize MPW support
Guido van Rossum <guido@python.org>
parents:
2185
diff
changeset
|
236 /* #undef HAVE_GETWD */ |
| 1495 | 237 |
|
1795
fa8bbd09f2e6
Updates for THINK C 6.0. Moved the necessary UNIX emulation routines here.
Guido van Rossum <guido@python.org>
parents:
1614
diff
changeset
|
238 /* Define if you have link. */ |
|
2379
1a20d5058744
put #undefs insize comments; rationalize MPW support
Guido van Rossum <guido@python.org>
parents:
2185
diff
changeset
|
239 /* #undef HAVE_LINK */ |
|
1795
fa8bbd09f2e6
Updates for THINK C 6.0. Moved the necessary UNIX emulation routines here.
Guido van Rossum <guido@python.org>
parents:
1614
diff
changeset
|
240 |
| 1495 | 241 /* Define if you have lstat. */ |
|
2379
1a20d5058744
put #undefs insize comments; rationalize MPW support
Guido van Rossum <guido@python.org>
parents:
2185
diff
changeset
|
242 /* #undef HAVE_LSTAT */ |
| 1495 | 243 |
|
1795
fa8bbd09f2e6
Updates for THINK C 6.0. Moved the necessary UNIX emulation routines here.
Guido van Rossum <guido@python.org>
parents:
1614
diff
changeset
|
244 /* Define if you have nice. */ |
|
2379
1a20d5058744
put #undefs insize comments; rationalize MPW support
Guido van Rossum <guido@python.org>
parents:
2185
diff
changeset
|
245 /* #undef HAVE_NICE */ |
| 1495 | 246 |
| 247 /* Define if you have readlink. */ | |
|
2379
1a20d5058744
put #undefs insize comments; rationalize MPW support
Guido van Rossum <guido@python.org>
parents:
2185
diff
changeset
|
248 /* #undef HAVE_READLINK */ |
| 1495 | 249 |
| 250 /* Define if you have select. */ | |
|
2379
1a20d5058744
put #undefs insize comments; rationalize MPW support
Guido van Rossum <guido@python.org>
parents:
2185
diff
changeset
|
251 /* #undef HAVE_SELECT */ |
| 1495 | 252 |
|
1795
fa8bbd09f2e6
Updates for THINK C 6.0. Moved the necessary UNIX emulation routines here.
Guido van Rossum <guido@python.org>
parents:
1614
diff
changeset
|
253 /* Define if you have setgid. */ |
|
2379
1a20d5058744
put #undefs insize comments; rationalize MPW support
Guido van Rossum <guido@python.org>
parents:
2185
diff
changeset
|
254 /* #undef HAVE_SETGID */ |
|
1795
fa8bbd09f2e6
Updates for THINK C 6.0. Moved the necessary UNIX emulation routines here.
Guido van Rossum <guido@python.org>
parents:
1614
diff
changeset
|
255 |
| 1495 | 256 /* Define if you have setpgid. */ |
|
2379
1a20d5058744
put #undefs insize comments; rationalize MPW support
Guido van Rossum <guido@python.org>
parents:
2185
diff
changeset
|
257 /* #undef HAVE_SETPGID */ |
| 1495 | 258 |
| 259 /* Define if you have setpgrp. */ | |
|
2379
1a20d5058744
put #undefs insize comments; rationalize MPW support
Guido van Rossum <guido@python.org>
parents:
2185
diff
changeset
|
260 /* #undef HAVE_SETPGRP */ |
| 1495 | 261 |
| 262 /* Define if you have setsid. */ | |
|
2379
1a20d5058744
put #undefs insize comments; rationalize MPW support
Guido van Rossum <guido@python.org>
parents:
2185
diff
changeset
|
263 /* #undef HAVE_SETSID */ |
| 1495 | 264 |
|
1795
fa8bbd09f2e6
Updates for THINK C 6.0. Moved the necessary UNIX emulation routines here.
Guido van Rossum <guido@python.org>
parents:
1614
diff
changeset
|
265 /* Define if you have setuid. */ |
|
2379
1a20d5058744
put #undefs insize comments; rationalize MPW support
Guido van Rossum <guido@python.org>
parents:
2185
diff
changeset
|
266 /* #undef HAVE_SETUID */ |
|
1795
fa8bbd09f2e6
Updates for THINK C 6.0. Moved the necessary UNIX emulation routines here.
Guido van Rossum <guido@python.org>
parents:
1614
diff
changeset
|
267 |
| 1614 | 268 /* Define if you have setvbuf. */ |
|
1795
fa8bbd09f2e6
Updates for THINK C 6.0. Moved the necessary UNIX emulation routines here.
Guido van Rossum <guido@python.org>
parents:
1614
diff
changeset
|
269 #define HAVE_SETVBUF |
| 1614 | 270 |
| 1495 | 271 /* Define if you have siginterrupt. */ |
|
2379
1a20d5058744
put #undefs insize comments; rationalize MPW support
Guido van Rossum <guido@python.org>
parents:
2185
diff
changeset
|
272 /* #undef HAVE_SIGINTERRUPT */ |
| 1495 | 273 |
| 274 /* Define if you have symlink. */ | |
|
2379
1a20d5058744
put #undefs insize comments; rationalize MPW support
Guido van Rossum <guido@python.org>
parents:
2185
diff
changeset
|
275 /* #undef HAVE_SYMLINK */ |
| 1495 | 276 |
| 277 /* Define if you have tcgetpgrp. */ | |
|
2379
1a20d5058744
put #undefs insize comments; rationalize MPW support
Guido van Rossum <guido@python.org>
parents:
2185
diff
changeset
|
278 /* #undef HAVE_TCGETPGRP */ |
| 1495 | 279 |
| 280 /* Define if you have tcsetpgrp. */ | |
|
2379
1a20d5058744
put #undefs insize comments; rationalize MPW support
Guido van Rossum <guido@python.org>
parents:
2185
diff
changeset
|
281 /* #undef HAVE_TCSETPGRP */ |
| 1495 | 282 |
| 283 /* Define if you have times. */ | |
|
2379
1a20d5058744
put #undefs insize comments; rationalize MPW support
Guido van Rossum <guido@python.org>
parents:
2185
diff
changeset
|
284 /* #undef HAVE_TIMES */ |
| 1495 | 285 |
| 286 /* Define if you have uname. */ | |
|
2379
1a20d5058744
put #undefs insize comments; rationalize MPW support
Guido van Rossum <guido@python.org>
parents:
2185
diff
changeset
|
287 /* #undef HAVE_UNAME */ |
| 1495 | 288 |
| 289 /* Define if you have waitpid. */ | |
|
2379
1a20d5058744
put #undefs insize comments; rationalize MPW support
Guido van Rossum <guido@python.org>
parents:
2185
diff
changeset
|
290 /* #undef HAVE_WAITPID */ |
| 1495 | 291 |
| 292 /* Define if you have the <dlfcn.h> header file. */ | |
|
2379
1a20d5058744
put #undefs insize comments; rationalize MPW support
Guido van Rossum <guido@python.org>
parents:
2185
diff
changeset
|
293 /* #undef HAVE_DLFCN_H */ |
| 1495 | 294 |
|
1795
fa8bbd09f2e6
Updates for THINK C 6.0. Moved the necessary UNIX emulation routines here.
Guido van Rossum <guido@python.org>
parents:
1614
diff
changeset
|
295 /* Define if you have the <fcntl.h> header file. */ |
|
2379
1a20d5058744
put #undefs insize comments; rationalize MPW support
Guido van Rossum <guido@python.org>
parents:
2185
diff
changeset
|
296 /* #undef HAVE_FCNTL_H */ |
|
1795
fa8bbd09f2e6
Updates for THINK C 6.0. Moved the necessary UNIX emulation routines here.
Guido van Rossum <guido@python.org>
parents:
1614
diff
changeset
|
297 |
| 1495 | 298 /* Define if you have the <signal.h> header file. */ |
|
1795
fa8bbd09f2e6
Updates for THINK C 6.0. Moved the necessary UNIX emulation routines here.
Guido van Rossum <guido@python.org>
parents:
1614
diff
changeset
|
299 #define HAVE_SIGNAL_H |
| 1495 | 300 |
| 301 /* Define if you have the <stdarg.h> header file. */ | |
|
1795
fa8bbd09f2e6
Updates for THINK C 6.0. Moved the necessary UNIX emulation routines here.
Guido van Rossum <guido@python.org>
parents:
1614
diff
changeset
|
302 #define HAVE_STDARG_H |
| 1495 | 303 |
| 304 /* Define if you have the <stdlib.h> header file. */ | |
|
1795
fa8bbd09f2e6
Updates for THINK C 6.0. Moved the necessary UNIX emulation routines here.
Guido van Rossum <guido@python.org>
parents:
1614
diff
changeset
|
305 #define HAVE_STDLIB_H |
| 1495 | 306 |
| 307 /* Define if you have the <sys/audioio.h> header file. */ | |
|
2379
1a20d5058744
put #undefs insize comments; rationalize MPW support
Guido van Rossum <guido@python.org>
parents:
2185
diff
changeset
|
308 /* #undef HAVE_SYS_AUDIOIO_H */ |
| 1495 | 309 |
| 310 /* Define if you have the <sys/param.h> header file. */ | |
|
2379
1a20d5058744
put #undefs insize comments; rationalize MPW support
Guido van Rossum <guido@python.org>
parents:
2185
diff
changeset
|
311 /* #undef HAVE_SYS_PARAM_H */ |
| 1495 | 312 |
| 313 /* Define if you have the <sys/select.h> header file. */ | |
|
2379
1a20d5058744
put #undefs insize comments; rationalize MPW support
Guido van Rossum <guido@python.org>
parents:
2185
diff
changeset
|
314 /* #undef HAVE_SYS_SELECT_H */ |
| 1495 | 315 |
|
1795
fa8bbd09f2e6
Updates for THINK C 6.0. Moved the necessary UNIX emulation routines here.
Guido van Rossum <guido@python.org>
parents:
1614
diff
changeset
|
316 /* Define if you have the <sys/time.h> header file. */ |
|
2379
1a20d5058744
put #undefs insize comments; rationalize MPW support
Guido van Rossum <guido@python.org>
parents:
2185
diff
changeset
|
317 /* #undef HAVE_SYS_TIME_H */ |
|
1795
fa8bbd09f2e6
Updates for THINK C 6.0. Moved the necessary UNIX emulation routines here.
Guido van Rossum <guido@python.org>
parents:
1614
diff
changeset
|
318 |
| 1495 | 319 /* Define if you have the <sys/times.h> header file. */ |
|
2379
1a20d5058744
put #undefs insize comments; rationalize MPW support
Guido van Rossum <guido@python.org>
parents:
2185
diff
changeset
|
320 /* #undef HAVE_SYS_TIMES_H */ |
| 1495 | 321 |
| 322 /* Define if you have the <sys/un.h> header file. */ | |
|
2379
1a20d5058744
put #undefs insize comments; rationalize MPW support
Guido van Rossum <guido@python.org>
parents:
2185
diff
changeset
|
323 /* #undef HAVE_SYS_UN_H */ |
| 1495 | 324 |
| 325 /* Define if you have the <sys/utsname.h> header file. */ | |
|
2379
1a20d5058744
put #undefs insize comments; rationalize MPW support
Guido van Rossum <guido@python.org>
parents:
2185
diff
changeset
|
326 /* #undef HAVE_SYS_UTSNAME_H */ |
| 1495 | 327 |
| 328 /* Define if you have the <thread.h> header file. */ | |
|
2379
1a20d5058744
put #undefs insize comments; rationalize MPW support
Guido van Rossum <guido@python.org>
parents:
2185
diff
changeset
|
329 /* #undef HAVE_THREAD_H */ |
| 1495 | 330 |
| 331 /* Define if you have the <unistd.h> header file. */ | |
|
2379
1a20d5058744
put #undefs insize comments; rationalize MPW support
Guido van Rossum <guido@python.org>
parents:
2185
diff
changeset
|
332 /* #undef HAVE_UNISTD_H */ |
| 1495 | 333 |
| 334 /* Define if you have the <utime.h> header file. */ | |
|
2379
1a20d5058744
put #undefs insize comments; rationalize MPW support
Guido van Rossum <guido@python.org>
parents:
2185
diff
changeset
|
335 /* #undef HAVE_UTIME_H */ |
| 1495 | 336 |
| 337 /* Define if you have the dl library (-ldl). */ | |
|
2379
1a20d5058744
put #undefs insize comments; rationalize MPW support
Guido van Rossum <guido@python.org>
parents:
2185
diff
changeset
|
338 /* #undef HAVE_LIBDL */ |
| 1495 | 339 |
|
1795
fa8bbd09f2e6
Updates for THINK C 6.0. Moved the necessary UNIX emulation routines here.
Guido van Rossum <guido@python.org>
parents:
1614
diff
changeset
|
340 /* Define if you have the inet library (-linet). */ |
|
2379
1a20d5058744
put #undefs insize comments; rationalize MPW support
Guido van Rossum <guido@python.org>
parents:
2185
diff
changeset
|
341 /* #undef HAVE_LIBINET */ |
|
1795
fa8bbd09f2e6
Updates for THINK C 6.0. Moved the necessary UNIX emulation routines here.
Guido van Rossum <guido@python.org>
parents:
1614
diff
changeset
|
342 |
| 1495 | 343 /* Define if you have the mpc library (-lmpc). */ |
|
2379
1a20d5058744
put #undefs insize comments; rationalize MPW support
Guido van Rossum <guido@python.org>
parents:
2185
diff
changeset
|
344 /* #undef HAVE_LIBMPC */ |
| 1495 | 345 |
| 346 /* Define if you have the nsl library (-lnsl). */ | |
|
2379
1a20d5058744
put #undefs insize comments; rationalize MPW support
Guido van Rossum <guido@python.org>
parents:
2185
diff
changeset
|
347 /* #undef HAVE_LIBNSL */ |
| 1495 | 348 |
|
1795
fa8bbd09f2e6
Updates for THINK C 6.0. Moved the necessary UNIX emulation routines here.
Guido van Rossum <guido@python.org>
parents:
1614
diff
changeset
|
349 /* Define if you have the pthreads library (-lpthreads). */ |
|
2379
1a20d5058744
put #undefs insize comments; rationalize MPW support
Guido van Rossum <guido@python.org>
parents:
2185
diff
changeset
|
350 /* #undef HAVE_LIBPTHREADS */ |
|
1795
fa8bbd09f2e6
Updates for THINK C 6.0. Moved the necessary UNIX emulation routines here.
Guido van Rossum <guido@python.org>
parents:
1614
diff
changeset
|
351 |
| 1495 | 352 /* Define if you have the seq library (-lseq). */ |
|
2379
1a20d5058744
put #undefs insize comments; rationalize MPW support
Guido van Rossum <guido@python.org>
parents:
2185
diff
changeset
|
353 /* #undef HAVE_LIBSEQ */ |
| 1495 | 354 |
| 355 /* Define if you have the socket library (-lsocket). */ | |
|
2379
1a20d5058744
put #undefs insize comments; rationalize MPW support
Guido van Rossum <guido@python.org>
parents:
2185
diff
changeset
|
356 /* #undef HAVE_LIBSOCKET */ |
| 1495 | 357 |
| 358 /* Define if you have the sun library (-lsun). */ | |
|
2379
1a20d5058744
put #undefs insize comments; rationalize MPW support
Guido van Rossum <guido@python.org>
parents:
2185
diff
changeset
|
359 /* #undef HAVE_LIBSUN */ |
| 1495 | 360 |
|
1795
fa8bbd09f2e6
Updates for THINK C 6.0. Moved the necessary UNIX emulation routines here.
Guido van Rossum <guido@python.org>
parents:
1614
diff
changeset
|
361 /* Define if you have the termcap library (-ltermcap). */ |
|
2379
1a20d5058744
put #undefs insize comments; rationalize MPW support
Guido van Rossum <guido@python.org>
parents:
2185
diff
changeset
|
362 /* #undef HAVE_LIBTERMCAP */ |
|
1795
fa8bbd09f2e6
Updates for THINK C 6.0. Moved the necessary UNIX emulation routines here.
Guido van Rossum <guido@python.org>
parents:
1614
diff
changeset
|
363 |
|
fa8bbd09f2e6
Updates for THINK C 6.0. Moved the necessary UNIX emulation routines here.
Guido van Rossum <guido@python.org>
parents:
1614
diff
changeset
|
364 /* Define if you have the termlib library (-ltermlib). */ |
|
2379
1a20d5058744
put #undefs insize comments; rationalize MPW support
Guido van Rossum <guido@python.org>
parents:
2185
diff
changeset
|
365 /* #undef HAVE_LIBTERMLIB */ |
|
1795
fa8bbd09f2e6
Updates for THINK C 6.0. Moved the necessary UNIX emulation routines here.
Guido van Rossum <guido@python.org>
parents:
1614
diff
changeset
|
366 |
| 1495 | 367 /* Define if you have the thread library (-lthread). */ |
|
2379
1a20d5058744
put #undefs insize comments; rationalize MPW support
Guido van Rossum <guido@python.org>
parents:
2185
diff
changeset
|
368 /* #undef HAVE_LIBTHREAD */ |
