mirror of
git://git.savannah.gnu.org/libtool.git
synced 2024-11-21 01:40:57 +08:00
404e0dbcab
stock automake (i.e. without the README patch applied), references to ltconfig are manually removed from the generated Makefile.in files.
35 lines
787 B
Bash
Executable File
35 lines
787 B
Bash
Executable File
#! /bin/sh
|
|
|
|
# helps bootstrapping libtool, when checked out from CVS
|
|
# requires GNU autoconf and GNU automake
|
|
|
|
file=Makefile.in
|
|
|
|
rm -f acinclude.m4
|
|
ln -s libtool.m4 acinclude.m4
|
|
# fake the libtool scripts
|
|
touch ltmain.sh
|
|
touch ltconfig
|
|
touch libtoolize
|
|
aclocal
|
|
automake --gnu --add-missing --copy
|
|
sed 's/ ltconfig//' < $file > ${file}T && mv ${file}T $file || rm -f ${file}T
|
|
autoconf
|
|
|
|
for sub in libltdl demo depdemo mdemo cdemo; do
|
|
cd $sub
|
|
rm -f acinclude.m4
|
|
cat ../libtool.m4 > acinclude.m4
|
|
test "$sub" = libltdl && cat ../ltdl.m4 >> acinclude.m4
|
|
aclocal
|
|
test "$sub" = libltdl && autoheader
|
|
automake --gnits --add-missing
|
|
sed 's/ ltconfig//' < $file > ${file}T && mv ${file}T $file || rm -f ${file}T
|
|
autoconf
|
|
cd ..
|
|
done
|
|
|
|
rm -f ltmain.sh ltconfig libtoolize
|
|
|
|
exit 0
|