diff options
| author | Alexander Barton <alex@barton.de> | 2002-02-17 18:47:26 +0000 |
|---|---|---|
| committer | Alexander Barton <alex@barton.de> | 2002-02-17 18:47:26 +0000 |
| commit | 44b396d9a51d2d3260176a6d6e49f029cfc19a63 (patch) | |
| tree | fa2fa2c779fd9a430890860e54ed03987eb4549e /configure.in | |
| parent | 25e1e8b6907571b49a0f404386b7ea387b80c960 (diff) | |
| download | ngircd-44b396d9a51d2d3260176a6d6e49f029cfc19a63.tar.gz ngircd-44b396d9a51d2d3260176a6d6e49f029cfc19a63.zip | |
- Tests auf netdb.h, stdlib.h, sys/wait.h, gethostbyaddr, gethostbyname,
strftime und die "libbe" unter BeOS (fuer syslog) ergaenzt.
Diffstat (limited to 'configure.in')
| -rw-r--r-- | configure.in | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/configure.in b/configure.in index 380b9d11..7ab28a59 100644 --- a/configure.in +++ b/configure.in @@ -9,9 +9,13 @@ # 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.25 2002/02/15 14:57:21 alex Exp $ +# $Id: configure.in,v 1.26 2002/02/17 18:47:26 alex Exp $ # # $Log: configure.in,v $ +# Revision 1.26 2002/02/17 18:47:26 alex +# - Tests auf netdb.h, stdlib.h, sys/wait.h, gethostbyaddr, gethostbyname, +# strftime und die "libbe" unter BeOS (fuer syslog) ergaenzt. +# # Revision 1.25 2002/02/15 14:57:21 alex # - Version auf 0.2.1-pre im CVS angehoben ... # @@ -141,13 +145,13 @@ AC_ARG_WITH(portab, ] ) +AC_CHECK_HEADERS(arpa/inet.h) + AC_CHECK_HEADERS([ \ - errno.h fcntl.h netinet/in.h string.h \ - sys/socket.h sys/time.h unistd.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!])) -AC_CHECK_HEADERS(arpa/inet.h) - # -- Datentypen -- AC_MSG_CHECKING(whether socklen_t exists) @@ -168,14 +172,16 @@ AC_TRY_COMPILE([ AC_FUNC_MALLOC AC_CHECK_FUNCS([ \ - gethostname inet_ntoa memmove memset select \ - socket strcasecmp strchr strerror strstr waitpid \ + gethostbyaddr gethostbyname gethostname inet_ntoa memmove memset \ + select socket strcasecmp strchr strerror strftime strstr waitpid \ ],,AC_MSG_ERROR([required function missing!])) AC_CHECK_FUNCS(inet_aton) # -- Libraries -- +AC_CHECK_LIB(be,syslog) + # -- Konfigurationsoptionen -- AC_ARG_ENABLE(syslog, |