X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ngircd-alex.git;a=blobdiff_plain;f=configure.in;h=44373ae15a3f2359b1bfd4f0f67b9747a09ea783;hp=5b6495dcdf7835541f9e6e6255f764196d4fab1c;hb=5063de59b152db79827ed9ef7d1e31fa60fa6cc5;hpb=ff043fa00fa8819ffd0bc86e6d7842c86f3e347a diff --git a/configure.in b/configure.in index 5b6495dc..44373ae1 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.48 2002/05/22 09:09:05 alex Exp $ +# $Id: configure.in,v 1.54 2002/06/26 15:45:22 alex Exp $ # # -- Initialisierung -- @@ -35,8 +35,6 @@ AH_TEMPLATE([TARGET_CPU], [Target CPU name]) # -- C Compiler -- AC_PROG_CC -AC_LANG_C -AM_C_PROTOTYPES # -- Hilfsprogramme -- @@ -46,18 +44,27 @@ AC_PROG_LN_S AC_PROG_MAKE_SET AC_PROG_RANLIB +# -- Compiler Features -- + +AC_LANG_C + +AM_C_PROTOTYPES +AC_C_CONST + # -- Header -- AC_HEADER_STDC AC_HEADER_TIME +AC_HEADER_SYS_WAIT + AC_CHECK_HEADERS([ \ - ctype.h errno.h fcntl.h netdb.h netinet/in.h regex.h stdlib.h string.h \ - sys/socket.h sys/time.h sys/wait.h unistd.h \ + ctype.h errno.h fcntl.h netdb.h netinet/in.h stdlib.h string.h \ + strings.h sys/socket.h sys/time.h unistd.h \ ],,AC_MSG_ERROR([required C header missing!])) -AC_CHECK_HEADERS(arpa/inet.h) +AC_CHECK_HEADERS(arpa/inet.h malloc.h stdint.h varargs.h) # -- Datentypen -- @@ -74,6 +81,10 @@ AC_TRY_COMPILE([ AC_MSG_RESULT(no) ]) +AC_TYPE_SIGNAL + +AC_TYPE_SIZE_T + # -- Libraries -- AC_CHECK_LIB(UTIL,memmove) @@ -84,10 +95,14 @@ AC_CHECK_LIB(nsl,gethostent) AC_FUNC_MALLOC +AC_FUNC_FORK + +AC_FUNC_STRFTIME + AC_CHECK_FUNCS([ \ bind gethostbyaddr gethostbyname gethostname inet_ntoa memmove \ - memset regcomp select setsockopt socket strcasecmp strchr strerror \ - strftime strstr waitpid \ + memset select setsockopt socket strcasecmp strchr strerror \ + strstr waitpid \ ],,AC_MSG_ERROR([required function missing!])) AC_CHECK_FUNCS(inet_aton sigaction snprintf vsnprintf)