Closed Bug 375813 Opened 19 years ago Closed 9 years ago

normally autogenerated file aclocal.m4 contains handwritten stuff

Categories

(Firefox Build System :: General, defect)

All
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: weigelt, Unassigned)

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.9) Gecko/20070107 SeaMonkey/1.0.7 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.9) Gecko/20070107 SeaMonkey/1.0.7 normally autogenerated file aclocal.m4 contains handwritten stuff. I'm supplying a patch for fixing that. Reproducible: Always Steps to Reproduce: 1. 2. 3.
Attachment #259997 - Flags: review?(cls)
Product: Mozilla Application Suite → Core
Comment on attachment 259997 [details] [diff] [review] moves the stuff from aclocal.m4 to configure.in aclocal.m4 is only "autogenerated" if you're using automake, which mozilla currently does not. And it looks like automake's aclocal tool only checks configure.ac, not configure.in, based upon the documentation with automake 1.9.6. You need to explain the benefit of moving those includes to the configure.in. Are you planning on making mozilla use automake? If not, then why do we care what aclocal does when it's never run as part of the mozilla development process? FYI, from autoconf-2.13's info pages: To create a `configure' script with Autoconf, you need to write an Autoconf input file `configure.in' and run `autoconf' on it. If you write your own feature tests to supplement those that come with Autoconf, you might also write files called `aclocal.m4' and `acsite.m4'. If you use a C header file to contain `#define' directives, you might also write `acconfig.h', and you will distribute the Autoconf-generated file `config.h.in' with the package.
Attachment #259997 - Flags: review?(cls) → review-
Newer autoconf versions tend to destroy the hand-written aclocal.m4, so I was forced to move it out to some other file(s) and include it via m4_include(). BTW: the point that this patch obviously isn't honored for now more than a year, increases preasure for an fork.
Mass bug cleanup for Core:Build Config. If you feel this bug has been closed in error, please re-open with new details.
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → INCOMPLETE
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: