]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/extra/README
clean this up now Brain says it works :)
[user/henk/code/inspircd.git] / src / modules / extra / README
index 3ab898258ad0e005626b518a469673c2aeeee70d..124e5404556273ab54d332a032f8abfc0360bfe0 100644 (file)
@@ -2,10 +2,16 @@ This directory stores modules which require external libraries to compile.
 For example, m_filter_pcre requires the PCRE libraries.
 
 To compile any of these modules first ensure you have the required dependencies
-(read the online documentation at http://www.inspircd.org/wiki/) and then cp
+(read the online documentation at http://www.inspircd.org/wiki/) and then symlink
 the .cpp file from this directory into the parent directory (src/modules/) and
 re-configure your inspircd with ./configure -modupdate to detect the new module.
 
+Alternatively, use the command: ./configure --enable-extras=m_extra.cpp, which will
+automatically take care of symlinking the module of that name and any headers it needs
+from the extras directory. You can also use ./configure --list-extras to see what
+modules are available, and whether they are enabled or not. You still are responsible
+for resolving any external dependencies however (ie, PCRE, MySQL, GnuTLS, etc).
+
 NOTE: Some modules require you to copy other dependencies too, such as a related header.
 If you get missing header errors when building these modules, check that the header is
 not within modules/extra before checking for external dependencies.