diff options.h @ 1159:f567a4152c14

Test for crypt() rather than crypt.h Print a message from configure if getpass() or crypt() were missing
author Matt Johnston <matt@ucc.asn.au>
date Wed, 21 Oct 2015 23:08:22 +0800
parents ef67b57fe438
children 6a7938ba004a
line wrap: on
line diff
--- a/options.h	Wed Oct 21 22:48:15 2015 +0800
+++ b/options.h	Wed Oct 21 23:08:22 2015 +0800
@@ -206,8 +206,8 @@
  * PAM challenge/response.
  * You can't enable both PASSWORD and PAM. */
 
-/* This requires crypt.h & crypt. */
-#ifdef HAVE_CRYPT_H
+/* This requires crypt() */
+#ifdef HAVE_CRYPT
 #define ENABLE_SVR_PASSWORD_AUTH
 #endif
 /* PAM requires ./configure --enable-pam */