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

Contents of /eggdrop1.6/configure.ac

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


Revision 1.10 - (show annotations) (download)
Wed Jun 16 06:47:10 2004 UTC (15 years, 7 months ago) by wcc
Branch: MAIN
Changes since 1.9: +7 -2 lines
* More autotools stuff.

1 dnl configure.ac: this file is processed by autoconf to produce ./configure.
2 dnl
3 dnl $Id: configure.ac,v 1.9 2004/06/15 07:20:54 wcc Exp $
4
5 AC_PREREQ(2.59)
6 AC_INIT([Eggdrop],[1.6.17],[bugs@eggheads.org])
7 AC_COPYRIGHT([Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004 Eggheads Development Team])
8 AC_REVISION($Revision: 1.9 $)
9 AC_CONFIG_SRCDIR(src/eggdrop.h)
10 AC_CONFIG_AUX_DIR(misc)
11 AC_CONFIG_HEADER(config.h)
12 AC_PREFIX_DEFAULT([\${HOME}/eggdrop])
13
14 # config.h stuff
15 AH_TOP([#ifndef _EGG_CONFIG_H
16 #define _EGG_CONFIG_H])
17 AH_BOTTOM([#endif /* !_EGG_CONFIG_H */])
18
19 # Print start message
20 EGG_MSG_CONFIGURE_START
21 EGG_SAVE_PARAMETERS
22
23
24 # Check for a working C compiler
25 AC_PROG_CC
26 EGG_CHECK_CC
27
28
29 # Checks for odd operating systems
30 AC_AIX
31 AC_ISC_POSIX
32 AC_MINIX
33
34
35 # Speedup compile
36 EGG_CHECK_CCPIPE
37
38
39 # Checks for programs
40 AC_PROG_INSTALL
41 AC_PROG_MAKE_SET
42 AC_PROG_RANLIB
43 AC_PROG_LN_S
44 EGG_PROG_HEAD_1
45 EGG_PROG_STRIP
46 EGG_PROG_AWK
47 EGG_PROG_BASENAME
48 AC_CHECK_PROG(UNAME,uname,uname)
49
50
51 # Test the os and set the module linking settings
52 EGG_CHECK_OS
53
54
55 # Checks for system libraries
56 EGG_CHECK_LIBS
57
58
59 # Checks for header files
60 EGG_HEADER_STDC
61 AC_HEADER_DIRENT
62 AC_HEADER_TIME
63 AC_CHECK_HEADERS([arpa/inet.h fcntl.h limits.h locale.h netdb.h netinet/in.h std_args.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])
64
65
66 # Checks for typedefs, structures, and compiler characteristics
67 AC_C_CONST
68 AC_C_BIGENDIAN
69 AC_C_INLINE
70 AC_TYPE_PID_T
71 AC_TYPE_SIZE_T
72 AC_STRUCT_TIMEZONE
73 AC_C_VOLATILE
74 EGG_CHECK_SOCKLEN_T
75
76
77 # Check the sizes of int and long
78 AC_CHECK_SIZEOF(long, 0)
79 AC_CHECK_SIZEOF(int, 0)
80
81
82 # Checks for functions and their arguments
83 AC_CHECK_FUNCS(clock dlopen dprintf fsync getdtablesize getrusage inet_aton isascii mbrlen memcpy memset random rename setpgid sigaction sigemptyset snprintf srandom strcasecmp strncasecmp uname vsnprintf)
84 AC_FUNC_SELECT_ARGTYPES
85 AC_FUNC_VPRINTF
86 EGG_FUNC_VPRINTF
87 AC_FUNC_STRFTIME
88 AC_FUNC_MMAP
89
90
91 # Make sure we are using the correct result from a broken libsafe sscanf
92 EGG_CHECK_LIBSAFE_SSCANF
93
94
95 # Check for executable extension
96 EGG_EXEEXT
97
98
99 # Tcl version to recomend if no Tcl is found, and the site where it can be
100 # found for download.
101 tclrecommendver="8.4.6"
102 tclrecommendsite="ftp://tcl.activestate.com/pub/tcl/tcl8_4/"
103
104
105 # Tcl library filename prefixes, suffixes, and search paths
106 tcllibnames="tcl8.4 tcl84 tcl8.3 tcl83 tcl8.2 tcl82 tcl8.1 tcl81 \
107 tcl8.0 tcl80 tcl tcl7.6 tcl76 tcl7.5 tcl75 tcl7.4 tcl74 tcl7.3 \
108 tcl73 tcl7.2 tcl72 tcl7.1 tcl71 tcl7.0 tcl70 tcl8.5 tcl85"
109 tcllibextensions=".so .so.1 .so.1.0 .so.1.2 .a .sl .dll .dylib"
110 tcllibpaths="/usr/local/lib /usr/lib /lib \
111 /usr/local/lib/tcl8.4 /usr/local/lib/tcl8.3 \
112 /usr/lib/tcl8.4 /usr/lib/tcl8.3 \
113 /usr/local/lib/tcl8.5 /usr/lib/tcl8.5 \
114 /usr/local/pkgs/tcl/lib /sys/lib \
115 /usr/i486-linuxaout/lib /beos/system/lib \
116 $HOME/lib $HOME/tcl/lib $HOME"
117
118
119
120 # Tcl header filenames and search paths
121 tclheadernames="tcl.h"
122 tclheaderpaths="/usr/local/include /usr/include \
123 /usr/local/include/tcl8.3 /usr/local/include/tcl8.4 \
124 /usr/include/tcl8.3 /usr/include/tcl8.4 \
125 /usr/local/include/tcl8.5 /usr/include/tcl8.5 \
126 /usr/local/pkgs/tcl/include /sys/include \
127 /beos/system/include /beos/devel/include \
128 $HOME/include $HOME/tcl/include $HOME"
129
130
131 # Misc Tcl checks
132 EGG_TCL_ARG_WITH
133 EGG_TCL_ENV
134 EGG_TCL_WITH_TCLLIB
135 EGG_TCL_WITH_TCLINC
136 EGG_TCL_FIND_LIBRARY
137 EGG_TCL_FIND_HEADER
138 EGG_TCL_CHECK_LIBRARY
139 EGG_TCL_CHECK_HEADER
140 EGG_TCL_DETECT_CHANGE
141 EGG_TCL_CHECK_VERSION
142 EGG_TCL_CHECK_PRE70
143 EGG_TCL_TESTLIBS
144 EGG_TCL_CHECK_FREE
145 EGG_TCL_ENABLE_THREADS
146 EGG_TCL_CHECK_THREADS
147 EGG_TCL_LIB_REQS
148 EGG_TCL_LUSH
149
150
151 # dlopen() / module load function checks
152 EGG_FUNC_DLOPEN
153
154
155 # Substitute Makefile variables
156 EGG_SUBST_EGGVERSION
157 EGG_SUBST_DEST
158 EGG_SUBST_MOD_UPDIR
159
160
161 EGG_CATCH_MAKEFILE_REBUILD
162
163
164 # Create Makefiles
165 AC_CONFIG_FILES([Makefile doc/Makefile scripts/Makefile src/Makefile src/compat/Makefile src/md5/Makefile src/mod/Makefile])
166 AC_OUTPUT
167
168
169 # Display configure end message
170 EGG_MSG_CONFIGURE_END

webmaster@eggheads.org
ViewVC Help
Powered by ViewVC 1.1.23