nfs-utils: make getnameinfo() required for --enable-gss
authorJeff Layton <jlayton@redhat.com>
Wed, 15 Apr 2009 14:29:04 +0000 (10:29 -0400)
committerSteve Dickson <steved@redhat.com>
Wed, 15 Apr 2009 14:29:04 +0000 (10:29 -0400)
commit4b27decace00754006d854a4bbbaa7dd305cba1c
tree401bd0ff6d19e3f53d8f5ba043a6688b8b11b307
parentfa5352f78533c7ad1d8603c1a4ba08fa82768e6b
nfs-utils: make getnameinfo() required for --enable-gss

Systems that are so old that they don't have getnameinfo() in glibc are
probably also running kernels that are so old that they don't support
gssapi upcalls anyway.

Make --enable-gss dependent on the presence of the getnameinfo()
function.  This allows us to reduce some conditional compilation.

Reviewed-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
configure.ac