1 configure: do not hard-code host paths
3 configure hard-codes include dirs to contain /usr/include/ncurses.
4 Needless to say this does not work well for cross-compilation.
6 Remove that directory from the include search dirs.
8 Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
9 Cc: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
11 diff -durN kismet-Kismet-2014-02-R1.orig/configure.in kismet-Kismet-2014-02-R1/configure.in
12 --- kismet-Kismet-2014-02-R1.orig/configure.in 2014-02-19 05:37:43.000000000 +0100
13 +++ kismet-Kismet-2014-02-R1/configure.in 2014-12-26 16:46:55.770692349 +0100
18 -# Add additional cflags since some distros bury panel.h
19 -CPPFLAGS="$CPPFLAGS -I/usr/include/ncurses"
23 if test "$wantclient" = "yes"; then