# HG changeset patch # User Eric Polino # Date 1184615399 0 # Node ID f63e38e33811a65d9784e4e38a0403fe0ee9b38c # Parent 42fc16a234ec3c66741e4d600d999332eca4bfbc Some lines to the auto-thingies to aid in libgnt building standalone diff -r 42fc16a234ec -r f63e38e33811 configure.ac --- a/configure.ac Fri Jul 13 18:19:55 2007 +0000 +++ b/configure.ac Mon Jul 16 19:49:59 2007 +0000 @@ -2038,6 +2038,8 @@ AC_DEFINE(DEBUG, 1, [Define if debugging is enabled.]) fi +AM_CONDITIONAL(PURPLE_AVAILABLE, true) + AC_OUTPUT([Makefile Doxyfile doc/Makefile diff -r 42fc16a234ec -r f63e38e33811 finch/libgnt/configure.ac --- a/finch/libgnt/configure.ac Fri Jul 13 18:19:55 2007 +0000 +++ b/finch/libgnt/configure.ac Mon Jul 16 19:49:59 2007 +0000 @@ -314,6 +314,8 @@ AC_DEFINE(NO_LIBXML, 1, [Do not have libxml2.]) fi +AM_CONDITIONAL(PURPLE_AVAILABLE, false) + AC_OUTPUT([Makefile gnt.pc wms/Makefile diff -r 42fc16a234ec -r f63e38e33811 finch/libgnt/wms/Makefile.am --- a/finch/libgnt/wms/Makefile.am Fri Jul 13 18:19:55 2007 +0000 +++ b/finch/libgnt/wms/Makefile.am Mon Jul 16 19:49:59 2007 +0000 @@ -1,10 +1,16 @@ +if PURPLE_AVAILABLE +# These custom wms depend on libpurple +purple_wms = s.la irssi.la +else +purple_wms = +endif + s_la_LDFLAGS = -module -avoid-version irssi_la_LDFLAGS = -module -avoid-version plugin_LTLIBRARIES = \ - s.la \ - irssi.la - + $(purple_wms) + plugindir = $(libdir)/gnt irssi_la_SOURCES = irssi.c