Mercurial > vim
diff src/Makefile @ 17059:70f424551938 v8.1.1529
patch 8.1.1529: libcanberra is linked with even when not used
commit https://github.com/vim/vim/commit/21606676d9ebc6f159c56ee90733e5d5720ab3d7
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Jun 14 20:40:58 2019 +0200
patch 8.1.1529: libcanberra is linked with even when not used
Problem: Libcanberra is linked with even when not used.
Solution: Have configure check for libcanberra only when wanted.
(suggestions by Libor Bukata)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 14 Jun 2019 20:45:05 +0200 |
parents | 353ed7ef78df |
children | ba06a1c42274 |
line wrap: on
line diff
--- a/src/Makefile +++ b/src/Makefile @@ -528,6 +528,11 @@ CClink = $(CC) # though you have /dev/sysmouse and includes. #CONF_OPT_SYSMOUSE = --disable-sysmouse +# libcanberra - For sound support. Default is on for big features. +# Uncomment one of the two to chose otherwise. +# CONF_OPT_CANBERRA = --enable-canberra +# CONF_OPT_CANBERRA = --disable-canberra + # FEATURES - For creating Vim with more or less features # Uncomment one of these lines when you want to include few to many features. # The default is "huge" for most systems. @@ -1952,7 +1957,7 @@ config auto/config.mk: auto/configure co $(CONF_ARGS4) $(CONF_ARGS5) $(CONF_ARGS6) \ $(CONF_OPT_MZSCHEME) $(CONF_OPT_PLTHOME) \ $(CONF_OPT_LUA) $(CONF_OPT_LUA_PREFIX) \ - $(CONF_OPT_SYSMOUSE); \ + $(CONF_OPT_SYSMOUSE) $(CONF_OPT_CANBERRA); \ fi # Use "make reconfig" to rerun configure without cached values.