2 |
|
|
3 |
# helps bootstrapping libtool, when checked out from CVS |
# helps bootstrapping libtool, when checked out from CVS |
4 |
# requires GNU autoconf and GNU automake |
# requires GNU autoconf and GNU automake |
5 |
# this is not meant to go into the distributions |
|
6 |
|
: ${ACLOCAL=aclocal} |
7 |
|
: ${AUTOMAKE=automake} |
8 |
|
: ${AUTOCONF=autoconf} |
9 |
|
: ${AUTOHEADER=autoheader} |
10 |
|
|
11 |
rm -f acinclude.m4 |
rm -f acinclude.m4 |
12 |
ln -s libtool.m4 acinclude.m4 |
ln -s libtool.m4 acinclude.m4 |
14 |
touch ltconfig |
touch ltconfig |
15 |
touch ltmain.sh |
touch ltmain.sh |
16 |
touch libtoolize |
touch libtoolize |
17 |
aclocal |
${ACLOCAL} |
18 |
automake --gnu --add-missing |
${AUTOMAKE} --gnu --add-missing |
19 |
autoconf |
${AUTOCONF} |
20 |
|
|
21 |
for sub in libltdl demo depdemo mdemo cdemo tagdemo pdemo; do |
for sub in libltdl demo depdemo mdemo cdemo tagdemo pdemo; do |
22 |
cd $sub |
cd $sub |
24 |
cat ../libtool.m4 > acinclude.m4 |
cat ../libtool.m4 > acinclude.m4 |
25 |
test "$sub" = libltdl && cat ../ltdl.m4 >> acinclude.m4 |
test "$sub" = libltdl && cat ../ltdl.m4 >> acinclude.m4 |
26 |
aclocal |
aclocal |
27 |
test "$sub" = libltdl && autoheader |
test "$sub" = libltdl && ${AUTOHEADER} |
28 |
automake --gnits --add-missing |
${AUTOMAKE} --gnits --add-missing |
29 |
autoconf |
${AUTOCONF} |
30 |
cd .. |
cd .. |
31 |
done |
done |
32 |
|
|