5 |
|
|
6 |
file=Makefile.in |
file=Makefile.in |
7 |
|
|
8 |
|
: ${ACLOCAL=aclocal} |
9 |
|
: ${AUTOMAKE=automake} |
10 |
|
: ${AUTOCONF=autoconf} |
11 |
|
: ${AUTOHEADER=autoheader} |
12 |
|
|
13 |
rm -f acinclude.m4 |
rm -f acinclude.m4 |
14 |
ln -s libtool.m4 acinclude.m4 |
ln -s libtool.m4 acinclude.m4 |
15 |
# fake the libtool scripts |
# fake the libtool scripts |
16 |
touch ltmain.sh |
touch ltmain.sh |
17 |
touch ltconfig |
touch ltconfig |
18 |
touch libtoolize |
touch libtoolize |
19 |
aclocal |
$ACLOCAL |
20 |
automake --gnu --add-missing --copy |
$AUTOMAKE --gnu --add-missing --copy |
21 |
autoconf |
$AUTOCONF |
22 |
|
|
23 |
for sub in libltdl demo depdemo mdemo cdemo; do |
for sub in libltdl demo depdemo mdemo cdemo; do |
24 |
cd $sub |
cd $sub |
25 |
rm -f acinclude.m4 Makefile |
rm -f acinclude.m4 Makefile |
26 |
cat ../libtool.m4 > acinclude.m4 |
cat ../libtool.m4 > acinclude.m4 |
27 |
test "$sub" = libltdl && cat ../ltdl.m4 >> acinclude.m4 |
test "$sub" = libltdl && cat ../ltdl.m4 >> acinclude.m4 |
28 |
aclocal |
$ACLOCAL |
29 |
test "$sub" = libltdl && autoheader |
test "$sub" = libltdl && $AUTOHEADER |
30 |
automake --gnits --add-missing |
$AUTOMAKE --gnits --add-missing |
31 |
autoconf |
$AUTOCONF |
32 |
cd .. |
cd .. |
33 |
done |
done |
34 |
|
|