summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorPeter Eisentraut2009-01-07 10:38:44 +0000
committerPeter Eisentraut2009-01-07 10:38:44 +0000
commit16785db18c727b80e401359d2efb74eca6bc4f11 (patch)
tree83ab4d13a60fe63dbea790541c0671bc986e1220 /configure.in
parentd319a653589f9610655d0e43abcece8e523094a9 (diff)
Produce a full version string for Sun Studio.
from Zdenek
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 89d58adf831..52a8db226cb 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.583 2009/01/07 03:39:33 momjian Exp $
+dnl $PostgreSQL: pgsql/configure.in,v 1.584 2009/01/07 10:38:44 petere Exp $
dnl
dnl Developers, please strive to achieve this order:
dnl
@@ -1771,6 +1771,8 @@ AC_MSG_NOTICE([using LDFLAGS=$LDFLAGS])
# Create compiler version string
if test x"$GCC" = x"yes" ; then
cc_string="GCC `${CC} --version | sed q`"
+elif test x"$SUN_STUDIO_CC" = x"yes" ; then
+ cc_string=`${CC} -V 2>&1 | sed q`
else
cc_string=$CC
fi