diff options
| author | Bruce Momjian | 2009-01-06 03:05:23 +0000 |
|---|---|---|
| committer | Bruce Momjian | 2009-01-06 03:05:23 +0000 |
| commit | b32a290bdfa0a17787985ec20c6696e412f8edcd (patch) | |
| tree | 7acb66fc03f101ece46af8c65be655748b25e249 /configure.in | |
| parent | 02aa5f19c68210c505e14dbe1d4e40d5e979ef32 (diff) | |
Update SELECT version() to show whether it is a 32 or 64-bit backend binary.
Diffstat (limited to 'configure.in')
| -rw-r--r-- | configure.in | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/configure.in b/configure.in index 910d1f73845..f25c0adcb72 100644 --- a/configure.in +++ b/configure.in @@ -1,5 +1,5 @@ dnl Process this file with autoconf to produce a configure script. -dnl $PostgreSQL: pgsql/configure.in,v 1.579 2009/01/05 10:25:59 petere Exp $ +dnl $PostgreSQL: pgsql/configure.in,v 1.580 2009/01/06 03:05:23 momjian Exp $ dnl dnl Developers, please strive to achieve this order: dnl @@ -496,8 +496,10 @@ if test x"$GCC" = x"yes" ; then else cc_string=$CC fi +AC_CHECK_SIZEOF([void *]) + AC_DEFINE_UNQUOTED(PG_VERSION_STR, - ["PostgreSQL $PACKAGE_VERSION on $host, compiled by $cc_string"], + ["PostgreSQL $PACKAGE_VERSION on $host, compiled by $cc_string, `expr $ac_cv_sizeof_void_p \* 8`-bit"], [A string containing the version number, platform, and C compiler]) |
