summaryrefslogtreecommitdiff
path: root/include/makeinclude/platform_hpux_aCC.GNU
diff options
context:
space:
mode:
authorSteve Huston <shuston@riverace.com>1999-07-03 00:59:53 +0000
committerSteve Huston <shuston@riverace.com>1999-07-03 00:59:53 +0000
commit73e39acf9a0b6af3311f20c6ec1f5677d2c925fa (patch)
treefc9f0f3b0ec8a77aabb04c97209ba2a534290ab8 /include/makeinclude/platform_hpux_aCC.GNU
parent5c915f3305554b97df012f1de479a0c5ea003a9e (diff)
downloadATCD-73e39acf9a0b6af3311f20c6ec1f5677d2c925fa.tar.gz
If 11.00 requests build w/o threads, set ACE_HAS_THREADS to 0.
Diffstat (limited to 'include/makeinclude/platform_hpux_aCC.GNU')
-rw-r--r--include/makeinclude/platform_hpux_aCC.GNU9
1 files changed, 8 insertions, 1 deletions
diff --git a/include/makeinclude/platform_hpux_aCC.GNU b/include/makeinclude/platform_hpux_aCC.GNU
index 609a00183b7..0145c00b5d5 100644
--- a/include/makeinclude/platform_hpux_aCC.GNU
+++ b/include/makeinclude/platform_hpux_aCC.GNU
@@ -30,7 +30,9 @@ CXX = /opt/aCC/bin/aCC
CPP_LOCATION = /usr/ccs/lbin/cpp
#
# Set the appropriate preprocessor defs for threading based on OS version.
-# If the user has requested building without threads, then don't set any.
+# If the user has requested building without threads, then don't set any
+# for 10.20, but for 11.00, the default is to use threads, so explicitly
+# turn them off if the user requested build without threads.
#
ifeq ($(threads),1)
ifeq ($(word 2,$(HPVERS_WORDS)), 11)
@@ -38,7 +40,12 @@ THR_DEFS = -DACE_HAS_THREADS -D_POSIX_C_SOURCE=199506L
else
THR_DEFS = -DACE_HAS_THREADS -D_REENTRANT
endif
+else
+ifeq ($(word 2,$(HPVERS_WORDS)), 11)
+THR_DEFS = -DACE_HAS_THREADS=0
endif
+endif
+
#
# Suppress warning 829 (string literal to char * is deprecated)
# Suppress warning 302 ((...) parameter list is a non-portable feature)