# 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 --
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!]))
# -- Libraries --
AC_CHECK_LIB(UTIL,memmove)
+AC_CHECK_LIB(socket,bind)
+AC_CHECK_LIB(nsl,gethostent)
# -- Funktionen --
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)
AC_CHECK_FUNCS(sigaction)
+AC_CHECK_FUNCS(vsnprintf)
+
# -- Konfigurationsoptionen --
AC_ARG_ENABLE(syslog,