summaryrefslogtreecommitdiff
path: root/soltools/testhxx
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2006-07-06 13:24:17 +0000
committerKurt Zenker <kz@openoffice.org>2006-07-06 13:24:17 +0000
commit26d7b1017ecc288380ce62e62cac5986f721ae00 (patch)
tree3576810743f5000a9872b4757c152c680f66c9a5 /soltools/testhxx
parent69f1e72f8bf9008e51afa3addd2c1f54863825b0 (diff)
INTEGRATION: CWS warningfixes01 (1.2.2); FILE MERGED
2006/06/27 12:34:08 sb 1.2.2.1: #i66700# Minimal adaption to cygwin platform (no functional testhxx yet, but build does not break any more).
Diffstat (limited to 'soltools/testhxx')
-rw-r--r--soltools/testhxx/create.pl10
1 files changed, 7 insertions, 3 deletions
diff --git a/soltools/testhxx/create.pl b/soltools/testhxx/create.pl
index da79ebce1ef6..cfb5e19b4c65 100644
--- a/soltools/testhxx/create.pl
+++ b/soltools/testhxx/create.pl
@@ -4,9 +4,9 @@
#
# $RCSfile: create.pl,v $
#
-# $Revision: 1.2 $
+# $Revision: 1.3 $
#
-# last change: $Author: hr $ $Date: 2006-06-20 05:09:44 $
+# last change: $Author: kz $ $Date: 2006-07-06 14:24:17 $
#
# The Contents of this file are made available subject to
# the terms of GNU Lesser General Public License Version 2.1.
@@ -74,7 +74,7 @@ if ($ENV{OS} eq 'LINUX') {
print STDOUT 'unlink ${my_tmp} || exit 1', "\n";
print STDOUT 'unlink ${my_tmp}.out || exit 1', "\n";
print STDOUT 'exit ${my_ret}', "\n";
-} elsif ($ENV{OS} eq 'WNT') {
+} elsif ($ENV{OS} eq 'WNT' and $ENV{USE_SHELL} eq '4nt') {
1 while $in =~ s!\s+-I\s*\.\S*\s*! !g; # discard relative includes
$in =~ s!(\s+-I\s*)(?i:$solarversion)(\S*)!$1%SOLARVERSION%$2!og;
# macrofy includes to solver
@@ -94,6 +94,10 @@ if ($ENV{OS} eq 'LINUX') {
print STDOUT 'DEL /EQ %my_tmp% %my_tmp%.obj %my_tmp%.pdb %my_tmp%.out',
"\n";
print STDOUT 'QUIT %my_ret%', "\n";
+} elsif ($ENV{OS} eq 'WNT' and $ENV{USE_SHELL} ne '4nt') {
+ print STDOUT '#!/bin/bash', "\n";
+ print STDOUT 'echo testhxx not yet available on this platform 1>&2', "\n";
+ print STDOUT 'exit 1', "\n";
} else {
print STDOUT 'echo \'no testhxx on this platform\'', "\n";
}