diff options
Diffstat (limited to '_pam_aconf.h.in')
-rw-r--r-- | _pam_aconf.h.in | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/_pam_aconf.h.in b/_pam_aconf.h.in new file mode 100644 index 00000000..4c18f6cf --- /dev/null +++ b/_pam_aconf.h.in @@ -0,0 +1,61 @@ +/* + * $Id$ + * + * + */ + +#ifndef PAM_ACONF_H +#define PAM_ACONF_H + +/* lots of stuff gets written to /tmp/pam-debug.log */ +#undef DEBUG + +/* build libraries with different names (suffixed with 'd') */ +#undef WITH_LIBDEBUG + +/* provide a global locking facility within libpam */ +#undef PAM_LOCKING + +/* GNU systems as a class, all have the feature.h file */ +#undef HAVE_FEATURES_H +#ifdef HAVE_FEATURES_H +# define _SVID_SOURCE +# define _BSD_SOURCE +# define __USE_BSD +# define __USE_SVID +# define __USE_MISC +# define _GNU_SOURCE +# include <features.h> +#endif /* HAVE_FEATURES_H */ + +/* we have libcrack available */ +#undef HAVE_LIBCRACK + +/* we have libcrypt - its not part of libc (do we need both definitions?) */ +#undef HAVE_LIBCRYPT +#undef HAVE_CRYPT_H + +/* we have libdb */ +#undef HAVE_LIBDB + +#ifndef HAVE_LIBDB +/* we have libndbm - instead of libdb */ +#undef HAVE_LIBNDBM +#endif /* HAVE_LIBDB */ + +/* have libfl (Flex) */ +#undef HAVE_LIBFL + +/* have libnsl - instead of libc support */ +#undef HAVE_LIBNSL + +/* have libpwdb - don't expect this to be important for much longer */ +#undef HAVE_LIBPWDB + +/* ugly hack to partially support old pam_strerror syntax */ +#undef UGLY_HACK_FOR_PRIOR_BEHAVIOR_SUPPORT + +/* read both confs - read /etc/pam.d and /etc/pam.conf in serial */ +#undef PAM_READ_BOTH_CONFS + +#endif /* PAM_ACONF_H */ |