Err, the reported problem wasn't in distutils. It's our software distribution system called store that overwrote the Makefile for hpux in config/ with the linux Makefile.
Sorry to waste your time on this (am I blushing?).
The Computer Center, University of Tromsø, N-9037 TROMSØ, Norway. phone:+47 77 64 41 07, fax:+47 77 64 41 00 Roy Dragseth, High Perfomance Computing System Administrator Direct call: +47 77 64 62 56. email: email@example.com