X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=configure.in;h=ea01e60bbceaf51541a9782a5948c41a24ea11fd;hb=39b9f65d0d9ca819b054533b66533afbe7dd973c;hp=fa2e063b713d44e9bb5e633875d6c091bc186187;hpb=e9a9bdda132c1de9e9ccff9b19a305ad75bf0d18;p=ngircd-alex.git diff --git a/configure.in b/configure.in index fa2e063b..ea01e60b 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.47 2002/05/19 10:42:15 alex Exp $ +# $Id: configure.in,v 1.53 2002/05/27 13:12:47 alex Exp $ # # -- Initialisierung -- @@ -35,7 +35,6 @@ AH_TEMPLATE([TARGET_CPU], [Target CPU name]) # -- C Compiler -- AC_PROG_CC -AC_LANG_C # -- Hilfsprogramme -- @@ -45,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 regex.h stdint.h varargs.h) # -- Datentypen -- @@ -73,6 +81,10 @@ AC_TRY_COMPILE([ AC_MSG_RESULT(no) ]) +AC_TYPE_SIGNAL + +AC_TYPE_SIZE_T + # -- Libraries -- AC_CHECK_LIB(UTIL,memmove) @@ -83,13 +95,17 @@ 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) +AC_CHECK_FUNCS(inet_aton regcomp sigaction snprintf vsnprintf) # -- Konfigurationsoptionen --