libtool/tests/ltdl-inst.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

27 lines
575 B
Bash

#! /bin/sh
# ltdl-inst.test - try installing from the ../libltdl subdirectory
# Test script header.
need_prefix=yes
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
# Change to our build directory.
cd ../libltdl || exit 1
echo "= Running $make install in ../libltdl"
$make install || exit 1
exit 0