Use PTHREAD_CFLAGS when testing for getpwnam_r() On Solaris, AX_PTHREAD can include -D_POSIX_PTHREAD_SEMANTICS in PTHREAD_CFLAGS, which affects which variants of getpwnam_r() and getpwuid_r() are declared by system headers. In configure.in, use PTHREAD_CFLAGS when testing for those functions to make sure that the tests see the same variants as the build will. [ghudson@mit.edu: rewrote commit message and comment] https://github.com/krb5/krb5/commit/013de5c54eafebf5aa3fae82821c21ca2072040d Author: sashan Committer: Greg Hudson Commit: 013de5c54eafebf5aa3fae82821c21ca2072040d Branch: master src/configure.in | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-)