From 73e39acf9a0b6af3311f20c6ec1f5677d2c925fa Mon Sep 17 00:00:00 2001 From: Steve Huston Date: Sat, 3 Jul 1999 00:59:53 +0000 Subject: If 11.00 requests build w/o threads, set ACE_HAS_THREADS to 0. --- include/makeinclude/platform_hpux_aCC.GNU | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'include/makeinclude/platform_hpux_aCC.GNU') 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) -- cgit v1.2.1