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

Contents of /eggdrop1.9/configure.in

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


Revision 1.48 - (show annotations) (download)
Wed Oct 10 10:44:03 2001 UTC (17 years, 8 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 dnl Process this file with autoconf to produce a configure script.
2 AC_INIT(src/eggdrop.h)
3 AC_CONFIG_AUX_DIR(.)
4 AM_CONFIG_HEADER(config.h)
5 EGG_MSG_CONFIGURE_START
6 AM_INIT_AUTOMAKE(eggdrop, 1.7.0)
7
8 # FIXME: optionally allow a system wide install by bypassing the macro below.
9 AC_PREFIX_DEFAULT([\${HOME}/eggdrop])
10
11 # Setup build environment
12 AC_PROG_CC
13 EGG_CHECK_CC
14
15 # Crazy machines
16 AC_AIX
17 AC_ISC_POSIX
18 AC_MINIX
19
20 # Gettext support
21 EGG_GNU_GETTEXT
22
23 # 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 # Speedup compile
34 EGG_CHECK_CCPIPE
35
36 # Checks for programs
37 AC_PROG_LN_S
38 EGG_PROG_STRIP
39 EGG_PROG_AWK
40 EGG_PROG_BASENAME
41 AC_CHECK_PROG(EGG_UNAME,uname,uname)
42 AC_CHECK_PROG(AR,ar,ar)
43
44 # Test the os and set the module linking settings
45 EGG_CHECK_OS
46
47 # Checks for system libraries
48 EGG_CHECK_LIBS
49
50 # Checks for header files
51 AC_HEADER_DIRENT
52 AC_HEADER_SYS_WAIT
53 AC_CHECK_HEADERS(sys/time.h)
54 AC_HEADER_TIME
55 AC_CHECK_HEADERS(sys/select.h sys/rusage.h unistd.h dlfcn.h stdarg.h std_args.h strings.h limits.h)
56 EGG_INADDR_LOOPBACK
57
58 # Checks for typedefs, structures, and compiler characteristics
59 AC_TYPE_PID_T
60 AC_TYPE_SIZE_T
61 EGG_TYPE_SOCKLEN_T
62 AC_C_CONST
63 AC_C_BIGENDIAN
64 AC_C_INLINE
65 AC_CHECK_SIZEOF(long, 0)
66 AC_CHECK_SIZEOF(int, 0)
67
68 # Checks for library functions
69 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 EGG_CHECK_FUNC_VSPRINTF
71
72 # Make sure we have stdc headers, since we can't compile without them
73 EGG_HEADER_STDC
74
75 # Checks for cygwin
76 EGG_CYGWIN
77
78 EGG_IPV6_SUPPORTED
79 EGG_ENABLE_IPV6
80
81 # Where is tcl? Is it here?
82 # ---------- begin robey's tcl thingies
83 # (well, what used to be robey's tcl thingies...)
84
85 # Latest tested Tcl version to recommend if Tcl isn't found
86 tclrecommendver="8.3.3"
87
88 # Site recommended to download Tcl from
89 tclrecommendsite="ftp://ftp.eggheads.org/pub/tcl/tcl8_3/"
90
91 # Tcl library filename prefixes (also used for Tcl header dir on FreeBSD)
92 tcllibnames="tcl tcl8.4 tcl84 tcl8.3 tcl83 tcl8.2 tcl82 tcl8.1 tcl81 \
93 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
96 # Tcl library filename suffixes
97 tcllibextensions=".so .so.1 .so.1.0 .so.1.2 .a .sl .dll"
98
99 # Tcl library search paths
100 tcllibpaths="/usr/local/lib /usr/local/pkgs/tcl/lib \
101 /usr/lib /lib /usr/i486-linuxaout/lib \
102 /beos/system/lib /sys/lib \
103 $HOME/lib $HOME/tcl/lib $HOME"
104
105 # Tcl header filenames
106 tclheadernames="tcl.h"
107
108 # Tcl header search paths
109 tclheaderpaths="/usr/local/include /usr/local/pkgs/tcl/include \
110 /usr/include /beos/system/include /beos/devel/include \
111 /sys/include $HOME/include $HOME/tcl/include $HOME"
112
113 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 EGG_TCL_DETECT_CHANGE
122
123 EGG_TCL_CHECK_VERSION
124 EGG_TCL_CHECK_PRE70
125 EGG_TCL_CHECK_PRE75
126 EGG_TCL_TESTLIBS
127 EGG_TCL_CHECK_FREE
128 EGG_TCL_ENABLE_THREADS
129 EGG_TCL_CHECK_THREADS
130 EGG_TCL_LIB_REQS
131 EGG_TCL_LUSH
132 # ---------- end of (what used to be) robey's tcl thingies
133
134 EGG_DEBUG_OPTIONS
135
136 EGG_DEFINE_VERSION_NUM
137
138 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
147 EGG_MSG_CONFIGURE_END
148

webmaster@eggheads.org
ViewVC Help
Powered by ViewVC 1.1.23