Closed Bug 163929 Opened 23 years ago Closed 23 years ago

Provide mozilla configuration header for embeddors

Categories

(SeaMonkey :: Build Config, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla1.2alpha

People

(Reporter: netscape, Assigned: netscape)

Details

Attachments

(1 file)

It seems as though some embeddors and other users of the mozilla codebase are being blindsided by changes that require specific defines to be set (eg, bug 155852). The mozilla-config script provides the list of defines for a particular mozilla configuration but has the side-effect of being unix-centric and signficantly increasing the length of the build commandline. As an alternative, I'm proposing to provide a mozilla-config.h header as well which would contain the same defines as the mozilla-config script. The easiest thing to do would be to rename config-defs.h to mozilla-config.h and to make it always be generated by configure. If we are going to state that embeddors should use this file, then it should contain all of the important defines needed to build against the mozilla headers. That means moving any defines used by public headers into configure so that mozilla-config.h is generated in a useful manner.
Comment on attachment 96246 [details] [diff] [review] config-defs.h -> mozilla-config.h r=bryner
Attachment #96246 - Flags: review+
Patch has been checked in.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.2alpha
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: