]> granicus.if.org Git - linux-pam/blob - _pam_aconf.h.in
Relevant BUGIDs: 476981
[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 __USE_BSD
25 # define __USE_SVID
26 # define __USE_MISC
27 # define _GNU_SOURCE
28 # include <features.h>
29 #endif /* HAVE_FEATURES_H */
30
31 /* we have libcrack available */
32 #undef HAVE_LIBCRACK
33
34 /* we have libcrypt - its not part of libc (do we need both definitions?) */
35 #undef HAVE_LIBCRYPT
36 #undef HAVE_CRYPT_H
37
38 /* we have libndbm and/or libdb */
39 #undef HAVE_DB_H
40 #undef HAVE_NDBM_H
41
42 /* have libfl (Flex) */
43 #undef HAVE_LIBFL
44
45 /* have libnsl - instead of libc support */
46 #undef HAVE_LIBNSL
47
48 /* have libpwdb - don't expect this to be important for much longer */
49 #undef HAVE_LIBPWDB
50
51 /* have gethostname() declared */
52 #undef HAVE_GETHOSTNAME
53
54 #undef HAVE_GETTIMEOFDAY
55 #undef HAVE_MKDIR
56 #undef HAVE_SELECT
57 #undef HAVE_STRCSPN
58 #undef HAVE_STRDUP
59 #undef HAVE_STRERROR
60 #undef HAVE_STRSPN
61 #undef HAVE_STRSTR
62 #undef HAVE_STRTOL
63 #undef HAVE_UNAME
64
65 /* Define if reentrant declarations of standard nss functions are available */
66 #undef HAVE_GETPWNAM_R
67 #undef HAVE_GETGRNAM_R
68
69 /* ugly hack to partially support old pam_strerror syntax */
70 #undef UGLY_HACK_FOR_PRIOR_BEHAVIOR_SUPPORT
71
72 /* read both confs - read /etc/pam.d and /etc/pam.conf in serial */
73 #undef PAM_READ_BOTH_CONFS
74
75 #undef HAVE_PATHS_H
76 #ifdef HAVE_PATHS_H
77 #include <paths.h>
78 #endif
79 /* location of the mail spool directory */
80 #undef PAM_PATH_MAILDIR
81
82 /* where should we include setfsuid's prototype from? If this is not
83    defined, we get it from unistd.h */
84 #undef HAVE_SYS_FSUID_H
85
86 /* track all memory allocations and liberations */
87 #undef MEMORY_DEBUG
88 #ifdef MEMORY_DEBUG
89 /*
90  * this is basically a hack - we need to include a semiarbitrary
91  * number of headers to ensure that we don't get silly prototype/macro
92  * confusion.
93  */
94 # include <string.h>
95 # include <stdlib.h>
96 # include <security/pam_malloc.h>
97 #endif /* MEMORY_DEBUG */
98
99 #endif /* PAM_ACONF_H */