diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-06-14 20:40:58 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-06-14 20:40:58 +0200 |
commit | 21606676d9ebc6f159c56ee90733e5d5720ab3d7 (patch) | |
tree | 9835823990627cdee4d4966eac28f359ff1f217a /src/Makefile | |
parent | b4086ffa32d97831f2d25a37f8c1340223dee5eb (diff) | |
download | vim-git-21606676d9ebc6f159c56ee90733e5d5720ab3d7.tar.gz |
patch 8.1.1529: libcanberra is linked with even when not usedv8.1.1529
Problem: Libcanberra is linked with even when not used.
Solution: Have configure check for libcanberra only when wanted.
(suggestions by Libor Bukata)
Diffstat (limited to 'src/Makefile')
-rw-r--r-- | src/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile index eef91ece2..9c4a42893 100644 --- 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 config.mk.in config.h.in $(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. |