]> granicus.if.org Git - linux-pam/blob - _pam_aconf.h.in
ae4b16e968218abb6a80bd56c1449003ae935c73
[linux-pam] / _pam_aconf.h.in
1 /*
2  * $Id$
3  *
4  * 
5  */
6
7 #ifndef PAM_ACONF_H
8 #define PAM_ACONF_H
9
10 /* lots of stuff gets written to /tmp/pam-debug.log */
11 #undef DEBUG
12
13 /* build libraries with different names (suffixed with 'd') */
14 #undef WITH_LIBDEBUG
15
16 /* provide a global locking facility within libpam */
17 #undef PAM_LOCKING
18
19 /* GNU systems as a class, all have the feature.h file */
20 #undef HAVE_FEATURES_H
21 #ifdef HAVE_FEATURES_H
22 # define _SVID_SOURCE
23 # define _BSD_SOURCE
24 # define _GNU_SOURCE
25 # include <features.h>
26 #endif /* HAVE_FEATURES_H */
27
28 /* we have libcrack available */
29 #undef HAVE_LIBCRACK
30
31 /* we have libcrypt - its not part of libc (do we need both definitions?) */
32 #undef HAVE_LIBCRYPT
33 #undef HAVE_CRYPT_H
34
35 /* we have libndbm and/or libdb */
36 #undef HAVE_DB_H
37 #undef HAVE_NDBM_H
38
39 /* have libfl (Flex) */
40 #undef HAVE_LIBFL
41
42 /* have libnsl - instead of libc support */
43 #undef HAVE_LIBNSL
44
45 /* have libpwdb - don't expect this to be important for much longer */
46 #undef HAVE_LIBPWDB
47
48 /* have gethostname() declared */
49 #undef HAVE_GETHOSTNAME
50
51 #undef HAVE_GETTIMEOFDAY
52 #undef HAVE_MKDIR
53 #undef HAVE_SELECT
54 #undef HAVE_STRCSPN
55 #undef HAVE_STRDUP
56 #undef HAVE_STRERROR
57 #undef HAVE_STRSPN
58 #undef HAVE_STRSTR
59 #undef HAVE_STRTOL
60 #undef HAVE_UNAME
61
62 /* Define if reentrant declarations of standard nss functions are available */
63 #undef HAVE_GETPWNAM_R
64 #undef HAVE_GETPWUID_R
65 #undef HAVE_GETSPNAM_R
66 #undef HAVE_GETGRNAM_R
67 #undef HAVE_GETGRGID_R
68 #undef HAVE_GETGROUPLIST
69
70 /* ugly hack to partially support old pam_strerror syntax */
71 #undef UGLY_HACK_FOR_PRIOR_BEHAVIOR_SUPPORT
72
73 /* read both confs - read /etc/pam.d and /etc/pam.conf in serial */
74 #undef PAM_READ_BOTH_CONFS
75
76 #undef HAVE_PATHS_H
77 #ifdef HAVE_PATHS_H
78 #include <paths.h>
79 #endif
80 /* location of the mail spool directory */
81 #undef PAM_PATH_MAILDIR
82
83 /* where should we include setfsuid's prototype from? If this is not
84    defined, we get it from unistd.h */
85 #undef HAVE_SYS_FSUID_H
86
87 /* Do we have inttypes.h for uint32_t */
88 #undef HAVE_INTTYPES_H
89
90 /* track all memory allocations and liberations */
91 #undef MEMORY_DEBUG
92 #ifdef MEMORY_DEBUG
93 /*
94  * this is basically a hack - we need to include a semiarbitrary
95  * number of headers to ensure that we don't get silly prototype/macro
96  * confusion.
97  */
98 # include <string.h>
99 # include <stdlib.h>
100 # include <security/pam_malloc.h>
101 #endif /* MEMORY_DEBUG */
102
103 /* the path, relative to SECUREDIR, where PAMs specific to this architecture
104  * can be found */
105 #undef _PAM_ISA
106
107 #endif /* PAM_ACONF_H */