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

Annotation of /eggdrop1.6/configure.ac

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


Revision 1.11 - (hide annotations) (download)
Wed Jun 16 06:53:03 2004 UTC (15 years, 7 months ago) by wcc
Branch: MAIN
Changes since 1.10: +2 -2 lines
* Grr.

1 wcc 1.1 dnl configure.ac: this file is processed by autoconf to produce ./configure.
2     dnl
3 wcc 1.10 dnl $Id: configure.ac,v 1.9 2004/06/15 07:20:54 wcc Exp $
4 wcc 1.1
5     AC_PREREQ(2.59)
6 wcc 1.6 AC_INIT([Eggdrop],[1.6.17],[bugs@eggheads.org])
7 wcc 1.2 AC_COPYRIGHT([Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004 Eggheads Development Team])
8 wcc 1.11 AC_REVISION($Revision: 1.10 $)
9 wcc 1.1 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 wcc 1.11 dnl config.h stuff
15 wcc 1.10 AH_TOP([#ifndef _EGG_CONFIG_H
16     #define _EGG_CONFIG_H])
17     AH_BOTTOM([#endif /* !_EGG_CONFIG_H */])
18 wcc 1.7
19     # Print start message
20 wcc 1.1 EGG_MSG_CONFIGURE_START
21     EGG_SAVE_PARAMETERS
22    
23 wcc 1.7
24     # Check for a working C compiler
25 wcc 1.1 AC_PROG_CC
26     EGG_CHECK_CC
27    
28 wcc 1.7
29     # Checks for odd operating systems
30 wcc 1.1 AC_AIX
31     AC_ISC_POSIX
32     AC_MINIX
33    
34 wcc 1.7
35 wcc 1.1 # Speedup compile
36     EGG_CHECK_CCPIPE
37    
38 wcc 1.7
39 wcc 1.1 # 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 wcc 1.7
51 wcc 1.1 # Test the os and set the module linking settings
52     EGG_CHECK_OS
53    
54 wcc 1.7
55 wcc 1.1 # Checks for system libraries
56     EGG_CHECK_LIBS
57    
58 wcc 1.10
59 wcc 1.1 # Checks for header files
60     EGG_HEADER_STDC
61     AC_HEADER_DIRENT
62     AC_HEADER_TIME
63 wcc 1.7 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 wcc 1.1
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 wcc 1.7 AC_STRUCT_TIMEZONE
73 wcc 1.1 AC_C_VOLATILE
74 wcc 1.7 EGG_CHECK_SOCKLEN_T
75    
76 wcc 1.1
77 wcc 1.7 # Check the sizes of int and long
78 wcc 1.1 AC_CHECK_SIZEOF(long, 0)
79     AC_CHECK_SIZEOF(int, 0)
80    
81 wcc 1.7
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 wcc 1.3 AC_FUNC_SELECT_ARGTYPES
85 wcc 1.1 AC_FUNC_VPRINTF
86 wcc 1.3 EGG_FUNC_VPRINTF
87 wcc 1.1 AC_FUNC_STRFTIME
88 wcc 1.9 AC_FUNC_MMAP
89 wcc 1.1
90 wcc 1.7
91 wcc 1.1 # Make sure we are using the correct result from a broken libsafe sscanf
92     EGG_CHECK_LIBSAFE_SSCANF
93    
94 wcc 1.7
95     # Check for executable extension
96 wcc 1.1 EGG_EXEEXT
97    
98 wcc 1.7
99     # Tcl version to recomend if no Tcl is found, and the site where it can be
100     # found for download.
101 wcc 1.8 tclrecommendver="8.4.6"
102     tclrecommendsite="ftp://tcl.activestate.com/pub/tcl/tcl8_4/"
103 wcc 1.1
104    
105 wcc 1.7 # 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 wcc 1.1 tcllibextensions=".so .so.1 .so.1.0 .so.1.2 .a .sl .dll .dylib"
110 wcc 1.7 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 wcc 1.1
118    
119 wcc 1.7
120     # Tcl header filenames and search paths
121 wcc 1.1 tclheadernames="tcl.h"
122 wcc 1.7 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 wcc 1.1
130    
131 wcc 1.7 # Misc Tcl checks
132 wcc 1.1 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 wcc 1.7
151     # dlopen() / module load function checks
152 wcc 1.1 EGG_FUNC_DLOPEN
153    
154 wcc 1.7
155 wcc 1.1 # Substitute Makefile variables
156     EGG_SUBST_EGGVERSION
157     EGG_SUBST_DEST
158     EGG_SUBST_MOD_UPDIR
159    
160 wcc 1.7
161 wcc 1.1 EGG_CATCH_MAKEFILE_REBUILD
162 wcc 1.7
163    
164     # Create Makefiles
165 wcc 1.1 AC_CONFIG_FILES([Makefile doc/Makefile scripts/Makefile src/Makefile src/compat/Makefile src/md5/Makefile src/mod/Makefile])
166     AC_OUTPUT
167    
168 wcc 1.7
169     # Display configure end message
170 wcc 1.1 EGG_MSG_CONFIGURE_END

webmaster@eggheads.org
ViewVC Help
Powered by ViewVC 1.1.23