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