ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/branches/8.2.x/configure.ac
Revision: 7591
Committed: Tue Jun 7 17:00:02 2016 UTC (7 years, 9 months ago) by michael
Content type: application/pkix-attr-cert
File size: 2493 byte(s)
Log Message:
- Bump version to 8.2.18

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 7591 AC_INIT([ircd-hybrid], [8.2.18], [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 strlcat \
40 michael 1329 strlcpy)
41 adx 30
42 michael 923 # Checks for header files.
43 michael 912 AC_CHECK_HEADERS_ONCE(crypt.h \
44     sys/resource.h \
45     sys/param.h \
46 db 941 types.h \
47     socket.h \
48 michael 7166 sys/wait.h)
49 michael 912
50 michael 977 AC_SEARCH_LIBS(crypt, crypt)
51 michael 923
52 michael 6126 # Define various chunk sizes for the pooling allocator
53     AX_MEMPOOL_CHUNKSIZES
54 michael 925
55 stu 908 # Argument processing.
56 michael 4359 AX_ARG_IOLOOP_MECHANISM
57 michael 4978 AX_ARG_ENABLE_ASSERT
58 stu 908 AX_ARG_ENABLE_DEBUGGING
59     AX_ARG_ENABLE_WARNINGS
60 michael 4363 AX_ARG_OPENSSL
61 michael 7106 AX_ARG_GNUTLS
62 michael 4980 AX_ARG_LIBGEOIP
63 adx 30
64 stu 908 AC_DEFINE_DIR([PREFIX],[prefix],[Set to prefix.])
65     AC_DEFINE_DIR([SYSCONFDIR],[sysconfdir],[Set to sysconfdir.])
66     AC_DEFINE_DIR([LIBDIR],[libdir],[Set to libdir.])
67     AC_DEFINE_DIR([DATADIR],[datadir],[Set to datadir.])
68     AC_DEFINE_DIR([LOCALSTATEDIR],[localstatedir],[Set to localstatedir.])
69 adx 30
70 michael 922 AC_CONFIG_FILES( \
71     Makefile \
72     src/Makefile \
73 michael 1092 libltdl/Makefile \
74 michael 922 modules/Makefile \
75 michael 1053 modules/core/Makefile \
76 michael 4901 modules/extra/Makefile \
77 michael 922 doc/Makefile \
78     help/Makefile \
79 michael 1015 tools/Makefile)
80 adx 30
81     AC_OUTPUT
82 michael 5394
83     echo "###############################################################################"
84     echo "Configuration complete. Type make (or gmake on some *BSD machines) to compile."
85     echo
86     echo "ircd-hybrid will be installed in ${prefix}. To change this, run:"
87     echo " ./configure --prefix=DIRECTORY"
88     echo "###############################################################################"

Properties

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