qulogic/libgnt

Respect the original SIGWINCH's handler SA_SIGINFO field
trac-16680
2017-09-25, Daniel Kamil Kozar
eaba4e3c577b
Respect the original SIGWINCH's handler SA_SIGINFO field

Imported from https://developer.pidgin.im/ticket/16680 , authored by
marcus. When chaining the original SIGWINCH, make sure to optionally
call it with the extra arguments that are available when it was
installed with SA_SIGINFO.
wms = irssi.la
if PURPLE_AVAILABLE
# These custom wms depend on libpurple
purple_wms = s.la
else
purple_wms =
endif
s_la_LDFLAGS = -module -avoid-version
irssi_la_LDFLAGS = -module -avoid-version
plugin_LTLIBRARIES = \
$(wms) \
$(purple_wms)
plugindir = $(libdir)/gnt
irssi_la_SOURCES = irssi.c
irssi_la_LIBADD = \
$(GLIB_LIBS) \
../libgnt.la
s_la_SOURCES = s.c
s_la_LIBADD = \
$(GLIB_LIBS) \
../libgnt.la \
$(top_builddir)/libpurple/libpurple.la
EXTRA_DIST =
AM_CPPFLAGS = \
-DDATADIR=\"$(datadir)\" \
-I$(top_srcdir)/libpurple \
-I$(top_srcdir)/finch \
-I$(top_srcdir)/finch/libgnt \
$(DEBUG_CFLAGS) \
$(GLIB_CFLAGS) \
$(GNT_CFLAGS) \
$(PLUGIN_CFLAGS)