19 Commits

Author SHA1 Message Date
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 399636f98453bdc1fca19b4dbc742993549aa6c3.
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