mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-18 20:37:56 +00:00
Fix --with-ncurses
not working on Arch Linux
Reverts the changes introduced to `m4/ax_with_curses_extra.m4`
in 59b664806c
,
which seem to make `cofigure` look only for `ncursesw/panel.h`
and not consider `panel.h` as a candidate,
thus causing `./configure` to fail with
"error: panel library not found" on systems
(such as Arch Linux) where ncurses headers
are not put under the `ncursesw/` directory.
Signed-off-by: Pavel Grigorenko <grigorenkopv@ya.ru>
This commit is contained in:
parent
9e3c574ec6
commit
163938cfd3
@ -212,6 +212,9 @@ AC_DEFUN([_AX_WITH_CURSES_EXTRA], [
|
||||
], [
|
||||
AS_IF([test "x$ax_cv_curses_which" = xncursesw], [
|
||||
_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], [
|
||||
_AX_WITH_CURSES_CHECKEXTRA([$1], [$2], [$3], [$4], [$6])
|
||||
AS_IF([test x$[]ax_cv_[]m4_tolower($1) != "xyes"], [
|
||||
|
Loading…
Reference in New Issue
Block a user