script to query the current version from the configure.ac