ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/branches/8.2.x/configure.ac
Revision: 10173
Committed: Tue Jul 5 05:37:47 2022 UTC (20 months, 3 weeks ago) by michael
Content type: application/pkix-attr-cert
File size: 2218 byte(s)
Log Message:
- Bump version to 8.2.41

File Contents

# Content
1 dnl Process this file with autoconf to produce a configure script.
2
3 AC_PREREQ([2.71])
4 AC_INIT([ircd-hybrid], [8.2.41], [bugs@ircd-hybrid.org])
5 AM_INIT_AUTOMAKE([1.16.5 subdir-objects])
6 AM_MAINTAINER_MODE
7 AC_CONFIG_MACRO_DIR([m4])
8 AC_CONFIG_HEADERS([config.h])
9 AC_CONFIG_SRCDIR([src/ircd.c])
10
11 # Checks for programs.
12 AC_PROG_CC
13 AC_PROG_YACC
14 AC_PROG_LEX([noyywrap])
15 AC_PROG_INSTALL
16
17 # Initializing libtool.
18 LT_CONFIG_LTDL_DIR([libltdl])
19 LT_INIT([dlopen disable-static])
20 LTDL_INIT([recursive convenience])
21 LIBTOOL="$LIBTOOL --silent"
22
23 # Checks for libraries.
24 AX_GCC_STACK_PROTECT_CC
25 AX_GCC_STACK_PROTECT_LIB
26 AX_LIBRARY_NET
27
28 # Checks for typedefs, structures, and compiler characteristics.
29 AC_C_BIGENDIAN
30
31 # Checks for library functions.
32 AC_CHECK_FUNCS_ONCE([strlcat strlcpy])
33
34 # Checks for header files.
35 AC_CHECK_HEADERS_ONCE([
36 crypt.h
37 sys/param.h
38 types.h
39 socket.h
40 sys/wait.h
41 ])
42
43 AC_SEARCH_LIBS([crypt], [crypt])
44
45 # Set -Werror=unknown-warning-option for clang so subsequent
46 # AX_APPEND_COMPILE_FLAGS executions work properly.
47 AX_APPEND_COMPILE_FLAGS([-Werror=unknown-warning-option])
48 # Disable -Wformat-truncation specifically for gcc.
49 AX_APPEND_COMPILE_FLAGS([-Wno-format-truncation])
50
51 # Argument processing.
52 AX_ARG_IOLOOP_MECHANISM
53 AX_ARG_ENABLE_ASSERT
54 AX_ARG_ENABLE_DEBUGGING
55 AX_ARG_ENABLE_WARNINGS
56 AX_ARG_ENABLE_EFENCE
57 AX_ARG_WITH_TLS
58
59 AX_DEFINE_DIR([PREFIX], [prefix], [Set to prefix.])
60 AX_DEFINE_DIR([SYSCONFDIR], [sysconfdir], [Set to sysconfdir.])
61 AX_DEFINE_DIR([LIBDIR], [libdir], [Set to libdir.])
62 AX_DEFINE_DIR([DATADIR], [datadir], [Set to datadir.])
63 AX_DEFINE_DIR([LOCALSTATEDIR], [localstatedir], [Set to localstatedir.])
64
65 AC_CONFIG_FILES([
66 Makefile
67 src/Makefile
68 libltdl/Makefile
69 modules/Makefile
70 modules/core/Makefile
71 modules/extra/Makefile
72 doc/Makefile
73 help/Makefile
74 tools/Makefile
75 ])
76
77 AC_OUTPUT
78
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