33 |
: ${SED=sed} |
: ${SED=sed} |
34 |
: ${LN_S='ln -s'} |
: ${LN_S='ln -s'} |
35 |
: ${MAKEINFO=makeinfo} |
: ${MAKEINFO=makeinfo} |
36 |
|
: ${WORKING_LIBOBJ_SUPPORT=false} |
37 |
|
|
38 |
test -f ./configure.ac || { |
test -f ./configure.ac || { |
39 |
echo "bootstrap: can't find ./configure.ac, please rerun from top_srcdir" |
echo "bootstrap: can't find ./configure.ac, please rerun from top_srcdir" |
68 |
# Delete stale files from previous libtool versions. |
# Delete stale files from previous libtool versions. |
69 |
rm -f acinclude.m4 libltdl/config.h |
rm -f acinclude.m4 libltdl/config.h |
70 |
|
|
71 |
|
# Workaround for missing LIBOBJDIR support in Autoconf 2.59, Automake 1.9.6: |
72 |
|
# Have symlinks of the libobj files in top source dir. |
73 |
|
# Set WORKING_LIBOBJ_SUPPORT=: when calling bootstrap if you have fixed tools. |
74 |
|
for file in argz.c lt__dirent.c lt__strl.c; do |
75 |
|
rm -f $file |
76 |
|
$WORKING_LIBOBJ_SUPPORT || $LN_S libltdl/$file $file |
77 |
|
done |
78 |
|
|
79 |
if test -z "$reconfdirs"; then |
if test -z "$reconfdirs"; then |
80 |
reconfdirs=". libltdl `ls -1d tests/*demo tests/*demo[0-9]`" |
reconfdirs=". libltdl `ls -1d tests/*demo tests/*demo[0-9]`" |
81 |
fi |
fi |