X-Git-Url: http://developer.intra2net.com/git/?p=libt2n;a=blobdiff_plain;f=test-build-install-use;h=42b5b730952efd78f1230059f265a28da4a26cce;hp=2ab016c42f76e07ec31ebfcd0497f52180b68430;hb=3a86fe9bda6ca91f8378fdf4c27adad408b4b0e5;hpb=0c0df506c58182d36d1adb76e5b053e6486dd2c2 diff --git a/test-build-install-use b/test-build-install-use index 2ab016c..42b5b73 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,10 +28,11 @@ function prepend() { } function build() { - # newer autoreconf (autoconf) versions don't have the -M option and no replacement :-( + # 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 $@ || (autoreconf -f -i && aclocal --force $(echo "$@"|sed 's,-M,-I,')) +w 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