summaryrefslogtreecommitdiff
path: root/configure
AgeCommit message (Collapse)AuthorFilesLines
2018-11-11Remove the unused src/tool directoryHaru1-3/+2
The directory has been unused since the mapcache generator was converted to a plugin. Signed-off-by: Haru <haru@dotalux.com>
2018-09-19Add -Wvla flag into configure.Andrei Karas1-1/+50
This flag prevent usage of variable length arrays.
2018-09-19Update storage packet for 2018-08-29 RE.Andrei Karas1-1/+1
2018-08-25Change language specification to c11 in the autoconf buildsHaru1-2/+45
Fixes an issue with certain glibc versions using the emulated `_Static_assert` (allowing only one assertion per scope) despite the compiler having built-in support for the c11 version. Fixes builds in Debian stretch and other distributions. Signed-off-by: Haru <haru@dotalux.com>
2018-08-25Add support for build for AD clients.Andrei Karas1-1/+35
Add configure flag --enable-packetver-ad Add defines for AD into mmo.h Add messages list for AD clients.
2018-08-25Add support for build for SAK clients.Andrei Karas1-1/+35
Add configure flag --enable-packetver-sak Add defines for SAK into mmo.h Add messages list for SAK clients.
2018-08-23Add script command msgtable and msgtable2.Andrei Karas1-1/+1
New script commands: msgtable msgId [, color] msgtable2 msgId, param [, color]
2017-12-02Add configure option --enable-packetver-zero for enable support for zero ↵Andrei Karas1-1/+64
clients.
2017-03-25Fix gcc lto.Andrei Karas1-8/+52
Also rebuild configure.
2016-10-17Re-generated configure scriptHaru1-2/+2
Signed-off-by: Haru <haru@dotalux.com>
2016-10-07Suppressed the superuser check in CI buildsHaru1-1/+1
- Speeds up GitLab builds by 1 minute Signed-off-by: Haru <haru@dotalux.com>
2016-10-02Added Doxygen configuration (use 'make docs' to generate)Haru1-0/+3
Signed-off-by: Haru <haru@dotalux.com>
2016-09-03Add some missing functions in skill.c into interface.Andrei Karas1-28/+55
2016-07-12Add omit frame pointer flag if debug flag enabled.Andrei Karas1-1/+30
2016-07-08Disable epoll by default and fix formatting in epoll in configure.acAndrei Karas1-10/+12
2016-07-08Added epoll as event-dispatcher on linux (instead of select())Florian Wilkemeyer1-1/+61
Note: It will be enabled by default if configure detects that the system has support for epoll To enforce usage of select run configure with --enable-epoll=no
2016-07-04Added messages to discourage running Hercules as root.Haru1-1/+46
- You should not run Hercules as root, period. - If you understand all of the security implications, and still want to do so (and you don't want to be bothered by the warning messages), open core.c and uncomment the line: "//#define I_AM_AWARE_OF_THE_RISK_AND_STILL_WANT_TO_RUN_HERCULES_AS_ROOT" - If you're running Hercules as root because your provider forces (or encourages) you to do so, it means they're really doing it wrong, so please complain to them and ask them for an alternative. - More info on the topic: http://www.tldp.org/HOWTO/Security-HOWTO/local-security.html https://wiki.debian.org/sudo http://wiki.centos.org/TipsAndTricks/BecomingRoot http://fedoraproject.org/wiki/Configuring_Sudo https://help.ubuntu.com/community/RootSudo http://www.freebsdwiki.net/index.php/Root Signed-off-by: Haru <haru@dotalux.com>
2016-07-03Add --run-once flag into login server.Andrei Karas1-1/+1
2016-06-30Use item attribute as flags varible. Now only ATTR_BROKEN flag exists.Andrei Karas1-1/+1
2016-06-18Move npc static variables into npc interface.Andrei Karas1-1/+1
2016-04-29Rename configure.in into configure.acAndrei Karas1-1/+1
2016-04-29Add missing [] in configure.inAndrei Karas1-1/+1
2016-04-29Add some usefull gcc 6 warnings.Andrei Karas1-1/+188
2016-04-29Fix compilation warnings with gcc 6.Andrei Karas1-50/+2
2016-04-28Add new gcc sanitize flag -fsanitize=bounds-strictAndrei Karas1-1/+49
2016-04-19Added --enable-Werror option to the configure scriptHaru1-1/+71
It's not always possible (if at all) to pass -Werror in the CFLAGS, since autoconf often generates test-code that produces warnings. Example/reference: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=734104 Signed-off-by: Haru <haru@dotalux.com>
2016-04-19Corrected some variable name errors in the configure scriptHaru1-4/+4
The errors affected the script output when passing an invalid value to various --enble-xxx=yyy options. Signed-off-by: Haru <haru@dotalux.com>
2016-03-20Enabled the -Wcast-qual diagnostic flag in the configure scriptHaru1-1/+50
Signed-off-by: Haru <haru@dotalux.com>
2016-02-20Fixed compile warnings in clangHaru1-50/+2
- Fixed a -Wshorten-64-to-32 warning in case there's no thread-local-storage available - Disabled -Wcast-align for the time being Signed-off-by: Haru <haru@dotalux.com>
2016-02-20Added explicit c99 mode to CFLAGS in the configure scriptHaru1-2/+2
Signed-off-by: Haru <haru@dotalux.com>
2016-02-19Add to configure some flags what for now not create any warnings.Andrei Karas1-8/+496
2016-02-19Remove some unused macroses. Left macroses in socket.cAndrei Karas1-4/+9
2016-02-19Add noreturn attributes.Andrei Karas1-2/+58
Also add compiler flag for check for missing noreturn attributes.
2016-02-19Fix missing include dirs. Add compiler flag -Wmissing-include-dirs.Andrei Karas1-2/+52
2016-02-19Fix all known warnings from compiler flags -Wformat*Andrei Karas1-2/+154
Add all missing -Wformat flags into configure.
2016-02-19Fix some cast discards 'const' qualifier from pointer target type warnings.Andrei Karas1-1/+3
Add -Wcast-qual into configure comment.
2016-02-06Removed special handling of zlib in the configure scriptHaru1-32/+3
Now it's handled like all other libraries, and no longer adds an useless -I/usr/include option Signed-off-by: Haru <haru@dotalux.com>
2016-02-06Changed PCRE to properly use the system-provided pcre.hHaru1-19/+38
Signed-off-by: Haru <haru@dotalux.com>
2016-02-06Added /usr/local path to the header and library search pathsHaru1-1/+13
- This fixes PCRE search failures on FreeBSD and on OS X with Homebrew - Thanks to ultramage Signed-off-by: Haru <haru@dotalux.com>
2016-02-05Remove from configure flag -fvisibility=hidden.Andrei Karas1-2/+2
It prevent for show funcstion names in stack in asserts.
2016-01-21Remove unused PCRE_SUPPORT define.Andrei Karas1-2/+1
2016-01-21Enable pcre by default in configure and show error if pcre missing.Andrei Karas1-119/+12
2016-01-10Enable debug information in configure by default.Andrei Karas1-4/+16
2015-12-02Fixed an issue with the HPMDataCheck when PCRE is enabledHaru1-2/+3
- Follow-up to 300668d, thanks to AnnieRuru Signed-off-by: Haru <haru@dotalux.com>
2015-08-27Added an availability check for the -rdynamic linker optionHaru1-3/+34
- Fixes an issue preventing to compile on non-ELF systems (i.e. OS X) using recent gcc versions (such as 5.2) that are unable to filter out this option where it's not needed. - Thanks to Smokexyz for reporting the issue. Signed-off-by: Haru <haru@dotalux.com>
2015-08-17Fix wrong index access and probably wrong hp/sp calculation. Closes #653Andrei Karas1-1/+1
2015-08-15HPM compatibility improvementsHaru1-2/+2
Improved compatibility, portability and standards conformance. - Since it is not possible to portably and reliably re-use the core's symbols in plugins, symbols are no longer exported unless explicitly required, in the UNIX builds. This mimics the Windows behavior and adds HPM compatibility to OSes such as FreeBSD. Credits to Andrei Karas for making this possible. - For convenience, it is no longer necessary to call GET_SYMBOL, since the plugin will automatically import all the available symbols when it's loaded, depending on the included headers. - Plugins are now supposed to include the "common/hercules.h" header before including anything else. Incluing common/HPMi.h, common/cbasetypes.h or conf/core.h is no longer necessary, as those are guaranteed to be automatically included by hercules.h. - HPM API version bumped to 1.1. Signed-off-by: Haru <haru@dotalux.com>
2015-08-15Improved plugin compile flag detection by the configuration scriptHaru1-81/+6
- This fixes plugin compilation on FreeBSD and Debian failing due to a missing -fPIC, in combination with some upcoming changes. Signed-off-by: Haru <haru@dotalux.com>
2015-08-15Disable LTO by default. Because look like support for it broken in gcc 4.9 ↵Andrei Karas1-2/+2
and higher. For enable LTO need run: ./configure --enable-lto
2015-08-13Added check for execinfo.h/backtrace() to the configure scriptHaru1-1/+73
- This fixes compilation on systems such as FreeBSD, where -lexecinfo is necessary, or Cygwin, where execinfo.h is not available. Signed-off-by: Haru <haru@dotalux.com>