summaryrefslogtreecommitdiffstats
path: root/autogen.sh
diff options
context:
space:
mode:
authorKarel Zak2009-02-16 10:40:25 +0100
committerKarel Zak2009-02-16 10:40:25 +0100
commit60a4edd66200be829560dce0d41a02fc70cef4f5 (patch)
treef8a7acf33a0d8f0db12b6ce6eb2eda3faebe6eaf /autogen.sh
parentbuild-sys: libtoolize mount/Makefile.am (diff)
downloadkernel-qcow2-util-linux-60a4edd66200be829560dce0d41a02fc70cef4f5.tar.gz
kernel-qcow2-util-linux-60a4edd66200be829560dce0d41a02fc70cef4f5.tar.xz
kernel-qcow2-util-linux-60a4edd66200be829560dce0d41a02fc70cef4f5.zip
build-sys: add temporary libtool *.m4 stuff
We require libtool-2 (because old 1.5.x is crap). Unfortunately, libtool-2 is still not available in many Linux distributions -- now I see it in unstable distributions only. The painless way how to resolve this problem is to __temporary__ commit generated libtool-2 stuff to our repository. Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh28
1 files changed, 14 insertions, 14 deletions
diff --git a/autogen.sh b/autogen.sh
index f597b7147..61b7bd96b 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -29,13 +29,13 @@ DIE=0
DIE=1
}
-(libtool --version) < /dev/null > /dev/null 2>&1 || {
- echo
- echo "You must have libtool-2 installed to generate util-linux-ng build system."
- echo "Download the appropriate package for your distribution,"
- echo "or see http://www.gnu.org/software/libtool"
- DIE=1
-}
+#(libtool --version) < /dev/null > /dev/null 2>&1 || {
+# echo
+# echo "You must have libtool-2 installed to generate util-linux-ng build system."
+# echo "Download the appropriate package for your distribution,"
+# echo "or see http://www.gnu.org/software/libtool"
+# DIE=1
+#}
(automake --version) < /dev/null > /dev/null 2>&1 || {
echo
@@ -62,11 +62,11 @@ test -f mount/mount.c || {
exit 1
}
-ltver=$(libtoolize --version | awk '/^libtoolize/ { print $4 }')
-test ${ltver##2.} == "$ltver" && {
- echo "You must have libtool version >= 2.x.x, but you have $ltver."
- exit 1
-}
+#ltver=$(libtoolize --version | awk '/^libtoolize/ { print $4 }')
+#test ${ltver##2.} == "$ltver" && {
+# echo "You must have libtool version >= 2.x.x, but you have $ltver."
+# exit 1
+#}
echo
echo "Generate build-system by:"
@@ -75,12 +75,12 @@ echo " aclocal: $(aclocal --version | head -1)"
echo " autoconf: $(autoconf --version | head -1)"
echo " autoheader: $(autoheader --version | head -1)"
echo " automake: $(automake --version | head -1)"
-echo " libtoolize: $(libtoolize --version | head -1)"
+#echo " libtoolize: $(libtoolize --version | head -1)"
echo
set -e
autopoint --force $AP_OPTS
-libtoolize --force --copy $LT_OPTS
+#libtoolize --force --copy $LT_OPTS
aclocal -I m4 $AL_OPTS
autoconf $AC_OPTS
autoheader $AH_OPTS