summaryrefslogtreecommitdiff
path: root/configure
AgeCommit message (Collapse)AuthorFilesLines
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
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