[MacPorts] #38579: RFE: make the aclocal.m4 file in base safe to regenerate with `aclocal`
#38579: RFE: make the aclocal.m4 file in base safe to regenerate with `aclocal` -------------------------+-------------------------------- Reporter: egall@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: base | Version: 2.1.3 Keywords: | Port: -------------------------+-------------------------------- Regenerating aclocal.m4 with `aclocal` is a standard part of an autotools workflow. `Automake` tells you to do it, `libtoolize` tells you to do it, `gettextize` tells you to do it, and I'm sure there are other tools that tell you to do it, too, that I'm just not thinking of now. 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 is pretty simple to fix: you could rename the current aclocal.m4 file to acinclude.m4, or move it into the `m4/` directory in base, or both. After doing that, you can regenerate the aclocal.m4 file with `aclocal -I m4`. -- Ticket URL: <https://trac.macports.org/ticket/38579> MacPorts <http://www.macports.org/> Ports system for OS X
#38579: RFE: make the aclocal.m4 file in base safe to regenerate with `aclocal` --------------------------+-------------------------------- Reporter: egall@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: base | Version: 2.1.3 Resolution: | Keywords: Port: | --------------------------+-------------------------------- Comment (by egall@…): Also I think I brought this up in IRC once... -- Ticket URL: <https://trac.macports.org/ticket/38579#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#38579: RFE: make the aclocal.m4 file in base safe to regenerate with `aclocal` --------------------------+-------------------------------- Reporter: egall@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: base | Version: 2.1.3 Resolution: | Keywords: Port: | --------------------------+-------------------------------- Comment (by egall@…): Actually this is a little more complicated than that; some "underquoted macro" problems have to be fixed, too, for it to be safe to run `aclocal`. I'll attach a diff next. (After that the "haspatch" keyword can be added) -- Ticket URL: <https://trac.macports.org/ticket/38579#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#38579: RFE: make the aclocal.m4 file in base safe to regenerate with `aclocal` --------------------------+-------------------------------- Reporter: egall@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: base | Version: 2.1.3 Resolution: | Keywords: Port: | --------------------------+-------------------------------- Comment (by egall@…): Hm, it doesn't seem to include what the actual contents of `acinclude.m4` are, it just says that it's "`Only in ./m4`"... guess I should attach a separate diff for that one... -- Ticket URL: <https://trac.macports.org/ticket/38579#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#38579: RFE: make the aclocal.m4 file in base safe to regenerate with `aclocal` --------------------------+-------------------------------- Reporter: egall@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: base | Version: 2.1.3 Resolution: | Keywords: Port: | --------------------------+-------------------------------- Comment (by egall@…): This can be marked with the keyword "haspatch" -- Ticket URL: <https://trac.macports.org/ticket/38579#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#38579: RFE: make the aclocal.m4 file in base safe to regenerate with `aclocal` --------------------------+-------------------------------- Reporter: egall@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: base | Version: Resolution: | Keywords: haspatch Port: | --------------------------+-------------------------------- Changes (by macsforever2000@…): * keywords: => haspatch * version: 2.1.3 => -- Ticket URL: <https://trac.macports.org/ticket/38579#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts