From c76bdab1c6fdf4dd3d682ceb89a6100fa4a94cf4 Mon Sep 17 00:00:00 2001 From: Tom Yu Date: Tue, 10 Aug 2004 00:47:14 +0000 Subject: [PATCH] * configure.in: Solaris getpwnam_r returns struct passwd*, not struct pwd*. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16654 dc483132-0cff-0310-8789-dd5450dbe970 --- src/include/ChangeLog | 5 +++++ src/include/configure.in | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/include/ChangeLog b/src/include/ChangeLog index 63e696a19..a659e1ce3 100644 --- a/src/include/ChangeLog +++ b/src/include/ChangeLog @@ -1,3 +1,8 @@ +2004-08-09 Tom Yu + + * configure.in: Solaris getpwnam_r returns struct passwd*, not + struct pwd*. + 2004-08-08 Ken Raeburn * configure.in: If getpwnam_r is available, determine its return diff --git a/src/include/configure.in b/src/include/configure.in index 8995d69d7..b50c7e4ba 100644 --- a/src/include/configure.in +++ b/src/include/configure.in @@ -57,7 +57,7 @@ if test "$ac_cv_func_getpwnam_r" = yes; then extern int getpwnam_r();], [1;], getpwnam_r_returns_int=yes,getpwnam_r_returns_int=no) AC_TRY_COMPILE([#include - extern struct pwd *getpwnam_r();], [1;], + extern struct passwd *getpwnam_r();], [1;], getpwnam_r_returns_ptr=yes,getpwnam_r_returns_ptr=no) case "$getpwnam_r_returns_int/$getpwnam_r_returns_ptr" in yes/no) krb5_cv_getpwnam_r_return_type=int ;; -- 2.26.2