mirror of
git://git.savannah.gnu.org/libtool.git
synced 2024-11-27 06:09:57 +08:00
62454bbcea
configure when libtool.m4 is newer than Makefile.
33 lines
647 B
Bash
Executable File
33 lines
647 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
|
|
autoconf
|
|
|
|
for sub in libltdl demo depdemo mdemo cdemo; do
|
|
cd $sub
|
|
rm -f acinclude.m4 Makefile
|
|
cat ../libtool.m4 > acinclude.m4
|
|
test "$sub" = libltdl && cat ../ltdl.m4 >> acinclude.m4
|
|
aclocal
|
|
test "$sub" = libltdl && autoheader
|
|
automake --gnits --add-missing
|
|
autoconf
|
|
cd ..
|
|
done
|
|
|
|
rm -f ltmain.sh ltconfig libtoolize Makefile
|
|
|
|
exit 0
|