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

Annotation of /eggdrop1.8/configure.ac

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


Revision 1.7 - (hide annotations) (download)
Wed Jul 31 01:09:33 2013 UTC (5 years, 8 months ago) by thommey
Branch: MAIN
Changes since 1.6: +3 -6 lines
apply two patches of guppy that were missing

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

webmaster@eggheads.org
ViewVC Help
Powered by ViewVC 1.1.23