Skip to content

Commit 16785db

Browse files
committed
Produce a full version string for Sun Studio.
from Zdenek
1 parent d319a65 commit 16785db

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

configure

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26921,6 +26921,8 @@ echo "$as_me: using LDFLAGS=$LDFLAGS" >&6;}
2692126921
# Create compiler version string
2692226922
if test x"$GCC" = x"yes" ; then
2692326923
cc_string="GCC `${CC} --version | sed q`"
26924+
elif test x"$SUN_STUDIO_CC" = x"yes" ; then
26925+
cc_string=`${CC} -V 2>&1 | sed q`
2692426926
else
2692526927
cc_string=$CC
2692626928
fi

configure.in

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
dnl Process this file with autoconf to produce a configure script.
2-
dnl $PostgreSQL: pgsql/configure.in,v 1.583 2009/01/07 03:39:33 momjian Exp $
2+
dnl $PostgreSQL: pgsql/configure.in,v 1.584 2009/01/07 10:38:44 petere Exp $
33
dnl
44
dnl Developers, please strive to achieve this order:
55
dnl
@@ -1771,6 +1771,8 @@ AC_MSG_NOTICE([using LDFLAGS=$LDFLAGS])
17711771
# Create compiler version string
17721772
if test x"$GCC" = x"yes" ; then
17731773
cc_string="GCC `${CC} --version | sed q`"
1774+
elif test x"$SUN_STUDIO_CC" = x"yes" ; then
1775+
cc_string=`${CC} -V 2>&1 | sed q`
17741776
else
17751777
cc_string=$CC
17761778
fi

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy