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 next 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
Re: [PATCH] vzctl/configure.ac: Disable build of static libraries by default [message #10765 is a reply to message #10504] Wed, 28 February 2007 14:18 Go to previous message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

Thanks, makes sense, committed.
http://git.openvz.org/?p=vzctl;a=commit;h=87a40f6f64b58abc1bcb053ebc5116f18e0b225c

Dmitry V. Levin wrote:
> 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
>
> ------------------------------------------------------------ ------------
>
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: Wed Jul 30 08:51:41 GMT 2025

Total time taken to generate the page: 0.05183 seconds