make sure of building getaddrinfo et al if missing
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10183 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -262,22 +262,22 @@ AC_FIND_FUNC_NO_LIBS(pidfile,util,
|
|||||||
#include <util.h>
|
#include <util.h>
|
||||||
#endif],0)
|
#endif],0)
|
||||||
|
|
||||||
AC_FIND_FUNC_NO_LIBS(getaddrinfo,,
|
AC_FIND_IF_NOT_BROKEN(getaddrinfo,,
|
||||||
[#ifdef HAVE_NETDB_H
|
[#ifdef HAVE_NETDB_H
|
||||||
#include <netdb.h>
|
#include <netdb.h>
|
||||||
#endif],[0,0,0,0])
|
#endif],[0,0,0,0])
|
||||||
|
|
||||||
AC_FIND_FUNC_NO_LIBS(getnameinfo,,
|
AC_FIND_IF_NOT_BROKEN(getnameinfo,,
|
||||||
[#ifdef HAVE_NETDB_H
|
[#ifdef HAVE_NETDB_H
|
||||||
#include <netdb.h>
|
#include <netdb.h>
|
||||||
#endif],[0,0,0,0,0,0,0])
|
#endif],[0,0,0,0,0,0,0])
|
||||||
|
|
||||||
AC_FIND_FUNC_NO_LIBS(freeaddrinfo,,
|
AC_FIND_IF_NOT_BROKEN(freeaddrinfo,,
|
||||||
[#ifdef HAVE_NETDB_H
|
[#ifdef HAVE_NETDB_H
|
||||||
#include <netdb.h>
|
#include <netdb.h>
|
||||||
#endif],[0])
|
#endif],[0])
|
||||||
|
|
||||||
AC_FIND_FUNC_NO_LIBS(gai_strerror,,
|
AC_FIND_IF_NOT_BROKEN(gai_strerror,,
|
||||||
[#ifdef HAVE_NETDB_H
|
[#ifdef HAVE_NETDB_H
|
||||||
#include <netdb.h>
|
#include <netdb.h>
|
||||||
#endif],[0])
|
#endif],[0])
|
||||||
|
Reference in New Issue
Block a user