mirror of
git://git.savannah.gnu.org/libtool.git
synced 2024-12-21 06:59:11 +08:00
a7a4a73302
* libltdl/ltdl.m4: that no longer exists. * configure.in (ACINCLUDE_M4_LIST): Removed libltdl/acinclude.m4. * Makefile.am (aclocal_macros): Added ltdl.m4. (libltdl/acinclude.m4): Concatenate libtool.m4 and ltdl.m4. * bootstrap: Likewise. * libltdl/Makefile.am (ACLOCAL): Remove the definition. Relying upon -I may lead to duplicates. * doc/libtool.texi: Suggest appending ltdl.m4 to acinclude.m4. * libtoolize.in: Check AC_LIB_LTDL version number in aclocal.m4.
32 lines
660 B
Bash
Executable File
32 lines
660 B
Bash
Executable File
#! /bin/sh
|
|
|
|
# helps bootstrapping libtool, when checked out from CVS
|
|
# requires GNU autoconf and GNU automake
|
|
# this is not meant to go into the distributions
|
|
|
|
rm -f acinclude.m4
|
|
ln -s libtool.m4 acinclude.m4
|
|
# fake the libtool scripts
|
|
touch ltconfig
|
|
touch ltmain.sh
|
|
touch libtoolize
|
|
aclocal
|
|
automake --gnu --add-missing
|
|
autoconf
|
|
|
|
for sub in libltdl demo depdemo mdemo cdemo; do
|
|
cd $sub
|
|
rm -f acinclude.m4
|
|
cat ../libtool.m4 > acinclude.m4
|
|
case "$sub" in libltdl) cat ../ltdl.m4 >> acinclude.m4 ;; esac
|
|
aclocal
|
|
test "$sub" = libltdl && autoheader
|
|
automake --gnits --add-missing
|
|
autoconf
|
|
cd ..
|
|
done
|
|
|
|
rm -f ltconfig ltmain.sh libtoolize
|
|
|
|
exit 0
|