1
0
forked from aniani/vim

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)
This commit is contained in:
Bram Moolenaar
2019-06-14 20:40:58 +02:00
parent b4086ffa32
commit 21606676d9
5 changed files with 87 additions and 44 deletions

View File

@@ -663,7 +663,7 @@
/*
* sound - currently only with libcanberra
*/
#if !defined(FEAT_SOUND) && defined(FEAT_BIG) && defined(HAVE_CANBERRA)
#if !defined(FEAT_SOUND) && defined(HAVE_CANBERRA)
# define FEAT_SOUND
#endif