Replace autoconf variable with automake variable