aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-08-08 03:09:16 +0000
committerYang Tse <yangsita@gmail.com>2008-08-08 03:09:16 +0000
commit8d36acd29b8c2a496744eb28fb2e28e42eb6370a (patch)
treed2f40883f6f37ce843e4f8f1bcde2f3bcbc32c37
parente54209d643deeeee47a23d9247947b98ba6f0639 (diff)
Take a peek at netware's gcc predefined symbols.
-rwxr-xr-xtests/testcurl.pl10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/testcurl.pl b/tests/testcurl.pl
index 79ff7769a..2eea52970 100755
--- a/tests/testcurl.pl
+++ b/tests/testcurl.pl
@@ -492,6 +492,16 @@ if ($configurebuild) {
# lib/Makefile.netware now copies curlbuild.h.dist as curlbuild.h
system("$make -i -C lib -f Makefile.$targetos prebuild");
system("$make -i -C src -f Makefile.$targetos prebuild");
+ # peek compiler predefined symbols...
+ system("echo | gcc -m32 -E -dM - >predef.txt");
+ logit "display predef.txt";
+ if(open(F, "predef.txt")) {
+ while (<F>) {
+ print;
+ }
+ close(F);
+ }
+ #
}
}