]> git.proxmox.com Git - mirror_lxc.git/blobdiff - Makefile.am
file_utils.h: fix wrong licensing
[mirror_lxc.git] / Makefile.am
index 83714cba7896939af6a82d1649a271e26872d6ee..dd892c820cf0ef85cfcd3d065882a3ca2cd9e71b 100644 (file)
@@ -2,6 +2,7 @@
 
 ACLOCAL_AMFLAGS = -I config
 
+LIBTOOL_DEPS = @LIBTOOL_DEPS@
 SUBDIRS = config src templates doc hooks
 DIST_SUBDIRS = config src templates doc hooks
 EXTRA_DIST = \
@@ -12,17 +13,12 @@ EXTRA_DIST = \
 
 RPMARGS =
 
-if ENABLE_LUA
-RPMARGS += --with lua
-endif
-
-if ENABLE_PYTHON
-RPMARGS += --with python
-endif
-
 pcdatadir = $(libdir)/pkgconfig
 pcdata_DATA = lxc.pc
 
+libtool: $(LIBTOOL_DEPS)
+       $(SHELL) ./config.status libtool
+
 install-data-local:
        $(MKDIR_P) $(DESTDIR)$(LXCPATH)
        $(MKDIR_P) $(DESTDIR)$(localstatedir)/cache/lxc