New function npth_get_version and new version macros.
* w32/npth.h: Rename to ... * w32/npth.h.in: this. (NPTH_VERSION, NPTH_VERSION_NUMBER): New. (npth_get_version): New. * src/npth.h.in (NPTH_VERSION, NPTH_VERSION_NUMBER): New. (npth_get_version): New. * src/npth.c: Include getversion.c * w32/npth.c: Ditto. * src/getversion.c: New. * src/libnpth.vers: Add npth_get_version. * w32/npth.def: Ditto. * src/Makefile.am: Add new file. * tests/Makefile.am (AM_CPPFLAGS): Change -I to the build directory for Windows. * autogen.sh: Update from current gpgrt. * configure.ac: Append commit id to the VERSION file. (BUILD_COMMITID): New ac_define. (VERSION_NUMBER): New ac_subst. (AH_BOTTOM): New.