summaryrefslogtreecommitdiff
path: root/configure
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
parentd319a653589f9610655d0e43abcece8e523094a9 (diff)
Produce a full version string for Sun Studio.
from Zdenek
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure b/configure
index 72e4f543539..820b92c642f 100755
--- a/configure
+++ b/configure
@@ -26921,6 +26921,8 @@ echo "$as_me: using LDFLAGS=$LDFLAGS" >&6;}
# 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