[Devel] [PATCH] vzctl/configure.ac: Disable build of static libraries by default

Dmitry V. Levin ldv at altlinux.org
Mon Feb 19 16:21:09 PST 2007


Change the default behaviour for AC_PROG_LIBTOOL to disable
build of static libraries.  The user may still override this
default by specifying --enable-static.

Signed-off-by: Dmitry V. Levin <ldv at altlinux.org>
---
 configure.ac |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/configure.ac b/configure.ac
index 2413fb0..76c5956 100644
--- a/configure.ac
+++ b/configure.ac
@@ -26,6 +26,9 @@ AC_CANONICAL_TARGET
 # Automake
 AM_INIT_AUTOMAKE([1.9 foreign dist-bzip2])
 
+# Disable build of static libraries by default.
+AC_DISABLE_STATIC
+
 # Checks for programs.
 AC_PROG_CC
 AC_PROG_LIBTOOL
-- 
1.5.0.1.GIT
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.openvz.org/pipermail/devel/attachments/20070220/b279cb2a/attachment-0001.sig>


More information about the Devel mailing list