]> git.ipfire.org Git - thirdparty/libcgroup.git/commitdiff
Disable compilation of static libraries
authorJan Safranek <jsafrane@redhat.com>
Wed, 25 Mar 2009 09:28:34 +0000 (10:28 +0100)
committerJan Safranek <jsafrane@redhat.com>
Thu, 26 Mar 2009 08:37:38 +0000 (09:37 +0100)
Disable compilation of static libraries. Static libraries (.a files) should not
be compiled by default, shared library is better for LGPL licensed code.

Still, one can enable static libraries with ./configure --enable-static

Signed-off-by: Jan Safranek <jsafrane@redhat.com>
configure.in

index 19d62540d70fa007861b3f2af34429fa06decb22..7f44ea6709ee2be85b21ed209f549dd39da70f06 100644 (file)
@@ -22,6 +22,8 @@ AM_INIT_AUTOMAKE(libcgroup, 0.34)
 # soname is libcgroup.so.X
 AC_SUBST(LIBRARY_VERSION, 1:0:34)
 
+# we do not want static libraries
+AC_DISABLE_STATIC
 
 AC_CONFIG_SRCDIR([src])
 AC_CONFIG_HEADER([config.h])