From 44b396d9a51d2d3260176a6d6e49f029cfc19a63 Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Sun, 17 Feb 2002 18:47:26 +0000 Subject: [PATCH] - Tests auf netdb.h, stdlib.h, sys/wait.h, gethostbyaddr, gethostbyname, strftime und die "libbe" unter BeOS (fuer syslog) ergaenzt. --- configure.in | 20 +++++++++++++------- 1 file 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, -- 2.39.2