Emil Velikov
b2d9ad9e22
Bump required enchant to v2, use pkg_check_modules()
...
Bump the requirement to v2, which means we can remove the
HAVE_ENCHANT_GET_VERSION workaround.
It was released over 8 years ago, with 8 new feature releases since
then and dozens of bugfix releases throughout.
The oldest distributions we target Ubuntu 20.04 and Debian Bullseye,
have 2.2.8 and 2.2.15 respectively.
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com >
2025-08-31 10:36:20 +02:00
Albert Lee
69d3787b5e
core: improve support for non-macro htonll and htobe64
2025-05-25 09:03:48 +02:00
Sébastien Helleu
a008e8a423
core: move some copyrights and licenses from REUSE config into the files
2025-04-25 18:16:02 +02:00
Sébastien Helleu
0a99ed5f2c
core: fix define of CMAKE_BUILD_TYPE and CMAKE_INSTALL_PREFIX in config.h (issue #449 )
2024-08-12 21:55:34 +02:00
Sébastien Helleu
071f8f87e7
core: add command line option --build-info / -i to display information about build options ( closes #449 )
2024-08-12 21:36:17 +02:00
Sébastien Helleu
cb6ecb6818
core: check if malloc.h is present, independently of function malloc_trim
2024-03-06 23:09:00 +01:00
Sébastien Helleu
68598de958
core: check that function malloc_trim is available, display an error if not available
2024-03-06 22:36:37 +01:00
Sébastien Helleu
1d6e1fd752
core: make libintl.h required if CMake option ENABLE_NLS is enabled (issue #2031 )
2023-10-15 14:58:26 +02:00
Sébastien Helleu
c588ee21bc
core: improve options to load GnuTLS system/user CAs ( closes #972 )
...
Changes:
* new option: weechat.network.gnutls_ca_system
* option weechat.network.gnutls_ca_file renamed to
weechat.network.gnutls_ca_user
* reload certificates when options are changed
* remove build option CA_FILE
2021-05-12 20:39:40 +02:00
Andrew Potter
b222e75019
core: Use mallinfo2() when available
...
mallinfo() is deprecated in glibc 2.33
2021-05-08 07:25:44 +02:00
Eli Schwartz
973a4b2e77
cmake: fix bugged WEECHAT_SHAREDIR definition exposed by DATAROOTDIR rename
...
configure.ac defines this to /usr/share/weechat, which means scripts can
load from this directory as a fallback for $HOME/.weechat/, but cmake
defines this instead as /usr/share, which means system-installed
fallback scripts would need to be installed to /usr/share/python/foo.py
instead, and that's completely insane!
Fix this discrepancy by creating a cmake define specifically for
WEECHAT_SHAREDIR based on the datarootdir, just like autotools does it.
2020-04-12 10:16:41 +02:00
Eli Schwartz
683464626d
cmake: rename internal variable SHAREDIR to DATAROOTDIR
...
This is how other build systems (e.g. autotools) see the variable, and
cmake's own GNUInstallDirs defines the same. It more clearly describes
what this setting does vs. the ambiguous "sharedir".
2020-04-12 10:16:41 +02:00
Ryan Farley
8df3ad3d26
cmake: allow custom libdir ( fix #1341 )
...
Allows for custom LIBDIR to specified with cmake builds. WEECHAT_LIBDIR
is used for a custom Weechat directory, or set from LIBDIR (as LIBDIR
used to be set).
2019-04-25 16:53:55 -05:00
Sébastien Helleu
091ef992dd
Revert "api: fix connection to servers with hook_connect() on Windows 10 with Windows subsystem for Linux ( closes #770 )"
...
This reverts commit 399636f984 .
2016-08-19 19:44:08 +02:00
Sébastien Helleu
399636f984
api: fix connection to servers with hook_connect() on Windows 10 with Windows subsystem for Linux ( closes #770 )
2016-08-06 22:13:52 +02:00
Sébastien Helleu
6a2bef6fb7
guile: fix compilation with Guile < 2.0.4 ( closes #198 )
2014-09-20 15:43:29 +02:00
Sébastien Helleu
6860aa491f
aspell: fix compilation with enchant version older than 1.6.0 ( closes #192 )
2014-09-20 11:05:48 +02:00
Sebastien Helleu
be9269dfc2
aspell: display aspell/enchant version on signal "debug_libs"
2013-11-17 20:51:10 +01:00
Sebastien Helleu
87e342dd9e
core: add CA_FILE option in cmake and configure to setup default value of option weechat.network.gnutls_ca_file (task #12725 )
2013-07-20 17:29:19 +02:00
Sebastien Helleu
1edabb98f5
core: remove obsolete/unneeded check of headers and functions in cmake and configure
2013-01-21 19:51:45 +01:00
Sebastien Helleu
d685d5fb42
core: add option weechat.startup.sys_rlimit to set system resource limits for WeeChat process
2012-08-01 17:31:48 +02:00
Sebastien Helleu
34e0226ee0
core: add WEECHAT_HOME option in cmake and configure to setup default WeeChat home (default is "~/.weechat") (task #11266 )
...
Syntax for cmake: cmake <dir> -DWEECHAT_HOME="~/.weechat"
Syntax for configure: ./configure WEECHAT_HOME="~/.weechat"
2011-10-29 16:52:19 +02:00
Sebastien Helleu
4126187574
core: fix bug with new line inserted at end of each line displayed (set eat_newline_glitch to 0 if available)
2011-06-01 12:10:03 +02:00
Sebastien Helleu
2ef6fdb2a1
Add option "memory" to command /debug
2011-02-10 18:37:12 +01:00
Julien Louis
df2ca7b4a6
Add missing backtrace() function check in cmake
2008-10-27 00:21:58 +01:00
Julien Louis
1f10ee141a
- Add FindTCL.cmake to fix FreeBSD detection
...
- Only call Tcl_CreateNamespace when available in the public API,
fix compatibility with older release
2008-10-18 13:54:59 +02:00
Sebastien Helleu
9f5d99f57e
Added cmake for weechat compile
2007-05-21 16:30:04 +00:00