diff options
author | sma <sma@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2007-06-08 08:38:40 +0000 |
---|---|---|
committer | sma <sma@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2007-06-08 08:38:40 +0000 |
commit | a32b687d32ce279d6dd8927209d0a55106dc7397 (patch) | |
tree | 7d6b06cebf9c23fd12082019c43d38ac9952f1bc /ACE/include/makeinclude/platform_hpux_aCC.GNU | |
parent | c34b0b6fa00e2e81f898fdcb74fef7227cee2458 (diff) | |
download | ATCD-a32b687d32ce279d6dd8927209d0a55106dc7397.tar.gz |
ChangeLogTag: Fri Jun 08 08:38:00 UTC 2007 Simon Massey <sma@prismtech.com>
Diffstat (limited to 'ACE/include/makeinclude/platform_hpux_aCC.GNU')
-rw-r--r-- | ACE/include/makeinclude/platform_hpux_aCC.GNU | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/ACE/include/makeinclude/platform_hpux_aCC.GNU b/ACE/include/makeinclude/platform_hpux_aCC.GNU index 85bbb1bc382..e8a7c7cc22e 100644 --- a/ACE/include/makeinclude/platform_hpux_aCC.GNU +++ b/ACE/include/makeinclude/platform_hpux_aCC.GNU @@ -30,12 +30,20 @@ CXX = aCC # Determine compiler version CXXVERS_WORDS := $(subst ., , $(shell $(CXX) -V 2>&1)) CXXINFO := $(word 3, $(CXXVERS_WORDS)) -ifeq (aC++/ANSI, $(CXXINFO)) +# aCC++ 3.67 gives "aCC: HP ANSI C++ B3910B A.03.67" +# aCC++ 3.73 gives "aCC: HP ANSI C++ B3910B A.03.73" +# +ifeq (ANSI, $(CXXINFO)) CXXMINORVERS := $(word 8, $(CXXVERS_WORDS)) CXXMAJORVERS := $(word 7, $(CXXVERS_WORDS)) else - CXXMINORVERS := $(word 7, $(CXXVERS_WORDS)) - CXXMAJORVERS := $(word 6, $(CXXVERS_WORDS)) + ifeq (aC++/ANSI, $(CXXINFO)) + CXXMINORVERS := $(word 8, $(CXXVERS_WORDS)) + CXXMAJORVERS := $(word 7, $(CXXVERS_WORDS)) + else + CXXMINORVERS := $(word 7, $(CXXVERS_WORDS)) + CXXMAJORVERS := $(word 6, $(CXXVERS_WORDS)) + endif endif ifeq (1,$(stdcpplib)) |