/[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.3 - (hide annotations) (download)
Tue Feb 8 22:06:01 2011 UTC (8 years, 7 months ago) by thommey
Branch: gettext
Changes since 1.5.2.2: +6 -1 lines
merge changes from master into gettext

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

webmaster@eggheads.org
ViewVC Help
Powered by ViewVC 1.1.23