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

Annotation of /eggdrop1.9/configure.in

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


Revision 1.48 - (hide annotations) (download)
Wed Oct 10 10:44:03 2001 UTC (17 years, 9 months ago) by tothwolf
Branch: MAIN
Changes since 1.47: +1 -1 lines
all expmem functions and support removed
all memory status/debugging code removed
all #ifdef DEBUG_MEM code removed

nmalloc macro/n_malloc function removed, use malloc() now
mod_malloc function removed
my_strdup function removed, use malloc_strcpy macro now
channel_malloc removed, use malloc_memset macro now
n_malloc_null function removed, use malloc_memset macro now
user_malloc macro/_user_malloc function removed, use malloc() now

nrealloc macro/n_realloc function removed, use realloc() now
mod_realloc function removed

nfree macro/n_free function removed, use free() now
mod_free function removed
my_free macro removed, use free_null macro now
Tcl_Free compat macro now uses free() instead of removed n_free function

malloc->strcpy now uses malloc_strcpy macro
free(ptr);ptr=NULL; now uses free_null macro
malloc->bzero now uses malloc_memset macro
get_data_ptr macro/_get_data_ptr function removed, use malloc_memset macro now

compat memcpy removed
compat memset removed
egg_memcpy/my_memcpy misuse/mess changed to memcpy
egg_bzero/bzero macro removed, use memset() now

many uninitialized pointers now default to NULL

match.c is now compiled on it's own instead of being included into tclhash.c
match.c cleanup, removed broken/incomplete ircII compat code
wild_match macro removed, _wild_match function renamed to wild_match
wild_match_per function no longer declared static
added prototypes for wild_match and wild_match_per functions

Major function/macro changes:
  nmalloc -> malloc()
  nrealloc -> realloc()
  nfree -> free()

Bugs found and fixed during audit:
  buffer overflow in adduser()

Bugs fixed when code was removed:
  typo in filedb3.c: EBUG_MEM -> DEBUG_MEM
  extra egg_bzero call from filesys.c

