]> granicus.if.org Git - graphviz/commitdiff
test for PLATFORMSDK set in env
authorellson <devnull@localhost>
Mon, 3 Mar 2008 16:17:29 +0000 (16:17 +0000)
committerellson <devnull@localhost>
Mon, 3 Mar 2008 16:17:29 +0000 (16:17 +0000)
configure.ac

index f987cd0811dded03f0fe47756a60c0c565ffb4ef..385024efe8a6f49d88c31bfe0aa87a9df34f92e0 100644 (file)
@@ -1938,7 +1938,11 @@ AC_ARG_WITH(gdiplus,
 
 if test "x$with_gdiplus" = "xyes"; then
 
+if test "x$PLATFORMSDK" != x; then
+GDIPLUS_PLATFORMSDK="$PLATFORMSDK"
+else
 GDIPLUS_PLATFORMSDK="$VS80COMNTOOLS/../../VC/PlatformSDK"
+fi
 
 if test -d "$GDIPLUS_PLATFORMSDK"; then
 HAVE_GDIPLUS=1