[build-system] make Horizon 4 build on Ubuntu 11.10
[horizon-4] fixed configure.in- pthreadlibs and atomic ops libs are now correctly beeing set to the CFLAGS variable
Replaced wish in configure script with tclsh
This change allows compilation of Tkenv on machines which have tcl/tk installedbut do not run a X server, e.g. compile server.
Initial import of Horizon 4 release.