mirror of
https://github.com/irssi/irssi.git
synced 2024-09-01 04:14:16 -04:00
--with-modules=xxx builds now specified extra modules to irssi binary.
memdebug (if enabled) doesn't now by default check for buffer overflows since it's a huge slowup. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@250 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
4255d6c075
commit
93173356bb
22
configure.in
22
configure.in
@ -68,18 +68,9 @@ AC_ARG_WITH(bot,
|
||||
fi,
|
||||
want_irssibot=yes)
|
||||
|
||||
AC_ARG_WITH(plugins,
|
||||
[ --with-plugins Build plugins],
|
||||
if test x$withval = xyes; then
|
||||
want_plugins=yes
|
||||
else
|
||||
if test "x$withval" = xno; then
|
||||
want_plugins=no
|
||||
else
|
||||
want_plugins=yes
|
||||
fi
|
||||
fi,
|
||||
want_plugins=yes)
|
||||
AC_ARG_WITH(modules,
|
||||
[ --with-modules Specify what modules to build in binary],
|
||||
build_modules="$withval")
|
||||
|
||||
AC_ARG_ENABLE(perl,
|
||||
[ --enable-perl Enable Perl scripting],
|
||||
@ -276,6 +267,9 @@ dnl ** (these could be made configurable)
|
||||
|
||||
CHAT_MODULES="irc"
|
||||
irc_MODULES="dcc flood notifylist"
|
||||
if test "$build_modules" != ""; then
|
||||
irc_MODULES="$irc_MODULES $build_modules"
|
||||
fi
|
||||
|
||||
dnl ****************************************
|
||||
|
||||
@ -295,11 +289,11 @@ for c in $CHAT_MODULES; do
|
||||
CHAT_LIBS="$CHAT_LIBS ../$c/lib$c.la ../$c/core/lib${c}_core.la"
|
||||
FE_COMMON_LIBS="$FE_COMMON_LIBS ../fe-common/$c/libfe_common_$c.la"
|
||||
for s in `eval echo \\$${c}_MODULES`; do
|
||||
CHAT_LIBS="$CHAT_LIBS ../$c/$s/lib${c}_$s.la"
|
||||
CHAT_LIBS="$CHAT_LIBS ../$c/$s/.libs/lib${c}_$s.a"
|
||||
module_inits="$module_inits ${c}_${s}_init();"
|
||||
module_deinits="${c}_${s}_deinit(); $module_deinits"
|
||||
if test -d $srcdir/src/fe-common/$c/$s; then
|
||||
FE_COMMON_LIBS="$FE_COMMON_LIBS ../fe-common/$c/$s/libfe_common_${c}_$s.la"
|
||||
FE_COMMON_LIBS="$FE_COMMON_LIBS ../fe-common/$c/$s/.libs/libfe_common_${c}_$s.a"
|
||||
fe_module_inits="$fe_module_inits fe_${c}_${s}_init();"
|
||||
fe_module_deinits="fe_${c}_${s}_deinit(); $fe_module_deinits"
|
||||
fi
|
||||
|
@ -23,7 +23,7 @@
|
||||
#include <string.h>
|
||||
#include <glib.h>
|
||||
|
||||
#define ENABLE_BUFFER_CHECKS
|
||||
/*#define ENABLE_BUFFER_CHECKS*/
|
||||
#define BUFFER_CHECK_SIZE 5
|
||||
#define MIN_BUFFER_CHECK_SIZE 2
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
noinst_LTLIBRARIES = libfe_common_irc_dcc.la
|
||||
plugindir = $(libdir)/irssi/plugins
|
||||
plugin_LTLIBRARIES = libfe_common_irc_dcc.la
|
||||
|
||||
INCLUDES = \
|
||||
$(GLIB_CFLAGS) \
|
||||
|
@ -1,4 +1,5 @@
|
||||
noinst_LTLIBRARIES = libfe_common_irc_flood.la
|
||||
plugindir = $(libdir)/irssi/plugins
|
||||
plugin_LTLIBRARIES = libfe_common_irc_flood.la
|
||||
|
||||
INCLUDES = \
|
||||
$(GLIB_CFLAGS) \
|
||||
|
@ -1,4 +1,5 @@
|
||||
noinst_LTLIBRARIES = libfe_common_irc_notifylist.la
|
||||
plugindir = $(libdir)/irssi/plugins
|
||||
plugin_LTLIBRARIES = libfe_common_irc_notifylist.la
|
||||
|
||||
INCLUDES = \
|
||||
$(GLIB_CFLAGS) \
|
||||
|
@ -1,4 +1,5 @@
|
||||
noinst_LTLIBRARIES = libirc_dcc.la
|
||||
plugindir = $(libdir)/irssi/plugins
|
||||
plugin_LTLIBRARIES = libirc_dcc.la
|
||||
|
||||
INCLUDES = $(GLIB_CFLAGS) \
|
||||
-I$(top_srcdir)/src -I$(top_srcdir)/src/core/ -I$(top_srcdir)/src/irc/core/
|
||||
|
@ -1,4 +1,5 @@
|
||||
noinst_LTLIBRARIES = libirc_flood.la
|
||||
plugindir = $(libdir)/irssi/plugins
|
||||
plugin_LTLIBRARIES = libirc_flood.la
|
||||
|
||||
INCLUDES = $(GLIB_CFLAGS) \
|
||||
-I$(top_srcdir)/src -I$(top_srcdir)/src/core/ -I$(top_srcdir)/src/irc/core/
|
||||
|
@ -1,4 +1,5 @@
|
||||
noinst_LTLIBRARIES = libirc_notifylist.la
|
||||
plugindir = $(libdir)/irssi/plugins
|
||||
plugin_LTLIBRARIES = libirc_notifylist.la
|
||||
|
||||
INCLUDES = $(GLIB_CFLAGS) \
|
||||
-I$(top_srcdir)/src -I$(top_srcdir)/src/core/ -I$(top_srcdir)/src/irc/core/
|
||||
|
Loading…
Reference in New Issue
Block a user