24 |
# better features, and configure.ac documents oldest version of each |
# better features, and configure.ac documents oldest version of each |
25 |
# required for bootstrap (AC_PREREQ, and AM_INIT_AUTOMAKE). |
# required for bootstrap (AC_PREREQ, and AM_INIT_AUTOMAKE). |
26 |
|
|
27 |
|
SHELL=${CONFIG_SHELL-/bin/sh} |
28 |
|
export SHELL |
29 |
: ${AUTORECONF=autoreconf} |
: ${AUTORECONF=autoreconf} |
30 |
: ${AUTOM4TE=autom4te} |
: ${AUTOM4TE=autom4te} |
31 |
: ${MAKE=make} |
: ${MAKE=make} |
65 |
WARNING: `lt~obsolete.m4'). After that, retry this bootstrap. |
WARNING: `lt~obsolete.m4'). After that, retry this bootstrap. |
66 |
EOF |
EOF |
67 |
|
|
68 |
rm -rf `find . -name '{arch}' -prune -o \( -name autom4te.cache -o -name libtool \) -print` |
find . -name '{arch}' -prune -o \( -name autom4te.cache -o -name libtool \) \ |
69 |
|
-depth -exec rm -rf \{\} \; |
70 |
|
|
71 |
# Delete stale files from previous libtool versions. |
# Delete stale files from previous libtool versions. |
72 |
rm -f acinclude.m4 libltdl/config.h |
rm -f acinclude.m4 libltdl/config.h |
98 |
# configure, and ltversion.m4 to generate configure in the first place: |
# configure, and ltversion.m4 to generate configure in the first place: |
99 |
rm -f $auxdir/ltmain.sh $m4dir/ltversion.m4 |
rm -f $auxdir/ltmain.sh $m4dir/ltversion.m4 |
100 |
|
|
101 |
$MAKE $auxdir/ltmain.sh $m4dir/ltversion.m4 ./doc/notes.txt \ |
$MAKE ./$auxdir/ltmain.sh ./$m4dir/ltversion.m4 ./doc/notes.txt \ |
102 |
./libtoolize.in ./tests/defs.in ./tests/package.m4 \ |
./libtoolize.in ./tests/defs.in ./tests/package.m4 \ |
103 |
./tests/testsuite ./libltdl/Makefile.am \ |
./tests/testsuite ./libltdl/Makefile.am \ |
104 |
srcdir=. top_srcdir=. PACKAGE="$2" VERSION="$3" \ |
srcdir=. top_srcdir=. PACKAGE="$2" VERSION="$3" \ |
105 |
PACKAGE_BUGREPORT="bug-$2@gnu.org" M4SH="$AUTOM4TE --language=m4sh" \ |
PACKAGE_BUGREPORT="bug-$2@gnu.org" M4SH="$AUTOM4TE --language=m4sh" \ |
106 |
AUTOTEST="$AUTOM4TE --language=autotest" SED="$SED" MAKEINFO="$MAKEINFO" |
AUTOTEST="$AUTOM4TE --language=autotest" SED="$SED" MAKEINFO="$MAKEINFO" |
107 |
|
|
108 |
test -f clcommit.m4sh && $MAKE -f Makefile.maint commit \ |
test -f clcommit.m4sh && $MAKE -f Makefile.maint ./commit \ |
109 |
srcdir=. top_srcdir=. PACKAGE="$2" VERSION="$3" M4SH="$AUTOM4TE -l m4sh" \ |
srcdir=. top_srcdir=. PACKAGE="$2" VERSION="$3" M4SH="$AUTOM4TE -l m4sh" \ |
110 |
SED="$SED" GREP="$GREP" FGREP="$FGREP" EGREP="$EGREP" LN_S="$LN_S" |
SED="$SED" GREP="$GREP" FGREP="$FGREP" EGREP="$EGREP" LN_S="$LN_S" |
111 |
|
|
112 |
rm -f Makefile |
rm -f Makefile |
113 |
|
|
114 |
# Make a dummy libtoolize script for autoreconf: |
# Make a dummy libtoolize script for autoreconf: |
115 |
test -f clcommit.m4sh && cat > $auxdir/libtoolize <<'EOF' |
cat > $auxdir/libtoolize <<'EOF' |
116 |
#! /bin/sh |
#! /bin/sh |
117 |
# This is a dummy file for bootstrapping CVS libtool. |
# This is a dummy file for bootstrapping CVS libtool. |
118 |
echo "$0: Bootstrap detected, no files installed." | sed 's,^.*/,,g' |
echo "$0: Bootstrap detected, no files installed." | sed 's,^.*/,,g' |
155 |
WARNING: of \`sed', \`grep' etc. like this: |
WARNING: of \`sed', \`grep' etc. like this: |
156 |
WARNING: |
WARNING: |
157 |
WARNING: rm -f commit $auxdir/mailnotify |
WARNING: rm -f commit $auxdir/mailnotify |
158 |
WARNING: make -f Makefile.maint commit $auxdir/mailnotify |
WARNING: make -f Makefile.maint ./commit ./$auxdir/mailnotify |
159 |
EOF |
EOF |
160 |
|
|
161 |
exit 0 |
exit 0 |