ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/branches/8.2.x/configure.ac
Revision: 5276
Committed: Thu Jan 1 20:29:27 2015 UTC (11 years, 9 months ago) by michael
Content type: application/pkix-attr-cert
File size: 3244 byte(s)
Log Message:
- Bump version to 8.2.2

File Contents

# User Rev Content
1 stu 908 # Inspired by work Copyright (C) 2006 Luca Filipozzi
2     # vim: set fdm=marker ts=2 sw=2 et:
3 adx 30
4 michael 953 AC_REVISION([$Id$])
5    
6 michael 1373 AC_PREREQ(2.69)
7 michael 5276 AC_INIT([ircd-hybrid], [8.2.2], [bugs@ircd-hybrid.org])
8 michael 2347 AM_INIT_AUTOMAKE(1.13.1 subdir-objects)
9 stu 908 AM_MAINTAINER_MODE
10 michael 2480 AC_CONFIG_MACRO_DIR([m4])
11 michael 912 AC_CONFIG_HEADER(config.h)
12     AC_CONFIG_SRCDIR(src/ircd.c)
13 adx 30
14 stu 908 # Checks for programs.
15 michael 1010 AC_PROG_CC_C99
16     AS_IF([test "$ac_cv_prog_cc_c99" = "no"],
17 michael 1348 [AC_MSG_ERROR([no suitable C99 compiler found. Aborting.])])
18 michael 912 AC_PROG_YACC
19     AM_PROG_LEX
20 stu 908 AC_PROG_INSTALL
21 michael 945
22 michael 1015 # Initializing libtool.
23 michael 1084 LT_CONFIG_LTDL_DIR([libltdl])
24 michael 977 LT_INIT([dlopen disable-static])
25 michael 1092 LTDL_INIT([recursive convenience])
26 michael 1053 LIBTOOL="$LIBTOOL --silent"
27 adx 30
28 stu 908 # Checks for libraries.
29 michael 2480 GCC_STACK_PROTECT_CC
30 michael 4356 GCC_STACK_PROTECT_LIB
31 michael 2480
32 michael 2594 AX_APPEND_COMPILE_FLAGS([-fno-strict-aliasing])
33 michael 4359 AX_LIBRARY_NET
34 michael 2594
35 stu 908 # Checks for typedefs, structures, and compiler characteristics.
36 adx 30 AC_C_BIGENDIAN
37    
38 stu 908 # Checks for library functions.
39 michael 1664 AC_CHECK_FUNCS_ONCE(strtok_r \
40 michael 1010 usleep \
41     strlcat \
42 michael 1329 strlcpy)
43 adx 30
44 michael 923 # Checks for header files.
45 michael 912 AC_CHECK_HEADERS_ONCE(crypt.h \
46     sys/resource.h \
47     sys/param.h \
48 db 941 types.h \
49     socket.h \
50 michael 912 sys/wait.h \
51 michael 1348 wait.h)
52 michael 912
53 michael 977 AC_SEARCH_LIBS(crypt, crypt)
54 michael 923
55 michael 1908 AC_DEFINE([NICKNAMEHISTORYLENGTH], 32768, [Size of the WHOWAS array.])
56 michael 1964 AC_DEFINE([MP_CHUNK_SIZE_CHANNEL], 1024*1024, [Size of the channel mempool chunk.])
57     AC_DEFINE([MP_CHUNK_SIZE_MEMBER], 2048*1024, [Size of the channel-member mempool chunk.])
58     AC_DEFINE([MP_CHUNK_SIZE_BAN], 1024*1024, [Size of the ban mempool chunk.])
59     AC_DEFINE([MP_CHUNK_SIZE_CLIENT], 1024*1024, [Size of the client mempool chunk.])
60 michael 4578 AC_DEFINE([MP_CHUNK_SIZE_CONNECTION], 512*1024, [Size of the connection mempool chunk.])
61 michael 1964 AC_DEFINE([MP_CHUNK_SIZE_DNODE], 32*1024, [Size of the dlink_node mempool chunk.])
62 michael 1654 AC_DEFINE([MP_CHUNK_SIZE_DBUF], 512*1024, [Size of the dbuf mempool chunk.])
63 michael 1964 AC_DEFINE([MP_CHUNK_SIZE_AUTH], 128*1024, [Size of the auth mempool chunk.])
64     AC_DEFINE([MP_CHUNK_SIZE_DNS], 64*1024, [Size of the dns mempool chunk.])
65     AC_DEFINE([MP_CHUNK_SIZE_WATCH], 8*1024, [Size of the watch mempool chunk.])
66     AC_DEFINE([MP_CHUNK_SIZE_NAMEHOST], 64*1024, [Size of the namehost mempool chunk.])
67     AC_DEFINE([MP_CHUNK_SIZE_USERHOST], 128*1024, [Size of the userhost mempool chunk.])
68     AC_DEFINE([MP_CHUNK_SIZE_IP_ENTRY], 128*1024, [Size of the ip_entry mempool chunk.])
69 michael 925
70 stu 908 # Argument processing.
71 michael 4359 AX_ARG_IOLOOP_MECHANISM
72 michael 4978 AX_ARG_ENABLE_ASSERT
73 stu 908 AX_ARG_ENABLE_DEBUGGING
74     AX_ARG_ENABLE_WARNINGS
75 michael 4363 AX_ARG_OPENSSL
76 michael 4980 AX_ARG_LIBGEOIP
77 adx 30
78 stu 908 AC_DEFINE_DIR([PREFIX],[prefix],[Set to prefix.])
79     AC_DEFINE_DIR([SYSCONFDIR],[sysconfdir],[Set to sysconfdir.])
80     AC_DEFINE_DIR([LIBDIR],[libdir],[Set to libdir.])
81     AC_DEFINE_DIR([DATADIR],[datadir],[Set to datadir.])
82     AC_DEFINE_DIR([LOCALSTATEDIR],[localstatedir],[Set to localstatedir.])
83 adx 30
84 michael 922 AC_CONFIG_FILES( \
85     Makefile \
86     src/Makefile \
87 michael 1092 libltdl/Makefile \
88 michael 922 modules/Makefile \
89 michael 1053 modules/core/Makefile \
90 michael 4901 modules/extra/Makefile \
91 michael 922 doc/Makefile \
92     help/Makefile \
93 michael 1015 tools/Makefile)
94 adx 30
95     AC_OUTPUT

Properties

Name Value
svn:eol-style native
svn:keywords Id Revision