define _POSIX_PTHREAD_SEMANTICS to make solaris provide the right getpwname_r
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15182 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -9,6 +9,7 @@ if test "$ac_cv_func_getpwnam_r" = yes; then
|
||||
ac_libs="$LIBS"
|
||||
LIBS="$LIBS $LIB_getpwnam_r"
|
||||
AC_RUN_IFELSE([AC_LANG_SOURCE([[
|
||||
#define _POSIX_PTHREAD_SEMANTICS
|
||||
#include <pwd.h>
|
||||
int main()
|
||||
{
|
||||
|
Reference in New Issue
Block a user