madsen / vbindiff

Visual Binary Diff (VBinDiff) displays files in hex & ASCII and can highlight the differences between 2 files
479 stars 52 forks source link

Handle 'panel.h' being in an 'ncurses' directory #23

Open sulix opened 3 years ago

sulix commented 3 years ago

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. :-)

rofl0r commented 3 years ago

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