]> granicus.if.org Git - graphviz/commitdiff
if using plugins, don't bother installing libtcldot_builtin
authorglenlow <devnull@localhost>
Mon, 5 May 2008 15:32:38 +0000 (15:32 +0000)
committerglenlow <devnull@localhost>
Mon, 5 May 2008 15:32:38 +0000 (15:32 +0000)
tclpkg/tcldot/Makefile.am

index 0186eb86777108511bd14f9c1de0d4690f121101..27d4f53bf86a60eb34d364f06a78c91a8f9fc104 100644 (file)
@@ -28,6 +28,17 @@ html = tcldot.html
 noinst_HEADERS = tcldot.h
 if WITH_TCL
 pkgtcl_LTLIBRARIES = libtcldot.la libtcldot_builtin.la
+# if using plugins, don't bother installing libtcldot_builtin
+if ENABLE_SHARED
+if ENABLE_LTDL
+noinst_LTLIBRARIES = libtcldot_builtin.la
+else
+pkgtcl_LTLIBRARIES += libtcldot_builtin.la
+endif
+else
+pkgtcl_LTLIBRARIES += libtcldot_builtin.la
+endif
+
 man_MANS = $(man)
 pdf_DATA = $(pdf)
 html_DATA = $(html)