autoconf: add test for typedef'd structs