X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=autogen.sh;h=902181d8209f452e45ad632324626ac21154a749;hb=2a2ee0be70b99239f2cf99ea5b663eda965599f8;hp=1514221467493e9f8e1142a5d564ec0ad9c32063;hpb=35e5f1fd14f04d201e39c85f7772579d21f4bfdb;p=catta diff --git a/autogen.sh b/autogen.sh index 1514221..902181d 100755 --- a/autogen.sh +++ b/autogen.sh @@ -24,7 +24,7 @@ run_versioned() { local P local V - V=$(echo "$VERSION" | sed -e 's,\.,,g') + V=$(echo "$2" | sed -e 's,\.,,g') if type -p "$1$V" &> /dev/null ; then P="$1$V" @@ -47,10 +47,12 @@ else rm -rf autom4te.cache rm -f config.cache - libtoolize -c --force + test "x$LIBTOOLIZE" = "x" && LIBTOOLIZE=libtoolize + + "$LIBTOOLIZE" -c --force run_versioned aclocal "$VERSION" -I common - autoconf -Wall - autoheader + run_versioned autoconf 2.59 -Wall + run_versioned autoheader 2.59 run_versioned automake "$VERSION" -a -c --foreign if test "x$NOCONFIGURE" = "x"; then