mirror of
git://git.savannah.gnu.org/libtool.git
synced 2024-12-27 07:09:26 +08:00
2e68bf5aec
libtool.m4, in last Alexandre Oliva's change to it (sysv4*, ncr): pass all library dependencies * ltmain.in (dependency_libs, -R): use `dep' instead of `arg' to iterate, otherwise we'd overwrite `arg' (convenience, old_libs): if --disable-shared, convenience libraries are just old archives, as .lo's are of no use * tests/cdemo-static.test: print --disable-shared here
31 lines
857 B
Bash
Executable File
31 lines
857 B
Bash
Executable File
#! /bin/sh
|
|
# cdemo-conf.test - try configuring the ../cdemo 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
|
|
|
|
# Maybe we have a VPATH build, in which case, create a new subdir.
|
|
test -d ../cdemo || mkdir ../cdemo
|
|
|
|
# Change to our build directory.
|
|
cd ../cdemo || exit 1
|
|
|
|
# Possibly clean up the distribution.
|
|
if test -f Makefile; then
|
|
echo "= Running $make distclean in ../demo"
|
|
$make distclean
|
|
fi
|
|
rm -f config.cache
|
|
|
|
# Configure the demonstration.
|
|
echo "= Configuring in ../cdemo (prefix=$prefix) with --disable-shared"
|
|
CONFIG_SITE=/dev/null ${CONFIG_SHELL-/bin/sh} $srcdir/../cdemo/configure --srcdir=$srcdir/../cdemo --prefix=$prefix --disable-shared || exit 1
|
|
|
|
exit 0
|