summaryrefslogtreecommitdiff
path: root/TAO/rules.tao.GNU
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2003-07-04 12:27:57 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2003-07-04 12:27:57 +0000
commit0be3d2e4e37065b4a2e275fdfff8408dadc1ca95 (patch)
tree014c5b170dcf39e0a49c769d979356301802de2a /TAO/rules.tao.GNU
parent030f70614c2af226b6e0f22828a157e8de93c658 (diff)
downloadATCD-0be3d2e4e37065b4a2e275fdfff8408dadc1ca95.tar.gz
ChangeLogTag: Fri Jul 04 12:25:12 UTC 2003 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'TAO/rules.tao.GNU')
-rw-r--r--TAO/rules.tao.GNU11
1 files changed, 5 insertions, 6 deletions
diff --git a/TAO/rules.tao.GNU b/TAO/rules.tao.GNU
index c39bcfe3bbd..d51ac9af172 100644
--- a/TAO/rules.tao.GNU
+++ b/TAO/rules.tao.GNU
@@ -29,15 +29,14 @@ endif # ! COMPSPEC
ifdef COMSPEC
#### Assume we're on a WIN32 host.
ifndef TAO_IDL_PREPROCESSOR
- #### Assume we have Bourne shell and sed. Otherwise, the user
+ #### Assume we have Bourne shell and sed. Otherwise, the user
#### should find out here that the TAO_IDL_PREPROCESSOR environment
#### variable must be set explicitly!
- ifneq ($(mingw32),1)
- TAO_IDL_PREPROCESSOR := $(shell type $(CXX) | sed 's/.* is //')
+ ifeq ($(cygwin32),1)
+ TAO_IDL_PREPROCESSOR := $(shell cygpath -w $(shell type $(CXX) | sed 's/.* is //'))
else
- TAO_IDL_PREPROCESSOR := \
- $(shell cygpath -w $(shell type $(CXX) | sed 's/.* is //'))
- endif # !mingw32
+ TAO_IDL_PREPROCESSOR := $(shell type $(CXX) | sed 's/.* is //')
+ endif # cygwin32
endif # ! TAO_IDL_PREPROCESSOR
endif # COMSPEC