OpenVZ Forum


Home » Mailing lists » Devel » [PATCH] vzctl/configure.ac: Disable build of static libraries by default
[PATCH] vzctl/configure.ac: Disable build of static libraries by default [message #10504] Tue, 20 February 2007 00:21 Go to previous message
ldv is currently offline  ldv
Messages: 24
Registered: June 2006
Junior Member
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@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
 
Read Message
Read Message
Previous Topic: [PATCH] mm: be sure to trim blocks after direct_io has failed
Next Topic: [PATCH 2/2] src/lib/config.c: Fix "cast discards qualifiers from pointer target type" warn
Goto Forum:
  


Current Time: Sat Sep 20 11:12:06 GMT 2025

Total time taken to generate the page: 0.05644 seconds