summaryrefslogtreecommitdiff
path: root/config.h.in
blob: d9e8dac888a69640dd8492ac01d7ff04cc3875ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
/*
 *  CU sudo version 1.4
 *
 *  This program is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation; either version 1, or (at your option)
 *  any later version.
 *
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with this program; if not, write to the Free Software
 *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 *
 *  Please send bugs, changes, problems to sudo-bugs@cs.colorado.edu
 *
 *  $Id$
 */

/*
 * config.h -- You shouldn't edit this by hand unless you are
 *             NOT using configure.
 */

/* New ANSI-style OS defs.  */
#if defined(hpux) && !defined(__hpux)
#  define __hpux	1
#endif /* hpux */

#if defined(convex) && !defined(__convex__)
#  define __convex__	1
#endif /* convex */

/* Define if on AIX 3.
   System headers sometimes define this.
   We just want to avoid a redefinition error message.  */
#ifndef _ALL_SOURCE
#undef _ALL_SOURCE
#endif

/* Define if on ConvexOs.
   System headers sometimes define this.
   We just want to avoid a redefinition error message.  */
#ifndef _CONVEX_SOURCE
#undef _CONVEX_SOURCE
#endif

/* Define if needed to get POSIX functionality.
   System headers sometimes define this.
   We just want to avoid a redefinition error message.  */
#ifndef _POSIX_SOURCE
#undef _POSIX_SOURCE
#endif

/* Define to `int' if <sys/types.h> doesn't define.  */
#undef uid_t

/* Define to `int' if <sys/types.h> doesn't define.  */
#undef gid_t

/* Define to `int' if <sys/types.h> doesn't define.  */
#undef mode_t

/* Define to `unsigned' if <sys/types.h> doesn't define.  */
#undef size_t

/* Define to `int' if <sys/types.h> doesn't define.  */
#undef ssize_t

/* Define to be nil if C compiler doesn't support "const."  */
#undef const

/* Define as the return type of signal handlers (int or void).  */
#undef RETSIGTYPE

/* Define if you have the ANSI C header files.  */
#undef STDC_HEADERS

/* Define if you want to use the system getpass().  */
#undef USE_GETPASS

/* Define if you have C2 security.  */
#undef HAVE_C2_SECURITY

/* Define if you use Skey.  */
#undef HAVE_SKEY

/* Define if you use SecurID.  */
#undef HAVE_SECURID

/* Define if you use Kerberos.  */
#undef HAVE_KERB4

/* Define if you use Kerberos.  */
#undef HAVE_KERB5

/* Keberos v5 has v4 compatibility */
#ifdef HAVE_KERB5
#  define HAVE_KERB4
#endif /* HAVE_KERB5 */

/* Define if you use AFS.  */
#undef HAVE_AFS

/* Define if you use OSF DCE.  */
#undef HAVE_DCE

/* Define if you have POSIX signals.  */
#undef HAVE_SIGACTION
#ifdef HAVE_SIGACTION
#  define POSIX_SIGNALS
#endif /* HAVE_SIGACTION */

/* Define if you have tzset(3).  */
#undef HAVE_TZSET

/* Define if you have getcwd(3).  */
#undef HAVE_GETCWD

/* Define if you have getwd(3).  */
#undef HAVE_GETWD

/* Define if you have strdup(3).  */
#undef HAVE_STRDUP

/* Define if you have lsearch(3).  */
#undef HAVE_LSEARCH

/* Define if you have strchr(3).  */
#undef HAVE_STRCHR
#if !defined(HAVE_STRCHR) && !defined(strchr)
#  define strchr	index
#endif

/* Define if you have strrchr(3).  */
#undef HAVE_STRRCHR
#if !defined(HAVE_STRRCHR) && !defined(strrchr)
#  define strrchr	rindex
#endif

/* Define if you have memcpy(3).  */
#undef HAVE_MEMCPY
#if !defined(HAVE_MEMCPY) && !defined(memcpy)
#  define memcpy(D, S, L)	(bcopy(S, D, L))
#endif

