mirror of
https://github.com/irssi/irssi.git
synced 2026-08-11 04:43:34 +02:00
--enable-perl=[yes|no|static]
Allows building perl support either as loadable irssi module or statically linked to irssi binary. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@716 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
391a419a1f
commit
5e97ea1549
7 changed files with 142 additions and 62 deletions
|
|
@ -40,6 +40,11 @@
|
|||
|
||||
#include <signal.h>
|
||||
|
||||
#ifdef HAVE_STATIC_PERL
|
||||
void perl_init(void);
|
||||
void perl_deinit(void);
|
||||
#endif
|
||||
|
||||
void irc_init(void);
|
||||
void irc_deinit(void);
|
||||
|
||||
|
|
@ -105,6 +110,9 @@ static void textui_finish_init(void)
|
|||
fe_common_core_finish_init();
|
||||
fe_common_irc_finish_init();
|
||||
|
||||
#ifdef HAVE_STATIC_PERL
|
||||
perl_init();
|
||||
#endif
|
||||
signal_emit("irssi init finished", 0);
|
||||
|
||||
screen_refresh_thaw();
|
||||
|
|
@ -127,6 +135,10 @@ static void textui_deinit(void)
|
|||
gui_entry_deinit();
|
||||
deinit_screen();
|
||||
|
||||
#ifdef HAVE_STATIC_PERL
|
||||
perl_deinit();
|
||||
#endif
|
||||
|
||||
theme_unregister();
|
||||
|
||||
fe_common_irc_deinit();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue