[PATCH] vzctl/configure.ac: Disable build of static libraries by default [message #10504] |
Tue, 20 February 2007 00:21  |
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  |
|
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
>
> ------------------------------------------------------------ ------------
>
|
|
|