]> granicus.if.org Git - graphviz/commitdiff
improve './configure --without-x' don't install dotty or lneato
authorJohn Ellson <ellson@research.att.com>
Fri, 29 Jun 2012 17:49:59 +0000 (13:49 -0400)
committerJohn Ellson <ellson@research.att.com>
Fri, 29 Jun 2012 17:49:59 +0000 (13:49 -0400)
cmd/dotty/Makefile.am
cmd/lneato/Makefile.am
configure.ac

index 45fdc12107569a2b614dfb1e6d8aa0133358ba45..550730f2781f89f956dde5a5e4e86cae7f940694 100644 (file)
@@ -7,6 +7,7 @@ pdf = dotty.1.pdf
 leftydir = $(pkgdatadir)/lefty
 pdfdir = $(pkgdatadir)/doc/pdf
 
+if WITH_X
 man_MANS = $(man)
 pdf_DATA = $(pdf)
 if WITH_WIN32
@@ -16,6 +17,7 @@ bin_SCRIPTS = dotty
 endif
 lefty_DATA = dotty.lefty dotty_draw.lefty dotty_edit.lefty \
         dotty_layout.lefty dotty_ui.lefty
+endif
 
 if WITH_WIN32
 dotty_SOURCES = mswin32/dotty.c
index 39fd5643c690d7e4df7406d5fee3c85c18629c47..15a91fb2f8e81079b83ca95599816447a3690d78 100644 (file)
@@ -6,6 +6,7 @@ pdfdir = $(pkgdatadir)/doc/pdf
 man = lneato.1
 pdf = lneato.1.pdf
 
+if WITH_X
 man_MANS = $(man)
 pdf_DATA = $(pdf)
 if WITH_WIN32
@@ -13,6 +14,7 @@ bin_PROGRAMS = lneato
 else
 bin_SCRIPTS = lneato
 endif
+endif
 
 AM_CFLAGS = -DLNEATO
 if WITH_WIN32
index bb366065a415c80b01184c073472067996d89df2..115dcf2bc361c10a31ca875dd1871134c778735f 100644 (file)
@@ -3244,6 +3244,7 @@ echo "  sfdp:          $use_sfdp"
 echo "  shared:        $use_shared"
 echo "  static:        $use_static"
 echo "  qt:            $use_qt"
+echo "  x:             $use_xlib"
 echo ""
 echo "commands:"
 echo "  dot:           Yes (always enabled)"