]> git.proxmox.com Git - mirror_lxc.git/blobdiff - autogen.sh
cgroup: check for non-empty conf
[mirror_lxc.git] / autogen.sh
index 0e0595c87ec5bbb4036e2be9ed72463490b75320..4e9f1d8b32fc575d2609cf0083d5b827df07347d 100755 (executable)
@@ -1,12 +1,31 @@
 #!/bin/sh
+#
+# lxc: linux Container library
+#
+# (C) Copyright IBM Corp. 2007, 2008
+#
+# Authors:
+# Daniel Lezcano <daniel.lezcano at free.fr>
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
 set -x
 
 test -d autom4te.cache && rm -rf autom4te.cache
-test -d m4 || mkdir m4
-ACLOCAL_AMFLAGS="-I m4 -I config $ACLOCAL_AMFLAGS"
-libtoolize --force --copy
-aclocal $ACLOCAL_AMFLAGS || exit 1
+libtoolize || exit 1
+aclocal -I config || exit 1
 autoheader || exit 1
 autoconf || exit 1
 automake --add-missing --copy || exit 1