summaryrefslogtreecommitdiff
path: root/src/fe-text/irssi.c
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2000-10-03 22:57:14 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2000-10-03 22:57:14 +0000
commit5e97ea1549df8b0f5896f2bebf027721bb197eff (patch)
tree53fb0d1a8fef5c68fa54efc0d72a0430ca4cc96a /src/fe-text/irssi.c
parent391a419a1fce87ea4fef199390e23cbf0dbee589 (diff)
downloadirssi-5e97ea1549df8b0f5896f2bebf027721bb197eff.zip
--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
Diffstat (limited to 'src/fe-text/irssi.c')
-rw-r--r--src/fe-text/irssi.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/fe-text/irssi.c b/src/fe-text/irssi.c
index 56932326..df11ea66 100644
--- a/src/fe-text/irssi.c
+++ b/src/fe-text/irssi.c
@@ -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();