summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2000-05-29 16:37:00 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2000-05-29 16:37:00 +0000
commit93173356bb2a48aebd185e689eeb3ca5f2e31a02 (patch)
treee71954a066d3810c7a286744c0ec9e7ad1d898d8 /configure.in
parent4255d6c075d22629333015cf3daf1b42f4af1f5b (diff)
downloadirssi-93173356bb2a48aebd185e689eeb3ca5f2e31a02.zip
--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
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in22
1 files changed, 8 insertions, 14 deletions
diff --git a/configure.in b/configure.in
index baf20e95..5b1cd06d 100644
--- a/configure.in
+++ b/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