You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by am...@apache.org on 2006/05/30 15:58:35 UTC
svn commit: r410287 - in /xerces/c/trunk: configure configure.ac
Author: amassari
Date: Tue May 30 06:58:34 2006
New Revision: 410287
URL: http://svn.apache.org/viewvc?rev=410287&view=rev
Log:
Check for SUNPRO_C instead of SUNPRO_CC
Modified:
xerces/c/trunk/configure
xerces/c/trunk/configure.ac
Modified: xerces/c/trunk/configure
URL: http://svn.apache.org/viewvc/xerces/c/trunk/configure?rev=410287&r1=410286&r2=410287&view=diff
==============================================================================
--- xerces/c/trunk/configure (original)
+++ xerces/c/trunk/configure Tue May 30 06:58:34 2006
@@ -26091,15 +26091,21 @@
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
-"__SUNPRO_CC=" __SUNPRO_CC
+__SUNPRO_C
_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- $EGREP "^__SUNPRO_CC=0x580" >/dev/null 2>&1; then
- COMPILER="SUNPRO" echo "$as_me:$LINENO: result: yes" >&5
+ $EGREP "0x580" >/dev/null 2>&1; then
+
+ COMPILER="SUNPRO"
+ echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
+
else
- COMPILER="" echo "$as_me:$LINENO: result: no" >&5
+
+ COMPILER=""
+ echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
+
fi
rm -f conftest*
Modified: xerces/c/trunk/configure.ac
URL: http://svn.apache.org/viewvc/xerces/c/trunk/configure.ac?rev=410287&r1=410286&r2=410287&view=diff
==============================================================================
--- xerces/c/trunk/configure.ac (original)
+++ xerces/c/trunk/configure.ac Tue May 30 06:58:34 2006
@@ -134,9 +134,15 @@
AC_DEFINE([XERCES_HAVE_INTTYPES_H], 1, [Define to 1 if we have inttypes.h]))
AC_MSG_CHECKING([whether we are using SunPro 5.8 compiler])
-AC_EGREP_CPP([^__SUNPRO_CC=0x580], ["__SUNPRO_CC=" __SUNPRO_CC],
- [COMPILER="SUNPRO" AC_MSG_RESULT([yes])],
- [COMPILER="" AC_MSG_RESULT([no])]
+AC_EGREP_CPP([0x580], [__SUNPRO_C],
+ [
+ COMPILER="SUNPRO"
+ AC_MSG_RESULT([yes])
+ ],
+ [
+ COMPILER=""
+ AC_MSG_RESULT([no])
+ ]
)
case $host in
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xerces.apache.org
For additional commands, e-mail: commits-help@xerces.apache.org