summaryrefslogtreecommitdiff
path: root/include/makeinclude
diff options
context:
space:
mode:
authorcrodrigu <crodrigu@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2002-09-12 17:39:22 +0000
committercrodrigu <crodrigu@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2002-09-12 17:39:22 +0000
commitd13d75bbdbc7d37c8a94a91eddb9ab0064b2c0f1 (patch)
tree5dfc6a5c3a334f75495981efee905ef913841ced /include/makeinclude
parentd4647c5e8041ceb29a05f8b19df5ca9bd5e96347 (diff)
downloadATCD-d13d75bbdbc7d37c8a94a91eddb9ab0064b2c0f1.tar.gz
ChangeLogTag: Thu Sep 12 17:36:36 UTC 2002 Craig Rodrigues <crodrigu@bbn.com>
Diffstat (limited to 'include/makeinclude')
-rw-r--r--include/makeinclude/wrapper_macros.GNU6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/makeinclude/wrapper_macros.GNU b/include/makeinclude/wrapper_macros.GNU
index b7fc809e9fe..e5b63e4eda1 100644
--- a/include/makeinclude/wrapper_macros.GNU
+++ b/include/makeinclude/wrapper_macros.GNU
@@ -170,9 +170,9 @@ endif # PACE_ROOT
# minor and beta) to run, but applications with dependencies on libraries
# with different minor or major or beta versions to fail.
#
-ACE_MAJOR_VERSION := $(shell echo `perl -ne 'if (/ACE_VERSION/) { s/[^0-9]+(\d+)+\.(\d+)+\.(\d+)+.+/\1/ ; print }' ${ACE_ROOT}/ace/Version.h`)
-ACE_MINOR_VERSION := $(shell echo `perl -ne 'if (/ACE_VERSION/) { s/[^0-9]+(\d+)+\.(\d+)+\.(\d+)+.+/\2/ ; print }' ${ACE_ROOT}/ace/Version.h`)
-ACE_BETA_VERSION := $(shell echo `perl -ne 'if (/ACE_VERSION/) { s/[^0-9]+(\d+)+\.(\d+)+\.(\d+)+.+/\3/ ; print }' ${ACE_ROOT}/ace/Version.h`)
+ACE_MAJOR_VERSION := $(shell awk '/ACE_MAJOR_VERSION/ { print $$3}' ${ACE_ROOT}/ace/Version.h)
+ACE_MINOR_VERSION := $(shell awk '/ACE_MINOR_VERSION/ { print $$3}' ${ACE_ROOT}/ace/Version.h)
+ACE_BETA_VERSION := $(shell awk '/ACE_BETA_VERSION/ { print $$3}' ${ACE_ROOT}/ace/Version.h)
# Version number of the libraries
#