stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From se...@apache.org
Subject svn commit: r543687 - /incubator/stdcxx/trunk/etc/config/acc.config
Date Sat, 02 Jun 2007 01:13:51 GMT
Author: sebor
Date: Fri Jun  1 18:13:50 2007
New Revision: 543687

URL: http://svn.apache.org/viewvc?view=rev&rev=543687
Log:
2007-06-01  Martin Sebor  <sebor@roguewave.com>

	STDCXX-434
	* acc.config (CCVER): Adjusted to the change in HP aCC -V output
	by searching for "A.NN.NN" as suggested by Dennis Handly.

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=543687&r1=543686&r2=543687
==============================================================================
--- incubator/stdcxx/trunk/etc/config/acc.config (original)
+++ incubator/stdcxx/trunk/etc/config/acc.config Fri Jun  1 18:13:50 2007
@@ -8,7 +8,8 @@
 
 CXX       = aCC
 
-CCVER     := $(shell $(CXX) -V 2>&1 | awk '{ print $$6 }')
+CCVER     := $(shell   $(CXX) -V 2>&1 \
+                     | sed "s/.* \(A\.[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/")
 



Mime
View raw message