Skip to content

Conversation

@sulix
Copy link

@sulix sulix commented Jun 30, 2021

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 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.
@rofl0r
Copy link

rofl0r commented Jun 30, 2021

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

lgtm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants