mirror of
git://git.savannah.gnu.org/libtool.git
synced 2025-01-30 14:30:15 +08:00
e76ee47bce
* 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
27 lines
575 B
Bash
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
|