Commit Graph

11 Commits

Author SHA1 Message Date
Jo-Philipp Wich 0ba130abb2 tools/autoconf: ensure relocatability
Upstream introduced a new `trailer.m4` macro file referenced by the
absolute build path of autoconf. Make sure that this is covered by
the `000-relocatable.patch` as well.

This should fix various SDK build failures related to autoconf.

Fixes: 030447b8f4 ("tools/autoconf: bump to 2.71")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2023-03-16 00:32:59 +01:00
Michael Pratt 030447b8f4 tools/autoconf: bump to 2.71
Autoconf release 2.71 is a bugfix release of 2.70
Links provided are the changelog of 2.70 [1] [2]
and the announcement of 2.71 [3]

The first patch needed to be rewritten.
Some of the lines in the patch were moved
to be consistent with the same change added upstream
in other similar files.

Second and third patches are no longer needed,
Emacs can now be disabled at the configure stage,
and support for musl was added upstream.

The patch now causes help2man to be required
for installing man pages, but we don't need them.
There is no way to disable man pages build
with the configure script,
so use make to touch the files with the build target install-man1.

Link: https://lists.gnu.org/archive/html/autotools-announce/2020-12/msg00001.html
Link: https://lwn.net/Articles/839395
Link: https://lists.gnu.org/archive/html/info-gnu/2021-01/msg00017.html
Signed-off-by: Michael Pratt <mcpratt@pm.me>
2023-03-13 22:53:41 +01:00
Christian Marangi b344da7640
autoconf: use STAGING_DIR_HOST in relocatable patch
Instead of using STAGING_DIR and then go up one dir with '../' use
directly STAGING_DIR_HOST env variable. This should produce cleaner
symbolic links.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2023-01-09 21:33:18 +01:00
Imre Kaloz a2bec91b3b tools/autoconf: fix compile on musl hosts
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 45604
2015-05-04 13:22:36 +00:00
Jo-Philipp Wich e0c8e20f8c autoconf: portability fixes
The rework of the host tools discovery caused autoconf to embed
absolute paths to staging_dir/host/bin/perl into the shebang
of the generated autoconfig executables.

Switch to the portable "/usr/bin/env perl" and enable global
warnings through "$^W" instead of the "-w" interpreter argument.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44971
2015-03-24 13:12:52 +00:00
Jo-Philipp Wich 478d9fc97e autoconf: another relocatability fix for autom4te, substitute hardcoded prefix with $STAGING_DIR when reading autom4te.cfg
SVN-Revision: 29931
2012-01-28 04:42:15 +00:00
Jo-Philipp Wich e2180091d9 autoconf: make bin/autoconf relocatable as well
SVN-Revision: 29830
2012-01-20 17:17:04 +00:00
Jo-Philipp Wich fccdc995da autoconf: further relocation fixes
SVN-Revision: 29827
2012-01-20 15:19:06 +00:00
Jo-Philipp Wich a5a790a68f autoconf: make relocatable by searching resources relative to STAGING_DIR
SVN-Revision: 29821
2012-01-20 02:56:08 +00:00
Hauke Mehrtens 3849a57cd7 tools: refresh patches for tools lua, mtd-utils, ipkg-utils, squashfs, lzma, and autoconf are touched
SVN-Revision: 14589
2009-02-21 14:46:03 +00:00
Florian Fainelli 55f3b8ade2 Do not try to build autoconf emacs library, as it can fail on some systems like Fedora core 9
SVN-Revision: 12562
2008-09-09 14:53:52 +00:00