diff options
| author | Alexander Barton <alex@barton.de> | 2002-05-19 01:14:42 +0000 |
|---|---|---|
| committer | Alexander Barton <alex@barton.de> | 2002-05-19 01:14:42 +0000 |
| commit | 2aeb0025cfd02f329327f8f2f5729d5dd19fe62e (patch) | |
| tree | 6bef824ea6683a4ac30afe5c8ad100fe87dea899 /configure.in | |
| parent | c11e5501aab642c20ed0730fdc42edc863e64820 (diff) | |
| download | ngircd-2aeb0025cfd02f329327f8f2f5729d5dd19fe62e.tar.gz ngircd-2aeb0025cfd02f329327f8f2f5729d5dd19fe62e.zip | |
- Test auf ctype.h ergaenzt, Test auf vsnprintf() geaendert.
Diffstat (limited to 'configure.in')
| -rw-r--r-- | configure.in | 10 |
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, |