diff options
author | Alexey Neyman <stilor@att.net> | 2019-03-14 18:25:32 -0700 |
---|---|---|
committer | Alexey Neyman <stilor@att.net> | 2019-03-14 18:25:32 -0700 |
commit | 11f86e8b56bf5693b634a4af6295adc27361e6da (patch) | |
tree | 7f4f5d6e5a699a3de4bc2ea2991be3892337e417 /m4 | |
parent | cbd9af9ac97f50f13ea0e60daeb67e4a9cb85270 (diff) | |
download | crosstool-ng-11f86e8b56bf5693b634a4af6295adc27361e6da.tar.gz crosstool-ng-11f86e8b56bf5693b634a4af6295adc27361e6da.tar.bz2 crosstool-ng-11f86e8b56bf5693b634a4af6295adc27361e6da.zip |
Reapply b34137
... which fixes <panel.h> detection on Alpine Linux (which has ncursesw
but installs it into plain /usr/include).
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'm4')
-rw-r--r-- | m4/ax_with_curses_extra.m4 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/m4/ax_with_curses_extra.m4 b/m4/ax_with_curses_extra.m4 index 7056d685..c620a441 100644 --- a/m4/ax_with_curses_extra.m4 +++ b/m4/ax_with_curses_extra.m4 @@ -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"], [ |