ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/branches/8.2.x/configure.ac
Revision: 8384
Committed: Fri Mar 16 20:06:38 2018 UTC (6 years ago) by michael
Content type: application/pkix-attr-cert
File size: 2387 byte(s)
Log Message:
- Rip out mempool

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 8353 AC_INIT([ircd-hybrid], [8.2.23], [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 8368 AX_GCC_STACK_PROTECT_CC
29     AX_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/param.h \
45 db 941 types.h \
46     socket.h \
47 michael 7166 sys/wait.h)
48 michael 912
49 michael 977 AC_SEARCH_LIBS(crypt, crypt)
50 michael 923
51 stu 908 # Argument processing.
52 michael 4359 AX_ARG_IOLOOP_MECHANISM
53 michael 4978 AX_ARG_ENABLE_ASSERT
54 stu 908 AX_ARG_ENABLE_DEBUGGING
55     AX_ARG_ENABLE_WARNINGS
56 michael 8328 AX_ARG_ENABLE_EFENCE
57 michael 4363 AX_ARG_OPENSSL
58 michael 7106 AX_ARG_GNUTLS
59 adx 30
60 michael 8354 AX_DEFINE_DIR([PREFIX],[prefix],[Set to prefix.])
61     AX_DEFINE_DIR([SYSCONFDIR],[sysconfdir],[Set to sysconfdir.])
62     AX_DEFINE_DIR([LIBDIR],[libdir],[Set to libdir.])
63     AX_DEFINE_DIR([DATADIR],[datadir],[Set to datadir.])
64     AX_DEFINE_DIR([LOCALSTATEDIR],[localstatedir],[Set to localstatedir.])
65 adx 30
66 michael 922 AC_CONFIG_FILES( \
67     Makefile \
68     src/Makefile \
69 michael 1092 libltdl/Makefile \
70 michael 922 modules/Makefile \
71 michael 1053 modules/core/Makefile \
72 michael 4901 modules/extra/Makefile \
73 michael 922 doc/Makefile \
74     help/Makefile \
75 michael 1015 tools/Makefile)
76 adx 30
77     AC_OUTPUT
78 michael 5394
79     echo "###############################################################################"
80     echo "Configuration complete. Type make (or gmake on some *BSD machines) to compile."
81     echo
82     echo "ircd-hybrid will be installed in ${prefix}. To change this, run:"
83     echo " ./configure --prefix=DIRECTORY"
84     echo "###############################################################################"

Properties

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