* configure.in: Check for gethostbyname first before we check for it

in libnsl.  On gnu systems it is implemeneted
This commit is contained in:
John (J5) Palmieri 2006-10-13 20:01:16 +00:00
parent 2f2a3334de
commit f602dcb89a
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2006-10-11 John (J5) Palmieri <johnp@redhat.com>
* configure.in: Check for gethostbyname first before we check for it
in libnsl. On gnu systems it is implemeneted
2006-10-13 Havoc Pennington <hp@redhat.com>
* dbus/dbus-connection.c

View file

@ -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)