Added --with-perl-staticlib option to configure. If used, irssi's perl

libraries are compiled statically into irssi binary.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1914 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2001-10-24 23:17:27 +00:00 committed by cras
commit ddf1b27c04
8 changed files with 62 additions and 6 deletions

View file

@ -1,12 +1,17 @@
# NOTE: this is printed through printf()-like function,
# so no extra percent characters.
# %%s can be used once, it contains the
# use Irssi; use Irssi::Irc; etc..
# %%d : must be first - 1 if perl libraries are to be linked
# statically with irssi binary, 0 if not
# %%s : must be second - use Irssi; use Irssi::Irc; etc..
package Irssi::Core;
use Symbol qw(delete_package);
sub is_static {
return %d;
}
sub destroy {
my $package = "Irssi::Script::".$_[0];
delete_package($package);