Skip to content

Make the aclocal.m4 file in base safe to regenerate with aclocal#342

Open
cooljeanius wants to merge 2 commits intomacports:masterfrom
cooljeanius:regen_aclocal_pr
Open

Make the aclocal.m4 file in base safe to regenerate with aclocal#342
cooljeanius wants to merge 2 commits intomacports:masterfrom
cooljeanius:regen_aclocal_pr

Conversation

@cooljeanius
Copy link

Regenerating aclocal.m4 with aclocal is a standard part of an autotools workflow. All of automake, libtoolize, and gettextize tell you to do it, among others. However, the aclocal.m4 file in base contains some hard-coded macros in it, meaning that if you run aclocal, you're going to overwrite them and then be missing some of the macros you need. This PR fixes that by renaming the existing aclocal.m4 to acinclude.m4, and then fixing the "underquoted macro" warnings that aclocal produces, so that a new aclocal.m4 can be regenerated safely.

Closes: https://trac.macports.org/ticket/38579

acinclude.m4 and m4/tcl.m4 both have underquoted macros in them, so this commit fixes them by properly quoting them.
This also makes aclocal.m4 safe to regenerate with aclocal, which this commit does as well.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant