/[cvs]/eggdrop1.9/configure.ac
ViewVC logotype

Contents of /eggdrop1.9/configure.ac

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.40 - (show annotations) (download)
Fri Dec 5 01:29:36 2003 UTC (15 years, 10 months ago) by stdarg
Branch: MAIN
Changes since 1.39: +1 -1 lines
* mirc/ansi color conversion for telnet
* irc partyline module, allows users to connect to partyline like an irc server

1 dnl Process this file with autoconf to produce a configure script.
2 AC_INIT(Eggdrop, 1.7, bugs@eggheads.org)
3 AC_PREREQ(2.52)
4 AC_CONFIG_AUX_DIR(acconfig)
5 AM_CONFIG_HEADER(config.h)
6
7 # FIXME: make module Makefile list dynamic
8 AC_CONFIG_FILES([Makefile doc/Makefile intl/Makefile lib/Makefile lib/compat/Makefile lib/eggdrop/Makefile lib/egglib/Makefile m4/Makefile modules/Makefile modules/blowfish/Makefile modules/ircparty/Makefile modules/javascript/Makefile modules/perlscript/Makefile modules/script/Makefile modules/server/Makefile modules/tclscript/Makefile modules/telnetparty/Makefile nettype/Makefile po/Makefile.in scripts/Makefile src/Makefile])
9
10 EGG_MSG_CONFIGURE_START
11 AM_INIT_AUTOMAKE(eggdrop, 1.7.0)
12
13 # FIXME: optionally allow a system wide install by bypassing the macro below.
14 AC_PREFIX_DEFAULT([\${HOME}/eggdrop])
15
16 # config.h stuff
17 AH_TOP([#ifndef _EGG_CONFIG_H
18 #define _EGG_CONFIG_H])
19 AH_BOTTOM([#endif /* !_EGG_CONFIG_H */])
20
21 # Setup build environment
22 AC_PROG_CC
23 EGG_CHECK_CC
24
25 # Crazy machines
26 AC_AIX
27 AC_ISC_POSIX
28 AC_MINIX
29
30 # Checks for compiler characteristics
31 AC_C_BIGENDIAN
32 AC_C_CONST
33 AC_C_VOLATILE
34 AC_C_INLINE
35 AC_C_LONG_DOUBLE
36 EGG_C_LONG_LONG
37
38 # Gettext support
39 EGG_GNU_GETTEXT
40
41 # Libtool support
42 EGG_LIBTOOL
43
44 # Speedup compile
45 EGG_CHECK_CCPIPE
46
47 # Compile Warnings
48 EGG_CHECK_CFLAGS_WALL
49
50 # Checks for programs
51 AC_PROG_LN_S
52 AC_PROG_LIBTOOL
53 EGG_PROG_AWK
54 EGG_PROG_BASENAME
55 AC_CHECK_PROG(EGG_UNAME,uname,uname)
56 AC_CHECK_PROG(AR,ar,ar)
57
58 # Should -O2 CFLAG be removed?
59 EGG_DISABLE_CC_OPTIMIZATION
60
61 # Test the os and set the module linking settings
62 EGG_CHECK_OS
63
64 # Checks for system libraries
65 EGG_CHECK_LIBS
66
67 # Checks for header files
68 AC_HEADER_DIRENT
69 AC_HEADER_STAT
70 AC_HEADER_STDC
71 AC_HEADER_SYS_WAIT
72 AC_CHECK_HEADERS(sys/time.h)
73 AC_HEADER_TIME
74 AC_CHECK_HEADERS(string.h strings.h ctype.h stdlib.h limits.h unistd.h)
75 AC_CHECK_HEADERS(sys/rusage.h sys/select.h sys/poll.h stdarg.h std_args.h)
76
77 # Checks for types and structures
78 AC_TYPE_PID_T
79 AC_TYPE_SIZE_T
80 EGG_TYPE_32BIT
81 EGG_TYPE_SOCKLEN_T
82 EGG_INADDR_LOOPBACK
83
84 # Checks for library variables
85 EGG_VAR_SYS_ERRLIST
86
87 # Checks for library functions
88 AC_CHECK_FUNCS(clock dprintf fsync getdtablesize getrusage isascii)
89 AC_CHECK_FUNCS(random srandom rename setpgid sigaction sigemptyset uname)
90
91 # Check for these functions, and replace those not found
92 AC_REPLACE_FUNCS(memcpy memset poll strcasecmp strncasecmp strftime strdup)
93 AC_REPLACE_FUNCS(inet_ntop inet_pton strerror strlcat strlcpy)
94
95 # These all share a common file: snprintf.c
96 AC_CHECK_FUNCS(vsnprintf snprintf asprintf vasprintf,,egg_replace_snprintf="yes")
97
98 # Check if vsnprintf is C99 compliant
99 EGG_FUNC_C99_VSNPRINTF
100
101 # Check if getopt_long is avalaibale
102 EGG_FUNC_GETOPT_LONG
103
104 # Check if we need to compile all or part of snprintf.c
105 EGG_REPLACE_SNPRINTF
106
107 # Checks for IPV6
108 EGG_IPV6_SUPPORTED
109 EGG_IPV6_OPTIONS
110
111 EGG_DEBUG_OPTIONS
112
113 EGG_DEFINE_VERSION_NUM
114
115 EGG_COMPRESS_MODULE
116 EGG_PERLSCRIPT_MODULE
117 EGG_TCLSCRIPT_MODULE
118 EGG_JAVASCRIPT_MODULE
119
120 AC_CONFIG_SUBDIRS(libltdl)
121
122 AC_SUBST(ac_aux_dir)
123
124 EGG_LTLIBOBJS
125
126 AC_OUTPUT
127
128 EGG_MSG_CONFIGURE_END

webmaster@eggheads.org
ViewVC Help
Powered by ViewVC 1.1.23