[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[patches] Commit OPTION_EGLIBC_STREAMS option group



I've committed the below.

ChangeLog.eglibc:
2007-09-04  Jim Blandy  <jimb@xxxxxxxxxxxxxxxx>

	Implement the OPTION_EGLIBC_STREAMS option group.
	* option-groups.def (OPTION_EGLIBC_STREAMS): New entry.
	* option-groups.defaults (OPTION_EGLIBC_STREAMS): Initialize.
	* streams/Makefile (routines): Put all routines in the group.

Index: option-groups.defaults
===================================================================
--- option-groups.defaults	(revision 3325)
+++ option-groups.defaults	(working copy)
@@ -24,6 +24,7 @@
 OPTION_EGLIBC_NSSWITCH = y
 OPTION_EGLIBC_RCMD = y
 OPTION_EGLIBC_SPAWN = y
+OPTION_EGLIBC_STREAMS = y
 OPTION_EGLIBC_SUNRPC = y
 OPTION_EGLIBC_UTMP = y
 OPTION_EGLIBC_UTMPX = y
Index: streams/Makefile
===================================================================
--- streams/Makefile	(revision 3325)
+++ streams/Makefile	(working copy)
@@ -19,9 +19,12 @@
 #
 #	Makefile for streams.
 #
+include ../option-groups.mak
+
 subdir	:= streams
 
 headers		= stropts.h sys/stropts.h bits/stropts.h bits/xtitypes.h
-routines	= isastream getmsg getpmsg putmsg putpmsg fattach fdetach
+routines-$(OPTION_EGLIBC_STREAMS) \
+	       += isastream getmsg getpmsg putmsg putpmsg fattach fdetach
 
 include ../Rules
Index: option-groups.def
===================================================================
--- option-groups.def	(revision 3325)
+++ option-groups.def	(working copy)
@@ -531,6 +531,22 @@
       disabled, those programs will only operate on uncompressed
       charmap files.
 
+config OPTION_EGLIBC_STREAMS
+   bool "Support for accessing STREAMS."
+   help
+      This option group includes functions for reading and writing
+      messages to and from STREAMS.  The STREAMS interface provides a
+      uniform mechanism for implementing networking services and other
+      character-based I/O.  (STREAMS are not to be confused with
+      <stdio.h> FILE objects, also called 'streams'.)
+
+      This option group includes the following functions:
+
+        getmsg          putpmsg
+        getpmsg         fattach
+        isastream       fdetach
+        putmsg
+
 config OPTION_EGLIBC_SUNRPC
    bool "Support for the Sun 'RPC' protocol."
    depends OPTION_EGLIBC_INET