Check for CONFIG_LIBFOO_DECODER/CONFIG_LIBFOO_ENCODER instead of just