Merge pull request #1854 from GrigorenkoPV/master

Fix `./configure --with-ncurses` not working on Arch Linux
This commit is contained in:
Bryan Hundven 2022-12-10 12:53:55 -08:00 committed by GitHub
commit 03892881ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -212,6 +212,9 @@ AC_DEFUN([_AX_WITH_CURSES_EXTRA], [
], [ ], [
AS_IF([test "x$ax_cv_curses_which" = xncursesw], [ AS_IF([test "x$ax_cv_curses_which" = xncursesw], [
_AX_WITH_CURSES_CHECKEXTRA([$1], [$2], [$3], [ncursesw/$4], [$5]) _AX_WITH_CURSES_CHECKEXTRA([$1], [$2], [$3], [ncursesw/$4], [$5])
AS_IF([test x$[]ax_cv_[]m4_tolower($1) != "xyes"], [
_AX_WITH_CURSES_CHECKEXTRA([$1], [$2], [$3], [$4], [$6])
])
], [test "x$ax_cv_curses_which" = xncurses], [ ], [test "x$ax_cv_curses_which" = xncurses], [
_AX_WITH_CURSES_CHECKEXTRA([$1], [$2], [$3], [$4], [$6]) _AX_WITH_CURSES_CHECKEXTRA([$1], [$2], [$3], [$4], [$6])
AS_IF([test x$[]ax_cv_[]m4_tolower($1) != "xyes"], [ AS_IF([test x$[]ax_cv_[]m4_tolower($1) != "xyes"], [