/[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.34 - (hide annotations) (download)
Fri Mar 7 11:30:33 2003 UTC (16 years ago) by tothwolf
Branch: MAIN
Changes since 1.33: +1 -1 lines
* Upgraded gettext to version 0.11.5.

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

webmaster@eggheads.org
ViewVC Help
Powered by ViewVC 1.1.23