]> granicus.if.org Git - graphviz/commitdiff
don't try to use ${SWIG} if ./configure didn't find it
authorellson <devnull@localhost>
Wed, 12 Jul 2006 17:31:49 +0000 (17:31 +0000)
committerellson <devnull@localhost>
Wed, 12 Jul 2006 17:31:49 +0000 (17:31 +0000)
tclpkg/gv/Makefile.am

index 6b18e13151c119d6aaf3a0b62d177863ab4ac602..3216926b96c618c48e3cf4e9fc0c3bb337cf447a 100644 (file)
@@ -118,6 +118,7 @@ gv_tcl.cpp $(TCL_hdr): gv.i
 pkginclude_DATA = gv.i gv.cpp
 pkglib_LTLIBRARIES = 
 TESTS =
+if WITH_SWIG
 if WITH_SHARP
 pkgsharp_DATA = $(SHARP_hdr) gv_sharp.man
 pkgsharp_LTLIBRARIES = libgv_sharp.la
@@ -178,6 +179,7 @@ all-local: pkgIndex.tcl
 pkgIndex.tcl: libgv_tcl.la
        sh $(top_srcdir)/tclpkg/mkpkgindex.sh libgv_tcl.la gv $(VERSION)
 endif
+endif
 
 gv_sharp.man gv_guile.man gv_io.man gv_java.man gv_lua.man \
 gv_ocaml.man gv_perl.man gv_php.man gv_python.man gv_ruby.man \