]> git.ipfire.org Git - thirdparty/krb5.git/commit
Use PTHREAD_CFLAGS when testing for getpwnam_r() 817/head
authorsashan <anedvedicky@gmail.com>
Mon, 23 Jul 2018 12:56:15 +0000 (12:56 +0000)
committerGreg Hudson <ghudson@mit.edu>
Sun, 5 Aug 2018 13:02:25 +0000 (09:02 -0400)
commit013de5c54eafebf5aa3fae82821c21ca2072040d
tree31703e01c9b54769ab33d94f8d95589e3530a540
parent49bb627fed70c5258c151c5135ac3d95ed1ee55d
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]

ticket: 8723 (new)
src/configure.in