summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorKevin Steves <stevesk@pobox.com>2000-10-07 13:24:00 +0000
committerKevin Steves <stevesk@pobox.com>2000-10-07 13:24:00 +0000
commit48b7cc0dd7d166ea0ea76c6c2a1da26923e7ac32 (patch)
tree9ceb7ce8ff168aabad12860f0f3e73152c501e66 /configure.in
parentcccca2789073abe1aa781978d25d1d2e7736aad4 (diff)
- (stevesk) Fix detection of pw_class struct member in configure;
patch from KAMAHARA Junzo <kamahara@cc.kshosen.ac.jp>
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in3
1 files changed, 1 insertions, 2 deletions
diff --git a/configure.in b/configure.in
index 38afa3b4d..c342d14fa 100644
--- a/configure.in
+++ b/configure.in
@@ -829,10 +829,9 @@ AC_CACHE_CHECK([for pw_class field in struct passwd],
829 ac_cv_have_pw_class_in_struct_passwd, [ 829 ac_cv_have_pw_class_in_struct_passwd, [
830 AC_TRY_COMPILE( 830 AC_TRY_COMPILE(
831 [ 831 [
832#include <sys/types.h>
833#include <pwd.h> 832#include <pwd.h>
834 ], 833 ],
835 [ struct passwd p s; p.pw_class = NULL; ], 834 [ struct passwd p; p.pw_class = 0; ],
836 [ ac_cv_have_pw_class_in_struct_passwd="yes" ], 835 [ ac_cv_have_pw_class_in_struct_passwd="yes" ],
837 [ ac_cv_have_pw_class_in_struct_passwd="no" ] 836 [ ac_cv_have_pw_class_in_struct_passwd="no" ]
838 ) 837 )