We can't have hard-coded version numbers in scripts like this, or else they'll just end up out of date.

Either this file needs to be generated (adding a `.in` suffix and changing `1.3.1` to `@VERSION@`, and then adding it to the list of files in `AC_CONFIG_FILES` in `configure.ac` should do the trick, possibly plus a bit of work to support srcdir!=builddir), or else something like passing VERSION from the Makefile as a command line argument.