mirror of
git://git.savannah.gnu.org/libtool.git
synced 2025-01-30 14:30:15 +08:00
1707ab25bb
* cdemo/main.c: "Welcome _to_ ..." * mdemo/main.c: ditto * libltdl/configure.in: support multiple dlopening mechanisms at once * libltdl/ltdl.c: prefix system dependent functions with "sys_" to avoid symbol conflicts (libdld didn't work) * libtool.m4 (AC_LIBLTDL_*): set INCLTDL to the path of ltdl.h * ltconfig.in: check for dlopen with -ldl first
38 lines
758 B
Bash
Executable File
38 lines
758 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 --gnits --add-missing
|
|
autoconf
|
|
|
|
for sub in demo depdemo libltdl mdemo cdemo; do
|
|
cd $sub
|
|
rm -f acinclude.m4
|
|
cp ../libtool.m4 acinclude.m4
|
|
aclocal
|
|
test "$sub" = libltdl && autoheader
|
|
automake --gnits --add-missing
|
|
autoconf
|
|
cd ..
|
|
done
|
|
|
|
# fix libltdl's Makefile.in
|
|
cd libltdl
|
|
sed -e 's/chmod 777/chmod 755/g' -e '/ln \$\$d\/\$\$file/d' \
|
|
Makefile.in > Makefile.tmp
|
|
mv Makefile.tmp Makefile.in
|
|
cd ..
|
|
|
|
rm -f ltconfig ltmain.sh libtoolize
|
|
|
|
exit 0
|