From: Alexander Barton Date: Sun, 19 May 2002 01:14:42 +0000 (+0000) Subject: - Test auf ctype.h ergaenzt, Test auf vsnprintf() geaendert. X-Git-Tag: rel-0-5-0-pre1~191 X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ngircd-alex.git;a=commitdiff_plain;h=2aeb0025cfd02f329327f8f2f5729d5dd19fe62e - Test auf ctype.h ergaenzt, Test auf vsnprintf() geaendert. --- 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,