mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Merged revisions 77865 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r77865 | file | 2007-08-01 14:42:52 -0300 (Wed, 01 Aug 2007) | 2 lines And for my last trick... make sure that if gethostbyname_r is exported by a library that it is used. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@77866 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -284,6 +284,8 @@ AC_CHECK_FUNCS([asprintf atexit bzero dup2 endpwent floor ftruncate getcwd getho
|
||||
AC_CHECK_FUNCS([funopen fopencookie])
|
||||
|
||||
# some systems already have gethostbyname_r so we don't need to build ours in main/utils.c
|
||||
AC_SEARCH_LIBS(gethostbyname_r, [socket nsl])
|
||||
|
||||
AC_MSG_CHECKING(for gethostbyname_r with 6 arguments)
|
||||
AC_LINK_IFELSE(
|
||||
AC_LANG_PROGRAM([#include <netdb.h>],
|
||||
|
Reference in New Issue
Block a user