From 41aa73a45f4de5d01e9739b4bc4555c03aca538e Mon Sep 17 00:00:00 2001
From: "Yury V. Zaytsev" <yury@shurup.com>
Date: Tue, 4 Jun 2024 11:15:23 +0200
Subject: [PATCH] buildsys: make it possible to specify aspell prefix (for
macOS)
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
---
m4.include/mc-with-internal-edit.m4 | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/m4.include/mc-with-internal-edit.m4 b/m4.include/mc-with-internal-edit.m4
index a801e1d68..d408ec3a3 100644
a
|
b
|
AC_DEFUN([mc_WITH_INTERNAL_EDIT], [ |
18 | 18 | |
19 | 19 | dnl ASpell support. |
20 | 20 | AC_ARG_ENABLE([aspell], |
21 | | AS_HELP_STRING([--enable-aspell], [Enable aspell support for internal editor @<:@no@:>@]), |
| 21 | AS_HELP_STRING( |
| 22 | [--enable-aspell@<:@=prefix@:>@], |
| 23 | [Enable aspell support for internal editor @<:@no@:>@]), |
22 | 24 | [ |
23 | 25 | if test "x$enableval" = xno; then |
24 | 26 | enable_aspell=no |
25 | 27 | else |
| 28 | test -d "$enable_aspell/include" && CPPFLAGS="$CPPFLAGS -I$enable_aspell/include" |
26 | 29 | enable_aspell=yes |
27 | 30 | fi |
28 | 31 | ], |