File: config.h.in

package info (click to toggle)
super 3.30.1-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,860 kB
  • sloc: ansic: 24,673; sh: 297; makefile: 296
file content (360 lines) | stat: -rw-r--r-- 9,002 bytes parent folder | download
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
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
/* The code should compile with either ANSI C or K&R compilers. */

/*
 *      Copyright (c) 1995, 1996 by William Deich.
 *      Written by William Deich.  Not derived from licensed software.

 *    You may distribute under the terms of either the GNU General Public
 *    License or the Artistic License, as specified in the README file.
 */

/* ###################################################################### */
/* The following items should be carefully checked to make sure that */
/* they properly describe your system. */
/* ###################################################################### */

/* The  PATH variable for any command executed by super.  Set to a path that
 * contains only trusted files.
 */
#define SAFE_PATH @SAFE_PATH@

/* TIMESTAMP_DIR is the directory in which timestamp files are
 *	kept for commands that require passwords to be entered.
 */
#ifndef TIMESTAMP_DIR
#define TIMESTAMP_DIR "/usr/local/lib/super/timestamps"
#endif


/* Define if on AIX >= 3. */
#undef _ALL_SOURCE

/* Define if on Clix */
#undef __clix__

/* Define if on SCO */
#undef SCO

/* Define if on HP-UX */
#undef _HPUX_SOURCE

/* For HP-UX, define major and minor version numbers (computed in the
 * configure script).
 */
#undef HPUX_MAJOR
#undef HPUX_MINOR

/* Define if on Linux or other glibc system */
#undef _BSD_SOURCE


/* Define if on Linux or other glibc system */
#undef _DEFAULT_SOURCE

/* For SunOS, define major and minor version numbers (computed in the
 * configure script); for convenience, if on SunOS 5.x, also define SUNOS5.
 */
#undef SUNOS_MAJOR
#undef SUNOS_MINOR
#ifdef SUNOS_MAJOR
#if (SUNOS_MAJOR == 5)
#define SUNOS5
#endif
#endif

/* For AIX, define major and minor version numbers (computed in the
 * configure script.
 */
#undef AIX_MAJOR
#undef AIX_MINOR

/* Define both of these if on Digital Unix (or Dec OSF/1 3.2 or higher) */
#ifndef Digital_UNIX
#undef Digital_UNIX
#endif
#ifndef _OSF_SOURCE
#undef _OSF_SOURCE
#endif

/*
 * Don't define _XOPEN_SOURCE for SCO: although it uses this for compliance
 * reasons, this define causes some problems with password file negotiation.
 *
 * Also don't define it for Solaris 2.4 (SunOS 5.4) and higher: it causes
 * problems for things like struct timespec, which doesn't get defined if
 * _XOPEN_SOURCE is set (instead struct _timespec is defined), but stat.h
 * uses struct timespec in its definition of itimerval.  It's a mess...
 * For our convenience, we won't define it for any Solaris.
 */
#ifndef _SVR4_SOURCE
#ifndef SCO
#ifndef SUNOS5
#define _XOPEN_SOURCE
#endif
#endif
#endif

/* ###################################################################### */
/* The following items are set correctly for your system */
/* ###################################################################### */

#ifdef __STDC__
#define P__(x) x
#else
#define P__(x) ()
#endif


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

/* Define if your system has <arpa/inet.h> */
#undef HAVE_ARPA_INET_H

/* Define if your system has <errno.h> */
#undef HAVE_ERRNO_H

/* Define if you need _not_ declare errno to be extern */
#undef DONT_DECL_ERRNO

/* Define if your system has <limits.h> */
#undef HAVE_LIMITS_H

/* Define if your system has <locale.h> */
#undef HAVE_LOCALE_H

/* Define if your system has <malloc.h> */
#undef HAVE_MALLOC_H

/* Define if your system has <memory.h> */
#undef HAVE_MEMORY_H

/* Define if your system has <netdb.h> */
#undef HAVE_NETDB_H

/* Define if your system has <net/route.h> */
#undef HAVE_NET_ROUTE_H

/* Define if your system has <net/if.h> */
#undef HAVE_NET_IF_H

/* Define if your system has <netinet/in.h> */
#undef HAVE_NETINET_IN_H

/* Define if your system has <shadow.h> */
#undef HAVE_SHADOW_H

/* Define if your system has <sys/security.h> */
#undef HAVE_SYS_SECURITY_H

/* Define if your system has <hpsecurity.h> */
#undef HAVE_HPSECURITY_H

/* Define if your system has <security/pam_appl.h> */
#undef HAVE_SECURITY_PAM_APPL_H

/* Define if your system has <security/pam_misc.h> */
#undef HAVE_SECURITY_PAM_MISC_H

/* Define if your system has <prot.h> */
#undef HAVE_PROT_H

/* Define if your system has <auth.h> */
#undef HAVE_AUTH_H

/* Define if your system has <sys/label.h> */
#undef HAVE_SYS_LABEL_H

/* Define if your system has <sys/audit.h> */
#undef HAVE_SYS_AUDIT_H

/* Define if your system has <pwdadj.h> */
#undef HAVE_PWDADJ_H

/* Define if your system has <standards.h> */
#undef HAVE_STANDARDS_H

