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:
Love Hörnquist Åstrand
2005-05-19 11:24:48 +00:00
parent a934d46ac0
commit 798226f3a3

View File

@@ -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()
{