On SGI IRIX 6.x systems you must include <libgen.h> and link with -lgen to use basename(). The 3.6.1p1 configure script correctly finds the header, but doesn't probe for basename() in -lgen. As a result various openbsd-compat files fail to compile because the local basename prototype does not match the one from libgen.h.
*** This bug has been marked as a duplicate of 531 ***
Mass change of RESOLVED bugs to CLOSED