X-Git-Url: http://developer.intra2net.com/git/?a=blobdiff_plain;f=test-build-install-use;h=3c542052e446981afe6e3aa8b7a8336fbe64e720;hb=5abe4a1f9289fece6ac1855f1fe4d105c1597020;hp=2d281a4b49576dd7c39882c646ad486ad7bf453a;hpb=8211c521bbe995d6ec8c889b73f02692a4367c7d;p=libt2n diff --git a/test-build-install-use b/test-build-install-use index 2d281a4..3c54205 100755 --- a/test-build-install-use +++ b/test-build-install-use @@ -28,7 +28,10 @@ function prepend() { } function build() { - autoreconf -f -i $@ + # newer autoreconf (autoconf) versions don't have the -M option and no replacement :-( + # todo: this IMHO should be filed as bug against autoconf + # ugly workaround + autoreconf -f -i $@ || (autoreconf -f -i && aclocal $(echo "$@"|sed 's,-M,-I,')) ./configure --prefix="$INSTPREFIX" if $DOCLEAN; then $MAKE distclean @@ -41,8 +44,6 @@ function build() { $MAKE $MAKE clean $MAKE distcheck - else - $MAKE dist fi $MAKE install