From 7fdb626470facba99422511754f0e6be11c7f81c Mon Sep 17 00:00:00 2001
From: Marcus Brinkmann <marcus@gnu.org>
Date: Thu, 22 Aug 2002 21:25:04 +0000
Subject: 2002-08-22  Marcus Brinkmann  <marcus@gnu.org>

	* aclocal.m4 (hurd_LIB_NCURSESW): New test, modified from GNU
	inetutils 1.4.0.
	* configure.in: Use hurd_LIB_NCURSESW.
	* config.make.in (LIBNCURSESW): New variable, substituted by
	configure.
	(NCURSESW_INCLUDE): Likewise.
	* Makefile (lib-subdirs): Add libcons.
	(prog-subdirs): Add console.

console/
2002-08-22  Marcus Brinkmann  <marcus@gnu.org>

	* console.h: Move file to ../hurd/.
	* Makefile (LCLHDRS): Remove console.h.
	* display.c: Include <hurd/console.h> instead "console.h".
	* console.c: Likewise.

hurd/
2002-08-22  Marcus Brinkmann  <marcus@gnu.org>

	* console.h: Move here from ../console/.
	* Makefile (INSTHDRS): Add console.h.

utils/
2002-08-22  Marcus Brinkmann  <marcus@gnu.org>

	* Makefile: Include `../config.make' early on to get LIBNCURSESW
	variable from configure before including Makeconf.
	(targets) [LIBNCURSES]: Add console-ncurses.
	(SRCS) [LIBNCURSES]: Add console-ncurses.c.
	(HURDLIBS) [LIBNCURSES]: Add cons.
	(console-ncurses): New target.
	(console-ncurses-CPPFLAGS): New variable.
	(console-ncurses-LDLIBS): Likewise.
---
 console/ChangeLog | 5 +++++
 console/Makefile  | 2 +-
 console/console.c | 4 ++--
 console/display.c | 2 +-
 4 files changed, 9 insertions(+), 4 deletions(-)

(limited to 'console')

diff --git a/console/ChangeLog b/console/ChangeLog
index 146451b2..462e998e 100644
--- a/console/ChangeLog
+++ b/console/ChangeLog
@@ -1,5 +1,10 @@
 2002-08-22  Marcus Brinkmann  <marcus@gnu.org>
 
+	* console.h: Move file to ../hurd/.
+	* Makefile (LCLHDRS): Remove console.h.
+	* display.c: Include <hurd/console.h> instead "console.h".
+	* console.c: Likewise.
+
 	* display.h: Add prototype for display_get_size.
 	* display.c (display_get_size): New function.
 	(nowait_file_changed): Update for new interfaces.
diff --git a/console/Makefile b/console/Makefile
index 434d80e6..a7d47b85 100644
--- a/console/Makefile
+++ b/console/Makefile
@@ -24,7 +24,7 @@ makemode := server
 target = console
 
 SRCS = console.c display.c input.c
-LCLHDRS = console.h display.h input.h priv.h mutations.h
+LCLHDRS = display.h input.h priv.h mutations.h
 
 MIGSTUBS = notifyServer.o tioctlServer.o fs_notifyUser.o
 
diff --git a/console/console.c b/console/console.c
index b493f64e..204937f6 100644
--- a/console/console.c
+++ b/console/console.c
@@ -37,11 +37,11 @@
 
 #include <hurd/netfs.h>
 #include <hurd/ioctl_types.h>
+/* We include console.h for the color numbers.  */
+#include <hurd/console.h>
 
 #include "display.h"
 #include "input.h"
-/* We include console.h for the color numbers.  */
-#include "console.h"
 
 #include "fs_notify_U.h"
 
diff --git a/console/display.c b/console/display.c
index fb0a6b0f..9af13f77 100644
--- a/console/display.c
+++ b/console/display.c
@@ -37,12 +37,12 @@
 
 #include <hurd.h>
 #include <hurd/pager.h>
+#include <hurd/console.h>
 
 #ifndef __STDC_ISO_10646__
 #error It is required that wchar_t is UCS-4.
 #endif
 
-#include "console.h"
 #include "display.h"
 
 
-- 
cgit v1.2.3