diff options
author | Jan Safranek <jsafrane@redhat.com> | 2009-03-25 10:28:34 +0100 |
---|---|---|
committer | Jan Safranek <jsafrane@redhat.com> | 2009-03-26 09:37:38 +0100 |
commit | fe97107b28c97e312206ea8dc961b3d0aee48f4c (patch) | |
tree | 73e0faf5091fe91557780e007667b272996ed4f4 /configure.in | |
parent | eb659d705d43d39eb01542df39e6747de57248b5 (diff) | |
download | libcg-fe97107b28c97e312206ea8dc961b3d0aee48f4c.tar.gz libcg-fe97107b28c97e312206ea8dc961b3d0aee48f4c.tar.xz libcg-fe97107b28c97e312206ea8dc961b3d0aee48f4c.zip |
Disable compilation of static libraries
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>
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.in b/configure.in index 19d6254..7f44ea6 100644 --- a/configure.in +++ b/configure.in @@ -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]) |