frm the look of your configure output the problem is with the autoconf tests not your OS. If you upload config.log somewhere then we can probably fix it from that.