* configure.in (AC_CONFIG_SUBDIRS): added cdemo
* Makefile.am (DIST_SUBDIRS): ditto
(ACINCLUDE_M4_LIST): ditto
* tests/Makefile.am (TESTS): added cdemo-shared.test
* tests/cdemo-static.test: disable shared libraries here
* tests/cdemo-shared.test: disable static libraries here
* doc/libtool.texi (Test descriptions): added cdemo tests
* THANKS: added Edouard G. Parmelan
1999-01-13 Edouard G. Parmelan <Edouard.Parmelan@France.NCR.COM>
* ltmain.in: fix convenience libraries when static libraries
are disables.
* cdemo/README, cdemo/Makefile.am, cdemo/configure.in, cdemo/foo.h,
cdemo/foo1.c, cdemo/main.c, cdemo/.cvsignore, test/cdemo-conf.test,
test/cdemo-make.test, test/cdemo-exec.test, test/cdemo-static.test:
new tests for convenience libraries.
* autogen, Makefile.am, test/Makefile.am: ditto.
* ltconfig.in, doc/PLATFORMS: Added support for NCR MP-RAS
(i586-ncr-sysv4.3*) with native compiler.
* README, doc/libtool.texi: Added note for NCR MP-RAS compiler.
1999-01-13 16:28:35 +08:00
|
|
|
#! /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)"
|
|
|
|
CONFIG_SITE=/dev/null ${CONFIG_SHELL-/bin/sh} $srcdir/../cdemo/configure --srcdir=$srcdir/../cdemo --prefix=$prefix || exit 1
|
|
|
|
|
1999-03-20 01:58:53 +08:00
|
|
|
if egrep '^build_old_libs=yes' libtool > /dev/null &&
|
|
|
|
egrep '^build_libtool_libs=yes' libtool > /dev/null; then :
|
|
|
|
else rm -f Makefile && exit 77
|
|
|
|
fi
|
|
|
|
|
* configure.in (AC_CONFIG_SUBDIRS): added cdemo
* Makefile.am (DIST_SUBDIRS): ditto
(ACINCLUDE_M4_LIST): ditto
* tests/Makefile.am (TESTS): added cdemo-shared.test
* tests/cdemo-static.test: disable shared libraries here
* tests/cdemo-shared.test: disable static libraries here
* doc/libtool.texi (Test descriptions): added cdemo tests
* THANKS: added Edouard G. Parmelan
1999-01-13 Edouard G. Parmelan <Edouard.Parmelan@France.NCR.COM>
* ltmain.in: fix convenience libraries when static libraries
are disables.
* cdemo/README, cdemo/Makefile.am, cdemo/configure.in, cdemo/foo.h,
cdemo/foo1.c, cdemo/main.c, cdemo/.cvsignore, test/cdemo-conf.test,
test/cdemo-make.test, test/cdemo-exec.test, test/cdemo-static.test:
new tests for convenience libraries.
* autogen, Makefile.am, test/Makefile.am: ditto.
* ltconfig.in, doc/PLATFORMS: Added support for NCR MP-RAS
(i586-ncr-sysv4.3*) with native compiler.
* README, doc/libtool.texi: Added note for NCR MP-RAS compiler.
1999-01-13 16:28:35 +08:00
|
|
|
exit 0
|