Use autoconf to determine needed API flags.