mirror of
git://git.savannah.gnu.org/libtool.git
synced 2024-12-03 06:30:13 +08:00
40462e712c
* ltmain.in: Provide absolute paths for dlopen and dlpreopen files in generating uninstalled libtool libraries. * mdemo2/main.c, mdemo2/Makefile.am, mdemo2/README, mdemo2/configure.ac, mdemo2/.cvsignore, mdemo/mlib.c, tests/mdemo2-conf.test, tests/mdemo2-exec.test, tests/mdemo2-make.test: New files for testing above feature. * configure.ac, bootstrap, tests/Makefile.am: Accomodate new test directory. * mdemo/Makefile.am: Build libmlib.la for mdemo2 tests.
32 lines
662 B
Bash
Executable File
32 lines
662 B
Bash
Executable File
#! /bin/sh
|
|
# mdemo2-make.test - try building in the ../mdemo2 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
|
|
|
|
if test -f ../mdemo2/Makefile; then :
|
|
else
|
|
echo "You must run mdemo2-conf.test before running $0" 1>&2
|
|
exit 77
|
|
fi
|
|
|
|
if test -f ../mdemo/libmlib.la; then :
|
|
else
|
|
echo "You must run mdemo-make.test before running $0" 1>&2
|
|
exit 77
|
|
fi
|
|
|
|
# Change to our build directory.
|
|
cd ../mdemo2 || exit 1
|
|
|
|
# Do the actual build.
|
|
echo "Making in ../mdemo2"
|
|
$make || exit 1
|
|
exit 0
|