Procházet zdrojové kódy

dselect: Use ncursesw header files

This should be changed in the future to check for the presence of the
header files in configure.
Guillem Jover před 18 roky
rodič
revize
ea8d73935e
4 změnil soubory, kde provedl 9 přidání a 3 odebrání
  1. 6 0
      ChangeLog
  2. 1 1
      dselect/Makefile.am
  3. 1 1
      dselect/dselect.h
  4. 1 1
      dselect/main.cc

+ 6 - 0
ChangeLog

@@ -1,3 +1,9 @@
+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'

+ 1 - 1
dselect/Makefile.am

@@ -46,7 +46,7 @@ CLEANFILES = curkeys.h
 
 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 \

+ 1 - 1
dselect/dselect.h

@@ -28,7 +28,7 @@
 
 #include <signal.h>
 #undef ERR
-#include <curses.h>
+#include <ncursesw/curses.h>
 
 struct helpmenuentry {
   char key;

+ 1 - 1
dselect/main.cc

@@ -37,7 +37,7 @@ extern "C" {
 #include <ctype.h>
 #include <assert.h>
 
-#include <term.h>
+#include <ncursesw/term.h>
 
 extern "C" {
 #include <dpkg.h>