/[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.2 - (show annotations) (download)
Tue Jul 27 13:05:43 2010 UTC (8 years, 9 months ago) by pseudo
Branch: MAIN
Changes since 1.1: +3 -3 lines
Ran misc/newversion for 1.8.0.

1 dnl configure.ac: this file is processed by autoconf to produce ./configure.
2 dnl
3 dnl $Id: configure.ac,v 1.1.1.1 2010/07/26 21:11:06 simple Exp $
4
5 AC_PREREQ(2.60)
6 AC_INIT([Eggdrop],[1.8.0],[bugs@eggheads.org])
7 AC_COPYRIGHT([Copyright (C) 1999 - 2010 Eggheads Development Team])
8 AC_REVISION($Revision: 1.1.1.1 $)
9 AC_CONFIG_SRCDIR(src/eggdrop.h)
10 AC_CONFIG_AUX_DIR(misc)
11 AC_CONFIG_HEADER(config.h)
12 AC_PREFIX_DEFAULT([\${HOME}/eggdrop])
13 AC_PRESERVE_HELP_ORDER
14
15 dnl config.h stuff
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 # Check for a working C compiler
45 AC_PROG_CC
46 EGG_CHECK_CC
47
48 # These 3 need to be done before any AC_COMPILE_IFELSE()'s.
49 AC_AIX
50 AC_ISC_POSIX
51 AC_MINIX
52
53 # Check C compiler characteristics.
54 EGG_CHECK_ICC
55 EGG_CHECK_CCPIPE
56 EGG_CHECK_CCWALL
57
58
59 # Check for executable extension.
60 EGG_EXEEXT
61
62
63 # Checks for programs.
64 AC_PROG_INSTALL
65 AC_PROG_MAKE_SET
66 AC_PROG_RANLIB
67 AC_PROG_LN_S
68 EGG_PROG_HEAD_1
69 EGG_PROG_STRIP
70 EGG_PROG_AWK
71 EGG_PROG_BASENAME
72 AC_CHECK_PROG(UNAME,uname,uname)
73
74
75 # Check if we will strip the binary
76 # Do this *before* EGG_CHECK_OS
77 EGG_ENABLE_STRIP
78
79
80 # Checks for system libraries.
81 EGG_CHECK_LIBS
82
83
84 # Test the OS and set the module linking settings.
85 EGG_OS_VERSION
86 EGG_CHECK_MODULE_SUPPORT
87 EGG_CHECK_OS
88
89
90 # Checks for header files.
91 EGG_HEADER_STDC
92 AC_HEADER_DIRENT
93 AC_HEADER_TIME
94 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 wchar.h])
95
96
97 # Checks for typedefs, structures, and compiler characteristics.
98 AC_C_CONST
99 AC_C_BIGENDIAN
100 AC_C_INLINE
101 AC_TYPE_INTPTR_T
102 AC_TYPE_PID_T
103 AC_TYPE_SIZE_T
104 AC_STRUCT_TIMEZONE
105 AC_C_VOLATILE
106 EGG_CHECK_SOCKLEN_T
107
108
109 # Check the sizes of various types.
110 AC_CHECK_SIZEOF(long, 0)
111 AC_CHECK_SIZEOF(int, 0)
112 AC_CHECK_SIZEOF(short, 0)
113
114
115 # Checks for functions and their arguments.
116 AC_CHECK_FUNCS([clock dprintf fsync getdtablesize getrusage inet_aton isascii mbrlen memcpy memset random rand lrand48 rename setpgid sigaction sigemptyset snprintf strcasecmp strncasecmp uname vsnprintf])
117 AC_FUNC_SELECT_ARGTYPES
118 EGG_FUNC_VPRINTF
119 AC_FUNC_STRFTIME
120 AC_FUNC_MMAP
121
122
123 # Tcl version to recommend if no Tcl is found, and the site where it can be
124 # found for download.
125 tclrecommendver="8.5.X"
126 tclrecommendsite="ftp://tcl.activestate.com/pub/tcl/tcl8_5/"
127
128 # Tcl library filename prefixes, suffixes, and search paths.
129 tcllibnames="tcl8.5 tcl85 tcl8.4 tcl84 tcl8.3 tcl83 tcl8.2 tcl82 \
130 tcl8.1 tcl81 tcl8.0 tcl80 tcl tcl7.6 tcl76 tcl7.5 tcl75 \
131 tcl7.4 tcl74 tcl7.3 tcl73 tcl7.2 tcl72 tcl7.1 tcl71 \
132 tcl7.0 tcl70"
133
134 tcllibextensions=".so .so.1 .so.1.0 .so.1.2 .dll .dylib .sl .a"
135
136 tcllibpaths="$HOME/lib $HOME/tcl/lib \
137 /usr/local/lib /usr/lib /lib /lib64 /usr/lib64 \
138 /usr/local/lib/tcl8.5 /usr/lib/tcl8.5 \
139 /usr/local/lib/tcl8.4 /usr/lib/tcl8.4 \
140 /usr/local/lib/tcl8.3 /usr/lib/tcl8.3 \
141 /usr/local/pkgs/tcl/lib /sys/lib /usr/pkg/lib \
142 /usr/i486-linuxaout/lib /beos/system/lib $HOME"
143
144 # Tcl header filenames and search paths.
145 tclheadernames="tcl.h"
146 tclheaderpaths="$HOME/include $HOME/tcl/include \
147 /usr/local/include /usr/include \
148 /usr/local/include/tcl8.5 /usr/include/tcl8.5 \
149 /usr/local/include/tcl8.4 /usr/include/tcl8.4 \
150 /usr/local/include/tcl8.3 /usr/include/tcl8.3 \
151 /usr/local/pkgs/tcl/include /sys/include \
152 /usr/pkg/lib /beos/system/include /beos/devel/include $HOME"
153
154
155 # We save the cache (if used) here to speed things up if we can't find Tcl.
156 AC_CACHE_SAVE
157
158 # Misc Tcl checks.
159 EGG_TCL_ARG_WITH
160 EGG_TCL_ENV
161 EGG_TCL_WITH_TCLLIB
162 EGG_TCL_WITH_TCLINC
163 EGG_TCL_FIND_LIBRARY
164 EGG_TCL_FIND_HEADER
165 EGG_TCL_CHECK_LIBRARY
166 EGG_TCL_CHECK_HEADER
167 EGG_TCL_DETECT_CHANGE
168 EGG_TCL_CHECK_VERSION
169 EGG_TCL_CHECK_PRE70
170 EGG_TCL_TESTLIBS
171 EGG_TCL_CHECK_FREE
172 EGG_TCL_CHECK_GETCURRENTTHREAD
173 EGG_TCL_CHECK_GETTHREADDATA
174 EGG_TCL_CHECK_SETNOTIFIER
175 EGG_TCL_LIB_REQS
176 EGG_TCL_LUSH
177
178
179 # Debug options
180 EGG_DEBUG_ENABLE
181 EGG_DEBUG_DEFAULTS
182 EGG_DEBUG_OPTIONS
183 EGG_DEBUG_CFLAGS
184 EGG_ENABLE_DEBUG_CONTEXT
185
186 # Let the user set the handlen with a configure option
187 EGG_ARG_HANDLEN
188
189 # Substitute Makefile variables.
190 EGG_SUBST_EGGVERSION
191 EGG_SUBST_DEST
192 EGG_SUBST_MOD_UPDIR
193
194
195 EGG_CATCH_MAKEFILE_REBUILD
196
197
198 # Create Makefiles
199 AC_CONFIG_FILES([Makefile doc/Makefile scripts/Makefile src/Makefile src/compat/Makefile src/md5/Makefile src/mod/Makefile])
200 AC_OUTPUT
201
202
203 # Display configure end message
204 AC_MSG_RESULT
205 EGG_MSG_WEIRDOS
206 EGG_MSG_CONFIGURE_END

webmaster@eggheads.org
ViewVC Help
Powered by ViewVC 1.1.23