]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/extra/m_regex_pcre.cpp
Update copyright headers.
[user/henk/code/inspircd.git] / src / modules / extra / m_regex_pcre.cpp
index 9ae6719ba96a89d35adc9d67ca7d5c5f7bd6932f..17cc65bd3797b9ced6712c6d29b562a2febbc81e 100644 (file)
@@ -1,6 +1,12 @@
 /*
  * InspIRCd -- Internet Relay Chat Daemon
  *
+ *   Copyright (C) 2013, 2016, 2019, 2021 Sadie Powell <sadie@witchery.services>
+ *   Copyright (C) 2013 Attila Molnar <attilamolnar@hush.com>
+ *   Copyright (C) 2012 Robby <robby@chatbelgie.be>
+ *   Copyright (C) 2012 ChrisTX <xpipe@hotmail.de>
+ *   Copyright (C) 2011 Adam <Adam@anope.org>
+ *   Copyright (C) 2009 Uli Schlachter <psychon@inspircd.org>
  *   Copyright (C) 2009 Daniel De Graaf <danieldg@inspircd.org>
  *   Copyright (C) 2008 Thomas Stagner <aquanight@inspircd.org>
  *
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
+/// $CompilerFlags: execute("pcre-config --cflags" "PCRE_CXXFLAGS")
+/// $LinkerFlags: execute("pcre-config --libs" "PCRE_LDFLAGS" "-lpcre")
+
+/// $PackageInfo: require_system("arch") pcre
+/// $PackageInfo: require_system("centos") pcre-devel
+/// $PackageInfo: require_system("darwin") pcre
+/// $PackageInfo: require_system("debian") libpcre3-dev
+/// $PackageInfo: require_system("ubuntu") libpcre3-dev
+
 
 #include "inspircd.h"
 #include <pcre.h>
 #include "modules/regex.h"
 
-/* $CompileFlags: exec("pcre-config --cflags") */
-/* $LinkerFlags: exec("pcre-config --libs") rpath("pcre-config --libs") -lpcre */
-
 #ifdef _WIN32
 # pragma comment(lib, "libpcre.lib")
 #endif
@@ -77,7 +89,7 @@ class ModuleRegexPCRE : public Module
 
        Version GetVersion() CXX11_OVERRIDE
        {
-               return Version("Regex Provider Module for PCRE", VF_VENDOR);
+               return Version("Provides the pcre regular expression engine which uses the PCRE library.", VF_VENDOR);
        }
 };