default to empty.
* tests/nonrecursive.at, tests/recursive.at,
tests/standalone.at, tests/subproject.at: Use it in
LT_AT_BOOTSTRAP or LT_AT_MAKE, so that you can optionally test
redistribution within the tests.
2005-12-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+ * tests/testsuite.at (PREPARE_TESTS): New variable `tst_dist',
+ default to empty.
+ * tests/nonrecursive.at, tests/recursive.at,
+ tests/standalone.at, tests/subproject.at: Use it in
+ LT_AT_BOOTSTRAP or LT_AT_MAKE, so that you can optionally test
+ redistribution within the tests.
+
* libltdl/m4/lt~obsolete.m4: Update documentation for aclocal
versions before 1.7. Change all macros to use AC_DEFUN instead
of AU_DEFUN.
cp ltdl/$file $file
done
-LT_AT_BOOTSTRAP([ignore], [-I ltdl/m4], [ignore], [--add-missing --copy])
+LT_AT_BOOTSTRAP([ignore], [-I ltdl/m4], [ignore], [--add-missing --copy],
+ [], [], [all $tst_dist])
AT_CHECK([test -f ltdl/libltdlc.la])
cp ltdl/$file $file
done
-LT_AT_BOOTSTRAP([ignore], [-I ltdl/m4], [ignore], [--add-missing --copy])
+LT_AT_BOOTSTRAP([ignore], [-I ltdl/m4], [ignore], [--add-missing --copy],
+ [], [], [all $tst_dist])
AT_CHECK([test -f ltdl/libltdlc.la])
done
LT_AT_BOOTSTRAP([ignore], [-I ltdl/m4], [ignore], [--add-missing --copy],
- [], [--enable-ltdl-install --prefix=$prefix], [all install])
+ [], [--enable-ltdl-install --prefix=$prefix], [all install $tst_dist])
AT_CHECK([test -f $prefix/lib/libltdl.la])
AT_CHECK([test -f $prefix/include/ltdl.h])
LT_AT_AUTORECONF([--force --verbose --install])
LT_AT_CONFIGURE
-LT_AT_MAKE
+LT_AT_MAKE([all $tst_dist])
AT_CHECK([test -f ltdl/libltdlc.la])
LT_AT_AUTORECONF([--force --verbose --install])
LT_AT_CONFIGURE
-LT_AT_MAKE
+LT_AT_MAKE([all $tst_dist])
AT_CHECK([test -f ltdl/libltdlc.la])
LT_AT_AUTORECONF([--force --verbose --install])
LT_AT_CONFIGURE([--enable-ltdl-install --prefix=$prefix])
-LT_AT_MAKE([all install])
+LT_AT_MAKE([all install $tst_dist])
AT_CHECK([test -f $prefix/lib/libltdl.la])
AT_CHECK([test -f $prefix/include/ltdl.h])
LT_AT_LIBTOOLIZE([--ltdl=.])
LT_AT_CONFIGURE
-LT_AT_MAKE
+LT_AT_MAKE([all $tst_dist])
AT_CHECK([test -f libltdlc.la])
LT_AT_LIBTOOLIZE([--copy --ltdl=.])
LT_AT_CONFIGURE
-LT_AT_MAKE
+LT_AT_MAKE([all $tst_dist])
AT_CHECK([test -f libltdlc.la])
LT_AT_LIBTOOLIZE([--copy --ltdl=.])
LT_AT_CONFIGURE([--enable-ltdl-install --prefix=$prefix])
-LT_AT_MAKE([all install])
+LT_AT_MAKE([all install $tst_dist])
AT_CHECK([test -f $prefix/lib/libltdl.la])
AT_CHECK([test -f $prefix/include/ltdl.h])
_LTDL_SETUP
-LT_AT_BOOTSTRAP([--ltdl], [-I sub/ltdl/m4], [ignore], [--add-missing --copy])
+LT_AT_BOOTSTRAP([--ltdl], [-I sub/ltdl/m4], [ignore], [--add-missing --copy],
+ [], [], [all $tst_dist])
AT_CHECK([test -f sub/ltdl/libltdlc.la])
_LTDL_SETUP
LT_AT_BOOTSTRAP([--copy --ltdl], [-I sub/ltdl/m4], [ignore],
- [--add-missing --copy])
+ [--add-missing --copy], [], [], [all $tst_dist])
AT_CHECK([test -f sub/ltdl/libltdlc.la])
LT_AT_BOOTSTRAP([--copy --ltdl], [-I sub/ltdl/m4], [ignore],
[--add-missing --copy], [], [--enable-ltdl-install --prefix=$prefix],
- [all install])
+ [all install $tst_dist])
AT_CHECK([test -f $prefix/lib/libltdl.la])
AT_CHECK([test -f $prefix/include/ltdl.h])
# 02110-1301, USA.
m4_divert_push([PREPARE_TESTS])dnl
+: ${tst_dist=""}
: ${ACLOCAL=aclocal}
: ${AUTOHEADER=autoheader}
: ${AUTOCONF=autoconf}