diff options
author | Timo Sirainen <cras@irssi.org> | 2001-07-29 09:17:53 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2001-07-29 09:17:53 +0000 |
commit | 6c2f9c685aaf4aa79c9ea3f29efe0c22aa0a98ee (patch) | |
tree | 0f6377555e2b9cdc881731fd06dc3723632150ac /src/fe-text | |
parent | 2d5edb8c4d56f75f4dab93929072cc2699ec5ccd (diff) | |
download | irssi-6c2f9c685aaf4aa79c9ea3f29efe0c22aa0a98ee.zip |
--enable-perl* -> --with-perl*. Added a new libfe_perl which handles /SCRIPT
commands. /RUN -> /SCRIPT LOAD, /PERLFLUSH -> /SCRIPT FLUSH, /PERL ->
/SCRIPT EXEC. Added /SCRIPT UNLOAD, /SCRIPT LIST. Lots of cleanups.
filename_complete() has extra argument for "default directory" which is
searched if no path is given when completing.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1680 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-text')
-rw-r--r-- | src/fe-text/Makefile.am | 7 | ||||
-rw-r--r-- | src/fe-text/irssi.c | 5 |
2 files changed, 11 insertions, 1 deletions
diff --git a/src/fe-text/Makefile.am b/src/fe-text/Makefile.am index 87b97266..b3c43d48 100644 --- a/src/fe-text/Makefile.am +++ b/src/fe-text/Makefile.am @@ -10,11 +10,16 @@ INCLUDES = \ $(CURSES_INCLUDEDIR) \ -DLOCALEDIR=\""$(datadir)/locale"\" -irssi_DEPENDENCIES = @COMMON_LIBS@ +irssi_DEPENDENCIES = \ + @COMMON_LIBS@ \ + @PERL_LINK_LIBS@ \ + @PERL_FE_LINK_LIBS@ irssi_LDADD = \ @COMMON_LIBS@ \ @PERL_LINK_LIBS@ \ + @PERL_FE_LINK_LIBS@ \ + @PERL_LINK_FLAGS@ \ $(PROG_LIBS) \ $(CURSES_LIBS) diff --git a/src/fe-text/irssi.c b/src/fe-text/irssi.c index a2dc04a0..94fc18c2 100644 --- a/src/fe-text/irssi.c +++ b/src/fe-text/irssi.c @@ -45,6 +45,9 @@ #ifdef HAVE_STATIC_PERL void perl_core_init(void); void perl_core_deinit(void); + +void fe_perl_init(void); +void fe_perl_deinit(void); #endif void irc_init(void); @@ -139,6 +142,7 @@ static void textui_finish_init(void) #ifdef HAVE_STATIC_PERL perl_core_init(); + fe_perl_init(); #endif if (display_firsttimer) { @@ -178,6 +182,7 @@ static void textui_deinit(void) #ifdef HAVE_STATIC_PERL perl_core_deinit(); + fe_perl_deinit(); #endif theme_unregister(); |