Sat, 17 Apr 2010 01:27:04 +0000
Add network listen functions that accept a family argument (AF_INET(6?)).
These allow code to portably support IPv6 for listeners (mostly file
transfers and Bonjour). Callers should use the purple_socket_speaks_ipv4
to determine whether they need two sockets or just an IPv6 one. I used
GIO's g_socket_speaks_ipv4 as the inspiration for that.
use 5.006; use ExtUtils::MakeMaker; # See lib/ExtUtils/MakeMaker.pm for details of how to influence the contents # of the Makefile that is written. WriteMakefile( 'NAME' => 'Pidgin', 'VERSION_FROM' => '@srcdir@/Pidgin.pm', # finds $VERSION ($] >= 5.005 ? ## Add these new keywords supported since 5.005 ('ABSTRACT_FROM' => '@srcdir@/Pidgin.pm', # finds $ABSTRACT 'AUTHOR' => 'Pidgin <http://pidgin.im/>') : ()), 'DEFINE' => '@DEBUG_CFLAGS@', 'INC' => '-I. -I@srcdir@ -I@top_srcdir@ -I@top_srcdir@/libpurple -I@top_srcdir@/pidgin @GTK_CFLAGS@', 'OBJECT' => '$(O_FILES)', # link all the C files too 'TYPEMAPS' => ["@top_srcdir@/libpurple/plugins/perl/common/typemap"], # 'OPTIMIZE' => '-g', # For debugging. 'INSTALLDIRS' => 'vendor', 'INSTALL_BASE' => '$(prefix)', 'INSTALLVENDORARCH' => '$(libdir)/pidgin/perl', 'INSTALLVENDORMAN3DIR' => '$(mandir)/man3', 'macro' => { 'prefix' => '@prefix@', 'exec_prefix' => '@exec_prefix@', 'libdir' => '@libdir@', 'mandir' => '@mandir@', 'datarootdir' => '@datarootdir@', }, );