Ok,  I have finished my source file for my watt meter plugin that I am building.  My question is what do I need to do to get it to compile.  I would like to build it into a debain package as well.  I am using 3.10.1 to build it against.
<br><br>If I understand correctly, I need to put a line in the <a href="http://configure.in">configure.in</a> file like this:<br>AC_COLLECTD([<span class="variable">name</span>], [disable],
                                  [module], [<span class="variable">description</span>])<br><br>and then add something like this in the <a href="http://Makefile.am">Makefile.am</a>:<span style="text-decoration: underline;"></span><a href="?auth=DQAAAHEAAAB1sRRbQ4sYhnvKcVm45QsVHMrrRV70d6TAEUHNLUJTVQYJymtxUpJNeGdMg8CsFyds3sxKaEnLuV3uWwCOhdam0QZQOui9YMBjHFRDAHq-VJelU9_i_cN04vLtU9JSKdERfwJNrajy1MeRo7arigdwBIfFTIjGbmROcUgFbU-h3A&amp;shva=1">
</a><br>
                                  if BUILD_MODULE_<span class="variable">NAME</span><br>
                                  pkglib_LTLIBRARIES += <span class="variable">name</span>.la<br>
                                  <span class="variable">name</span>_la_SOURCES = <span class="variable">name</span>.c<br>
                                  <span class="variable">name</span>_la_LDFLAGS = -module -avoid-version<br>
                                  collectd_LDADD += &quot;-dlopen&quot; <span class="variable">name</span>.la<br>
                                  collectd_DEPENDENCIES += <span class="variable">name</span>.la<br>
                                  endif<br><br>Is that all that I need to do?<br><br><br>What about adding it to the debian packages? <br><br>Plus this plugin needs extra libraries installed.&nbsp; Is there anything special that I need to do to include them?&nbsp; I know if i compile the file on the command line with gcc I add a -l(library) flag to it.
<br><br>Thanks<br><br>Nathan<br>