1 segfault 1.1 dnl Process this file with autoconf to produce a configure script.
2 fabian 1.19 AC_INIT(src/eggdrop.h)
3 ite 1.47 AC_CONFIG_AUX_DIR(.)
4     AM_CONFIG_HEADER(config.h)
5     EGG_MSG_CONFIGURE_START
6     AM_INIT_AUTOMAKE(eggdrop, 1.7.0)
7 ite 1.46
8 ite 1.47 # FIXME: optionally allow a system wide install by bypassing the macro below.
9 fabian 1.13 AC_PREFIX_DEFAULT([\${HOME}/eggdrop])
10 segfault 1.1
11 fabian 1.13 # Setup build environment
12 segfault 1.1 AC_PROG_CC
13 fabian 1.13 EGG_CHECK_CC
14 segfault 1.1
15 fabian 1.13 # Crazy machines
16 fabian 1.3 AC_AIX
17     AC_ISC_POSIX
18     AC_MINIX
19    
20 ite 1.46 # Gettext support
21     EGG_GNU_GETTEXT
22    
23 ite 1.47 # Libtool support
24     AC_DISABLE_FAST_INSTALL
25     AC_DISABLE_STATIC
26     AC_LIBTOOL_WIN32_DLL
27     AC_LIBLTDL_CONVENIENCE
28     AC_SUBST(INCLTDL)
29     AC_SUBST(LIBLTDL)
30     AC_LIBTOOL_DLOPEN
31     AM_PROG_LIBTOOL
32    
33 fabian 1.34 # Speedup compile
34 fabian 1.35 EGG_CHECK_CCPIPE
35 fabian 1.34
36 fabian 1.13 # Checks for programs
37 fabian 1.7 AC_PROG_LN_S
38 fabian 1.14 EGG_PROG_STRIP
39 fabian 1.13 EGG_PROG_AWK
40     EGG_PROG_BASENAME
41 ite 1.47 AC_CHECK_PROG(EGG_UNAME,uname,uname)
42 drummer 1.44 AC_CHECK_PROG(AR,ar,ar)
43 fabian 1.13
44     # Test the os and set the module linking settings
45     EGG_CHECK_OS
46 segfault 1.1
47 fabian 1.13 # Checks for system libraries
48     EGG_CHECK_LIBS
49 fabian 1.4
50 fabian 1.13 # Checks for header files
51 segfault 1.1 AC_HEADER_DIRENT
52     AC_HEADER_SYS_WAIT
53 fabian 1.7 AC_CHECK_HEADERS(sys/time.h)
54     AC_HEADER_TIME
55 tothwolf 1.42 AC_CHECK_HEADERS(sys/select.h sys/rusage.h unistd.h dlfcn.h stdarg.h std_args.h strings.h limits.h)
56 drummer 1.44 EGG_INADDR_LOOPBACK
57 segfault 1.1
58 fabian 1.13 # Checks for typedefs, structures, and compiler characteristics
59 segfault 1.1 AC_TYPE_PID_T
60 fabian 1.24 AC_TYPE_SIZE_T
61 drummer 1.43 EGG_TYPE_SOCKLEN_T
62 fabian 1.33 AC_C_CONST
63 fabian 1.7 AC_C_BIGENDIAN
64 fabian 1.3 AC_C_INLINE
65 fabian 1.13 AC_CHECK_SIZEOF(long, 0)
66     AC_CHECK_SIZEOF(int, 0)
67    
68     # Checks for library functions
69 tothwolf 1.48 AC_CHECK_FUNCS(clock getrusage setpgid uname sigaction sigemptyset rename strcasecmp strncasecmp getdtablesize random srandom dlopen dprintf snprintf vsnprintf isascii inet_aton strftime fsync inet_pton inet_ntop)
70 fabian 1.13 EGG_CHECK_FUNC_VSPRINTF
71    
72     # Make sure we have stdc headers, since we can't compile without them
73     EGG_HEADER_STDC
74 segfault 1.1
75 fabian 1.13 # Checks for cygwin
76     EGG_CYGWIN
77 drummer 1.43
78 drummer 1.45 EGG_IPV6_SUPPORTED
79 drummer 1.43 EGG_ENABLE_IPV6
80 fabian 1.7
81 fabian 1.13 # Where is tcl? Is it here?
82 fabian 1.3 # ---------- begin robey's tcl thingies
83     # (well, what used to be robey's tcl thingies...)
84    
85 fabian 1.13 # Latest tested Tcl version to recommend if Tcl isn't found
86 guppy 1.41 tclrecommendver="8.3.3"
87 fabian 1.6
88 fabian 1.13 # Site recommended to download Tcl from
89 guppy 1.41 tclrecommendsite="ftp://ftp.eggheads.org/pub/tcl/tcl8_3/"
90 fabian 1.13
91     # Tcl library filename prefixes (also used for Tcl header dir on FreeBSD)
92 fabian 1.29 tcllibnames="tcl tcl8.4 tcl84 tcl8.3 tcl83 tcl8.2 tcl82 tcl8.1 tcl81 \
93 fabian 1.7 tcl8.0 tcl80 tcl7.6 tcl76 tcl7.5 tcl75 tcl7.4 tcl74 \
94     tcl7.3 tcl73 tcl7.2 tcl72 tcl7.1 tcl71 tcl7.0 tcl70"
95 segfault 1.1
96 fabian 1.13 # Tcl library filename suffixes
97 fabian 1.29 tcllibextensions=".so .so.1 .so.1.0 .so.1.2 .a .sl .dll"
98 fabian 1.3
99 fabian 1.13 # Tcl library search paths
100 fabian 1.3 tcllibpaths="/usr/local/lib /usr/local/pkgs/tcl/lib \
101     /usr/lib /lib /usr/i486-linuxaout/lib \
102 fabian 1.21 /beos/system/lib /sys/lib \
103 fabian 1.3 $HOME/lib $HOME/tcl/lib $HOME"
104    
105 fabian 1.13 # Tcl header filenames
106 fabian 1.7 tclheadernames="tcl.h"
107    
108 fabian 1.13 # Tcl header search paths
109 fabian 1.3 tclheaderpaths="/usr/local/include /usr/local/pkgs/tcl/include \
110 fabian 1.21 /usr/include /beos/system/include /beos/devel/include \
111     /sys/include $HOME/include $HOME/tcl/include $HOME"
112 segfault 1.1
113 fabian 1.13 EGG_TCL_ARG_WITH
114     EGG_TCL_ENV
115     EGG_TCL_WITH_TCLLIB
116     EGG_TCL_WITH_TCLINC
117     EGG_TCL_FIND_LIBRARY
118     EGG_TCL_FIND_HEADER
119     EGG_TCL_CHECK_LIBRARY
120     EGG_TCL_CHECK_HEADER
121 fabian 1.35 EGG_TCL_DETECT_CHANGE
122    
123 fabian 1.13 EGG_TCL_CHECK_VERSION
124     EGG_TCL_CHECK_PRE70
125     EGG_TCL_CHECK_PRE75
126     EGG_TCL_TESTLIBS
127     EGG_TCL_CHECK_FREE
128 guppy 1.36 EGG_TCL_ENABLE_THREADS
129 fabian 1.13 EGG_TCL_CHECK_THREADS
130     EGG_TCL_LIB_REQS
131 fabian 1.23 EGG_TCL_LUSH
132 fabian 1.13 # ---------- end of (what used to be) robey's tcl thingies
133    
134 ite 1.47 EGG_DEBUG_OPTIONS
135 fabian 1.13
136 ite 1.46 EGG_DEFINE_VERSION_NUM
137 fabian 1.13
138 ite 1.47 EGG_COMPRESS_MODULE
139    
140     AC_CONFIG_SUBDIRS(libltdl)
141    
142     AC_SUBST(ac_aux_dir)
143    
144     # FIXME: module's Makefiles list will prolly become dynamic
145     AC_OUTPUT([Makefile doc/Makefile scripts/Makefile src/Makefile src/md5/Makefile src/compat/Makefile src/egglib/Makefile src/mod/Makefile src/adns/Makefile src/mod/Makefile intl/Makefile po/Makefile.in src/mod/assoc.mod/Makefile src/mod/blowfish.mod/Makefile src/mod/channels.mod/Makefile src/mod/compress.mod/Makefile src/mod/console.mod/Makefile src/mod/ctcp.mod/Makefile src/mod/filesys.mod/Makefile src/mod/irc.mod/Makefile src/mod/notes.mod/Makefile src/mod/server.mod/Makefile src/mod/share.mod/Makefile src/mod/transfer.mod/Makefile src/mod/uptime.mod/Makefile src/mod/woobie.mod/Makefile])
146 fabian 1.19
147 fabian 1.13 EGG_MSG_CONFIGURE_END
148 ite 1.47

webmaster@eggheads.org
ViewVC Help
Powered by ViewVC 1.1.23