Subject: tcl/pthreads dependencies
To: None <email@example.com>
From: None <firstname.lastname@example.org>
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 buildlink3.mk 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.