ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/branches/8.2.x/configure.ac
Revision: 6120
Committed: Thu Jun 11 14:10:38 2015 UTC (10 years, 2 months ago) by michael
Content type: application/pkix-attr-cert
File size: 3601 byte(s)
Log Message:
- configure.ac: removed invalid copyright information

File Contents

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

Properties

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