patch 8.2.4039: the xdiff library is linked in even when not used
Problem: The xdiff library is linked in even when not used. Solution: Use configure to decide whether xdiff object files are included.
This commit is contained in:
@ -345,8 +345,9 @@
|
||||
/*
|
||||
* +diff Displaying diffs in a nice way.
|
||||
* Requires +windows and +autocmd.
|
||||
* Can be enabled in autoconf already.
|
||||
*/
|
||||
#if defined(FEAT_NORMAL)
|
||||
#if defined(FEAT_NORMAL) && !defined(FEAT_DIFF)
|
||||
# define FEAT_DIFF
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user