/[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.8 - (hide annotations) (download)
Tue Sep 30 10:40:40 2014 UTC (4 years, 11 months ago) by thommey
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +9 -5 lines
Add Tcl8.6 and /usr/lib/x86_64-linux-gnu to Tcl search paths.

1 simple 1.1 dnl configure.ac: this file is processed by autoconf to produce ./configure.
2     dnl
3 thommey 1.8 dnl $Id: configure.ac,v 1.7 2013/07/31 01:09:33 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.8 AC_REVISION($Revision: 1.7 $)
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.8 tcllibnames="tcl8.6 tcl86 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 thommey 1.8 /usr/local/lib/tcl8.6 /usr/lib/tcl8.6 \
137 simple 1.1 /usr/local/lib/tcl8.5 /usr/lib/tcl8.5 \
138     /usr/local/lib/tcl8.4 /usr/lib/tcl8.4 \
139     /usr/local/lib/tcl8.3 /usr/lib/tcl8.3 \
140     /usr/local/pkgs/tcl/lib /sys/lib /usr/pkg/lib \
141 thommey 1.8 /usr/i486-linuxaout/lib /beos/system/lib \
142     /usr/lib/x86_64-linux-gnu $HOME"
143 simple 1.1
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 thommey 1.8 /usr/local/include/tcl8.6 /usr/include/tcl8.6 \
149 simple 1.1 /usr/local/include/tcl8.5 /usr/include/tcl8.5 \
150     /usr/local/include/tcl8.4 /usr/include/tcl8.4 \
151     /usr/local/include/tcl8.3 /usr/include/tcl8.3 \
152     /usr/local/pkgs/tcl/include /sys/include \
153 thommey 1.8 /usr/pkg/lib /beos/system/include /beos/devel/include \
154     $HOME"
155 simple 1.1
156    
157     # We save the cache (if used) here to speed things up if we can't find Tcl.
158     AC_CACHE_SAVE
159    
160     # Misc Tcl checks.
161     EGG_TCL_ARG_WITH
162     EGG_TCL_ENV
163     EGG_TCL_WITH_TCLLIB
164     EGG_TCL_WITH_TCLINC
165     EGG_TCL_FIND_LIBRARY
166     EGG_TCL_FIND_HEADER
167     EGG_TCL_CHECK_LIBRARY
168     EGG_TCL_CHECK_HEADER
169     EGG_TCL_DETECT_CHANGE
170     EGG_TCL_CHECK_VERSION
171     EGG_TCL_CHECK_PRE70
172     EGG_TCL_TESTLIBS
173     EGG_TCL_CHECK_FREE
174     EGG_TCL_CHECK_GETCURRENTTHREAD
175     EGG_TCL_CHECK_GETTHREADDATA
176     EGG_TCL_CHECK_SETNOTIFIER
177 thommey 1.4 EGG_TCL_CHECK_NOTIFIER_INIT
178 simple 1.1 EGG_TCL_LIB_REQS
179     EGG_TCL_LUSH
180    
181    
182     # Debug options
183     EGG_DEBUG_ENABLE
184     EGG_DEBUG_DEFAULTS
185     EGG_DEBUG_OPTIONS
186     EGG_DEBUG_CFLAGS
187     EGG_ENABLE_DEBUG_CONTEXT
188    
189     # Let the user set the handlen with a configure option
190     EGG_ARG_HANDLEN
191    
192 pseudo 1.5
193 pseudo 1.3 # Check for IPv6
194     EGG_IPV6_STATUS
195     EGG_IPV6_ENABLE
196     EGG_IPV6_COMPAT
197    
198    
199 pseudo 1.5 # Check for TLS
200     EGG_TLS_ENABLE
201     EGG_TLS_WITHSSL
202     EGG_TLS_DETECT
203    
204    
205 simple 1.1 # Substitute Makefile variables.
206     EGG_SUBST_EGGVERSION
207     EGG_SUBST_DEST
208     EGG_SUBST_MOD_UPDIR
209    
210    
211     EGG_CATCH_MAKEFILE_REBUILD
212    
213    
214     # Create Makefiles
215     AC_CONFIG_FILES([Makefile doc/Makefile scripts/Makefile src/Makefile src/compat/Makefile src/md5/Makefile src/mod/Makefile])
216     AC_OUTPUT
217    
218    
219     # Display configure end message
220     AC_MSG_RESULT
221     EGG_MSG_WEIRDOS
222     EGG_MSG_CONFIGURE_END

webmaster@eggheads.org
ViewVC Help
Powered by ViewVC 1.1.23