summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--configure.in10
1 files changed, 7 insertions, 3 deletions
diff --git a/configure.in b/configure.in
index 9ec71b94..49a8e9d8 100644
--- a/configure.in
+++ b/configure.in
@@ -9,7 +9,7 @@
 # Naehere Informationen entnehmen Sie bitter der Datei COPYING. Eine Liste
 # der an ngIRCd beteiligten Autoren finden Sie in der Datei AUTHORS.
 #
-# $Id: configure.in,v 1.45 2002/05/09 10:17:05 alex Exp $
+# $Id: configure.in,v 1.46 2002/05/19 01:14:42 alex Exp $
 #
 
 # -- Initialisierung --
@@ -53,7 +53,7 @@ AC_HEADER_STDC
 AC_HEADER_TIME
 
 AC_CHECK_HEADERS([ \
-	errno.h fcntl.h netdb.h netinet/in.h stdlib.h string.h \
+	ctype.h errno.h fcntl.h netdb.h netinet/in.h stdlib.h string.h \
 	sys/socket.h sys/time.h sys/wait.h unistd.h \
 	],,AC_MSG_ERROR([required C header missing!]))
 
@@ -79,6 +79,8 @@ AC_TRY_COMPILE([
 # -- Libraries --
 
 AC_CHECK_LIB(UTIL,memmove)
+AC_CHECK_LIB(socket,bind)
+AC_CHECK_LIB(nsl,gethostent)
 
 # -- Funktionen --
 
@@ -87,7 +89,7 @@ AC_FUNC_MALLOC
 AC_CHECK_FUNCS([ \
 	bind gethostbyaddr gethostbyname gethostname inet_ntoa memmove \
 	memset select setsockopt socket strcasecmp strchr strerror strftime \
-	strstr vsnprintf waitpid \
+	strstr waitpid \
 	],,AC_MSG_ERROR([required function missing!]))
 
 AC_CHECK_FUNCS(inet_aton)
@@ -96,6 +98,8 @@ AC_CHECK_FUNCS(regcomp,regcomp_ok=1)
 
 AC_CHECK_FUNCS(sigaction)
 
+AC_CHECK_FUNCS(vsnprintf)
+
 # -- Konfigurationsoptionen --
 
 AC_ARG_ENABLE(syslog,