mirror of
git://git.savannah.gnu.org/libtool.git
synced 2025-01-30 14:30:15 +08:00
* bootstrap: Make the fake files valid shell scripts with a
comment incase they get left around. (LIBTOOLIZE): Use a dummy script to prevent the installed `libtoolize' from trashing the distributed libtool.m4, config.guess and config.sub.
This commit is contained in:
parent
36d68ad0d6
commit
a63ccdea08
@ -1,5 +1,11 @@
|
|||||||
2003-10-15 Gary V. Vaughan <gary@gnu.org>
|
2003-10-15 Gary V. Vaughan <gary@gnu.org>
|
||||||
|
|
||||||
|
* bootstrap: Make the fake files valid shell scripts with a
|
||||||
|
comment incase they get left around.
|
||||||
|
(LIBTOOLIZE): Use a dummy script to prevent the installed
|
||||||
|
`libtoolize' from trashing the distributed libtool.m4,
|
||||||
|
config.guess and config.sub.
|
||||||
|
|
||||||
* configure.ac (AC_CONFIG_TESTDIR, AC_CONFIG_TESTFILES): Comment
|
* configure.ac (AC_CONFIG_TESTDIR, AC_CONFIG_TESTFILES): Comment
|
||||||
this out for now, the autotest testsuite rewrite is not ready
|
this out for now, the autotest testsuite rewrite is not ready
|
||||||
yet.
|
yet.
|
||||||
|
21
bootstrap
21
bootstrap
@ -1,9 +1,9 @@
|
|||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
|
|
||||||
# helps bootstrapping libtool, when checked out from CVS
|
# Helps bootstrapping libtool, when checked out from CVS
|
||||||
# requires at least GNU autoconf 2.58 and GNU automake 1.8
|
# requires at least GNU autoconf 2.58 and GNU automake 1.8.
|
||||||
|
|
||||||
# Upgrade caveat
|
# Upgrade caveat.
|
||||||
|
|
||||||
cat <<'EOF'
|
cat <<'EOF'
|
||||||
WARNING: If bootstrapping with this script fails, it may be due to an
|
WARNING: If bootstrapping with this script fails, it may be due to an
|
||||||
@ -16,12 +16,23 @@ EOF
|
|||||||
|
|
||||||
rm -rf `find . \( -name autom4te.cache -o -name libtool \) -print`
|
rm -rf `find . \( -name autom4te.cache -o -name libtool \) -print`
|
||||||
|
|
||||||
fakes="config/ltmain.sh config/libtoolize libltdl/ltmain.sh libltdl/libtoolize"
|
fakes="config/ltmain.sh config/libtoolize libltdl/ltmain.sh"
|
||||||
|
|
||||||
for file in $fakes; do
|
for file in $fakes; do
|
||||||
touch $file
|
cat > $file <<'EOF'
|
||||||
|
#! /bin/sh
|
||||||
|
# This is a dummy file for bootstrapping CVS libtool.
|
||||||
|
echo "$0: Bootstrap detected, no files installed." | sed 's,^.*/,,g'
|
||||||
|
exit 0
|
||||||
|
EOF
|
||||||
|
chmod 755 $file
|
||||||
done
|
done
|
||||||
|
|
||||||
|
# Running the installed `libtoolize' will trash the local (newer) libtool.m4
|
||||||
|
# among others. Call the dummy script we made earlier.
|
||||||
|
LIBTOOLIZE=`pwd`/config/libtoolize
|
||||||
|
export LIBTOOLIZE
|
||||||
|
|
||||||
for sub in . tests/*demo tests/*demo[1-9]; do
|
for sub in . tests/*demo tests/*demo[1-9]; do
|
||||||
autoreconf --force --verbose --install $sub
|
autoreconf --force --verbose --install $sub
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user