]> arthur.barton.de Git - netatalk.git/commitdiff
Added checking for USE_CRACKLIB
authorrufustfirefly <rufustfirefly>
Wed, 2 Aug 2000 15:02:23 +0000 (15:02 +0000)
committerrufustfirefly <rufustfirefly>
Wed, 2 Aug 2000 15:02:23 +0000 (15:02 +0000)
acconfig.h
configure.in

index be97eaf0a62a56b01028b0bf60099be2cba51cb4..361de0b81daf592c524b33d57b2a87ab36781276 100644 (file)
@@ -1,3 +1,4 @@
 #undef SHADOWPW
 #undef TCPWRAP
 #undef SHADOWPW
 #undef TCPWRAP
+#undef USE_CRACKLIB
 #undef USE_FLOCK_LOCKS
 #undef USE_FLOCK_LOCKS
index b01ec2a08c91c682fb8c4a526cf48e834edf8fd0..b13f95e508df8ad13871269d7f0ba0d43563432a 100644 (file)
@@ -123,6 +123,11 @@ AC_DEFINE_UNQUOTED(CONFIG_DIR, "$config_dir",
 CONFIG_DIR="$config_dir"
 AC_SUBST(CONFIG_DIR)
 
 CONFIG_DIR="$config_dir"
 AC_SUBST(CONFIG_DIR)
 
+AC_ARG_ENABLE(cracklib,
+       [  --with-cracklib         enable cracklib checking support],
+       AC_DEFINE(USE_CRACKLIB)
+)
+
 AC_ARG_ENABLE(shadow,
        [  --with-shadow           enable shadow password support],
        AC_DEFINE(SHADOWPW)
 AC_ARG_ENABLE(shadow,
        [  --with-shadow           enable shadow password support],
        AC_DEFINE(SHADOWPW)