DX does not use pthread AFAICT. However, if DX's configure finds
pthread_getspecific in libpthread, it links all the DX executables with
-lpthread. Any reason for this, or is this superfluous?
Why it matters: gdb on IRIX doesn't support debugging applications
linked with the IRIX pthread library, so I have to do a post-configure
"perl -pi" pass to hack -lpthread out of all the Makefiles for the build to
generate executables that gdb will work with.
Any objections to removing pthread (i.e. taking the
"AC_CHECK_LIB(pthread, pthread_getspecific)" out of configure.in, and
removing "#include <pthread.h>" from socketconnect.c)?
Randall
> find . -name '*.[Cch]' | xargs grep pthread
./src/exec/dxmods/socketconnect.c:#include <pthread.h>
./include/dxconfig.h:/* Define if you have the pthread library (-lpthread). */
--
Randall Hopper (mailto:[EMAIL PROTECTED])
Lockheed Martin Operation Support
EPA Scientific Visualization Center
US EPA MD/24 ERC-1A; RTP, NC 27711