X-Git-Url: http://developer.intra2net.com/git/?p=libt2n;a=blobdiff_plain;f=test-build-install-use;h=2ab016c42f76e07ec31ebfcd0497f52180b68430;hp=2d281a4b49576dd7c39882c646ad486ad7bf453a;hb=0c0df506c58182d36d1adb76e5b053e6486dd2c2;hpb=8211c521bbe995d6ec8c889b73f02692a4367c7d diff --git a/test-build-install-use b/test-build-install-use index 2d281a4..2ab016c 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 --force $(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