mirror of
git://git.savannah.gnu.org/libtool.git
synced 2024-12-27 07:09:26 +08:00
30 lines
593 B
Bash
Executable File
30 lines
593 B
Bash
Executable File
#! /bin/sh
|
|
|
|
# helps bootstrapping libtool, when checked out from CVS
|
|
# requires GNU autoconf and GNU automake
|
|
# this is not meant to go into the distributions
|
|
|
|
rm -f acinclude.m4
|
|
ln -s libtool.m4 acinclude.m4
|
|
# fake the libtool scripts
|
|
touch ltconfig
|
|
touch ltmain.sh
|
|
touch libtoolize
|
|
aclocal
|
|
automake --gnits --add-missing
|
|
autoconf
|
|
|
|
for sub in demo depdemo libltdl mdemo cdemo; do
|
|
cd $sub
|
|
rm -f acinclude.m4
|
|
cp ../libtool.m4 acinclude.m4
|
|
aclocal
|
|
test "$sub" = libltdl && autoheader
|
|
automake --gnits --add-missing
|
|
autoconf
|
|
cd ..
|
|
done
|
|
rm -f ltconfig ltmain.sh libtoolize
|
|
|
|
exit 0
|