Subject: Re: tcl/pthreads dependencies
To: None <brook@biology.nmsu.edu>
From: Thomas Klausner <wiz@NetBSD.org>
List: tech-pkg
Date: 05/20/2004 22:22:20
On Thu, May 20, 2004 at 01:30:07PM -0600, brook@biology.nmsu.edu wrote:
> What is the best way to get configure to become aware that it should
> include -lpthreads on the command line when compiling the test
> program?

I don't know much about tcl, but I heard programs should use
tclConfig.sh. The package installs the file in /usr/pkg/lib/tclConfig.sh
and it contains the following lines (on a native libpthread system):
# Additional libraries to use when linking Tcl.
TCL_LIBS='  -lpthread -lm'

Cheers,
 Thomas