You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stdcxx.apache.org by se...@apache.org on 2007/07/11 23:36:49 UTC

svn commit: r555408 - /incubator/stdcxx/trunk/etc/config/acc.config

Author: sebor
Date: Wed Jul 11 14:36:48 2007
New Revision: 555408

URL: http://svn.apache.org/viewvc?view=rev&rev=555408
Log:
2007-07-11  Martin Sebor  <se...@roguewave.com>

	* acc.config (CXX): Removed the assumption introduced in r543687
	made to addressSTDCXX-434 that the version number is followed by
	a timestamp (or anything at all) since in versions prior to aCC
	6.13 (and whatever the equivalent ends up being on PA), it's not.

Modified:
    incubator/stdcxx/trunk/etc/config/acc.config

Modified: incubator/stdcxx/trunk/etc/config/acc.config
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/etc/config/acc.config?view=diff&rev=555408&r1=555407&r2=555408
==============================================================================
--- incubator/stdcxx/trunk/etc/config/acc.config (original)
+++ incubator/stdcxx/trunk/etc/config/acc.config Wed Jul 11 14:36:48 2007
@@ -9,7 +9,7 @@
 CXX       = aCC
 
 CCVER     := $(shell   $(CXX) -V 2>&1 \
-                     | sed "s/.* \(A\.[0-9][0-9]*\.[0-9][0-9]\) .*/\1/")
+                     | sed "s/.* \(A\.[0-9][0-9]*\.[0-9][0-9]\)[^0-9]*.*/\1/")
 aCC_MAJOR := $(shell echo $(CCVER) | sed "s/[^.]*\.\([0-9]*\)\..*/\1/")
 aCC_MINOR := $(shell echo $(CCVER) | sed "s/[^.]*\.[^.]*\.\([0-9]*\)/\1/")