]> granicus.if.org Git - graphviz/commitdiff
Try putting troublesome make lines in WITH_GDIPLUS conditional
authorJohn Ellson <ellson@research.att.com>
Fri, 23 Aug 2013 16:46:25 +0000 (12:46 -0400)
committerJohn Ellson <ellson@research.att.com>
Fri, 23 Aug 2013 16:46:25 +0000 (12:46 -0400)
section

plugin/gdiplus/Makefile.am

index 84dc7bc771def3e6a67bb70bd55e8ffd66c440f0..b2c62712a8b7191adb70501f752e255924db4094 100644 (file)
@@ -15,10 +15,10 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/lib/$(GRAPH) \
        -I$(top_srcdir)/lib/cdt
        
+if WITH_GDIPLUS
 PATCHES = GdiPlusEnums.h.patch GdiPlusHeaders.h.patch GdiPlusimageAttributes.h.patch GdiPlusImaging.h.patch
 PATCHED_HEADS = $(PATCHES:.h.patch=.h)
 
-if WITH_GDIPLUS
 noinst_LTLIBRARIES = libgvplugin_gdiplus_C.la
 if WITH_WIN32
 lib_LTLIBRARIES = libgvplugin_gdiplus.la
@@ -60,6 +60,7 @@ gvloadimage_gdiplus.lo : $(GDIPLUS_HEADS)
 
 gvrender_gdiplus.lo : $(GDIPLUS_HEADS)
 
+if WITH_GDIPLUS
 # patched GDI+ headers are dependent on the patches
 $(PATCHED_HEADS) : %.h : %.h.patch
        
@@ -70,5 +71,6 @@ $(GDIPLUS_HEADS) : %.h : $(PLATFORMSDKINCLUDE_ESCAPED)/%.h
        then patch -o $*.h "$(PLATFORMSDKINCLUDE)\$*.h" $*.h.patch; \
        else cp "$(PLATFORMSDKINCLUDE)\$*.h" $*.h; \
        fi
+endif
        
 EXTRA_DIST = $(PATCHES) gvplugin_gdiplus.vcproj gvplugin_gdiplus.def