patch configure instead of configure.ac