Fix broken PG_VERSION_STR.

This commit is contained in:
Tom Lane 2002-04-01 01:11:00 +00:00
parent 60dcf1c817
commit 69b7651b1d
2 changed files with 3 additions and 3 deletions

2
configure vendored
View File

@ -2784,7 +2784,7 @@ else
fi
cat >>confdefs.h <<_ACEOF
#define PG_VERSION_STR "PostgreSQL $VERSION on $host, compiled by $cc_string"
#define PG_VERSION_STR "PostgreSQL $PACKAGE_VERSION on $host, compiled by $cc_string"
_ACEOF

View File

@ -1,5 +1,5 @@
dnl Process this file with autoconf to produce a configure script.
dnl $Header: /cvsroot/pgsql/configure.in,v 1.173 2002/03/30 00:59:52 petere Exp $
dnl $Header: /cvsroot/pgsql/configure.in,v 1.174 2002/04/01 01:11:00 tgl Exp $
dnl Developers, please strive to achieve this order:
dnl
@ -299,7 +299,7 @@ if test x"$GCC" = x"yes" ; then
else
cc_string=$CC
fi
AC_DEFINE_UNQUOTED(PG_VERSION_STR, ["PostgreSQL $VERSION on $host, compiled by $cc_string"], [A canonical string containing the version number, platform, and C compiler])
AC_DEFINE_UNQUOTED(PG_VERSION_STR, ["PostgreSQL $PACKAGE_VERSION on $host, compiled by $cc_string"], [A canonical string containing the version number, platform, and C compiler])
#