/[svn]/ircd-hybrid/branches/8.2.x/configure.ac
ViewVC logotype

Contents of /ircd-hybrid/branches/8.2.x/configure.ac

Parent Directory Parent Directory | Revision Log Revision Log


Revision 8476 - (show annotations)
Tue Apr 3 13:57:34 2018 UTC (4 years, 5 months ago) by michael
File size: 2338 byte(s)
- configure.ac: remove -fno-strict-aliasing from cflags

1 dnl Process this file with autoconf to produce a configure script.
2
3 AC_REVISION([$Id$])
4
5 AC_PREREQ(2.69)
6 AC_INIT([ircd-hybrid], [8.2.24], [bugs@ircd-hybrid.org])
7 AM_INIT_AUTOMAKE(1.15 subdir-objects)
8 AM_MAINTAINER_MODE
9 AC_CONFIG_MACRO_DIR([m4])
10 AC_CONFIG_HEADER(config.h)
11 AC_CONFIG_SRCDIR(src/ircd.c)
12
13 # Checks for programs.
14 AC_PROG_CC_C99
15 AS_IF([test "$ac_cv_prog_cc_c99" = "no"],
16 [AC_MSG_ERROR([no suitable C99 compiler found. Aborting.])])
17 AC_PROG_YACC
18 AM_PROG_LEX
19 AC_PROG_INSTALL
20
21 # Initializing libtool.
22 LT_CONFIG_LTDL_DIR([libltdl])
23 LT_INIT([dlopen disable-static])
24 LTDL_INIT([recursive convenience])
25 LIBTOOL="$LIBTOOL --silent"
26
27 # Checks for libraries.
28 AX_GCC_STACK_PROTECT_CC
29 AX_GCC_STACK_PROTECT_LIB
30 AX_LIBRARY_NET
31
32 # Checks for typedefs, structures, and compiler characteristics.
33 AC_C_BIGENDIAN
34
35 # Checks for library functions.
36 AC_CHECK_FUNCS_ONCE(strtok_r \
37 strlcat \
38 strlcpy)
39
40 # Checks for header files.
41 AC_CHECK_HEADERS_ONCE(crypt.h \
42 sys/param.h \
43 types.h \
44 socket.h \
45 sys/wait.h)
46
47 AC_SEARCH_LIBS(crypt, crypt)
48
49 # Argument processing.
50 AX_ARG_IOLOOP_MECHANISM
51 AX_ARG_ENABLE_ASSERT
52 AX_ARG_ENABLE_DEBUGGING
53 AX_ARG_ENABLE_WARNINGS
54 AX_ARG_ENABLE_EFENCE
55 AX_ARG_OPENSSL
56 AX_ARG_GNUTLS
57
58 AX_DEFINE_DIR([PREFIX],[prefix],[Set to prefix.])
59 AX_DEFINE_DIR([SYSCONFDIR],[sysconfdir],[Set to sysconfdir.])
60 AX_DEFINE_DIR([LIBDIR],[libdir],[Set to libdir.])
61 AX_DEFINE_DIR([DATADIR],[datadir],[Set to datadir.])
62 AX_DEFINE_DIR([LOCALSTATEDIR],[localstatedir],[Set to localstatedir.])
63
64 AC_CONFIG_FILES( \
65 Makefile \
66 src/Makefile \
67 libltdl/Makefile \
68 modules/Makefile \
69 modules/core/Makefile \
70 modules/extra/Makefile \
71 doc/Makefile \
72 help/Makefile \
73 tools/Makefile)
74
75 AC_OUTPUT
76
77 echo "###############################################################################"
78 echo "Configuration complete. Type make (or gmake on some *BSD machines) to compile."
79 echo
80 echo "ircd-hybrid will be installed in ${prefix}. To change this, run:"
81 echo " ./configure --prefix=DIRECTORY"
82 echo "###############################################################################"

Properties

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

svnadmin@ircd-hybrid.org
ViewVC Help
Powered by ViewVC 1.1.28