Jack Jansen | fea7533 | 1994-12-14 13:38:13 +0000 | [diff] [blame] | 1 | /* config.h for Macintosh THINK C 6.0, CodeWarrior 4 and MPW 3.2. */ |
Guido van Rossum | 739267b | 1994-08-29 08:42:37 +0000 | [diff] [blame] | 2 | |
| 3 | #ifdef MPW |
| 4 | /* This must be is MPW 3.x */ |
| 5 | #define MPW_3 1 |
| 6 | #endif |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 7 | |
Jack Jansen | 48d071d | 1995-01-18 13:56:20 +0000 | [diff] [blame] | 8 | /* Define if on Macintosh (THINK_C, MPW or __MWERKS__ should also be defined) */ |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 9 | #define macintosh |
| 10 | |
Guido van Rossum | 6a5df90 | 1995-01-18 23:59:06 +0000 | [diff] [blame^] | 11 | #ifdef THINK_C |
| 12 | #define HAVE_FOPENRF |
| 13 | #endif |
| 14 | |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 15 | /* Define if on AIX 3. |
| 16 | System headers sometimes define this. |
| 17 | We just want to avoid a redefinition error message. */ |
| 18 | #ifndef _ALL_SOURCE |
| 19 | #undef _ALL_SOURCE |
| 20 | #endif |
| 21 | |
Guido van Rossum | d4d7728 | 1994-08-19 10:51:31 +0000 | [diff] [blame] | 22 | /* Define if type char is unsigned and you are not using gcc. */ |
| 23 | #undef __CHAR_UNSIGNED__ |
| 24 | |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 25 | /* Define to empty if the keyword does not work. */ |
| 26 | #undef const |
| 27 | |
| 28 | /* Define if you have dirent.h. */ |
| 29 | #undef DIRENT |
| 30 | |
| 31 | /* Define to the type of elements in the array set by `getgroups'. |
| 32 | Usually this is either `int' or `gid_t'. */ |
| 33 | #undef GETGROUPS_T |
| 34 | |
| 35 | /* Define to `int' if <sys/types.h> doesn't define. */ |
| 36 | #undef gid_t |
| 37 | |
| 38 | /* Define if your struct tm has tm_zone. */ |
| 39 | #undef HAVE_TM_ZONE |
| 40 | |
| 41 | /* Define if you don't have tm_zone but do have the external array |
| 42 | tzname. */ |
| 43 | #undef HAVE_TZNAME |
| 44 | |
| 45 | /* Define if on MINIX. */ |
| 46 | #undef _MINIX |
| 47 | |
| 48 | /* Define to `int' if <sys/types.h> doesn't define. */ |
| 49 | #undef mode_t |
| 50 | |
| 51 | /* Define if you don't have dirent.h, but have ndir.h. */ |
| 52 | #undef NDIR |
| 53 | |
| 54 | /* Define to `long' if <sys/types.h> doesn't define. */ |
| 55 | #undef off_t |
| 56 | |
| 57 | /* Define to `int' if <sys/types.h> doesn't define. */ |
| 58 | #undef pid_t |
| 59 | |
| 60 | /* Define if the system does not provide POSIX.1 features except |
| 61 | with this defined. */ |
| 62 | #undef _POSIX_1_SOURCE |
| 63 | |
| 64 | /* Define if you need to in order for stat and other things to work. */ |
| 65 | #undef _POSIX_SOURCE |
| 66 | |
| 67 | /* Define as the return type of signal handlers (int or void). */ |
| 68 | #define RETSIGTYPE void |
| 69 | |
| 70 | /* Define to `unsigned' if <sys/types.h> doesn't define. */ |
| 71 | #undef size_t |
| 72 | |
| 73 | /* Define if you have the ANSI C header files. */ |
| 74 | #define STDC_HEADERS |
| 75 | |
| 76 | /* Define if you don't have dirent.h, but have sys/dir.h. */ |
| 77 | #undef SYSDIR |
| 78 | |
| 79 | /* Define if you don't have dirent.h, but have sys/ndir.h. */ |
| 80 | #undef SYSNDIR |
| 81 | |
| 82 | /* Define if you can safely include both <sys/time.h> and <time.h>. */ |
| 83 | #undef TIME_WITH_SYS_TIME |
| 84 | |
| 85 | /* Define if your <sys/time.h> declares struct tm. */ |
| 86 | #undef TM_IN_SYS_TIME |
| 87 | |
| 88 | /* Define to `int' if <sys/types.h> doesn't define. */ |
| 89 | #undef uid_t |
| 90 | |
| 91 | /* Define if the closedir function returns void instead of int. */ |
| 92 | #undef VOID_CLOSEDIR |
| 93 | |
| 94 | /* Define if your <unistd.h> contains bad prototypes for exec*() |
| 95 | (as it does on SGI IRIX 4.x) */ |
| 96 | #undef BAD_EXEC_PROTOTYPES |
| 97 | |
Guido van Rossum | d4d7728 | 1994-08-19 10:51:31 +0000 | [diff] [blame] | 98 | /* Define if your compiler botches static forward declarations |
| 99 | (as it does on SCI ODT 3.0) */ |
Jack Jansen | fea7533 | 1994-12-14 13:38:13 +0000 | [diff] [blame] | 100 | #ifdef __MWERKS__ |
| 101 | #define BAD_STATIC_FORWARD |
| 102 | #else /* MPW and THINK */ |
Guido van Rossum | d4d7728 | 1994-08-19 10:51:31 +0000 | [diff] [blame] | 103 | #undef BAD_STATIC_FORWARD |
Jack Jansen | fea7533 | 1994-12-14 13:38:13 +0000 | [diff] [blame] | 104 | #endif |
Guido van Rossum | d4d7728 | 1994-08-19 10:51:31 +0000 | [diff] [blame] | 105 | |
| 106 | /* Define to `long' if <time.h> doesn't define. */ |
| 107 | #undef clock_t |
| 108 | |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 109 | /* Define if getpgrp() must be called as getpgrp(0) |
| 110 | and (consequently) setpgrp() as setpgrp(0, 0). */ |
Guido van Rossum | d4d7728 | 1994-08-19 10:51:31 +0000 | [diff] [blame] | 111 | #undef GETPGRP_HAVE_ARG |
| 112 | |
| 113 | /* Define this if your time.h defines altzone */ |
| 114 | #undef HAVE_ALTZONE |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 115 | |
| 116 | /* Define if your compiler supports function prototypes */ |
| 117 | #define HAVE_PROTOTYPES |
| 118 | |
Guido van Rossum | d4d7728 | 1994-08-19 10:51:31 +0000 | [diff] [blame] | 119 | /* Define if your compiler supports variable length function prototypes |
| 120 | (e.g. void fprintf(FILE *, char *, ...);) *and* <stdarg.h> */ |
| 121 | #define HAVE_STDARG_PROTOTYPES |
| 122 | |
| 123 | /* Define if you have POSIX threads */ |
| 124 | #undef _POSIX_THREADS |
| 125 | |
| 126 | /* Define to empty if the keyword does not work. */ |
| 127 | #undef signed |
| 128 | |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 129 | /* Define if you can safely include both <sys/select.h> and <sys/time.h> |
| 130 | (which you can't on SCO ODT 3.0). */ |
| 131 | #undef SYS_SELECT_WITH_SYS_TIME |
| 132 | |
Guido van Rossum | d4d7728 | 1994-08-19 10:51:31 +0000 | [diff] [blame] | 133 | /* Define if you want to use SGI (IRIX 4) dynamic linking. |
| 134 | This requires the "dl" library by Jack Jansen, |
| 135 | ftp://ftp.cwi.nl/pub/dynload/dl-1.6.tar.Z. |
| 136 | Don't bother on IRIX 5, it already has dynamic linking using SunOS |
| 137 | style shared libraries */ |
| 138 | #undef WITH_SGI_DL |
| 139 | |
| 140 | /* Define if you want to emulate SGI (IRIX 4) dynamic linking. |
| 141 | This is rumoured to work on VAX (Ultrix), Sun3 (SunOS 3.4), |
| 142 | Sequent Symmetry (Dynix), and Atari ST. |
| 143 | This requires the "dl-dld" library, |
| 144 | ftp://ftp.cwi.nl/pub/dynload/dl-dld-1.1.tar.Z, |
| 145 | as well as the "GNU dld" library, |
| 146 | ftp://ftp.cwi.nl/pub/dynload/dld-3.2.3.tar.Z. |
| 147 | Don't bother on SunOS 4 or 5, they already have dynamic linking using |
| 148 | shared libraries */ |
| 149 | #undef WITH_DL_DLD |
| 150 | |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 151 | /* Define if you want to compile in rudimentary thread support */ |
| 152 | #undef WITH_THREAD |
| 153 | |
| 154 | /* Define if you want to use the GNU readline library */ |
| 155 | #undef WITH_READLINE |
| 156 | |
Guido van Rossum | d4d7728 | 1994-08-19 10:51:31 +0000 | [diff] [blame] | 157 | /* Define if you have chown. */ |
| 158 | #undef HAVE_CHOWN |
| 159 | |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 160 | /* Define if you have clock. */ |
Guido van Rossum | d4d7728 | 1994-08-19 10:51:31 +0000 | [diff] [blame] | 161 | #define HAVE_CLOCK |
| 162 | |
| 163 | /* Define if you have dlopen. */ |
| 164 | #undef HAVE_DLOPEN |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 165 | |
| 166 | /* Define if you have ftime. */ |
| 167 | #undef HAVE_FTIME |
| 168 | |
| 169 | /* Define if you have getpeername. */ |
| 170 | #undef HAVE_GETPEERNAME |
| 171 | |
| 172 | /* Define if you have getpgrp. */ |
| 173 | #undef HAVE_GETPGRP |
| 174 | |
Guido van Rossum | d4d7728 | 1994-08-19 10:51:31 +0000 | [diff] [blame] | 175 | /* Define if you have getpid. */ |
| 176 | #undef HAVE_GETPID |
| 177 | |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 178 | /* Define if you have gettimeofday. */ |
| 179 | #undef HAVE_GETTIMEOFDAY |
| 180 | |
| 181 | /* Define if you have getwd. */ |
Guido van Rossum | 29e7af0 | 1994-08-23 13:28:34 +0000 | [diff] [blame] | 182 | #undef HAVE_GETWD |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 183 | |
Guido van Rossum | d4d7728 | 1994-08-19 10:51:31 +0000 | [diff] [blame] | 184 | /* Define if you have link. */ |
| 185 | #undef HAVE_LINK |
| 186 | |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 187 | /* Define if you have lstat. */ |
| 188 | #undef HAVE_LSTAT |
| 189 | |
Guido van Rossum | d4d7728 | 1994-08-19 10:51:31 +0000 | [diff] [blame] | 190 | /* Define if you have nice. */ |
| 191 | #undef HAVE_NICE |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 192 | |
| 193 | /* Define if you have readlink. */ |
| 194 | #undef HAVE_READLINK |
| 195 | |
| 196 | /* Define if you have select. */ |
| 197 | #undef HAVE_SELECT |
| 198 | |
Guido van Rossum | d4d7728 | 1994-08-19 10:51:31 +0000 | [diff] [blame] | 199 | /* Define if you have setgid. */ |
| 200 | #undef HAVE_SETGID |
| 201 | |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 202 | /* Define if you have setpgid. */ |
| 203 | #undef HAVE_SETPGID |
| 204 | |
| 205 | /* Define if you have setpgrp. */ |
| 206 | #undef HAVE_SETPGRP |
| 207 | |
| 208 | /* Define if you have setsid. */ |
| 209 | #undef HAVE_SETSID |
| 210 | |
Guido van Rossum | d4d7728 | 1994-08-19 10:51:31 +0000 | [diff] [blame] | 211 | /* Define if you have setuid. */ |
| 212 | #undef HAVE_SETUID |
| 213 | |
Guido van Rossum | fe16cc0 | 1994-05-06 14:16:30 +0000 | [diff] [blame] | 214 | /* Define if you have setvbuf. */ |
Guido van Rossum | d4d7728 | 1994-08-19 10:51:31 +0000 | [diff] [blame] | 215 | #define HAVE_SETVBUF |
Guido van Rossum | fe16cc0 | 1994-05-06 14:16:30 +0000 | [diff] [blame] | 216 | |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 217 | /* Define if you have siginterrupt. */ |
| 218 | #undef HAVE_SIGINTERRUPT |
| 219 | |
| 220 | /* Define if you have symlink. */ |
| 221 | #undef HAVE_SYMLINK |
| 222 | |
| 223 | /* Define if you have tcgetpgrp. */ |
| 224 | #undef HAVE_TCGETPGRP |
| 225 | |
| 226 | /* Define if you have tcsetpgrp. */ |
| 227 | #undef HAVE_TCSETPGRP |
| 228 | |
| 229 | /* Define if you have times. */ |
| 230 | #undef HAVE_TIMES |
| 231 | |
| 232 | /* Define if you have uname. */ |
| 233 | #undef HAVE_UNAME |
| 234 | |
| 235 | /* Define if you have waitpid. */ |
| 236 | #undef HAVE_WAITPID |
| 237 | |
| 238 | /* Define if you have the <dlfcn.h> header file. */ |
| 239 | #undef HAVE_DLFCN_H |
| 240 | |
Guido van Rossum | d4d7728 | 1994-08-19 10:51:31 +0000 | [diff] [blame] | 241 | /* Define if you have the <fcntl.h> header file. */ |
| 242 | #undef HAVE_FCNTL_H |
| 243 | |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 244 | /* Define if you have the <signal.h> header file. */ |
Guido van Rossum | d4d7728 | 1994-08-19 10:51:31 +0000 | [diff] [blame] | 245 | #define HAVE_SIGNAL_H |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 246 | |
| 247 | /* Define if you have the <stdarg.h> header file. */ |
Guido van Rossum | d4d7728 | 1994-08-19 10:51:31 +0000 | [diff] [blame] | 248 | #define HAVE_STDARG_H |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 249 | |
| 250 | /* Define if you have the <stdlib.h> header file. */ |
Guido van Rossum | d4d7728 | 1994-08-19 10:51:31 +0000 | [diff] [blame] | 251 | #define HAVE_STDLIB_H |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 252 | |
| 253 | /* Define if you have the <sys/audioio.h> header file. */ |
| 254 | #undef HAVE_SYS_AUDIOIO_H |
| 255 | |
| 256 | /* Define if you have the <sys/param.h> header file. */ |
| 257 | #undef HAVE_SYS_PARAM_H |
| 258 | |
| 259 | /* Define if you have the <sys/select.h> header file. */ |
| 260 | #undef HAVE_SYS_SELECT_H |
| 261 | |
Guido van Rossum | d4d7728 | 1994-08-19 10:51:31 +0000 | [diff] [blame] | 262 | /* Define if you have the <sys/time.h> header file. */ |
| 263 | #undef HAVE_SYS_TIME_H |
| 264 | |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 265 | /* Define if you have the <sys/times.h> header file. */ |
| 266 | #undef HAVE_SYS_TIMES_H |
| 267 | |
| 268 | /* Define if you have the <sys/un.h> header file. */ |
| 269 | #undef HAVE_SYS_UN_H |
| 270 | |
| 271 | /* Define if you have the <sys/utsname.h> header file. */ |
| 272 | #undef HAVE_SYS_UTSNAME_H |
| 273 | |
| 274 | /* Define if you have the <thread.h> header file. */ |
| 275 | #undef HAVE_THREAD_H |
| 276 | |
| 277 | /* Define if you have the <unistd.h> header file. */ |
| 278 | #undef HAVE_UNISTD_H |
| 279 | |
| 280 | /* Define if you have the <utime.h> header file. */ |
| 281 | #undef HAVE_UTIME_H |
| 282 | |
| 283 | /* Define if you have the dl library (-ldl). */ |
| 284 | #undef HAVE_LIBDL |
| 285 | |
Guido van Rossum | d4d7728 | 1994-08-19 10:51:31 +0000 | [diff] [blame] | 286 | /* Define if you have the inet library (-linet). */ |
| 287 | #undef HAVE_LIBINET |
| 288 | |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 289 | /* Define if you have the mpc library (-lmpc). */ |
| 290 | #undef HAVE_LIBMPC |
| 291 | |
| 292 | /* Define if you have the nsl library (-lnsl). */ |
| 293 | #undef HAVE_LIBNSL |
| 294 | |
Guido van Rossum | d4d7728 | 1994-08-19 10:51:31 +0000 | [diff] [blame] | 295 | /* Define if you have the pthreads library (-lpthreads). */ |
| 296 | #undef HAVE_LIBPTHREADS |
| 297 | |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 298 | /* Define if you have the seq library (-lseq). */ |
| 299 | #undef HAVE_LIBSEQ |
| 300 | |
| 301 | /* Define if you have the socket library (-lsocket). */ |
| 302 | #undef HAVE_LIBSOCKET |
| 303 | |
| 304 | /* Define if you have the sun library (-lsun). */ |
| 305 | #undef HAVE_LIBSUN |
| 306 | |
Guido van Rossum | d4d7728 | 1994-08-19 10:51:31 +0000 | [diff] [blame] | 307 | /* Define if you have the termcap library (-ltermcap). */ |
| 308 | #undef HAVE_LIBTERMCAP |
| 309 | |
| 310 | /* Define if you have the termlib library (-ltermlib). */ |
| 311 | #undef HAVE_LIBTERMLIB |
| 312 | |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 313 | /* Define if you have the thread library (-lthread). */ |
| 314 | #undef HAVE_LIBTHREAD |