done
+
for wx_func in getpwuid_r
do
{ echo "$as_me:$LINENO: checking for $wx_func" >&5
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
- #define _REENTRANT
- #include <pwd.h>
+
+ #define _REENTRANT
+ #include <pwd.h>
+
$ac_includes_default
int
&$wx_func;
#endif
+ struct passwd pw, *ppw;
+ char buf[1024];
+ getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
+
;
return 0;
done
+
for wx_func in getgrgid_r
do
{ echo "$as_me:$LINENO: checking for $wx_func" >&5
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
- #define _REENTRANT
- #include <grp.h>
+
+ #define _REENTRANT
+ #include <grp.h>
+
$ac_includes_default
int
&$wx_func;
#endif
+ struct group grp, *pgrp;
+ char buf[1024];
+ getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
+
;
return 0;