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

webmaster@eggheads.org
ViewVC Help
Powered by ViewVC 1.1.23