Commit 16785db1 authored by Peter Eisentraut's avatar Peter Eisentraut

Produce a full version string for Sun Studio.

from Zdenek
parent d319a653
...@@ -26921,6 +26921,8 @@ echo "$as_me: using LDFLAGS=$LDFLAGS" >&6;} ...@@ -26921,6 +26921,8 @@ echo "$as_me: using LDFLAGS=$LDFLAGS" >&6;}
# Create compiler version string # Create compiler version string
if test x"$GCC" = x"yes" ; then if test x"$GCC" = x"yes" ; then
cc_string="GCC `${CC} --version | sed q`" 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 else
cc_string=$CC cc_string=$CC
fi fi
......
dnl Process this file with autoconf to produce a configure script. 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
dnl Developers, please strive to achieve this order: dnl Developers, please strive to achieve this order:
dnl dnl
...@@ -1771,6 +1771,8 @@ AC_MSG_NOTICE([using LDFLAGS=$LDFLAGS]) ...@@ -1771,6 +1771,8 @@ AC_MSG_NOTICE([using LDFLAGS=$LDFLAGS])
# Create compiler version string # Create compiler version string
if test x"$GCC" = x"yes" ; then if test x"$GCC" = x"yes" ; then
cc_string="GCC `${CC} --version | sed q`" 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 else
cc_string=$CC cc_string=$CC
fi fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment