Keep in sync with autotools.