Stop checking to make sure that the compiler can create binaries on Windows

NEW
Unassigned

Status

Firefox Build System
General
6 years ago
3 months ago

People

(Reporter: Ehsan, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

6 years ago
See bug 758732 comment 6.
It's a little fiddly, but m4 is just a macro-expansion language, so you can grab the definitions of existing macros and munge them. The only good example I know of this is:
http://mxr.mozilla.org/mozilla-central/source/build/autoconf/acwinpaths.m4

where we fiddle the results of some macros to handle Windows paths.
arguably, the AC_TRY_COMPILE macros should be doing the same thing as AC_LANG, so why don't we fail in AC_TRY_COMPILE but do in AC_LANG?
(Reporter)

Comment 3

6 years ago
So is this <http://git.savannah.gnu.org/cgit/autoconf.git/tree/lib/autoconf/c.m4#n58> (and its C++ equivalent) what we need to override?

(Not that I'm volunteering, m4 looks like Latin to me!)

Updated

3 months ago
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.