/[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.55 - (show annotations) (download)
Sun Oct 17 05:14:06 2004 UTC (15 years ago) by stdarg
Branch: MAIN
Changes since 1.54: +7 -16 lines
* Added a few includs to common.h
* Removed duplicate includes from a bunch of files
* Added tcl date parsing a la "clock scan"
* Fixed some issues with configure (maybe)

1 dnl configure.ac: this file is processed by autoconf to produce ./configure.
2 dnl
3 dnl $Id: configure.ac,v 1.54 2004/06/21 10:34:07 wingman Exp $
4
5 AC_PREREQ(2.57)
6 AC_INIT([Eggdrop], [1.9.0], [bugs@eggheads.org])
7 AC_COPYRIGHT([Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004 Eggheads Development Team])
8 AC_REVISION($Revision: 1.54 $)
9 AC_CONFIG_AUX_DIR(acconfig)
10 AM_CONFIG_HEADER(config.h)
11 AC_CONFIG_FILES([Makefile lib/Makefile lib/compat/Makefile lib/eggdrop/Makefile m4/Makefile po/Makefile.in src/Makefile modules/Makefile acconfig/module.mk intl/Makefile])
12
13
14 # Print start message
15 EGG_MSG_CONFIGURE_START
16 AM_INIT_AUTOMAKE(eggdrop, 1.9.0)
17
18
19 # FIXME: optionally allow a system wide install by bypassing the macro below.
20 AC_PREFIX_DEFAULT([\${HOME}/eggdrop])
21
22
23 # config.h stuff
24 AH_TOP([#ifndef _EGG_CONFIG_H
25 #define _EGG_CONFIG_H])
26 AH_BOTTOM([#endif /* !_EGG_CONFIG_H */])
27
28
29 # Check for a working C compiler
30 AC_PROG_CC
31 EGG_CHECK_CC
32
33
34 # Checks for odd operating systems
35 AC_AIX
36 AC_ISC_POSIX
37 AC_MINIX
38
39
40 # Checks for compiler characteristics
41 AC_C_BIGENDIAN
42 AC_C_CONST
43 AC_C_INLINE
44 AC_C_LONG_DOUBLE
45 EGG_C_LONG_LONG
46
47
48 # Gettext support
49 EGG_GNU_GETTEXT
50
51
52 # Libtool support
53 EGG_LIBTOOL
54
55
56 # Speedup compile
57 EGG_CHECK_CCPIPE
58
59
60 # Compile Warnings
61 EGG_CHECK_CFLAGS_WALL
62
63
64 # Checks for programs
65 AC_PROG_LN_S
66 AC_PROG_LIBTOOL
67 EGG_PROG_AWK
68 EGG_PROG_BASENAME
69 AC_CHECK_PROG(EGG_UNAME,uname,uname)
70 AC_CHECK_PROG(AR,ar,ar)
71
72
73 # Test the os and set the module linking settings
74 EGG_CHECK_OS
75
76
77 # Checks for system libraries
78 EGG_CHECK_LIBS
79
80
81 # Checks for header files
82 AC_HEADER_STDC
83 AC_HEADER_TIME
84 AC_CHECK_HEADERS(ctype.h unistd.h sys/select.h sys/poll.h)
85
86
87 # Checks for types and structures
88 EGG_TYPE_SOCKLEN_T
89
90
91 # Checks for library variables
92 EGG_VAR_SYS_ERRLIST
93
94
95 # Checks for library functions
96 AC_CHECK_FUNCS(fsync random srandom rename setpgid sigaction sigemptyset uname)
97
98
99 # Check for these functions, and replace those not found
100 AC_REPLACE_FUNCS(memcpy memset poll strcasecmp strncasecmp strftime strdup inet_ntop inet_pton strerror strlcat strlcpy)
101
102
103 # These all share a common file: snprintf.c
104 AC_CHECK_FUNCS(vsnprintf snprintf, [], [egg_replace_snprintf="yes"])
105 EGG_REPLACE_SNPRINTF
106
107
108 # Check if getopt_long is avalaibale
109 EGG_FUNC_GETOPT_LONG
110
111
112 # Checks for IPV6
113 EGG_IPV6_SUPPORTED
114 EGG_IPV6_OPTIONS
115
116
117 # Checks for debug options
118 EGG_DEBUG_OPTIONS
119
120
121 # Defines version num
122 EGG_DEFINE_VERSION_NUM
123
124 # Save now since modules may fail due to a missing requirement
125 AC_CACHE_SAVE
126
127 # Check for modules
128 EGG_CHECK_MODULES
129
130 # Export list of enabled modules
131 AC_SUBST(EGG_MODULES_ENABLED)
132
133
134 # Export auxiliary dir (./acconfig/)
135 AC_SUBST(ac_aux_dir)
136
137
138 # Export list of preloaded shared objects
139 AC_SUBST(LIBEGGDROP_PRELOAD)
140
141
142 # ldl support
143 AC_CONFIG_SUBDIRS(libltdl)
144
145 AC_OUTPUT
146 EGG_MSG_CONFIGURE_END

webmaster@eggheads.org
ViewVC Help
Powered by ViewVC 1.1.23