This should be changed in the future to check for the presence of the
header files in configure.
+2008-03-30 Guillem Jover <guillem@debian.org>
+
+ * dselect/main.cc: Use <ncursesw/term.h> instead of <term.h>.
+ * dselect/dselect.h: Use <ncursesw/curses.h> instead of <curses.h>.
+ * dselect/Makefile.am (curkeys.h): Likewise.
+
2008-03-30 Guillem Jover <guillem@debian.org>
* po/POTFILES.in: Add 'lib/cleanup.c', 'lib/log.c', 'lib/myopt-util.c'
curkeys.$(OBJEXT): curkeys.h
curkeys.h: $(srcdir)/keyoverride $(srcdir)/mkcurkeys.pl
- cursesfile=`echo '#include <curses.h>' | \
+ cursesfile=`echo '#include <ncursesw/curses.h>' | \
$(CC) -E - | grep 'curses.h' | head -n 1 | \
sed -e 's/^[^"]*"//; s/".*$$//'`; \
if [ "$$cursesfile" = "" ]; then \
#include <signal.h>
#undef ERR
-#include <curses.h>
+#include <ncursesw/curses.h>
struct helpmenuentry {
char key;
#include <ctype.h>
#include <assert.h>
-#include <term.h>
+#include <ncursesw/term.h>
extern "C" {
#include <dpkg.h>