libtool/tests/mdemo-make.test
Alexandre Oliva e76ee47bce * NEWS: -module and libtldl
* mdemo/Makefile.am: ../libltdl is within $(srcdir)

	* libltdl, Makefile.am: added libltdl (a system independent
	dlopen wrapper library extracted from mdemo)
	* ltmain.in: added -module flag for compiling and linking of
	modules. If enabled it compiles always both .o (with -DLT_RENAME)
	and .lo files
	* mdemo: modified mdemo to work with libltdl
	* tests/ltdl*: added tests for libltdl
1998-11-18 07:29:36 +00:00

33 lines
678 B
Bash
Executable File

#! /bin/sh
# mdemo-make.test - try building in the ../mdemo subdirectory
# Test script header.
need_prefix=no
if test -z "$srcdir"; then
srcdir=`echo "$0" | sed 's%/[^/]*$%%'`
test "$srcdir" = "$0" && srcdir=.
test "${VERBOSE+set}" != "set" && VERBOSE=yes
fi
. $srcdir/defs || exit 1
# Check that things are built.
if test -f ../libltdl/libltdl.la; then :
else
echo "You must run ltdl-make.test before $0" 1>&2
exit 1
fi
if test -f ../mdemo/Makefile; then :
else
echo "You must run mdemo-conf.test before running $0" 1>&2
exit 1
fi
# Change to our build directory.
cd ../mdemo || exit 1
# Do the actual build.
echo "Making in ../mdemo"
$make || exit 1
exit 0