diff options
author | Timo Sirainen <cras@irssi.org> | 2001-02-17 10:35:35 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2001-02-17 10:35:35 +0000 |
commit | abe4ddb52ab32cb7e6aaee98a25e93f769a3aa46 (patch) | |
tree | 18f744255342648f9443de36e5b1eee098c9abe2 /configure.in | |
parent | f1205c10e0d6ef29065c96d788c35c4e23ed4860 (diff) | |
download | irssi-abe4ddb52ab32cb7e6aaee98a25e93f769a3aa46.zip |
/LOAD module tries to load "module_core" instead. If it wasn't found,
it fallbacks to "module" again. If it is found, it tries to load several
other modules too, like irc_module, fe_module and fe_irc_module.
Split perl module to perl_core and fe_perl. Removed "_common" from some
fe_common modules.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1228 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/configure.in b/configure.in index d54b6d6f..a988d2eb 100644 --- a/configure.in +++ b/configure.in @@ -477,19 +477,25 @@ if test "$want_perl" != "no"; then AC_DEFINE(HAVE_STATIC_PERL) dnl * build only static library of perl module - module_lib= - static_lib=libperl_static.la + perl_module_lib= + perl_module_fe_lib= + perl_static_lib=libperl_static.la + perl_static_fe_lib=libfe_perl_static.la PERL_LIBTOOL='$(SHELL) $(top_builddir)/libtool' else dnl * build dynamic library of perl module, dnl * use libtool-shared to prevent creating of dnl * libperl.a - module_lib=libperl.la - static_lib= + perl_module_lib=libperl_core.la + perl_module_fe_lib=libfe_perl.la + perl_static_lib= + perl_static_fe_lib= PERL_LIBTOOL='$(SHELL) $(top_builddir)/libtool-shared' fi - AC_SUBST(module_lib) - AC_SUBST(static_lib) + AC_SUBST(perl_module_lib) + AC_SUBST(perl_static_lib) + AC_SUBST(perl_module_fe_lib) + AC_SUBST(perl_static_fe_lib) AC_SUBST(PERL_LIBTOOL) AC_SUBST(PERL_LDFLAGS) @@ -544,7 +550,7 @@ for c in $CHAT_MODULES; do 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/${LIBDIR}libfe_common_${c}_$s.a " + FE_COMMON_LIBS="$FE_COMMON_LIBS../fe-common/$c/$s/${LIBDIR}libfe_${c}_$s.a " fe_module_inits="$fe_module_inits fe_${c}_${s}_init();" fe_module_deinits="fe_${c}_${s}_deinit(); $fe_module_deinits" fi |