]> arthur.barton.de Git - ngircd-alex.git/commitdiff
- Test auf ctype.h ergaenzt, Test auf vsnprintf() geaendert.
authorAlexander Barton <alex@barton.de>
Sun, 19 May 2002 01:14:42 +0000 (01:14 +0000)
committerAlexander Barton <alex@barton.de>
Sun, 19 May 2002 01:14:42 +0000 (01:14 +0000)
configure.in

index 9ec71b94725a3cd095715a2819ca25196b2bdf37..49a8e9d898a4ffa3c770ffb3c5d8cdebfe1d568a 100644 (file)
@@ -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.
 #
 # 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 --
 #
 
 # -- Initialisierung --
@@ -53,7 +53,7 @@ AC_HEADER_STDC
 AC_HEADER_TIME
 
 AC_CHECK_HEADERS([ \
 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!]))
 
        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)
 # -- Libraries --
 
 AC_CHECK_LIB(UTIL,memmove)
+AC_CHECK_LIB(socket,bind)
+AC_CHECK_LIB(nsl,gethostent)
 
 # -- Funktionen --
 
 
 # -- 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 \
 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_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(sigaction)
 
+AC_CHECK_FUNCS(vsnprintf)
+
 # -- Konfigurationsoptionen --
 
 AC_ARG_ENABLE(syslog,
 # -- Konfigurationsoptionen --
 
 AC_ARG_ENABLE(syslog,