Some Linux distributions (such as OpenSUSE) do not keep the ncurses panel.h file in the default include path, but rather in a
subdirectory.
Update the configure script and curses/ConWin.hpp file to look in both places for a panel.h file. panel.h is still preferred over
ncurses/panel.h, as we expect other ncurses headers to be in the include path.
(I'm neither a curses expert nor an autotools expert, so there's probably a better way of doing this. But this is probably better than nothing, and seems to roughly match what lldb did.)
This seems to have already been filed as issue #18 — which I really should've looked at before writing this. :-)
Some Linux distributions (such as OpenSUSE) do not keep the ncurses
panel.h
file in the default include path, but rather in a subdirectory.Update the
configure
script andcurses/ConWin.hpp
file to look in both places for apanel.h
file.panel.h
is still preferred overncurses/panel.h
, as we expect other ncurses headers to be in the include path.(I'm neither a curses expert nor an autotools expert, so there's probably a better way of doing this. But this is probably better than nothing, and seems to roughly match what lldb did.)
This seems to have already been filed as issue #18 — which I really should've looked at before writing this. :-)