summaryrefslogtreecommitdiff
path: root/configure
AgeCommit message (Collapse)AuthorFilesLines
2020-06-16Force to use signed charsAndrei Karas1-2/+29
2020-06-01Add more sanitize flagsAndrei Karas1-1/+386
2020-03-30Enable libbacktrace by default only on LinuxAndrei Karas1-8/+17
2020-03-30Fix compilation with disabled libbacktraceAndrei Karas1-1/+2
2020-03-30Disable libbacktrace by defaultHaru1-130/+180
It's currently only tested on linux, and doesn't work yet on macOS (tested on 10.15). Further work is necessary Signed-off-by: Haru <haru@dotalux.com>
2020-03-30Fix Makefile-based compilation on platforms that use libbacktrace with a ↵Haru1-7/+7
different executable format than elf
2020-03-30Add libbacktraceAndrei Karas1-2/+465
2019-12-12Add new version for packet ZC_NOTIFY_EFFECT3 and convert to structureAndrei Karas1-1/+1
2019-10-17Fix compilation warnings in gcc-9Andrei Karas1-89/+1
Also reenabled array bound warning
2019-09-22Disable some warnings when compiling with gcc-9Haru1-1/+89
The warning flag -Warray-bounds is currently not compatible with the ZEROED_BLOCK implementation Signed-off-by: Haru <haru@dotalux.com>
2019-09-18Fix packet ZC_ACK_RANKING for old clientsAndrei Karas1-1/+1
2019-06-26Update packet ZC_MAKINGARROW_LIST in all functionsAndrei Karas1-1/+1
2019-06-26Add support for new shortcuts packets in zeroAndrei Karas1-1/+1
2019-02-11Add support for mysql versions where type my_bool not exists.Andrei Karas1-0/+40
In new MySQL versions my_bool was replaced to bool.
2019-02-06Add packet CZ_CLIENT_VERSIONAndrei Karas1-1/+1
For now unused, but can be used. This packet works in some old clients near 2015 versions.
2018-11-15Update visual studio project files.Andrei Karas1-1/+1
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