summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2017-09-06 14:55:03 (GMT)
committerGitHub <noreply@github.com>2017-09-06 14:55:03 (GMT)
commita83b1f724e02d6fa02f0de6f0dfe44c30afe61f3 (patch)
tree2433aa13328052c10c818c94f13f4cc3d07c7fcd /configure
parentc79bffe0a0e6c587473708c778b2744c37d8abba (diff)
parent89235e9873b84662bde1e2f948a0d20f64b10aed (diff)
downloadblt-a83b1f724e02d6fa02f0de6f0dfe44c30afe61f3.zip
blt-a83b1f724e02d6fa02f0de6f0dfe44c30afe61f3.tar.gz
blt-a83b1f724e02d6fa02f0de6f0dfe44c30afe61f3.tar.bz2
Merge pull request #10 from prs-de/build-windows-cygwin-cl
Set MSVC cflags on Cygwin when the compiler is not GCC
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure9
1 files changed, 6 insertions, 3 deletions
diff --git a/configure b/configure
index 052a60b..49d492f 100755
--- a/configure
+++ b/configure
@@ -5763,9 +5763,12 @@ generic/tkbltDecls.h
done
-#if test "windows" = "${TEA_PLATFORM}"; then
-#TEA_ADD_CFLAGS([-TP -EHsc -D_CRT_SECURE_NO_WARNINGS -D_USE_MATH_DEFINES])
-#fi
+if test "${TEA_PLATFORM}" = "windows" -a "$GCC" != "yes"; then
+
+ PKG_CFLAGS="$PKG_CFLAGS -TP -EHsc -D_CRT_SECURE_NO_WARNINGS -D_USE_MATH_DEFINES"
+
+
+fi
vars="tkbltStubLib.C"
for i in $vars; do