diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2009-02-20 10:17:43 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2009-02-20 10:17:43 +0000 |
commit | 1270a9d8ee0ea6ae533546b07a6714f351346600 (patch) | |
tree | fac12982823139a57e42188772ecba19ee72d66c /configure.ac | |
parent | 64d011185ad8e65aabf3b18d07d2f5b29e804ae1 (diff) | |
download | zsh-1270a9d8ee0ea6ae533546b07a6714f351346600.tar.gz zsh-1270a9d8ee0ea6ae533546b07a6714f351346600.tar.xz zsh-1270a9d8ee0ea6ae533546b07a6714f351346600.zip |
26584: use bind/netdb.h where appropriate
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 50658e573..d67f2034c 100644 --- a/configure.ac +++ b/configure.ac @@ -755,6 +755,12 @@ fi AC_CHECK_LIB(socket, socket) AC_CHECK_LIB(bind, gethostbyname2) +case $LIBS in + *-lbind*) + AC_CHECK_HEADERS(bind/netdb.h) + ;; +esac + dnl --------------- dnl CHECK FOR ICONV dnl --------------- |