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

Annotation of /eggdrop1.9/configure.ac

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


Revision 1.37 - (hide annotations) (download)
Mon Mar 24 02:42:39 2003 UTC (16 years, 6 months ago) by wcc
Branch: MAIN
Changes since 1.36: +1 -1 lines
* Removed patch.h.

1 ite 1.1 dnl Process this file with autoconf to produce a configure script.
2 wcc 1.37 AC_INIT(Eggdrop, 1.7, bugs@eggheads.org)
3 ite 1.5 AC_PREREQ(2.52)
4 tothwolf 1.3 AC_CONFIG_AUX_DIR(acconfig)
5 ite 1.1 AM_CONFIG_HEADER(config.h)
6 tothwolf 1.35
7     # FIXME: make module Makefile list dynamic
8 tothwolf 1.36 AC_CONFIG_FILES([Makefile doc/Makefile intl/Makefile lib/Makefile lib/compat/Makefile lib/eggdrop/Makefile lib/egglib/Makefile m4/Makefile modules/Makefile modules/blowfish/Makefile modules/javascript/Makefile modules/perlscript/Makefile modules/script/Makefile modules/server/Makefile modules/tclscript/Makefile nettype/Makefile po/Makefile.in scripts/Makefile src/Makefile])
9 tothwolf 1.35
10 ite 1.1 EGG_MSG_CONFIGURE_START
11     AM_INIT_AUTOMAKE(eggdrop, 1.7.0)
12    
13     # FIXME: optionally allow a system wide install by bypassing the macro below.
14     AC_PREFIX_DEFAULT([\${HOME}/eggdrop])
15    
16     # config.h stuff
17     AH_TOP([#ifndef _EGG_CONFIG_H
18     #define _EGG_CONFIG_H])
19     AH_BOTTOM([#endif /* !_EGG_CONFIG_H */])
20    
21     # Setup build environment
22     AC_PROG_CC
23     EGG_CHECK_CC
24    
25     # Crazy machines
26     AC_AIX
27     AC_ISC_POSIX
28     AC_MINIX
29    
30 tothwolf 1.2 # Checks for compiler characteristics
31     AC_C_BIGENDIAN
32     AC_C_CONST
33     AC_C_VOLATILE
34     AC_C_INLINE
35     AC_C_LONG_DOUBLE
36     EGG_C_LONG_LONG
37    
38 ite 1.1 # Gettext support
39     EGG_GNU_GETTEXT
40    
41     # Libtool support
42     EGG_LIBTOOL
43    
44     # Speedup compile
45     EGG_CHECK_CCPIPE
46    
47 ite 1.4 # Compile Warnings
48     EGG_CHECK_CFLAGS_WALL
49    
50 ite 1.1 # Checks for programs
51     AC_PROG_LN_S
52     EGG_PROG_AWK
53     EGG_PROG_BASENAME
54     AC_CHECK_PROG(EGG_UNAME,uname,uname)
55     AC_CHECK_PROG(AR,ar,ar)
56    
57 ite 1.9 # Should -O2 CFLAG be removed?
58     EGG_DISABLE_CC_OPTIMIZATION
59    
60 ite 1.1 # Test the os and set the module linking settings
61     EGG_CHECK_OS
62    
63     # Checks for system libraries
64     EGG_CHECK_LIBS
65    
66     # Checks for header files
67     AC_HEADER_DIRENT
68 tothwolf 1.2 AC_HEADER_STAT
69     AC_HEADER_STDC
70 ite 1.1 AC_HEADER_SYS_WAIT
71     AC_CHECK_HEADERS(sys/time.h)
72     AC_HEADER_TIME
73 tothwolf 1.2 AC_CHECK_HEADERS(string.h strings.h ctype.h stdlib.h limits.h unistd.h)
74 stdarg 1.24 AC_CHECK_HEADERS(sys/rusage.h sys/select.h sys/poll.h stdarg.h std_args.h)
75 ite 1.1
76 tothwolf 1.2 # Checks for types and structures
77 ite 1.1 AC_TYPE_PID_T
78     AC_TYPE_SIZE_T
79 tothwolf 1.2 EGG_TYPE_32BIT
80 ite 1.1 EGG_TYPE_SOCKLEN_T
81 tothwolf 1.2 EGG_INADDR_LOOPBACK
82 ite 1.1
83 ite 1.17 # Checks for library variables
84     EGG_VAR_SYS_ERRLIST
85    
86 ite 1.1 # Checks for library functions
87 ite 1.17 AC_CHECK_FUNCS(clock dprintf fsync getdtablesize getrusage isascii)
88 tothwolf 1.2 AC_CHECK_FUNCS(random srandom rename setpgid sigaction sigemptyset uname)
89    
90     # Check for these functions, and replace those not found
91 stdarg 1.24 AC_REPLACE_FUNCS(memcpy memset poll strcasecmp strncasecmp strftime strdup)
92 stdarg 1.22 AC_REPLACE_FUNCS(inet_ntop inet_pton strerror strlcat strlcpy)
93 tothwolf 1.2
94     # These all share a common file: snprintf.c
95     AC_CHECK_FUNCS(vsnprintf snprintf asprintf vasprintf,,egg_replace_snprintf="yes")
96    
97     # Check if vsnprintf is C99 compliant
98     EGG_FUNC_C99_VSNPRINTF
99 ite 1.1
100 ite 1.18 # Check if getopt_long is avalaibale
101     EGG_FUNC_GETOPT_LONG
102    
103 tothwolf 1.2 # Check if we need to compile all or part of snprintf.c
104     EGG_REPLACE_SNPRINTF
105 ite 1.1
106 tothwolf 1.2 # Checks for IPV6
107 ite 1.1 EGG_IPV6_SUPPORTED
108     EGG_IPV6_OPTIONS
109    
110     # Where is tcl? Is it here?
111     # ---------- begin robey's tcl thingies
112     # (well, what used to be robey's tcl thingies...)
113    
114     # Latest tested Tcl version to recommend if Tcl isn't found
115 wcc 1.28 tclrecommendver="8.3.4"
116 ite 1.1
117     # Site recommended to download Tcl from
118 wcc 1.28 tclrecommendsite="ftp://tcl.activestate.com/pub/tcl/"
119 ite 1.1
120     # Tcl library filename prefixes (also used for Tcl header dir on FreeBSD)
121     tcllibnames="tcl tcl8.4 tcl84 tcl8.3 tcl83 tcl8.2 tcl82 tcl8.1 tcl81 \
122     tcl8.0 tcl80 tcl7.6 tcl76 tcl7.5 tcl75 tcl7.4 tcl74 \
123     tcl7.3 tcl73 tcl7.2 tcl72 tcl7.1 tcl71 tcl7.0 tcl70"
124    
125     # Tcl library filename suffixes
126 wcc 1.26 tcllibextensions=".so .so.1 .so.1.0 .so.1.2 .a .sl .dll .dynlib"
127 ite 1.1
128     # Tcl library search paths
129     tcllibpaths="/usr/local/lib /usr/local/pkgs/tcl/lib \
130     /usr/lib /lib /usr/i486-linuxaout/lib \
131     /beos/system/lib /sys/lib \
132     $HOME/lib $HOME/tcl/lib $HOME"
133    
134     # Tcl header filenames
135     tclheadernames="tcl.h"
136    
137     # Tcl header search paths
138     tclheaderpaths="/usr/local/include /usr/local/pkgs/tcl/include \
139     /usr/include /beos/system/include /beos/devel/include \
140 wcc 1.28 /sys/include $HOME/include $HOME/tcl/include $HOME"
141 ite 1.1
142     EGG_TCL_WITH_OPTIONS
143     EGG_TCL_ENV
144     EGG_TCL_WITH_TCLLIB
145     EGG_TCL_WITH_TCLINC
146     EGG_TCL_FIND_LIBRARY
147     EGG_TCL_FIND_HEADER
148     EGG_TCL_CHECK_LIBRARY
149     EGG_TCL_CHECK_HEADER
150     EGG_TCL_DETECT_CHANGE
151    
152     EGG_TCL_CHECK_VERSION
153 wcc 1.30 EGG_TCL_CHECK_PRE80
154 ite 1.1 EGG_TCL_TESTLIBS
155     EGG_TCL_CHECK_THREADS
156     EGG_TCL_LIB_REQS
157     EGG_TCL_LUSH
158     # ---------- end of (what used to be) robey's tcl thingies
159    
160     EGG_DEBUG_OPTIONS
161    
162     EGG_DEFINE_VERSION_NUM
163    
164     EGG_COMPRESS_MODULE
165 ite 1.4 EGG_PERLSCRIPT_MODULE
166 ite 1.13 EGG_TCLSCRIPT_MODULE
167 ite 1.20 EGG_JAVASCRIPT_MODULE
168 ite 1.1
169     AC_CONFIG_SUBDIRS(libltdl)
170    
171     AC_SUBST(ac_aux_dir)
172 ite 1.16
173 tothwolf 1.33 EGG_LTLIBOBJS
174    
175 tothwolf 1.35 AC_OUTPUT
176 ite 1.1
177     EGG_MSG_CONFIGURE_END

webmaster@eggheads.org
ViewVC Help
Powered by ViewVC 1.1.23