* configure.in: Solaris getpwnam_r returns struct passwd*, not
authorTom Yu <tlyu@mit.edu>
Tue, 10 Aug 2004 00:47:14 +0000 (00:47 +0000)
committerTom Yu <tlyu@mit.edu>
Tue, 10 Aug 2004 00:47:14 +0000 (00:47 +0000)
struct pwd*.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16654 dc483132-0cff-0310-8789-dd5450dbe970

src/include/ChangeLog
src/include/configure.in

index 63e696a198baf8e17e71cd0bf2eaf3961b3883c0..a659e1ce3566616a5b9d983586f9cec818dc94b6 100644 (file)
@@ -1,3 +1,8 @@
+2004-08-09  Tom Yu  <tlyu@mit.edu>
+
+       * configure.in: Solaris getpwnam_r returns struct passwd*, not
+       struct pwd*.
+
 2004-08-08  Ken Raeburn  <raeburn@mit.edu>
 
        * configure.in: If getpwnam_r is available, determine its return
index 8995d69d7efb602fa646b6dd793eb744cb1add7d..b50c7e4bace409b628aa50f5242f5098964af837 100644 (file)
@@ -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 <pwd.h>
-   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 ;;