Autoconf 2.53.

This commit is contained in:
Andrius Štikonas 2021-03-17 22:17:11 +00:00
parent 1dfd12607c
commit 2fb08b9cd3
8 changed files with 106 additions and 5 deletions

View file

@ -9,7 +9,7 @@ src_prepare() {
automake-1.4
# Install autoconf data files into versioned directory
for file in */Makefile.in Makefile.in; do
for file in */Makefile.in Makefile.in; do
sed -i '/^pkgdatadir/s:$:-@VERSION@:' $file
done
}

View file

@ -0,0 +1,42 @@
SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
SPDX-License-Identifier: GPL-3.0-or-later
Disable features unsupported by Autoconf 2.52
--- configure.ac Wed Mar 17 19:53:06 2021
+++ configure.ac.new Wed Mar 17 19:52:53 2021
@@ -19,8 +19,7 @@
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
# 02111-1307, USA.
-# We need AC_CONFIG_TESTDIR.
-AC_PREREQ([2.53])
+AC_PREREQ([2.52])
AC_INIT([GNU Autoconf], [2.53], [bug-autoconf@gnu.org])
AC_SUBST([PACKAGE_NAME])dnl
@@ -32,7 +31,6 @@
AM_INIT_AUTOMAKE
# Initialize the test suite and build position independent wrappers.
-AC_CONFIG_TESTDIR([tests])
AC_CONFIG_FILES([tests/Makefile tests/atlocal])
AC_CONFIG_FILES([tests/autoconf:tests/wrapsh.in],
[chmod +x tests/autoconf])
@@ -85,16 +73,4 @@
bin/Makefile])
AC_OUTPUT
-# Report the state of this version of Autoconf if this is a beta.
-m4_bmatch(m4_defn([AC_PACKAGE_VERSION]), [[a-z]],
-[ cat <<EOF
-
-You are about to use an experimental version of Autoconf. Be sure to
-read the relevant mailing lists, most importantly <autoconf@gnu.org>.
-
-Below you will find information on the status of this version of Autoconf.
-
-EOF
- sed -n '/^\* Status/,$p' $srcdir/BUGS
-])

26
sysa/autoconf-2.53/stage1.sh Executable file
View file

@ -0,0 +1,26 @@
# SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
#
# SPDX-License-Identifier: GPL-3.0-or-later
src_prepare() {
default_src_prepare
rm Makefile.in */Makefile.in */*/Makefile.in aclocal.m4 configure
aclocal-1.6
cat config/m4.m4 >> aclocal.m4
autoconf-2.52
automake-1.6
# Not supported by autoconf-2.52
sed -i "s#@abs_top_builddir@#$PWD#" tests/wrappl.in
sed -i "s#@abs_top_srcdir@#$PWD#" tests/wrappl.in
# Install autoconf data files into versioned directory
for file in */*/Makefile.in */Makefile.in Makefile.in; do
sed -i '/^pkgdatadir/s:$:-@VERSION@:' $file
done
}
src_configure() {
./configure --prefix="${PREFIX}" --program-suffix=-2.53
}

20
sysa/autoconf-2.53/stage2.sh Executable file
View file

@ -0,0 +1,20 @@
# SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
#
# SPDX-License-Identifier: GPL-3.0-or-later
src_prepare() {
rm Makefile.in */Makefile.in */*/Makefile.in aclocal.m4 configure
aclocal-1.6
cat config/m4.m4 >> aclocal.m4
autoconf-2.53
automake-1.6
# Install autoconf data files into versioned directory
for file in */*/Makefile.in */Makefile.in Makefile.in; do
sed -i '/^pkgdatadir/s:$:-@VERSION@:' $file
done
}
src_configure() {
./configure --prefix="${PREFIX}" --program-suffix=-2.53
}

View file

@ -101,6 +101,9 @@ populate_device_nodes
# Rebuild tcc-musl using new musl
build tcc-0.9.27 tcc-musl-pass3.sh checksums/tcc-musl-pass3
build autoconf-2.53 stage1.sh
build autoconf-2.53 stage2.sh
build bash-3.2.57
exec bash run2.sh