+1998-12-20 Thomas Tanner <tanner@gmx.de>
+
+ * autogen: configure demo, depdemo, libltdl and mdemo
+ * tests/mdemo-exec.test: renamed hell* to mdemo*
+ * tests/mdemo-inst.test: ditto
+
1998-12-19 Thomas Tanner <tanner@gmx.de>
* libltdl/Makefile.am: build a normal libtool library
# requires GNU autoconf and GNU automake
# this is not meant to go into the distributions
-rm -f acinclude.m4 &&
-ln -s libtool.m4 acinclude.m4 &&
-aclocal &&
-automake --gnits --add-missing &&
-autoconf &&
+rm -f acinclude.m4
+ln -s libtool.m4 acinclude.m4
+aclocal
+automake --gnits --add-missing
+autoconf
+
+for sub in demo depdemo libltdl mdemo; do
+ cd $sub
+ rm -f acinclude.m4
+ ln -s ../libtool.m4 acinclude.m4
+ aclocal
+ automake --gnits --add-missing
+ autoconf
+ cd ..
+done
+
exit 0
fi
. $srcdir/defs || exit 1
-if test -f ../mdemo/hell; then :
+if test -f ../mdemo/mdemo; then :
else
echo "You must run mdemo-make.test before running $0" 1>&2
exit 1
echo "Executing uninstalled programs in ../mdemo"
status=0
-if ../mdemo/hell.debug ../mdemo/libfoo1.la ../mdemo/libfoo2.la; then :
+if ../mdemo/mdemo.debug ../mdemo/libfoo1.la ../mdemo/libfoo2.la; then :
else
- echo "$0: cannot execute ../mdemo/hell.debug" 1>&2
+ echo "$0: cannot execute ../mdemo/mdemo.debug" 1>&2
status=1
fi
-if ../mdemo/hell ../mdemo/libfoo1.la ../mdemo/libfoo2.la; then :
+if ../mdemo/mdemo ../mdemo/libfoo1.la ../mdemo/libfoo2.la; then :
else
- echo "$0: cannot execute ../mdemo/hell" 1>&2
+ echo "$0: cannot execute ../mdemo/mdemo" 1>&2
status=1
fi
. $srcdir/defs || exit 1
# Check that things are built.
-if test -f ../mdemo/hell; then :
+if test -f ../mdemo/mdemo; then :
else
echo "You must run mdemo-make.test before $0" 1>&2
exit 1
echo "= Executing installed programs"
status=0
-if $prefix/bin/hell.debug $prefix/lib/libfoo1.la $prefix/lib/libfoo2.la; then :
+if $prefix/bin/mdemo.debug $prefix/lib/libfoo1.la $prefix/lib/libfoo2.la; then :
else
- echo "$0: cannot execute $prefix/bin/hell.debug" 1>&2
+ echo "$0: cannot execute $prefix/bin/mdemo.debug" 1>&2
status=1
fi
-if $prefix/bin/hell $prefix/lib/libfoo1.la $prefix/lib/libfoo2.la; then :
+if $prefix/bin/mdemo $prefix/lib/libfoo1.la $prefix/lib/libfoo2.la; then :
else
- echo "$0: cannot execute $prefix/bin/hell" 1>&2
+ echo "$0: cannot execute $prefix/bin/mdemo" 1>&2
# Simple check to see if they are superuser.
if test -w /; then :