
Extension can be compiled on several Unix derivates including various
distributions of Linux. Build process is pretty straightforward. I've
checked various versions of Solaris and Linux but the extension
should compile without problems on any Unix-like operating system
with a proper pthreads library implementation.

To build on Unix-like operating systems, run the CONFIG script:

    % sh CONFIG

That will create a Makefile which you use to run "make" and "make install".
You can use "make clean" to clean the directory from temporary compilation
files and/or "make distclean" to additionaly remove local config files.

You might want to do "make test" before doing the "make install" in order
to run the regression tests on the package. 


Note for AOLserver users
------------------------

The extension can be compiled as a loadable module for the AOLserver 
version 3.5 or higher. In order to do this, use "--with-aolserver"
configure option to specify the directory containing the AOLserver
distribution. To fine-tune, you might also want to make the 
tsv::* commands replace the AOLserver built-in nsv_* family of 
commands, since they are API compatible and provide richer command
set plus advanced shared-object storage of shared data. Go to the
generic/threadSvCmd.h file and look at the beginning of the file
for the:

/*
 * Uncomment following line to get command-line
 * compatibility with AOLserver nsv_* commands
 */

/* #define NSV_COMPAT 1 */

So, uncomment the define and there you go.

Since AOLserver, particulary the 3.x series, do not support
namespaced Tcl commands properly, there is a provision at the
top of generic/tclThread.h file to change the command namespace
to the command prefix. Per default, the "thread::" namespace is
changed to "thread_" prefix and "tpool::" namespace is changed
to "tpool_" prefix.

The CONFIG script has an example how to invoke configure in order
to build the extension for AOLserver support.
Note, however, that "make install" and "make test" targets are
still not supported for AOLserver builds. This will be corrected
in one of the future releases.

-EOF-
