diff options
author | Steve Langasek <vorlon@debian.org> | 2007-08-29 00:14:57 +0000 |
---|---|---|
committer | Steve Langasek <vorlon@debian.org> | 2007-08-29 00:14:57 +0000 |
commit | c783f0606e223915b947b564a2f53d2d4ff78d6b (patch) | |
tree | 9fa8bc1e9306fc639c63dc3f2970228dafa237e9 /configure.in | |
parent | af0308708c9308953542815f9e3a9dce7db09edc (diff) | |
download | pam-c783f0606e223915b947b564a2f53d2d4ff78d6b.tar.gz pam-c783f0606e223915b947b564a2f53d2d4ff78d6b.tar.bz2 pam-c783f0606e223915b947b564a2f53d2d4ff78d6b.zip |
Relevant BUGIDs:
Purpose of commit: cleanup
Commit summary:
---------------
2007-08-28 Steve Langasek <vorlon@debian.org>
* configure.in: call AC_CHECK_HEADERS instead of AC_CHECK_HEADER
for crack.h, so we get a HAVE_CRACK_H define.
* modules/pam_cracklib/pam_cracklib.c: don't copy around the
cracklib dictpath into a fixed-width buffer, when we can just
point at the existing strings; and allow users to override the
default cracklib path with -DCRACKLIB_DICT, required for
compatibility with cracklib 2.7.
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.in b/configure.in index 856c054c..6ac1f32b 100644 --- a/configure.in +++ b/configure.in @@ -317,7 +317,7 @@ AC_ARG_ENABLE([cracklib], AC_HELP_STRING([--disable-cracklib],[do not use cracklib]), WITH_CRACKLIB=$enableval, WITH_CRACKLIB=yes) if test x"$WITH_CRACKLIB" != xno ; then - AC_CHECK_HEADER([crack.h], + AC_CHECK_HEADERS([crack.h], AC_CHECK_LIB([crack], [FascistCheck], LIBCRACK="-lcrack", LIBCRACK="")) else LIBCRACK="" |