]> git.decadent.org.uk Git - nfs-utils.git/commitdiff
mount: getport: don't use getaddrinfo(3) on old systems
authorChuck Lever <chuck.lever@oracle.com>
Tue, 6 Jan 2009 17:08:33 +0000 (12:08 -0500)
committerSteve Dickson <steved@redhat.com>
Tue, 6 Jan 2009 17:08:33 +0000 (12:08 -0500)
Older glibc versions have a getaddrinfo(3) that doesn't support
AI_ADDRCONFIG.  Detect that case and build something else for
getport.c that will work adequately on those systems.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Steve Dickson <steved@redhat.com>

No differences found