Update of /cvsroot/libsysio/libsysio
In directory sc8-pr-cvs1:/tmp/cvs-serv20406
Modified Files:
Tag: b_lustre
Rules.make configure.in
Log Message:
add Lee's socket driver, with:
- use real fd number to _sysio_fd_set()
- disable bind(),listen()...
- build fix in tests
Index: Rules.make
===================================================================
RCS file: /cvsroot/libsysio/libsysio/Rules.make,v
retrieving revision 1.4
retrieving revision 1.4.4.1
diff -u -w -b -B -p -r1.4 -r1.4.4.1
--- Rules.make 24 Mar 2003 22:06:38 -0000 1.4
+++ Rules.make 8 Sep 2003 03:52:28 -0000 1.4.4.1
@@ -5,6 +5,14 @@ else
STFD_DEV_CPPFLAGS =
endif
+if WITH_SOCKETS
+SOCKETS_CPPFLAGS=-DWITH_SOCKETS
+else
+SOCKETS_CPPFLAGS=
+endif
+
DEV_CPPFLAGS = $(STDFD_DEV_CPPFLAGS)
-AM_CPPFLAGS = $(AUTOMOUNT) $(DEV_CPPFLAGS) -I$(top_srcdir)/include
+AM_CPPFLAGS = \
+ $(AUTOMOUNT) $(DEV_CPPFLAGS) $(SOCKETS_CPPFLAGS) \
+ -I$(top_srcdir)/include
Index: configure.in
===================================================================
RCS file: /cvsroot/libsysio/libsysio/configure.in,v
retrieving revision 1.5.4.2
retrieving revision 1.5.4.3
diff -u -w -b -B -p -r1.5.4.2 -r1.5.4.3
--- configure.in 18 Aug 2003 13:56:04 -0000 1.5.4.2
+++ configure.in 8 Sep 2003 03:52:28 -0000 1.5.4.3
@@ -102,6 +102,17 @@ AM_CONDITIONAL(WITH_CPLANT_TESTS, test x
AM_CONDITIONAL(CYGWIN, test x$host_os = xcygwin)
+AC_ARG_WITH(sockets,
+ AC_HELP_STRING([--with-sockets],
+ [build sockets interface driver]),
+ [ case "${withval}" in
+ yes) ;;
+ no) ;;
+ *) AC_MSG_ERROR(bad value ${withval} for --with-sockets) ;;
+ esac],
+ [with_stdfd_dev=yes])
+AM_CONDITIONAL(WITH_SOCKETS, test x$with_sockets = xyes)
+
# We keep the original values in `$config_*' and never modify them, so we
# can write them unchanged into config.make. Everything else uses
# $machine, $vendor, and $os, and changes them whenever convenient.
@@ -365,6 +376,7 @@ AC_OUTPUT(
drivers/native/Makefile
drivers/incore/Makefile
drivers/yod/Makefile
+ drivers/sockets/Makefile
dev/Makefile
dev/stdfd/Makefile
tests/Makefile)
|