summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Huston <shuston@riverace.com>2004-03-02 17:41:08 +0000
committerSteve Huston <shuston@riverace.com>2004-03-02 17:41:08 +0000
commit5924ab0a401158237adefd17787626669d11354b (patch)
treedb4df55c5d78facb898c9ef604b760fdb23dafef
parent2e80a3d0b1349277dc4b93e84b7cd5b8496f66ae (diff)
downloadATCD-5924ab0a401158237adefd17787626669d11354b.tar.gz
ChangeLogTag:Tue Mar 2 12:33:51 2004 Steve Huston <shuston@riverace.com>
-rw-r--r--ChangeLog6
-rw-r--r--m4/compiler.m46
2 files changed, 12 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 791f059f602..c7c7f24086c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Tue Mar 2 12:33:51 2004 Steve Huston <shuston@riverace.com>
+
+ * m4/compiler.m4: Added HPUX_VERS to HP-UX compiler options, and
+ -D_HPUX_SOURCE to aC++ options. This mirrors what the traditional
+ platform options do.
+
Tue Mar 2 11:16:03 2004 Chad Elliott <elliott_c@ociweb.com>
* bin/MakeProjectCreator/modules/BMakeWorkspaceCreator.pm:
diff --git a/m4/compiler.m4 b/m4/compiler.m4
index 230659d0a00..603112d53f9 100644
--- a/m4/compiler.m4
+++ b/m4/compiler.m4
@@ -185,6 +185,12 @@ dnl Temporarily change M4 quotes to prevent "regex []" from being eaten
esac
;;
*hpux*)
+ # In case anything here or in the config depends on OS
+ # version number, grab it here and pass it all to the
+ # compiler as well.
+ OSVERS=`uname -r | $AWK 'BEGIN{FS=".";OFS="";}{print [$][2],[$][3]}' -`
+ ACE_CPPFLAGS="$ACE_CPPFLAGS -DHPUX_VERS=$OSVERS"
+
# HP-UX OS version specific settings.
case "$host" in
*hpux11*)