Skip to content

Commit

Permalink
buildsys: make it possible to specify aspell prefix (for macOS)
Browse files Browse the repository at this point in the history
Signed-off-by: Yury V. Zaytsev <[email protected]>
  • Loading branch information
zyv committed Jun 4, 2024
1 parent 5bc8c47 commit 41aa73a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion m4.include/mc-with-internal-edit.m4
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,14 @@ AC_DEFUN([mc_WITH_INTERNAL_EDIT], [
dnl ASpell support.
AC_ARG_ENABLE([aspell],
AS_HELP_STRING([--enable-aspell], [Enable aspell support for internal editor @<:@no@:>@]),
AS_HELP_STRING(
[--enable-aspell@<:@=prefix@:>@],
[Enable aspell support for internal editor @<:@no@:>@]),
[
if test "x$enableval" = xno; then
enable_aspell=no
else
test -d "$enable_aspell/include" && CPPFLAGS="$CPPFLAGS -I$enable_aspell/include"
enable_aspell=yes
fi
],
Expand Down

0 comments on commit 41aa73a

Please sign in to comment.