/* Define if your system has <stdlib.h> */
#undef HAVE_STDLIB_H

/* Define if your system has <stdarg.h> */
#undef HAVE_STDARG_H

/* Define if your system has <string.h> */
#undef HAVE_STRING_H

/* Define if your system has <sys/param.h> */
#undef HAVE_SYS_PARAM_H

/* Define if your system has <sys/socket.h> */
#undef HAVE_SYS_SOCKET_H

/* Define if your system has <sys/utsname.h> */
#undef HAVE_SYS_UTSNAME_H

/* Define if your system has <sys/systeminfo.h> */
#undef HAVE_SYS_SYSTEMINFO_H

/* Define if your system has <sys/sysinfo.h> */
#undef HAVE_SYS_SYSINFO_H

/* Define if your system has <sys/time.h> */
#undef HAVE_SYS_TIME_H

/* Define if <time.h> can be included with <sys/time.h> */
#undef TIME_WITH_SYS_TIME

/* Define if your system has <sys/types.h> */
#undef HAVE_SYS_TYPES_H

/* Define if your system has <sys/bsdtypes.h> */
#undef HAVE_SYS_BSDTYPES_H

/* Define if your system has <sys/wait.h> */
#undef HAVE_SYS_WAIT_H

/* Define if your system has <syslog.h> */
#undef HAVE_SYSLOG_H

/* Define if your system has <sys/resource.h> */
#undef HAVE_SYS_RESOURCE_H

/* Define if your system has <unistd.h> */
#undef HAVE_UNISTD_H

/* Define if your system has <sys/filio.h> */
#undef HAVE_SYS_FILIO_H

/* Define if your system has <fcntl.h> */
#undef HAVE_FCNTL_H

/* Define if your system has <termios.h> */
#undef HAVE_TERMIOS_H

/* Define if your system has <termio.h> */
#undef HAVE_TERMIO_H

/* Define if your system has <sgtty.h> */
#undef HAVE_SGTTY_H

/* Define if have getgroups() */
#undef HAVE_GETGROUPS

#ifdef HAVE_GETGROUPS
/* Define to the type of elements in the array set by `getgroups'.
 * Usually this is either `int' or `gid_t'.
 */
#undef GETGROUPS_T
#endif
 
/***********************************************************************/

/* Define if your system has sys_errlist[] */
#undef HAVE_SYS_ERRLIST

/***********************************************************************/

/* Define if your system has sysinfo() */
#undef HAVE_SYSINFO

/* Define if your system has sysconf() */
#undef HAVE_SYSCONF

/* Define if your system has uname() */
#undef HAVE_UNAME

/* Define if your system has setreuid() */
#undef HAVE_SETREUID

/* Define if your system has setregid() */
#undef HAVE_SETREGID

/* Define if your system has tcgetattr() */
#undef HAVE_TCGETATTR

/* Define if your system has tcsetattr() */
#undef HAVE_TCSETATTR

/* Define if your system has getdomainname() */
#undef HAVE_GETDOMAINNAME

/* Define if your system has alnum(c) == (isalpha(c) || isdigit(c)) */
#undef HAVE_ALNUM

/* Define if your system supports enums */
#undef HAVE_ENUM

/* Define if your system supports the ioctl(fd, FIOCLEX, NULL) call */
#undef HAVE_IOCTL_FIOCLEX

/* Define if your system has the getdtablesize() function */
#undef HAVE_GETDTABLESIZE

/* Define if your system has innetgr() */
#undef HAVE_INNETGR

/* Define if your system has iscomsec() */
#undef HAVE_ISCOMSEC

/* Define if your system has localtime() */
#undef HAVE_LOCALTIME

/* Define if your system has memcpy() */
#undef HAVE_MEMCPY

/* Define if your system has memset() */
#undef HAVE_MEMSET

/* Define if your signal() is of type void */
#undef HAVE_VOID_SIGNAL

/* Define if your system has POSIX regular expression routines */
#undef HAVE_POSIX_REGEX

/* Define if your system has strdup() */
#undef HAVE_STRDUP

/* Define if your system has strerror() */
#undef HAVE_STRERROR

/* Define if your system has strtol() */
#undef HAVE_STRTOL

/* Define if your system has the pam_start() function */
#undef HAVE_PAM_START

/* Define if your system has the pam_strerror() function */
#undef HAVE_PAM_STRERROR

/* Define if your system has the misc_conv() function (from libpam_misc) */
#undef HAVE_MISC_CONV

/* Define if your system has the fileno() function */
#undef HAVE_FILENO

/* Define if your system has the gtty() function */
#undef HAVE_GTTY

/* Define if your system has the syslog() function */
#undef HAVE_SYSLOG

/* Define if your system has the sysconf() function */
#undef HAVE_SYSCONF

/* Define if your system has the v?printf() functions */
#undef HAVE_VPRINTF

/* Define if your system doesn't have vprintf, but has _doprnt() */
#undef HAVE_DOPRNT

/***********************************************************************/

/* Define if your system doesn't understand "#! /path" at the start
 * of a script.  Super will include code to do this work.
 */
#undef INTERPRETER_HACK

/* Define if your system supports filenames more than 14 characters */
#undef HAVE_LONG_FILE_NAMES