freeswitch plugin: Added BUILD_PLUGIN_FREESWITCH to src/Makefile.am
authorLeon de Rooij <leon@scarlet-internet.nl>
Tue, 21 Apr 2009 09:34:19 +0000 (11:34 +0200)
committerFlorian Forster <sifnfors@informatik.stud.uni-erlangen.de>
Thu, 16 Jul 2009 08:53:27 +0000 (10:53 +0200)
src/Makefile.am

index e6d9073..76b72ba 100644 (file)
@@ -325,6 +325,14 @@ collectd_LDADD += "-dlopen" filecount.la
 collectd_DEPENDENCIES += filecount.la
 endif
 
+if BUILD_PLUGIN_FREESWITCH
+pkglib_LTLIBRARIES += freeswitch.la
+freeswitch_la_SOURCES = freeswitch.c
+freeswitch_la_LDFLAGS = -module -avoid-version
+collectd_LDADD += "-dlopen" freeswitch.la
+collectd_DEPENDENCIES += freeswitch.la
+endif
+
 if BUILD_PLUGIN_GMOND
 pkglib_LTLIBRARIES += gmond.la
 gmond_la_SOURCES = gmond.c