mirror of
git://git.savannah.gnu.org/libtool.git
synced 2024-12-09 06:40:24 +08:00
82e0d53b7a
autoconf, autoheader from the environment.
38 lines
749 B
Bash
Executable File
38 lines
749 B
Bash
Executable File
#! /bin/sh
|
|
|
|
# helps bootstrapping libtool, when checked out from CVS
|
|
# requires GNU autoconf and GNU automake
|
|
|
|
file=Makefile.in
|
|
|
|
: ${ACLOCAL=aclocal}
|
|
: ${AUTOMAKE=automake}
|
|
: ${AUTOCONF=autoconf}
|
|
: ${AUTOHEADER=autoheader}
|
|
|
|
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
|