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/06/02 03:13:51 UTC

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

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  <se...@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/")