X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=autogen.sh;h=cf1f0a2e23360a104d44d5faf08dd869a36cb691;hp=be40eb8d3de6c08ecd9d0cc5eb87a4f213ae1217;hb=35287d4fef8dc61a10966091ff662eeb9444f87a;hpb=8959f7a054cfc3376f7d74de2b9da5edb0a7253e diff --git a/autogen.sh b/autogen.sh index be40eb8d..cf1f0a2e 100755 --- a/autogen.sh +++ b/autogen.sh @@ -23,6 +23,14 @@ PROG=GiNaC DIE=1 } +(libtoolize --version) < /dev/null > /dev/null 2>&1 || { + echo + echo "You must have libtool installed to compile $PROG." + echo "Get ftp://ftp.gnu.org/pub/gnu/libtool-1.4.tar.gz" + echo "(or a newer version if it is available)" + DIE=1 +} + if test "$DIE" -eq 1; then exit 1 fi @@ -38,7 +46,7 @@ do (cd $dir; \ aclocalinclude="$ACLOCAL_FLAGS"; \ aclocal $aclocalinclude; \ - autoheader; automake -a; autoconf) + autoheader; libtoolize -c; automake -a -c; autoconf) done ./configure "$@"