]> granicus.if.org Git - graphviz/commitdiff
fix tcldot breakage on MacOS - missing libgvgd
authorellson <devnull@localhost>
Mon, 26 Jun 2006 13:52:30 +0000 (13:52 +0000)
committerellson <devnull@localhost>
Mon, 26 Jun 2006 13:52:30 +0000 (13:52 +0000)
tclpkg/tcldot/Makefile.am

index 0ba5614033a9130fed386689f16d598a5ab93ab7..5a2b003a59b3ad42b571a3435c4d3f49c12a053a 100644 (file)
@@ -44,10 +44,29 @@ endif
 
 libtcldot_la_SOURCES = tcldot.c $(CODEGENS) $(GDTCLFT)
 libtcldot_la_LDFLAGS = -no-undefined
+if WITH_LIBGD
+if WITH_MYLIBGD
 libtcldot_la_LIBADD = \
        $(top_builddir)/tclpkg/tclhandle/libtclhandle_C.la \
        $(top_builddir)/tclpkg/tclstubs/libtclstubs_C.la \
-       $(top_builddir)/lib/gvc/libgvc.la @LIBGEN_LIBS@ @LIBLTDL@
+       $(top_builddir)/lib/gvc/libgvc.la \
+        $(top_builddir)/lib/gd/libgvgd_C.la \
+       @PANGOCAIRO_LIBS@ @LIBGEN_LIBS@ @LIBLTDL@ @ICONV_LIBS@ @FC_LIBS@ @FT_LIBS@ @JPEG_LIBS@ @PNG_LIBS@ @Z_LIBS@ @MATH_LIBS@
+else
+libtcldot_la_LIBADD = \
+       $(top_builddir)/tclpkg/tclhandle/libtclhandle_C.la \
+       $(top_builddir)/tclpkg/tclstubs/libtclstubs_C.la \
+       $(top_builddir)/lib/gvc/libgvc.la \
+       @PANGOCAIRO_LIBS@ @LIBGEN_LIBS@ @LIBLTDL@ @GD_LIBS@ @ICONV_LIBS@ @FC_LIBS@ @FT_LIBS@ @JPEG_LIBS@ @PNG_LIBS@ @Z_LIBS@ @MATH_LIBS@
+endif
+else
+libtcldot_la_LIBADD = \
+       $(top_builddir)/tclpkg/tclhandle/libtclhandle_C.la \
+       $(top_builddir)/tclpkg/tclstubs/libtclstubs_C.la \
+       $(top_builddir)/lib/gvc/libgvc.la \
+       @PANGOCAIRO_LIBS@ @LIBGEN_LIBS@ @LIBLTDL@ @ICONV_LIBS@ @MATH_LIBS@
+endif
+
 
 libtcldot_builtin_la_SOURCES = \
        tcldot.c $(CODEGENS) $(GDTCLFT) \