summaryrefslogtreecommitdiff
path: root/pkgtools/libnbcompat/files/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'pkgtools/libnbcompat/files/configure.ac')
-rw-r--r--pkgtools/libnbcompat/files/configure.ac5
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgtools/libnbcompat/files/configure.ac b/pkgtools/libnbcompat/files/configure.ac
index ef27b10cfa5..bc80eefcba2 100644
--- a/pkgtools/libnbcompat/files/configure.ac
+++ b/pkgtools/libnbcompat/files/configure.ac
@@ -1,4 +1,4 @@
-dnl $NetBSD: configure.ac,v 1.68 2008/10/10 00:21:43 joerg Exp $
+dnl $NetBSD: configure.ac,v 1.69 2008/10/26 12:31:30 joerg Exp $
dnl Process this file with autoconf to produce a configure script.
AC_PREREQ(2.52)
@@ -252,6 +252,9 @@ AC_REPLACE_FUNCS([asprintf err fgetln fnmatch fparseln getenv isblank \
strlcat strlcpy strmode strsep strtoll unsetenv usleep utimes warn
])
+AC_CHECK_LIB(socket, socket)
+AC_CHECK_LIB(nsl, gethostbyname)
+
need_getaddrinfo=no
AC_CHECK_TYPES([socklen_t], [], [], [[#include <sys/socket.h>]])
AC_CHECK_TYPES([struct addrinfo], [], [], [[#include <netdb.h>]])