Commit Graph

19 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
Michael Pratt
99ed71faec tools/autoconf: clean up build recipes
The configure option datarootdir
defaults to PREFIX/share.

The Host/Clean define should be Host/Uninstall
otherwise it is removing the build directory
before there is a chance to try "make uninstall"
in that directory.
Host/Clean/Default is no longer defined.

Use default build recipes defined in host-build.mk
instead of custom ones that are equivalent.

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
Felix Fietkau
720b99215d treewide: clean up download hashes
Replace *MD5SUM with *HASH, replace MD5 hashes with SHA256

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-12-16 22:39:22 +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
Steven Barth
8a4c2890c8 autoconf: bump version to 2.69
Signed-off-by: Russell Senior <russell@personaltelco.net>

SVN-Revision: 42855
2014-10-09 07:16:22 +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
Alexandros C. Couloumbis
e3a95a6320 tools/autoconf: update to version 2.68
SVN-Revision: 24279
2010-12-06 12:14:50 +00:00
Felix Fietkau
e53003f5fc clean up / fix various Host/Clean templates in tools/
SVN-Revision: 15714
2009-05-08 20:44:47 +00:00
Felix Fietkau
7eb1589875 build system refactoring in preparation for allowing packages to do host-build steps
SVN-Revision: 14610
2009-02-22 04:37:20 +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
Felix Fietkau
480864baef fix autoconf compilation (#3956)
SVN-Revision: 12554
2008-09-08 15:59:08 +00:00
Felix Fietkau
0e00c74946 add autoconf (fixes opkg build issues)
SVN-Revision: 12410
2008-08-27 20:18:53 +00:00