annotate 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 19c98f20a9b8
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1467
19c98f20a9b8 all: 1994 copyright
Guido van Rossum <guido@python.org>
parents:
diff changeset
1 /* Include/config.h. Generated automatically by configure. */
19c98f20a9b8 all: 1994 copyright
Guido van Rossum <guido@python.org>
parents:
diff changeset
2 /* NOTE: config.h.in is converted into config.h by the configure
19c98f20a9b8 all: 1994 copyright
Guido van Rossum <guido@python.org>
parents:
diff changeset
3 script in the toplevel directory.
19c98f20a9b8 all: 1994 copyright
Guido van Rossum <guido@python.org>
parents:
diff changeset
4
19c98f20a9b8 all: 1994 copyright
Guido van Rossum <guido@python.org>
parents:
diff changeset
5 On non-UNIX systems, manually copy config.h.in to config.h, and
19c98f20a9b8 all: 1994 copyright
Guido van Rossum <guido@python.org>
parents:
diff changeset
6 edit the latter to reflect the actual configuration of your system.
19c98f20a9b8 all: 1994 copyright
Guido van Rossum <guido@python.org>
parents:
diff changeset
7
19c98f20a9b8 all: 1994 copyright
Guido van Rossum <guido@python.org>
parents:
diff changeset
8 Then arrange that the symbol HAVE_CONFIG_H is defined during
19c98f20a9b8 all: 1994 copyright
Guido van Rossum <guido@python.org>
parents:
diff changeset
9 compilation (usually by passing an argument of the form
19c98f20a9b8 all: 1994 copyright
Guido van Rossum <guido@python.org>
parents:
diff changeset
10 `-DHAVE_CONFIG_H' to the compiler, but this is necessarily
19c98f20a9b8 all: 1994 copyright
Guido van Rossum <guido@python.org>
parents:
diff changeset
11 system-dependent). */
19c98f20a9b8 all: 1994 copyright
Guido van Rossum <guido@python.org>
parents:
diff changeset
12
19c98f20a9b8 all: 1994 copyright
Guido van Rossum <guido@python.org>
parents:
diff changeset
13
19c98f20a9b8 all: 1994 copyright
Guido van Rossum <guido@python.org>
parents:
diff changeset
14 /* Types which have no traditional name -- edit the definition if necessary */
19c98f20a9b8 all: 1994 copyright
Guido van Rossum <guido@python.org>
parents:
diff changeset
15
19c98f20a9b8 all: 1994 copyright
Guido van Rossum <guido@python.org>
parents:
diff changeset
16 #define RETSIGTYPE void /* int or void: return of signal handlers */
19c98f20a9b8 all: 1994 copyright
Guido van Rossum <guido@python.org>
parents:
diff changeset
17
19c98f20a9b8 all: 1994 copyright
Guido van Rossum <guido@python.org>
parents:
diff changeset
18
19c98f20a9b8 all: 1994 copyright
Guido van Rossum <guido@python.org>
parents:
diff changeset
19 /* Types which are often defined in <sys/types.h> -- either define as
19c98f20a9b8 all: 1994 copyright
Guido van Rossum <guido@python.org>
parents:
diff changeset
20 some variant of int or leave undefined. Uncomment a definition if
19c98f20a9b8 all: 1994 copyright
Guido van Rossum <guido@python.org>
parents:
diff changeset
21 your <sys/types.h> does not define the type */
19c98f20a9b8 all: 1994 copyright
Guido van Rossum <guido@python.org>
parents:
diff changeset
22
19c98f20a9b8 all: 1994 copyright
Guido van Rossum <guido@python.org>
parents:
diff changeset
23 /* #define mode_t int */
19c98f20a9b8 all: 1994 copyright
Guido van Rossum <guido@python.org>
parents:
diff changeset
24 /* #define off_t long */
19c98f20a9b8 all: 1994 copyright
Guido van Rossum <guido@python.org>
parents:
diff changeset
25 /* #define pid_t int */
19c98f20a9b8 all: 1994 copyright
Guido van Rossum <guido@python.org>
parents:
diff changeset
26 /* #define size_t unsigned */
19c98f20a9b8 all: 1994 copyright
Guido van Rossum <guido@python.org>
parents:
diff changeset
27 /* #define uid_t int */
19c98f20a9b8 all: 1994 copyright
Guido van Rossum <guido@python.org>
parents:
diff changeset
28 /* #define gid_t int */
19c98f20a9b8 all: 1994 copyright
Guido van Rossum <guido@python.org>
parents:
diff changeset
29
19c98f20a9b8 all: 1994 copyright
Guido van Rossum <guido@python.org>
parents:
diff changeset
30
19c98f20a9b8 all: 1994 copyright
Guido van Rossum <guido@python.org>
parents:
diff changeset
31 /* Feature test symbols -- either define as 1 or leave undefined */
19c98f20a9b8 all: 1994 copyright
Guido van Rossum <guido@python.org>
parents:
diff changeset
32
19c98f20a9b8 all: 1994 copyright
Guido van Rossum <guido@python.org>
parents:
diff changeset
33 /* symbol name: #define as 1 if: */
19c98f20a9b8 all: 1994 copyright
Guido van Rossum <guido@python.org>
parents:
diff changeset
34
19c98f20a9b8 all: 1994 copyright
Guido van Rossum <guido@python.org>
parents:
diff changeset
35 /* #undef STDC_HEADERS */ /* the standard C header files exist
19c98f20a9b8 all: 1994 copyright
Guido van Rossum <guido@python.org>
parents:
diff changeset
36 (in particular, <stdlib.h>,
19c98f20a9b8 all: 1994 copyright
Guido van Rossum <guido@python.org>
parents:
diff changeset
37 <stdarg.h>, <string.h> and <float.h>) */
19c98f20a9b8 all: 1994 copyright
Guido van Rossum <guido@python.org>
parents:
diff changeset
38
19c98f20a9b8 all: 1994 copyright
Guido van Rossum <guido@python.org>
parents:
diff changeset
39 /* #undef HAVE_DLFCN_H */ /* <dlfcn.h> exists */
19c98f20a9b8 all: 1994 copyright
Guido van Rossum <guido@python.org>
parents:
diff changeset
40 #define HAVE_SIGNAL_H 1 /* <signal.h> exists */
19c98f20a9b8 all: 1994 copyright
Guido van Rossum <guido@python.org>
parents:
diff changeset
41 #define HAVE_STDARG_H 1 /* <stdarg.h> exists (else need <varargs.h>) */
19c98f20a9b8 all: 1994 copyright
Guido van Rossum <guido@python.org>
parents:
diff changeset
42 #define HAVE_STDLIB_H 1 /* <stdlib.h> exists */
19c98f20a9b8 all: 1994 copyright
Guido van Rossum <guido@python.org>
parents:
diff changeset
43 #define HAVE_UNISTD_H 1 /* <unistd.h> exists */
19c98f20a9b8 all: 1994 copyright
Guido van Rossum <guido@python.org>
parents:
diff changeset
44 #define HAVE_UTIME_H 1 /* <utime.h> exists */
19c98f20a9b8 all: 1994 copyright
Guido van Rossum <guido@python.org>
parents:
diff changeset
45
19c98f20a9b8 all: 1994 copyright
Guido van Rossum <guido@python.org>
parents:
diff changeset
46 #define HAVE_SYS_PARAM_H 1 /* <sys/param.h> exists */
19c98f20a9b8 all: 1994 copyright
Guido van Rossum <guido@python.org>
parents:
diff changeset
47 /* #undef HAVE_SYS_SELECT_H */ /* <sys/select.h> exists */
19c98f20a9b8 all: 1994 copyright
Guido van Rossum <guido@python.org>
parents:
diff changeset
48 #define HAVE_SYS_TIMES_H 1 /* <sys/times.h> exists */
19c98f20a9b8 all: 1994 copyright
Guido van Rossum <guido@python.org>
parents:
diff changeset
49 /* #undef HAVE_SYS_TIME_H */ /* <sys/time.h> exists */
19c98f20a9b8 all: 1994 copyright
Guido van Rossum <guido@python.org>
parents:
diff changeset
50 #define HAVE_SYS_UTSNAME_H 1 /* <sys.utsname.h> exists */
19c98f20a9b8 all: 1994 copyright
Guido van Rossum <guido@python.org>
parents:
diff changeset
51
19c98f20a9b8 all: 1994 copyright
Guido van Rossum <guido@python.org>
parents:
diff changeset
52 #define TIME_WITH_SYS_TIME 1 /* <sys/time.h> and <time.h> can be included
19c98f20a9b8 all: 1994 copyright
Guido van Rossum <guido@python.org>
parents:
diff changeset
53 together */
19c98f20a9b8 all: 1994 copyright
Guido van Rossum <guido@python.org>
parents:
diff changeset
54
19c98f20a9b8 all: 1994 copyright
Guido van Rossum <guido@python.org>
parents:
diff changeset
55 /* #undef HAVE_TM_ZONE */ /* struct tm has a tm_zone member */
19c98f20a9b8 all: 1994 copyright
Guido van Rossum <guido@python.org>
parents:
diff changeset
56 #define HAVE_TZNAME 1 /* extern char *tzname[] exists */
19c98f20a9b8 all: 1994 copyright
Guido van Rossum <guido@python.org>
parents:
diff changeset
57
19c98f20a9b8 all: 1994 copyright
Guido van Rossum <guido@python.org>
parents:
diff changeset
58 #define HAVE_CLOCK 1 /* clock() exists */
19c98f20a9b8 all: 1994 copyright
Guido van Rossum <guido@python.org>
parents:
diff changeset
59 /* #undef HAVE_FTIME */ /* ftime() exists */
19c98f20a9b8 all: 1994 copyright
Guido van Rossum <guido@python.org>
parents:
diff changeset
60 #define HAVE_GETPGRP 1 /* getpgrp() exists */
19c98f20a9b8 all: 1994 copyright
Guido van Rossum <guido@python.org>
parents:
diff changeset
61 #define HAVE_GETTIMEOFDAY 1 /* gettimeofday() exists */
19c98f20a9b8 all: 1994 copyright
Guido van Rossum <guido@python.org>
parents:
diff changeset
62 #define HAVE_LSTAT 1 /* lstat() exists */
19c98f20a9b8 all: 1994 copyright
Guido van Rossum <guido@python.org>
parents:
diff changeset
63 #define HAVE_PROTOTYPES 1 /* the compiler understands prototypes */
19c98f20a9b8 all: 1994 copyright
Guido van Rossum <guido@python.org>
parents:
diff changeset
64 #define HAVE_READLINK 1 /* readlink() exists */
19c98f20a9b8 all: 1994 copyright
Guido van Rossum <guido@python.org>
parents:
diff changeset
65 #define HAVE_SELECT 1 /* select() exists */
19c98f20a9b8 all: 1994 copyright
Guido van Rossum <guido@python.org>
parents:
diff changeset
66 #define HAVE_SETPGID 1 /* setpgid() exists */
19c98f20a9b8 all: 1994 copyright
Guido van Rossum <guido@python.org>
parents:
diff changeset
67 #define HAVE_SETPGRP 1 /* setpgrp() exists */
19c98f20a9b8 all: 1994 copyright
Guido van Rossum <guido@python.org>
parents:
diff changeset
68 #define HAVE_SETSID 1 /* setsid() exists */
19c98f20a9b8 all: 1994 copyright
Guido van Rossum <guido@python.org>
parents:
diff changeset
69 #define HAVE_SYMLINK 1 /* symlink() exists */
19c98f20a9b8 all: 1994 copyright
Guido van Rossum <guido@python.org>
parents:
diff changeset
70 /* #undef HAVE_SIGINTERRUPT */ /* siginterrupt() exists */
19c98f20a9b8 all: 1994 copyright
Guido van Rossum <guido@python.org>
parents:
diff changeset
71 #define HAVE_TCGETPGRP 1 /* tcgetpgrp() exists */
19c98f20a9b8 all: 1994 copyright
Guido van Rossum <guido@python.org>
parents:
diff changeset
72 #define HAVE_TCSETPGRP 1 /* tcsetpgrp() exists */
19c98f20a9b8 all: 1994 copyright
Guido van Rossum <guido@python.org>
parents:
diff changeset
73 #define HAVE_TIMES 1 /* times() exists */
19c98f20a9b8 all: 1994 copyright
Guido van Rossum <guido@python.org>
parents:
diff changeset
74 #define HAVE_UNAME 1 /* uname() exists */
19c98f20a9b8 all: 1994 copyright
Guido van Rossum <guido@python.org>
parents:
diff changeset
75 #define HAVE_WAITPID 1 /* waitpid() exists */
19c98f20a9b8 all: 1994 copyright
Guido van Rossum <guido@python.org>
parents:
diff changeset
76
19c98f20a9b8 all: 1994 copyright
Guido van Rossum <guido@python.org>
parents:
diff changeset
77 /* #undef GETPGRP_HAVE_ARG */ /* getpgrp() must be called as getpgrp(0)
19c98f20a9b8 all: 1994 copyright
Guido van Rossum <guido@python.org>
parents:
diff changeset
78 (and setpgrp() as setpgrp(0, 0)) */
19c98f20a9b8 all: 1994 copyright
Guido van Rossum <guido@python.org>
parents:
diff changeset
79
19c98f20a9b8 all: 1994 copyright
Guido van Rossum <guido@python.org>
parents:
diff changeset
80 #define WITH_READLINE 1 /* GNU readline() should be used */
19c98f20a9b8 all: 1994 copyright
Guido van Rossum <guido@python.org>
parents:
diff changeset
81 /* #undef USE_THREAD */ /* Build in thread support */
19c98f20a9b8 all: 1994 copyright
Guido van Rossum <guido@python.org>
parents:
diff changeset
82 /* #undef SOLARIS */ /* This is SOLARIS 2.x */