Moreover, removing the first test makes libgomp build on targets (as Tru64) where the -pthread option is required to include pthread.h.
Commited after approval by Alexandre Oliva on IRC. The exact patch commited is attached.
FX
libgomp.diff
Description: Binary data