Openssh 2.2.0p1 configure files has a problem for pw_class
KAMAHARA Junzou
kamahara at cc.kshosen.ac.jp
Fri Oct 6 14:34:53 EST 2000
Hi, I compiled Openssh 2.2.0p1 on NetBSD/i386 1.5ALPHA2,
but I got some configuration error which is that HAVE_LOGIN_CAP_H
was defined though HAVE_PW_CLASS_IN_PASSWD was not defined.
So login_getclass() always used default class (of course, I needs
/etc/login.conf[.db] and default entry ).
The cause of unavailablity was the problem in the configure.in.
I shows the patch below.
diff -u --new-file configure.in.ORG configure.in
--- configure.in.ORG Thu Aug 31 07:20:05 2000
+++ configure.in Thu Oct 5 21:24:25 2000
@@ -759,10 +759,9 @@
ac_cv_have_pw_class_in_struct_passwd, [
AC_TRY_COMPILE(
[
-#include <sys/types.h>
#include <pwd.h>
],
- [ struct passwd p s; p.pw_class = NULL; ],
+ [ struct passwd p; p.pw_class = 0; ],
[ ac_cv_have_pw_class_in_struct_passwd="yes" ],
[ ac_cv_have_pw_class_in_struct_passwd="no" ]
)
Regards;
JK
--
KAMAHARA Junzo(kamahara at cc.kshosen.ac.jp)
Kobe University of Mercantile Marine,
Information Processing Center
More information about the openssh-unix-dev
mailing list