]> granicus.if.org Git - graphviz/commitdiff
always build dot_static
authorellson <devnull@localhost>
Tue, 18 Oct 2005 18:27:32 +0000 (18:27 +0000)
committerellson <devnull@localhost>
Tue, 18 Oct 2005 18:27:32 +0000 (18:27 +0000)
cmd/dot/Makefile.am
configure.ac

index 1e0c46895cccf1d17c668055620aaba2b8c8e341..782d05edd2f6448b220ffea91a16ba40fa790911 100644 (file)
@@ -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
 
index c3c58a6eea4d7f59c8eaa3e8094ced7e83f335b1..483aa21d32b13b58ae6b4c7f19b13dbaf21eae6c 100644 (file)
@@ -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