diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2022-05-01 11:51:35 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2022-05-01 11:51:43 +0200 |
commit | 29f3d4d2c69a0e9d2ab0a13ee6952fa9cf4d6035 (patch) | |
tree | 65df665be56947d52a993896705a6c7c03503019 /configure.ac | |
parent | 6984f325bdbaf15b1190d0d03b01eebe9cfbbb71 (diff) | |
download | emacs-29f3d4d2c69a0e9d2ab0a13ee6952fa9cf4d6035.tar.gz |
Add new function `malloc-trim'
* configure.ac (PGTK_LIBS): Check for malloc_trim.
* src/alloc.c (Fmalloc_trim): Add new function (bug#45200).
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 53e5779e2f7..b7189593a63 100644 --- a/configure.ac +++ b/configure.ac @@ -2939,6 +2939,8 @@ fi AC_SUBST(PGTK_OBJ) AC_SUBST(PGTK_LIBS) +AC_CHECK_FUNCS(malloc_trim) + dnl D-Bus has been tested under GNU/Linux only. Must be adapted for dnl other platforms. HAVE_DBUS=no |