/[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.5.2.4 - (hide annotations) (download)
Tue Feb 8 22:08:35 2011 UTC (8 years, 3 months ago) by thommey
Branch: gettext
Changes since 1.5.2.3: +1 -8 lines
missed a merge conflict

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

webmaster@eggheads.org
ViewVC Help
Powered by ViewVC 1.1.23