Port to OpenBSD from Thomas Nordin. Please merge with 4.08 (you'll also need the new config.guess and config.sub from the previous commit).