From: ellson Date: Tue, 18 Oct 2005 18:27:32 +0000 (+0000) Subject: always build dot_static X-Git-Tag: LAST_LIBGRAPH~32^2~7326 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2a67534fefd211ce404f5e9eb2470ef2f9f40fab;p=graphviz always build dot_static --- diff --git a/cmd/dot/Makefile.am b/cmd/dot/Makefile.am index 1e0c46895..782d05edd 100644 --- a/cmd/dot/Makefile.am +++ b/cmd/dot/Makefile.am @@ -13,11 +13,8 @@ AM_CPPFLAGS = \ -I$(top_srcdir)/lib/graph \ -I$(top_srcdir)/lib/cdt -if ENABLE_STATIC -bin_PROGRAMS = dot dot_static -else bin_PROGRAMS = dot -endif +noinst_PROGRAMS = dot_static man_MANS = dot.1 pdf_DATA = dot.pdf diff --git a/configure.ac b/configure.ac index c3c58a6ee..483aa21d3 100644 --- a/configure.ac +++ b/configure.ac @@ -88,14 +88,16 @@ fi dnl ----------------------------------- # Static binaries -AC_ARG_ENABLE(static, - [AC_HELP_STRING([--enable-codegens], [build static executable])]) -if test "x$enable_static" = "xyes"; then - AC_DEFINE(ENABLE_STATIC,1,[Define if you want statically linked executables]) -else - AC_DISABLE_STATIC -fi -AM_CONDITIONAL(ENABLE_STATIC, [test "x$enable_static" = "xyes"]) +# Always enable static as dot_static makes it so much easier to debug + +#AC_ARG_ENABLE(static, +# [AC_HELP_STRING([--enable-codegens], [build static executable])]) +#if test "x$enable_static" = "xyes"; then +# AC_DEFINE(ENABLE_STATIC,1,[Define if you want statically linked executables]) +#else +# AC_DISABLE_STATIC +#fi +#AM_CONDITIONAL(ENABLE_STATIC, [test "x$enable_static" = "xyes"]) dnl ----------------------------------- dnl checks for compilers