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

[commits] r3376 - in /trunk/libc: ChangeLog.eglibc option-groups.def option-groups.defaults streams/Makefile



Author: jimb
Date: Tue Sep  4 08:33:28 2007
New Revision: 3376

Log:
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.

Modified:
    trunk/libc/ChangeLog.eglibc
    trunk/libc/option-groups.def
    trunk/libc/option-groups.defaults
    trunk/libc/streams/Makefile

Modified: trunk/libc/ChangeLog.eglibc
==============================================================================
--- trunk/libc/ChangeLog.eglibc (original)
+++ trunk/libc/ChangeLog.eglibc Tue Sep  4 08:33:28 2007
@@ -1,3 +1,10 @@
+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.
+
 2007-08-23  Jim Blandy  <jimb@xxxxxxxxxxxxxxxx>
 
 	Implement the OPTION_EGLIBC_BSD option group.

Modified: trunk/libc/option-groups.def
==============================================================================
--- trunk/libc/option-groups.def (original)
+++ trunk/libc/option-groups.def Tue Sep  4 08:33:28 2007
@@ -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

Modified: trunk/libc/option-groups.defaults
==============================================================================
--- trunk/libc/option-groups.defaults (original)
+++ trunk/libc/option-groups.defaults Tue Sep  4 08:33:28 2007
@@ -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

Modified: trunk/libc/streams/Makefile
==============================================================================
--- trunk/libc/streams/Makefile (original)
+++ trunk/libc/streams/Makefile Tue Sep  4 08:33:28 2007
@@ -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