From 855d497f29d2b317b7137e7faaaadfd8e49e3f27 Mon Sep 17 00:00:00 2001 From: ellson Date: Mon, 26 Jun 2006 13:52:30 +0000 Subject: [PATCH] fix tcldot breakage on MacOS - missing libgvgd --- tclpkg/tcldot/Makefile.am | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/tclpkg/tcldot/Makefile.am b/tclpkg/tcldot/Makefile.am index 0ba561403..5a2b003a5 100644 --- a/tclpkg/tcldot/Makefile.am +++ b/tclpkg/tcldot/Makefile.am @@ -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) \ -- 2.40.0