diff options
author | John (J5) Palmieri <johnp@redhat.com> | 2006-10-13 20:01:16 +0000 |
---|---|---|
committer | John (J5) Palmieri <johnp@redhat.com> | 2006-10-13 20:01:16 +0000 |
commit | f602dcb89af7b8074953c351bdc467137c4809a1 (patch) | |
tree | d88171ba4fcd777064e2af0209ff69cacd2e5866 /configure.in | |
parent | 2f2a3334de3e7a3ca1d4faa725f37ff6823c6a3b (diff) |
* configure.in: Check for gethostbyname first before we check for it
in libnsl. On gnu systems it is implemeneted
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.in b/configure.in index 2af29b3c..1c6ece0c 100644 --- a/configure.in +++ b/configure.in @@ -508,7 +508,7 @@ fi #### Various functions AC_CHECK_LIB(socket,socket) -AC_CHECK_LIB(nsl,gethostbyname) +AC_CHECK_FUNC(gethostbyname,,[AC_CHECK_LIB(nsl,gethostbyname)]) AC_CHECK_FUNCS(vsnprintf vasprintf nanosleep usleep poll setenv unsetenv socketpair getgrouplist fpathconf) |