From: John Ellson Date: Fri, 29 Jun 2012 17:49:59 +0000 (-0400) Subject: improve './configure --without-x' don't install dotty or lneato X-Git-Tag: LAST_LIBGRAPH~32^2~391^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7773307e9dcb82fdf8f6aa7cc260945a2e8cd82f;p=graphviz improve './configure --without-x' don't install dotty or lneato --- diff --git a/cmd/dotty/Makefile.am b/cmd/dotty/Makefile.am index 45fdc1210..550730f27 100644 --- a/cmd/dotty/Makefile.am +++ b/cmd/dotty/Makefile.am @@ -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 diff --git a/cmd/lneato/Makefile.am b/cmd/lneato/Makefile.am index 39fd5643c..15a91fb2f 100644 --- a/cmd/lneato/Makefile.am +++ b/cmd/lneato/Makefile.am @@ -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 diff --git a/configure.ac b/configure.ac index bb366065a..115dcf2bc 100644 --- a/configure.ac +++ b/configure.ac @@ -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)"