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

Contents of /eggdrop1.8/configure.ac

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


Revision 1.5.2.2 - (show annotations) (download)
Sun Feb 6 19:19:15 2011 UTC (8 years, 2 months ago) by pseudo
Branch: gettext
Changes since 1.5.2.1: +18 -29 lines
configure.ac cleanup, part 1. Removed some tests which are no longer needed
or are obsolete nowadays. Updated/canonicalized some macros.

1 dnl configure.ac: this file is processed by autoconf to produce ./configure.
2 dnl
3 dnl $Id: configure.ac,v 1.5.2.1 2011/01/12 13:54:00 pseudo Exp $
4
5 AC_PREREQ(2.60)
6 AC_INIT([Eggdrop], [1.8.0], [bugs@eggheads.org], , [http://www.eggheads.org/])
7 AC_COPYRIGHT([Copyright (C) 1999 - 2010 Eggheads Development Team])
8 AC_REVISION([$Revision: 1.5.2.1 $])
9 AC_CONFIG_SRCDIR([src/eggdrop.h])
10 AC_CONFIG_AUX_DIR(misc)
11 AC_CONFIG_MACRO_DIR([m4])
12 AC_PREFIX_DEFAULT([\${HOME}/eggdrop])
13
14 dnl config.h stuff
15 AC_CONFIG_HEADER(config.h)
16 AH_TOP([/*
17 * Copyright (C) 1997 Robey Pointer
18 * Copyright (C) 1999 - 2010 Eggheads Development Team
19 *
20 * This program is free software; you can redistribute it and/or
21 * modify it under the terms of the GNU General Public License
22 * as published by the Free Software Foundation; either version 2
23 * of the License, or (at your option) any later version.
24 *
25 * This program is distributed in the hope that it will be useful,
26 * but WITHOUT ANY WARRANTY; without even the implied warranty of
27 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
28 * GNU General Public License for more details.
29 *
30 * You should have received a copy of the GNU General Public License
31 * along with this program; if not, write to the Free Software
32 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
33 */
34
35 #ifndef _EGG_CONFIG_H
36 #define _EGG_CONFIG_H])
37 AH_BOTTOM([#endif /* !_EGG_CONFIG_H */])
38
39 # Print start message
40 EGG_MSG_CONFIGURE_START
41 EGG_SAVE_PARAMETERS
42
43
44 # We require at least a C89 environment
45 EGG_CHECK_C89
46
47 # This needs to be done before any AC_COMPILE_IFELSE()'s.
48 AC_USE_SYSTEM_EXTENSIONS
49
50 # Check C compiler characteristics.
51 EGG_CHECK_CCPIPE
52 EGG_CHECK_CCWALL
53
54
55 # Check for executable extension.
56 EGG_EXEEXT
57
58
59 # Checks for programs.
60 AC_PROG_INSTALL
61 AC_PROG_MAKE_SET
62 AC_PROG_RANLIB
63 AC_PROG_LN_S
64 EGG_PROG_HEAD_1
65 EGG_PROG_AWK
66 EGG_PROG_BASENAME
67 AC_CHECK_PROG(UNAME,uname,uname)
68 AC_CHECK_PROG(STRIP, strip, strip, touch)
69
70
71 # Check if we will strip the binary
72 # Do this *before* EGG_CHECK_OS
73 EGG_ENABLE_STRIP
74
75
76 # Checks for system libraries.
77 EGG_CHECK_LIBS
78
79
80 # Test the OS and set the module linking settings.
81 EGG_OS_VERSION
82 EGG_CHECK_MODULE_SUPPORT
83 EGG_CHECK_OS
84
85
86 # Checks for header files.
87 AC_HEADER_DIRENT
88 AC_HEADER_TIME
89 AC_CHECK_HEADERS([arpa/inet.h fcntl.h limits.h locale.h netdb.h netinet/in.h stdio.h stdarg.h stddef.h sys/file.h sys/param.h sys/rusage.h sys/select.h sys/socket.h sys/time.h unistd.h])
90
91
92 # Checks for typedefs, structures, and compiler characteristics.
93 AC_C_CONST
94 AC_C_BIGENDIAN
95 AC_C_INLINE
96 AC_TYPE_INTPTR_T
97 AC_TYPE_PID_T
98 AC_TYPE_SIZE_T
99 EGG_CHECK_SOCKLEN_T
100
101
102 # Check the sizes of various types.
103 AC_CHECK_SIZEOF(long)
104 AC_CHECK_SIZEOF(int)
105 AC_CHECK_SIZEOF(short)
106
107
108 # Checks for functions and their arguments.
109 AC_CHECK_FUNCS([clock fsync getdtablesize getrusage inet_aton inet_ntop isascii memcpy memset random rand lrand48])
110 AC_CHECK_FUNCS([rename setpgid sigaction sigemptyset snprintf strcasecmp strftime strncasecmp uname vsnprintf])
111 AC_FUNC_SELECT_ARGTYPES
112 AC_FUNC_MMAP
113
114
115 # Tcl version to recommend if no Tcl is found, and the site where it can be
116 # found for download.
117 tclrecommendver="8.5.X"
118 tclrecommendsite="ftp://tcl.activestate.com/pub/tcl/tcl8_5/"
119
120 # Tcl library filename prefixes, suffixes, and search paths.
121 tcllibnames="tcl8.5 tcl85 tcl8.4 tcl84 tcl8.3 tcl83 tcl8.2 tcl82 \
122 tcl8.1 tcl81 tcl8.0 tcl80 tcl tcl7.6 tcl76 tcl7.5 tcl75 \
123 tcl7.4 tcl74 tcl7.3 tcl73 tcl7.2 tcl72 tcl7.1 tcl71 \
124 tcl7.0 tcl70"
125
126 tcllibextensions=".so .so.1 .so.1.0 .so.1.2 .dll .dylib .sl .a"
127
128 tcllibpaths="$HOME/lib $HOME/tcl/lib \
129 /usr/local/lib /usr/lib /lib /lib64 /usr/lib64 \
130 /usr/local/lib/tcl8.5 /usr/lib/tcl8.5 \
131 /usr/local/lib/tcl8.4 /usr/lib/tcl8.4 \
132 /usr/local/lib/tcl8.3 /usr/lib/tcl8.3 \
133 /usr/local/pkgs/tcl/lib /sys/lib /usr/pkg/lib \
134 /usr/i486-linuxaout/lib /beos/system/lib $HOME"
135
136 # Tcl header filenames and search paths.
137 tclheadernames="tcl.h"
138 tclheaderpaths="$HOME/include $HOME/tcl/include \
139 /usr/local/include /usr/include \
140 /usr/local/include/tcl8.5 /usr/include/tcl8.5 \
141 /usr/local/include/tcl8.4 /usr/include/tcl8.4 \
142 /usr/local/include/tcl8.3 /usr/include/tcl8.3 \
143 /usr/local/pkgs/tcl/include /sys/include \
144 /usr/pkg/lib /beos/system/include /beos/devel/include $HOME"
145
146
147 # We save the cache (if used) here to speed things up if we can't find Tcl.
148 AC_CACHE_SAVE
149
150 # Misc Tcl checks.
151 EGG_TCL_ARG_WITH
152 EGG_TCL_ENV
153 EGG_TCL_WITH_TCLLIB
154 EGG_TCL_WITH_TCLINC
155 EGG_TCL_FIND_LIBRARY
156 EGG_TCL_FIND_HEADER
157 EGG_TCL_CHECK_LIBRARY
158 EGG_TCL_CHECK_HEADER
159 EGG_TCL_DETECT_CHANGE
160 EGG_TCL_CHECK_VERSION
161 EGG_TCL_CHECK_PRE70
162 EGG_TCL_TESTLIBS
163 EGG_TCL_CHECK_FREE
164 EGG_TCL_CHECK_GETCURRENTTHREAD
165 EGG_TCL_CHECK_GETTHREADDATA
166 EGG_TCL_CHECK_SETNOTIFIER
167 EGG_TCL_CHECK_NOTIFIER_INIT
168 EGG_TCL_LIB_REQS
169 EGG_TCL_LUSH
170
171
172 # Debug options
173 EGG_DEBUG_ENABLE
174 EGG_DEBUG_DEFAULTS
175 EGG_DEBUG_OPTIONS
176 EGG_DEBUG_CFLAGS
177 EGG_ENABLE_DEBUG_CONTEXT
178
179 # Let the user set the handlen with a configure option
180 EGG_ARG_HANDLEN
181
182
183 # Check for IPv6
184 EGG_IPV6_STATUS
185 EGG_IPV6_ENABLE
186 EGG_IPV6_COMPAT
187
188
189 # Check for TLS
190 EGG_TLS_ENABLE
191 EGG_TLS_WITHSSL
192 EGG_TLS_DETECT
193
194
195 # Substitute Makefile variables.
196 EGG_SUBST_EGGVERSION
197 EGG_SUBST_DEST
198 EGG_SUBST_MOD_UPDIR
199
200
201 EGG_CATCH_MAKEFILE_REBUILD
202
203
204 # Create Makefiles
205 AC_CONFIG_FILES([Makefile doc/Makefile scripts/Makefile src/Makefile src/compat/Makefile src/md5/Makefile src/mod/Makefile])
206 AC_OUTPUT
207
208
209 # Display configure end message
210 AC_MSG_RESULT
211 EGG_MSG_WEIRDOS
212 EGG_MSG_CONFIGURE_END

webmaster@eggheads.org
ViewVC Help
Powered by ViewVC 1.1.23