Replace deprecated g_basename with g_path_get_basename.
get rid of PL_na
Define PERL_NO_GET_CONTEXT in all perl source files

This removes the calls to Perl_get_context() that get automatically
added to XS code for ancient source code compatibility reasons.

The result is about a ~60K size reduction in the binary (based on
comparing two 64-bit stripped irssi binaries compiled
--with-perl-staticlib).
cleanup char* casts and replace one useless SvPV with SvPV_nolen
Add some missing casts to silence compiler warnings
Remove unused variables to silence compiler warnings
Add missing include

Silences:
  listen.c:320:3: warning: implicit declaration of function ‘ascii_strup’ [-Wimplicit-function-declaration]
Switch to using G_DISCARD for call_pv

PUTBACK was being called even for the error path which didn't use the
stack. Emitting the "script error" signal can involve running Perl code
(Irssi:core::destroy) therefore the stack can be reallocated. This
can result in the perl stack being corrupted because the local stack
pointer is out of date (although as it's use of freed memory the crash
is not always instant).
Correct use of perl stack macros

Further to pull #49 this is the result of an audit of the use of perl
stack macros. There were several cases where PUTBACK was being called
where the stack pointer could be out-of-date.

Also some misc. cleanup where the macros were used needlessly.
Merge pull request #63 from dgl/cleanups

Clean-up some compiler warnings
Merge pull request #60 from dgl/perl-no-get-context

Define PERL_NO_GET_CONTEXT in all perl source files
Merge pull request #59 from ailin-nemui/perl-pl-na

get rid of PL_na
Merge pull request #44 from dajohi/g_basename

Replace deprecated g_basename with g_path_get_basename.
rename configure.in -> configure.ac

Silences warning on newer autoconf:

aclocal: warning: autoconf input should be named 'configure.ac', not
'configure.in'
add AC_CONFIG_MACRO_DIR([m4]), move *.m4 files to m4/

Silences notice on newer autoconf:

libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.

This helps keep the top-level build directory clean, too
s/INCLUDES/AM_CPPFLAGS/g

Silences warnings on recent automake such as:

src/core/Makefile.am:3: warning: 'INCLUDES' is the old name for
'AM_CPPFLAGS' (or '*_CPPFLAGS')
Use PREFIX from 005 to decide if a nick flag is of op level

Fixes #61.
add print_text_after_time to specify time stamp for lines
add signal for line removal from textbuffer
Merge pull request #68 from falconindy/master

Autotools cleanup
Merge pull request #49 from dgl/stackem

Move PUTBACK to within the scope which uses the stack