/[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.7 - (show annotations) (download)
Fri Jun 4 14:07:48 2004 UTC (15 years, 7 months ago) by wcc
Branch: MAIN
Changes since 1.6: +57 -31 lines
- Fixed a compile error related to varargs when using old Tcl versions.
* Found by: Thomas Neumayer - Patch by: Wcc

- Fixed a compile error on systems that don't have socklen_t.
* Found by: Brad Edwards - Patch by: Wcc


-- .cvsignore stuff for autoscan.

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

webmaster@eggheads.org
ViewVC Help
Powered by ViewVC 1.1.23