summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2019-03-15 01:25:32 (GMT)
committerAlexey Neyman <stilor@att.net>2019-03-15 01:25:32 (GMT)
commit11f86e8b56bf5693b634a4af6295adc27361e6da (patch)
tree7f4f5d6e5a699a3de4bc2ea2991be3892337e417
parentcbd9af9ac97f50f13ea0e60daeb67e4a9cb85270 (diff)
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>
-rw-r--r--m4/ax_with_curses_extra.m43
1 files changed, 3 insertions, 0 deletions
diff --git a/m4/ax_with_curses_extra.m4 b/m4/ax_with_curses_extra.m4
index 7056d68..c620a44 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"], [