]> granicus.if.org Git - graphviz/commit
Remove HAVE_CONFIG_H check
authorErwin Janssen <erwinjanssen@outlook.com>
Sat, 17 Sep 2016 23:34:38 +0000 (01:34 +0200)
committerErwin Janssen <erwinjanssen@outlook.com>
Sat, 17 Sep 2016 23:47:40 +0000 (01:47 +0200)
commitffb894f27874ebd510a8555c28083d6e01eb80b6
tree2549a837a8a74281ea0e23af59886af142f277d0
parent3ccbd94343d65ca489ce8568539f39c21a6c6131
Remove HAVE_CONFIG_H check

config.h should always be included, a build without it never happens.
The checks on Linux always succeed, because autotools automatically
defines HAVE_CONFIG_H on all the Makefiles. On Windows this is not the
case. Removing all the checks revealed that multiple projects did not
include config.h because HAVE_CONFIG_H wasn't defined. This was the case
for at least the following projects:
- acyclic
- bcomps
- ccomps
- dijkstra
- ingraphs
- gc
- gml2gv
- graphml2gv
- gv2gml
- gvcolor
- gvgen
- mm2gv
- nop
- pathplan
- rbtree
- sccmap
- topfish
- tred

Added `windows\include` to the additional include directories and adding
some library paths solves some, but not all problems that emerged when the
check was removed and some code actually got compiled that wasn't compiled
before.
244 files changed:
ast_common.h.in
cmd/dot/dot.c
cmd/dot/dot.vcxproj
cmd/dot/dot_builtins.c
cmd/edgepaint/edgepaint.vcxproj
cmd/edgepaint/edgepaintmain.c
cmd/gvedit/Makefile.am
cmd/gvedit/csettings.h
cmd/gvedit/gvedit.pro.in
cmd/gvedit/gvedit.pro.ms
cmd/gvedit/gvedit.vcxproj
cmd/gvedit/main.cpp
cmd/gvedit/mainwindow.cpp
cmd/gvmap/cluster.c
cmd/gvmap/gvmap.c
cmd/gvmap/gvmap.vcxproj
cmd/gvpr/gvpr.vcxproj
cmd/gvpr/gvprmain.c
cmd/lefty/Makefile.am
cmd/lefty/common.h
cmd/lefty/lefty.c
cmd/lefty/lefty.vcxproj
cmd/lefty/ws/x11/libfilereq/Dir.c
cmd/lefty/ws/x11/libfilereq/Draw.c
cmd/lefty/ws/x11/libfilereq/Path.c
cmd/lefty/ws/x11/libfilereq/SelFile.c
cmd/mingle/mingle.vcxproj
cmd/mingle/minglemain.c
cmd/smyrna/gui/callbacks.c
cmd/smyrna/main.c
cmd/smyrna/smyrna.vcxproj
cmd/smyrna/support.c
cmd/smyrna/support.h
cmd/tools/acyclic.c
cmd/tools/acyclic.vcxproj
cmd/tools/bcomps.c
cmd/tools/bcomps.vcxproj
cmd/tools/ccomps.c
cmd/tools/ccomps.vcxproj
cmd/tools/convert.h
cmd/tools/dijkstra.c
cmd/tools/dijkstra.vcxproj
cmd/tools/gc.c
cmd/tools/gc.vcxproj
cmd/tools/gml2gv.c
cmd/tools/gml2gv.vcxproj
cmd/tools/gmlscan.l
cmd/tools/graph_generator.c
cmd/tools/graphml2gv.vcxproj
cmd/tools/gv2gml.c
cmd/tools/gv2gml.vcxproj
cmd/tools/gvcolor.c
cmd/tools/gvcolor.vcxproj
cmd/tools/gvgen.c
cmd/tools/gvgen.vcxproj
cmd/tools/gvpack.c
cmd/tools/gvpack.vcxproj
cmd/tools/gxl2gv.vcxproj
cmd/tools/mm2gv.c
cmd/tools/mm2gv.vcxproj
cmd/tools/nop.c
cmd/tools/nop.vcxproj
cmd/tools/sccmap.c
cmd/tools/sccmap.vcxproj
cmd/tools/tred.c
cmd/tools/tred.vcxproj
cmd/tools/unflatten.c
cmd/tools/unflatten.vcxproj
compat.h
contrib/diffimg/diffimg.c
contrib/diffimg/diffimg.vcxproj
contrib/prune/prune.c
contrib/prune/prune.vcxproj
doc/libgraph/sccmap.c
lib/ast/ast.vcxproj
lib/ast/pathfind.c
lib/ast/pathgetlink.c
lib/ast/strerror.c
lib/cgraph/cghdr.h
lib/cgraph/cgraph.vcxproj
lib/circogen/circpos.c
lib/circogen/gvcircogen.vcxproj
lib/common/diagen.c
lib/common/emit.c
lib/common/geom.c
lib/common/geom.h
lib/common/globals.c
lib/common/intset.c
lib/common/memory.c
lib/common/render.h
lib/common/routespl.c
lib/common/strcasecmp.c
lib/common/strncasecmp.c
lib/common/taper.c
lib/dotgen/gvdotgen.vcxproj
lib/edgepaint/edgepaintlib.vcxproj
lib/expr/exeval.c
lib/expr/exopen.c
lib/expr/expr.vcxproj
lib/expr/extoken.c
lib/fdpgen/clusteredges.c
lib/fdpgen/grid.h
lib/fdpgen/gvfdpgen.vcxproj
lib/fdpgen/layout.c
lib/fdpgen/tlayout.c
lib/gvc.vcxproj
lib/gvc/gvc.c
lib/gvc/gvconfig.c
lib/gvc/gvcontext.c
lib/gvc/gvdevice.c
lib/gvc/gvevent.c
lib/gvc/gvjobs.c
lib/gvc/gvlayout.c
lib/gvc/gvloadimage.c
lib/gvc/gvplugin.c
lib/gvc/gvrender.c
lib/gvc/gvtextlayout.c
lib/gvc/gvusershape.c
lib/gvpr/compile.c
lib/gvpr/gvpr.c
lib/gvpr/gvprlib.vcxproj
lib/ingraphs/ingraphs.c
lib/ingraphs/ingraphs.vcxproj
lib/label/rectangle.c
lib/mingle/edge_bundling.c
lib/mingle/minglelib.vcxproj
lib/mingle/nearest_neighbor_graph.c
lib/mingle/nearest_neighbor_graph_ann.cpp
lib/neatogen/call_tri.c
lib/neatogen/constraint.c
lib/neatogen/delaunay.c
lib/neatogen/gvneatogen.vcxproj
lib/neatogen/neato.h
lib/neatogen/neatoinit.c
lib/neatogen/neatosplines.c
lib/neatogen/overlap.c
lib/neatogen/sparsegraph.h
lib/neatogen/stuff.c
lib/ortho/fPQ.c
lib/ortho/gvortho.vcxproj
lib/ortho/maze.c
lib/ortho/ortho.c
lib/ortho/partition.c
lib/ortho/rawgraph.c
lib/ortho/sgraph.c
lib/ortho/trapezoid.c
lib/osage/osage.vcxproj
lib/patchwork/gvpatchwork.vcxproj
lib/pathplan/Pathplan.vcxproj
lib/pathplan/solvers.c
lib/rbtree/misc.c
lib/rbtree/rbtree.vcxproj
lib/rbtree/red_black_tree.c
lib/rbtree/stack.c
lib/rbtree/stack.h
lib/rbtree/test_red_black_tree.c
lib/sfdpgen/post_process.c
lib/sfdpgen/sfdp.h
lib/sfdpgen/sfdp.vcxproj
lib/sfdpgen/sfdpinit.c
lib/sfdpgen/spring_electrical.c
lib/sfio/sfio.vcxproj
lib/sparse/gvsparse.vcxproj
lib/topfish/topfish.vcxproj
lib/twopigen/gvtwopigen.vcxproj
lib/vmalloc/vmdebug.c
lib/vpsc/vpsc.vcxproj
plugin.demo/xgtk/src/callbacks.c
plugin.demo/xgtk/src/gvdevice_xgtk.c
plugin.demo/xgtk/src/interface.c
plugin.demo/xgtk/src/support.c
plugin.demo/xgtk/src/support.h
plugin/core/gvloadimage_core.c
plugin/core/gvplugin_core.vcxproj
plugin/core/gvrender_core_dia.c
plugin/core/gvrender_core_dot.c
plugin/core/gvrender_core_fig.c
plugin/core/gvrender_core_hpgl.c
plugin/core/gvrender_core_json.c
plugin/core/gvrender_core_map.c
plugin/core/gvrender_core_mif.c
plugin/core/gvrender_core_mp.c
plugin/core/gvrender_core_pic.c
plugin/core/gvrender_core_pov.c
plugin/core/gvrender_core_ps.c
plugin/core/gvrender_core_svg.c
plugin/core/gvrender_core_tk.c
plugin/core/gvrender_core_vml.c
plugin/core/gvrender_core_vtx.c
plugin/devil/gvdevice_devil.c
plugin/dot_layout/gvlayout_dot_layout.c
plugin/dot_layout/gvplugin_dot_layout.vcxproj
plugin/gd/gvdevice_gd.c
plugin/gd/gvloadimage_gd.c
plugin/gd/gvplugin_gd.vcxproj
plugin/gd/gvrender_gd.c
plugin/gd/gvrender_gd_vrml.c
plugin/gd/gvtextlayout_gd.c
plugin/gdiplus/gvdevice_gdiplus.cpp
plugin/gdiplus/gvloadimage_gdiplus.cpp
plugin/gdiplus/gvplugin_gdiplus.vcxproj
plugin/gdiplus/gvrender_gdiplus.cpp
plugin/gdiplus/gvtextlayout_gdiplus.cpp
plugin/gdk/gvdevice_gdk.c
plugin/gdk/gvloadimage_gdk.c
plugin/glitz/gvdevice_glitz.c
plugin/gs/gvloadimage_gs.c
plugin/gtk/callbacks.c
plugin/gtk/gvdevice_gtk.c
plugin/gtk/interface.c
plugin/gtk/support.c
plugin/gtk/support.h
plugin/lasi/gvloadimage_lasi.c
plugin/lasi/gvrender_lasi.cpp
plugin/ming/gvrender_ming.c
plugin/neato_layout/gvlayout_neato_layout.c
plugin/neato_layout/gvplugin_neato_layout.vcxproj
plugin/pango/gvgetfontlist_pango.c
plugin/pango/gvloadimage_pango.c
plugin/pango/gvplugin_pango.vcxproj
plugin/pango/gvrender_pango.c
plugin/pango/gvtextlayout_pango.c
plugin/poppler/gvloadimage_poppler.c
plugin/quartz/GVTextLayout.m
plugin/quartz/gvdevice_quartz.c
plugin/quartz/gvloadimage_quartz.c
plugin/quartz/gvplugin_quartz.c
plugin/quartz/gvrender_quartz.c
plugin/quartz/gvtextlayout_quartz.c
plugin/rsvg/gvloadimage_rsvg.c
plugin/visio/VisioGraphic.cpp
plugin/visio/VisioRender.cpp
plugin/visio/VisioText.cpp
plugin/visio/gvrender_visio_vdx.cpp
plugin/webp/gvdevice_webp.c
plugin/webp/gvloadimage_webp.c
plugin/xlib/gvdevice_xlib.c
tclpkg/gdtclft/gdtclft.c
tclpkg/gv/gv.i
tclpkg/tcldot/tcldot_builtins.c
tclpkg/tclpathplan/tclpathplan.c
tclpkg/tkspline/tkspline.c
windows/dependencies/getopt/getopt.vcxproj [new file with mode: 0644]
windows/dependencies/getopt/getopt.vcxproj.filters [new file with mode: 0644]