X-Git-Url: http://developer.intra2net.com/git/?p=libt2n;a=blobdiff_plain;f=test-build-install-use;h=b45957e2d6fbc383b0fb2e6e0a644a12757781ae;hp=db3e5d680ffdba0abf0d0eba7e5e62c394e385e0;hb=1e2463ad9deaa43ac766da4e5bb992535d403130;hpb=de51cfa845afa3d350878365742e64b436cfff08 diff --git a/test-build-install-use b/test-build-install-use index db3e5d6..b45957e 100755 --- a/test-build-install-use +++ b/test-build-install-use @@ -17,7 +17,7 @@ mkdir "$INSTDIR" mkdir "$BUILDDIR" INSTPREFIX="$INSTDIR/usr" MAKE="dmake" -DOCLEAN="false" +DOCLEAN="true" function prepend() { if [ "x$1" = "x" ]; then @@ -28,7 +28,11 @@ function prepend() { } function build() { - autoreconf -f -i $@ + # newer autoreconf (autoconf) versions don't have the -M option and no real replacement :-( + # (you can only set ACLOCAL_AMFLAGS in the Makefile.am) + # todo: this IMHO should be filed as bug against autoconf + # ugly workaround + autoreconf -f -i $@ || { aclocal --force $(echo "$@"|sed 's,-M,-I,') && libtoolize --copy --force && autoconf --force && automake --add-missing --copy --force-missing; } ./configure --prefix="$INSTPREFIX" if $DOCLEAN; then $MAKE distclean