Subject: tcl/pthreads dependencies
To: None <>
From: None <>
List: tech-pkg
Date: 05/20/2004 13:30:07
I have a package that depends on tcl, which is made with threads.
Consequently, the tcl library refers to lots of pthreads symbols.

I have included the tcl file in my package Makefile.
However, when configure tries to determine where the tcl library is,
the test program fails because of undefined pthread symbols.  Clearly,
this is because -lpthreads is not included during the test

What is the best way to get configure to become aware that it should
include -lpthreads on the command line when compiling the test

Surely, this must be happening in other cases as well and have been
solved already.  Any help is welcome.  Thanks.