]> arthur.barton.de Git - ngircd.git/commitdiff
- Tests auf netdb.h, stdlib.h, sys/wait.h, gethostbyaddr, gethostbyname,
authorAlexander Barton <alex@barton.de>
Sun, 17 Feb 2002 18:47:26 +0000 (18:47 +0000)
committerAlexander Barton <alex@barton.de>
Sun, 17 Feb 2002 18:47:26 +0000 (18:47 +0000)
  strftime und die "libbe" unter BeOS (fuer syslog) ergaenzt.

configure.in

index 380b9d1194300c6e1e20bcfd0552302a079bf709..7ab28a5920f5c8388ae3dbe46936c36eb99aa45c 100644 (file)
@@ -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,