Any reason you don't use AC_CHECK_FUNCS()?