[OpenAFS] bug in HPUX 11.0 configure script test

Joe Buehler jbuehler@hekimian.com
Fri, 07 Nov 2003 09:07:14 -0500


When building 1.2.10 on an HPUX 11.0 machine, I ran into a failure in
the configure script.

The script tried to find the library that has pthreads in it, but the
test program used makes a bad assumption.

It tries to compile a main() that references pthread_attr_init(), but
there is no such function on this OS -- it is a #define in the system
header files that ends up calling another function.  So there is no
pthread_attr_init() in any system library.

It looks like the easiest fix is to use another function for the test
instead of pthread_attr_init().
-- 
Joe Buehler