comparison src/configure.ac @ 27020:0f2dd0d07071 v8.2.4039

patch 8.2.4039: the xdiff library is linked in even when not used Commit: https://github.com/vim/vim/commit/67ffb417861a90fd2c1b215a42fd230272ed94cb Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jan 8 13:36:57 2022 +0000 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.
author Bram Moolenaar <Bram@vim.org>
date Sat, 08 Jan 2022 14:45:03 +0100
parents fccd67ae58c8
children 7d66380a6b86
comparison
equal deleted inserted replaced
27019:d3065e717573 27020:0f2dd0d07071
563 else 563 else
564 AC_MSG_RESULT(yes) 564 AC_MSG_RESULT(yes)
565 fi 565 fi
566 else 566 else
567 AC_MSG_RESULT(yes) 567 AC_MSG_RESULT(yes)
568 fi
569
570 AC_MSG_CHECKING([diff feature])
571 if test "x$features" = "xtiny" -o "x$features" = "xsmall"; then
572 AC_MSG_RESULT([disabled in $features version])
573 else
574 AC_MSG_RESULT(enabled)
575 AC_DEFINE(FEAT_DIFF)
576 XDIFF_OBJS_USED="\$(XDIFF_OBJS)"
577 AC_SUBST(XDIFF_OBJS_USED)
568 fi 578 fi
569 579
570 dnl Check for Lua feature. 580 dnl Check for Lua feature.
571 AC_MSG_CHECKING(--enable-luainterp argument) 581 AC_MSG_CHECKING(--enable-luainterp argument)
572 AC_ARG_ENABLE(luainterp, 582 AC_ARG_ENABLE(luainterp,