Guido van Rossum | 739267b | 1994-08-29 08:42:37 +0000 | [diff] [blame^] | 1 | /* config.h for Macintosh THINK C 6.0 and MPW 3.2. */ |
| 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) */ |
| 96 | #undef BAD_STATIC_FORWARD |
| 97 | |
| 98 | /* Define to `long' if <time.h> doesn't define. */ |
| 99 | #undef clock_t |
| 100 | |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 101 | /* Define if getpgrp() must be called as getpgrp(0) |
| 102 | and (consequently) setpgrp() as setpgrp(0, 0). */ |
Guido van Rossum | d4d7728 | 1994-08-19 10:51:31 +0000 | [diff] [blame] | 103 | #undef GETPGRP_HAVE_ARG |
| 104 | |
| 105 | /* Define this if your time.h defines altzone */ |
| 106 | #undef HAVE_ALTZONE |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 107 | |
| 108 | /* Define if your compiler supports function prototypes */ |
| 109 | #define HAVE_PROTOTYPES |
| 110 | |
Guido van Rossum | d4d7728 | 1994-08-19 10:51:31 +0000 | [diff] [blame] | 111 | /* Define if your compiler supports variable length function prototypes |
| 112 | (e.g. void fprintf(FILE *, char *, ...);) *and* <stdarg.h> */ |
| 113 | #define HAVE_STDARG_PROTOTYPES |
| 114 | |
| 115 | /* Define if you have POSIX threads */ |
| 116 | #undef _POSIX_THREADS |
| 117 | |
| 118 | /* Define to empty if the keyword does not work. */ |
| 119 | #undef signed |
| 120 | |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 121 | /* Define if you can safely include both <sys/select.h> and <sys/time.h> |
| 122 | (which you can't on SCO ODT 3.0). */ |
| 123 | #undef SYS_SELECT_WITH_SYS_TIME |
| 124 | |
Guido van Rossum | d4d7728 | 1994-08-19 10:51:31 +0000 | [diff] [blame] | 125 | /* Define if you want to use SGI (IRIX 4) dynamic linking. |
| 126 | This requires the "dl" library by Jack Jansen, |
| 127 | ftp://ftp.cwi.nl/pub/dynload/dl-1.6.tar.Z. |
| 128 | Don't bother on IRIX 5, it already has dynamic linking using SunOS |
| 129 | style shared libraries */ |
| 130 | #undef WITH_SGI_DL |
| 131 | |
| 132 | /* Define if you want to emulate SGI (IRIX 4) dynamic linking. |
| 133 | This is rumoured to work on VAX (Ultrix), Sun3 (SunOS 3.4), |
| 134 | Sequent Symmetry (Dynix), and Atari ST. |
| 135 | This requires the "dl-dld" library, |
| 136 | ftp://ftp.cwi.nl/pub/dynload/dl-dld-1.1.tar.Z, |
| 137 | as well as the "GNU dld" library, |
| 138 | ftp://ftp.cwi.nl/pub/dynload/dld-3.2.3.tar.Z. |
| 139 | Don't bother on SunOS 4 or 5, they already have dynamic linking using |
| 140 | shared libraries */ |
| 141 | #undef WITH_DL_DLD |
| 142 | |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 143 | /* Define if you want to compile in rudimentary thread support */ |
| 144 | #undef WITH_THREAD |
| 145 | |
| 146 | /* Define if you want to use the GNU readline library */ |
| 147 | #undef WITH_READLINE |
| 148 | |
Guido van Rossum | d4d7728 | 1994-08-19 10:51:31 +0000 | [diff] [blame] | 149 | /* Define if you have chown. */ |
| 150 | #undef HAVE_CHOWN |
| 151 | |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 152 | /* Define if you have clock. */ |
Guido van Rossum | d4d7728 | 1994-08-19 10:51:31 +0000 | [diff] [blame] | 153 | #define HAVE_CLOCK |
| 154 | |
| 155 | /* Define if you have dlopen. */ |
| 156 | #undef HAVE_DLOPEN |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 157 | |
| 158 | /* Define if you have ftime. */ |
| 159 | #undef HAVE_FTIME |
| 160 | |
| 161 | /* Define if you have getpeername. */ |
| 162 | #undef HAVE_GETPEERNAME |
| 163 | |
| 164 | /* Define if you have getpgrp. */ |
| 165 | #undef HAVE_GETPGRP |
| 166 | |
Guido van Rossum | d4d7728 | 1994-08-19 10:51:31 +0000 | [diff] [blame] | 167 | /* Define if you have getpid. */ |
| 168 | #undef HAVE_GETPID |
| 169 | |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 170 | /* Define if you have gettimeofday. */ |
| 171 | #undef HAVE_GETTIMEOFDAY |
| 172 | |
| 173 | /* Define if you have getwd. */ |
Guido van Rossum | 29e7af0 | 1994-08-23 13:28:34 +0000 | [diff] [blame] | 174 | #undef HAVE_GETWD |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 175 | |
Guido van Rossum | d4d7728 | 1994-08-19 10:51:31 +0000 | [diff] [blame] | 176 | /* Define if you have link. */ |
| 177 | #undef HAVE_LINK |
| 178 | |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 179 | /* Define if you have lstat. */ |
| 180 | #undef HAVE_LSTAT |
| 181 | |
Guido van Rossum | d4d7728 | 1994-08-19 10:51:31 +0000 | [diff] [blame] | 182 | /* Define if you have nice. */ |
| 183 | #undef HAVE_NICE |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 184 | |
| 185 | /* Define if you have readlink. */ |
| 186 | #undef HAVE_READLINK |
| 187 | |
| 188 | /* Define if you have select. */ |
| 189 | #undef HAVE_SELECT |
| 190 | |
Guido van Rossum | d4d7728 | 1994-08-19 10:51:31 +0000 | [diff] [blame] | 191 | /* Define if you have setgid. */ |
| 192 | #undef HAVE_SETGID |
| 193 | |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 194 | /* Define if you have setpgid. */ |
| 195 | #undef HAVE_SETPGID |
| 196 | |
| 197 | /* Define if you have setpgrp. */ |
| 198 | #undef HAVE_SETPGRP |
| 199 | |
| 200 | /* Define if you have setsid. */ |
| 201 | #undef HAVE_SETSID |
| 202 | |
Guido van Rossum | d4d7728 | 1994-08-19 10:51:31 +0000 | [diff] [blame] | 203 | /* Define if you have setuid. */ |
| 204 | #undef HAVE_SETUID |
| 205 | |
Guido van Rossum | fe16cc0 | 1994-05-06 14:16:30 +0000 | [diff] [blame] | 206 | /* Define if you have setvbuf. */ |
Guido van Rossum | d4d7728 | 1994-08-19 10:51:31 +0000 | [diff] [blame] | 207 | #define HAVE_SETVBUF |
Guido van Rossum | fe16cc0 | 1994-05-06 14:16:30 +0000 | [diff] [blame] | 208 | |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 209 | /* Define if you have siginterrupt. */ |
| 210 | #undef HAVE_SIGINTERRUPT |
| 211 | |
| 212 | /* Define if you have symlink. */ |
| 213 | #undef HAVE_SYMLINK |
| 214 | |
| 215 | /* Define if you have tcgetpgrp. */ |
| 216 | #undef HAVE_TCGETPGRP |
| 217 | |
| 218 | /* Define if you have tcsetpgrp. */ |
| 219 | #undef HAVE_TCSETPGRP |
| 220 | |
| 221 | /* Define if you have times. */ |
| 222 | #undef HAVE_TIMES |
| 223 | |
| 224 | /* Define if you have uname. */ |
| 225 | #undef HAVE_UNAME |
| 226 | |
| 227 | /* Define if you have waitpid. */ |
| 228 | #undef HAVE_WAITPID |
| 229 | |
| 230 | /* Define if you have the <dlfcn.h> header file. */ |
| 231 | #undef HAVE_DLFCN_H |
| 232 | |
Guido van Rossum | d4d7728 | 1994-08-19 10:51:31 +0000 | [diff] [blame] | 233 | /* Define if you have the <fcntl.h> header file. */ |
| 234 | #undef HAVE_FCNTL_H |
| 235 | |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 236 | /* Define if you have the <signal.h> header file. */ |
Guido van Rossum | d4d7728 | 1994-08-19 10:51:31 +0000 | [diff] [blame] | 237 | #define HAVE_SIGNAL_H |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 238 | |
| 239 | /* Define if you have the <stdarg.h> header file. */ |
Guido van Rossum | d4d7728 | 1994-08-19 10:51:31 +0000 | [diff] [blame] | 240 | #define HAVE_STDARG_H |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 241 | |
| 242 | /* Define if you have the <stdlib.h> header file. */ |
Guido van Rossum | d4d7728 | 1994-08-19 10:51:31 +0000 | [diff] [blame] | 243 | #define HAVE_STDLIB_H |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 244 | |
| 245 | /* Define if you have the <sys/audioio.h> header file. */ |
| 246 | #undef HAVE_SYS_AUDIOIO_H |
| 247 | |
| 248 | /* Define if you have the <sys/param.h> header file. */ |
| 249 | #undef HAVE_SYS_PARAM_H |
| 250 | |
| 251 | /* Define if you have the <sys/select.h> header file. */ |
| 252 | #undef HAVE_SYS_SELECT_H |
| 253 | |
Guido van Rossum | d4d7728 | 1994-08-19 10:51:31 +0000 | [diff] [blame] | 254 | /* Define if you have the <sys/time.h> header file. */ |
| 255 | #undef HAVE_SYS_TIME_H |
| 256 | |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 257 | /* Define if you have the <sys/times.h> header file. */ |
| 258 | #undef HAVE_SYS_TIMES_H |
| 259 | |
| 260 | /* Define if you have the <sys/un.h> header file. */ |
| 261 | #undef HAVE_SYS_UN_H |
| 262 | |
| 263 | /* Define if you have the <sys/utsname.h> header file. */ |
| 264 | #undef HAVE_SYS_UTSNAME_H |
| 265 | |
| 266 | /* Define if you have the <thread.h> header file. */ |
| 267 | #undef HAVE_THREAD_H |
| 268 | |
| 269 | /* Define if you have the <unistd.h> header file. */ |
| 270 | #undef HAVE_UNISTD_H |
| 271 | |
| 272 | /* Define if you have the <utime.h> header file. */ |
| 273 | #undef HAVE_UTIME_H |
| 274 | |
| 275 | /* Define if you have the dl library (-ldl). */ |
| 276 | #undef HAVE_LIBDL |
| 277 | |
Guido van Rossum | d4d7728 | 1994-08-19 10:51:31 +0000 | [diff] [blame] | 278 | /* Define if you have the inet library (-linet). */ |
| 279 | #undef HAVE_LIBINET |
| 280 | |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 281 | /* Define if you have the mpc library (-lmpc). */ |
| 282 | #undef HAVE_LIBMPC |
| 283 | |
| 284 | /* Define if you have the nsl library (-lnsl). */ |
| 285 | #undef HAVE_LIBNSL |
| 286 | |
Guido van Rossum | d4d7728 | 1994-08-19 10:51:31 +0000 | [diff] [blame] | 287 | /* Define if you have the pthreads library (-lpthreads). */ |
| 288 | #undef HAVE_LIBPTHREADS |
| 289 | |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 290 | /* Define if you have the seq library (-lseq). */ |
| 291 | #undef HAVE_LIBSEQ |
| 292 | |
| 293 | /* Define if you have the socket library (-lsocket). */ |
| 294 | #undef HAVE_LIBSOCKET |
| 295 | |
| 296 | /* Define if you have the sun library (-lsun). */ |
| 297 | #undef HAVE_LIBSUN |
| 298 | |
Guido van Rossum | d4d7728 | 1994-08-19 10:51:31 +0000 | [diff] [blame] | 299 | /* Define if you have the termcap library (-ltermcap). */ |
| 300 | #undef HAVE_LIBTERMCAP |
| 301 | |
| 302 | /* Define if you have the termlib library (-ltermlib). */ |
| 303 | #undef HAVE_LIBTERMLIB |
| 304 | |
Guido van Rossum | ce9739b | 1994-01-05 16:17:15 +0000 | [diff] [blame] | 305 | /* Define if you have the thread library (-lthread). */ |
| 306 | #undef HAVE_LIBTHREAD |