[Libsysio-commit] HEAD: libsysio Makefile.am configure.in
Brought to you by:
lward
From: Lee W. <lw...@us...> - 2009-02-04 20:07:29
|
Update of /cvsroot/libsysio/libsysio In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv1058 Modified Files: Makefile.am configure.in Log Message: A new API, built when --with-file-handle-interface is set to yes, is available with this deposit. The API allows operation by handles derived from exported volumes. At this point, it's not incredibly well tested. What is tested is the export/unexport functionality and the root_of, lookup, and stat functions. Hopefully, this will mature quickly. Not yet included is the ability to use credentials other than the caller's from it's process credentials. That ability should be here soon. Index: Makefile.am =================================================================== RCS file: /cvsroot/libsysio/libsysio/Makefile.am,v retrieving revision 1.18 retrieving revision 1.19 diff -u -w -b -B -p -r1.18 -r1.19 --- Makefile.am 15 Oct 2008 22:01:01 -0000 1.18 +++ Makefile.am 4 Feb 2009 20:07:22 -0000 1.19 @@ -13,6 +13,7 @@ include $(top_srcdir)/dev/module.mk include $(top_srcdir)/dev/stdfd/module.mk include $(top_srcdir)/drivers/incore/module.mk include $(top_srcdir)/drivers/native/module.mk +include $(top_srcdir)/misc/module.mk lib_LIBRARIES = ${LIBBUILD_DIR}/libsysio.a @@ -43,6 +44,7 @@ endif __LIBBUILD_DIR__libsysio_a_SOURCES = \ $(SRCDIR_SRCS) \ $(THREAD_MODEL_POSIX_SRCS) \ + $(MISCDIR_SRCS) \ $(OPTIONAL_STDDEV_SRCS) \ $(OPTIONAL_STDFD_SRCS) \ $(OPTIONAL_INCORE_SRCS) \ Index: configure.in =================================================================== RCS file: /cvsroot/libsysio/libsysio/configure.in,v retrieving revision 1.43 retrieving revision 1.44 diff -u -w -b -B -p -r1.43 -r1.44 --- configure.in 15 Oct 2008 22:01:01 -0000 1.43 +++ configure.in 4 Feb 2009 20:07:22 -0000 1.44 @@ -175,6 +175,22 @@ if test x$with_threads = xposix; then fi AM_CONDITIONAL(WITH_THREAD_MODEL_POSIX, test x$with_threads = xposix) +AC_ARG_WITH(file-handle-interface, + AC_HELP_STRING([--with-file-handle-interface], + [enable file handle API support]), + [ case "${withval}" in + yes) ;; + no) ;; + *) AC_MSG_ERROR(bad value ${withval} for --with-file-handle-interface) ;; + esac], + ) +AM_CONDITIONAL(WITH_FILE_HANDLE_INTERFACE, + test x$with_file_handle_interface = xyes) +if test x$with_file_handle_interface = xyes; then + AC_DEFINE(I_ASSOCIATIONS) + AC_DEFINE(FILE_HANDLE_INTERFACE) +fi + # 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. |