diff --git a/configure b/configure index 58f4ef5fd30fe07ba2d3f1a88d9ee811cdb64f86..cdfd736b967df40c6734dab505fc1e5655ba2704 100755 --- a/configure +++ b/configure @@ -3055,6 +3055,7 @@ cat >>confdefs.h <<_ACEOF _ACEOF +PG_VERSION="$PG_PACKAGE_VERSION" pgac_args="$pgac_args with_extra_version" diff --git a/configure.in b/configure.in index 59358de87238baab26489041c72acd95ba45000e..d40b49bfc5744fb11773df78ea1d2b5210ea202e 100644 --- a/configure.in +++ b/configure.in @@ -38,6 +38,7 @@ AC_SUBST(configure_args, [$ac_configure_args]) AC_SUBST(PG_MAJORVERSION) AC_DEFINE_UNQUOTED(PG_MAJORVERSION, "$PG_MAJORVERSION", [PostgreSQL major version as a string]) +[PG_VERSION="$PG_PACKAGE_VERSION"] dnl Greenplum co-opts the --with-extra-version value to append to Only the Greenplum version PGAC_ARG_REQ(with, extra-version, [STRING], [append STRING to version], [], []) AC_DEFINE_UNQUOTED(PG_VERSION, "$PG_PACKAGE_VERSION", [Postgres version Greenplum Database is based on])