-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update to autotools 2.72 #289
base: master
Are you sure you want to change the base?
Conversation
This essentially just does the following, with autotools 2.72 installed: $ cp /usr/lib/share/autoconf/build-aux/config.guess \ tool/autoconf/build-aux/config.guess $ cp /usr/lib/share/autoconf/build-aux/config.sub \ tool/autoconf/build-aux/config.sub $ autoreconf configure.ac:28: warning: The macro 'AC_LANG_C' is obsolete. configure.ac:28: You should run autoupdate. ./lib/autoconf/c.m4:72: AC_LANG_C is expanded from... configure.ac:28: the top level $ autoupdate After running autoupdate, the following manual fix was needed: - [m4_esyscmd_s(sed -n '/^#define MPS_RELEASE "\(.*\)"$/{s/.*"\(.*\)"/\1/;p;}' code/version.c)], + [m4_esyscmd_s([sed -n '/^#define MPS_RELEASE "\(.*\)"$/{s/.*"\(.*\)"/\1/;p;}' code/version.c])],
Executing proc.review.express:
|
|
There are possibly some undocumented requirements and step here that have led to this change failing review. Essentially, we need to decide whether we require autoreconf to work on target platforms, of it's acceptable for there to be extra steps (such as installing a later GNU autoconf). |
That might be why I only did an update of |
Your recollection is supported by https://web.archive.org/web/20240813003154/https://www.gnu.org/software/gettext/manual/html_node/config_002eguess.html which says:
|
The MPS does not really need autoconf. About the only thing we use it for is to get the target platform, which is the output of config.guess, just to offer an easy "./configure && make" command line. We could possibly go with our own, very simple, configure script and remove the autoconf dependency. While autoconf is around there's a risk that someone might start using it! |
This provides a more complete fix for #281 than PR #283 does. I've also included the manual steps below, which should be easily reproducible. This is an alternative to merging this patch outright (depending on your level of cautiousness after the xz backdoor).
Please see below the commit message.
Thanks!
This essentially just does the following, with autotools 2.72 installed:
After running autoupdate, the following manual fix was needed: