]> granicus.if.org Git - graphviz/commitdiff
fix problem building with --enable-static on platforms without pango/cairo
authorellson <devnull@localhost>
Thu, 19 Jul 2007 14:47:52 +0000 (14:47 +0000)
committerellson <devnull@localhost>
Thu, 19 Jul 2007 14:47:52 +0000 (14:47 +0000)
cmd/dot/Makefile.am

index c577cbe481cfd7ae0764a201e8a9019db7b2dfa5..77b62a32ce3beaa5247bec36bf0a8c75e5756ba4 100644 (file)
@@ -58,6 +58,7 @@ dot.pdf: $(top_srcdir)/cmd/dot/dot.1
 dot_static_SOURCES = dot.c $(top_srcdir)/lib/gvc/no_demand_loading.c
 dot_static_LDFLAGS = -export-dynamic -dlpreopen self -export-symbols-regex '.*_LTX_library'
 if WITH_MYLIBGD
+if WITH_PANGOCAIRO
 dot_static_LDADD = \
        $(top_builddir)/plugin/dot_layout/.libs/libgvplugin_dot_layout_C.a \
        $(top_builddir)/plugin/neato_layout/.libs/libgvplugin_neato_layout_C.a \
@@ -71,6 +72,19 @@ dot_static_LDADD = \
        $(top_builddir)/lib/gd/libgvgd_C.la \
                @ICONV_LIBS@ @FC_LIBS@ @FT_LIBS@ @JPEG_LIBS@ @PNG_LIBS@ @EXPAT_LIBS@ @Z_LIBS@ @LIBGEN_LIBS@ @LIBLTDL@ @SOCKET_LIBS@ @IPSEPCOLA_LIBS@ @PANGOCAIRO_LIBS@ @MATH_LIBS@
 else
+dot_static_LDADD = \
+       $(top_builddir)/plugin/dot_layout/.libs/libgvplugin_dot_layout_C.a \
+       $(top_builddir)/plugin/neato_layout/.libs/libgvplugin_neato_layout_C.a \
+       $(top_builddir)/plugin/core/.libs/libgvplugin_core_C.a \
+       $(top_builddir)/plugin/gd/.libs/libgvplugin_gd_C.a \
+       $(top_builddir)/lib/gvc/libgvc_C.la \
+       $(top_builddir)/lib/pathplan/libpathplan_C.la \
+       $(top_builddir)/lib/graph/libgraph_C.la \
+       $(top_builddir)/lib/cdt/libcdt_C.la \
+       $(top_builddir)/lib/gd/libgvgd_C.la \
+               @ICONV_LIBS@ @FC_LIBS@ @FT_LIBS@ @JPEG_LIBS@ @PNG_LIBS@ @EXPAT_LIBS@ @Z_LIBS@ @LIBGEN_LIBS@ @LIBLTDL@ @SOCKET_LIBS@ @IPSEPCOLA_LIBS@ @MATH_LIBS@
+endif
+else
 dot_static_LDADD = \
        $(top_builddir)/plugin/dot_layout/.libs/libgvplugin_dot_layout_C.a \
        $(top_builddir)/plugin/neato_layout/.libs/libgvplugin_neato_layout_C.a \