/* Define if you have memset(3).  */
#undef HAVE_MEMSET
#if !defined(HAVE_MEMSET) && !defined(memset)
#  define memset(S, X, N)	(bzero(S, N))
#endif

/* Define if you have sysconf(3c). */
#undef HAVE_SYSCONF

/* Define if you have putenv(3). */
#undef HAVE_PUTENV

/* Define if you have setenv(3). */
#undef HAVE_SETENV

/* Define if you have strcasecmp(3). */
#undef HAVE_STRCASECMP

/* Define if you have tcgetattr(3). */
#undef HAVE_TCGETATTR

/* Define if you have innetgr(3). */
#undef HAVE_INNETGR

/* Define if you have getdomainname(2). */
#undef HAVE_GETDOMAINNAME

/* Define if you have utime(2). */
#undef HAVE_UTIME

/* Define if you have a POSIX utime() (uses struct utimbuf) */
#undef HAVE_UTIME_POSIX

/* Define if utime(file, NULL) sets timestamp to current */
#undef HAVE_UTIME_NULL

/* Define if you have the <malloc.h> header file.  */
#undef HAVE_MALLOC_H

/* Define if you have the <paths.h> header file.  */
#undef HAVE_PATHS_H

/* Define if you have the <string.h> header file.  */
#undef HAVE_STRING_H

/* Define if you have the <strings.h> header file.  */
#if !defined(__convex__) && !defined(convex)
#undef HAVE_STRINGS_H
#endif /* convex */

/* Define your flavor of dir entry header file.  */
#undef HAVE_DIRENT_H
#undef HAVE_SYS_NDIR_H
#undef HAVE_SYS_DIR_H
#undef HAVE_NDIR_H

/* Define if you have the <utime.h> header file.  */
#undef HAVE_UTIME_H

/* Define if you have the <unistd.h> header file.  */
#undef HAVE_UNISTD_H

/* Define if you have the <termio.h> header file.  */
#undef HAVE_TERMIO_H

/* Define if you have the <termios.h> header file and tcgetattr(3).  */
#ifdef HAVE_TCGETATTR
#undef HAVE_TERMIOS_H
#endif /* HAVE_TCGETATTR */

/* Define if you have the <sys/sockio.h> header file.  */
#undef HAVE_SYS_SOCKIO_H

/* Define if you have the <sys/bsdtypes.h> header file.  */
#undef HAVE_SYS_BSDTYPES_H

/* Define if your struct sockadr has an sa_len field. */
#undef HAVE_SA_LEN

/* Supported shadow password types */
#define SPW_NONE                0x00
#define SPW_SECUREWARE          0x01
#define SPW_HPUX9               0x02
#define SPW_SUNOS4              0x03
#define SPW_SVR4                0x04
#define SPW_ULTRIX4             0x05

/* Define to the variety of shadow passwords supported on your OS */
#undef SHADOW_TYPE

/* Define to void if your C compiler fully groks void, else char */
#undef VOID

/* Define to the max length of a uid_t in string context (excluding the NULL */
#undef MAX_UID_T_LEN

/* Define if your syslog(3) does not guarantee the message will be logged */
/* and syslog(3) returns non-zero to denote failure */
#undef BROKEN_SYSLOG

/*
 * Paths to commands used by sudo.  There are used by pathnames.h.
 * If you want to override these values, do so in pathnames.h, not here!
 */

#ifndef _SUDO_PATH_SENDMAIL  
#undef _SUDO_PATH_SENDMAIL
#endif /* _SUDO_PATH_SENDMAIL */

#ifndef _SUDO_PATH_VI
#undef _SUDO_PATH_VI
#endif /* _SUDO_PATH_VI */
  
#ifndef _SUDO_PATH_PWD
#undef _SUDO_PATH_PWD
#endif /* _SUDO_PATH_PWD */

#ifndef _SUDO_PATH_MV
#undef _SUDO_PATH_MV
#endif /* _SUDO_PATH_MV */

#ifndef _SUDO_PATH_LOGFILE
#undef _SUDO_PATH_LOGFILE
#endif /* _SUDO_PATH_LOGFILE */