On Fri, Apr 03, 2026 at 05:25:10PM +0800, Kevin J. McCarthy wrote:
> If you don't mind, would you try compiling from the git 'stable' branch, but
> changing the check above on line 336 to reverse the order:
>
> for lib in ncursesw ncurses
> do
> AC_CHECK_LIB($lib, waddnwstr, [cf_ncurses="$lib"; break])
> done
Yes, I can confirm that it works that way.
% git show-branch
[stable] automatic post-release commit for mutt-2.3.1
% git diff
diff --git a/configure.ac b/configure.ac
index 8608edf0..3a17cd0a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -333,7 +333,7 @@ main ()
AC_CHECK_FUNC(initscr,,[
cf_ncurses="ncurses"
- for lib in ncurses ncursesw
+ for lib in ncursesw ncurses
do
AC_CHECK_LIB($lib, waddnwstr, [cf_ncurses="$lib"; break])
done
% otool -L ./mutt | grep ncurses
/Users/dennis/sw/lib/libncursesw.6.dylib (compatibility version 6.0.0,
current version 6.0.0)
Dennis