Closed
Bug 375921
Opened 18 years ago
Closed 18 years ago
configure should throw error when APNG not found
Categories
(Firefox Build System :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla1.9alpha5
People
(Reporter: asmith16, Assigned: asmith16)
Details
Attachments
(2 files, 2 obsolete files)
|
1.94 KB,
patch
|
dbaron
:
review+
benjamin
:
review+
|
Details | Diff | Splinter Review |
|
1.90 KB,
patch
|
Details | Diff | Splinter Review |
A check was added to configure.in so that if the system libpng doesn't have APNG support, the embedded library is used.
It would be nice to have configure through an error rather than silently ignore the --with-system-png option
Once I figure out how to do that I'll post a patch.
Updated•18 years ago
|
Summary: configure should through error when APNG not found → configure should throw error when APNG not found
| Assignee | ||
Comment 1•18 years ago
|
||
It looks like this works. Will you review it please?
Attachment #260086 -
Flags: review?(dbaron)
I tend to think that we should be consistent in whether these arguments get ignored or give errors when we can't honor them. This patch would make --with-system-png give an error for one case and be ignored in another. (Never mind --with-system-zlib, ...jpeg, ...cairo, etc.)
I actually do prefer giving errors, but that's probably something at least Benjamin should be in on deciding.
Comment 3•18 years ago
|
||
Yes, we should throw errors.
| Assignee | ||
Comment 4•18 years ago
|
||
I'm not sure this is what anyone asked for, but here is another patch that throws errors for all three system-png problems.
Attachment #260086 -
Attachment is obsolete: true
Attachment #260086 -
Flags: review?(dbaron)
Comment on attachment 260212 [details] [diff] [review]
use AC_MSG_ERROR twice
Looks good to me, although we might want Benjamin to double-check.
(It would probably be good to make similar changes for the other system libs -- jpeg, zlib, cairo, maybe nspr.)
Attachment #260212 -
Flags: review+
Attachment #260212 -
Flags: review?(benjamin)
Updated•18 years ago
|
Attachment #260212 -
Flags: review?(benjamin) → review+
Whiteboard: [checkin needed]
Comment 6•18 years ago
|
||
Doesn't apply cleanly, could you attach an updated patch?
Target Milestone: --- → mozilla1.9alpha5
Version: unspecified → Trunk
| Assignee | ||
Comment 7•18 years ago
|
||
this is the same patch as the above except for one character (acTL instead of acTl), that was fixed in another bug.
Comment 8•18 years ago
|
||
(In reply to comment #7)
> Created an attachment (id=264747) [details]
> same as above
>
> this is the same patch as the above except for one character (acTL instead of
> acTl), that was fixed in another bug.
>
What's with the changes in
modules/libpr0n/src/imgContainer.cpp?
| Assignee | ||
Comment 9•18 years ago
|
||
that creeped in from a different patch.
Attachment #264747 -
Attachment is obsolete: true
Comment 10•18 years ago
|
||
Checking in configure.in;
/cvsroot/mozilla/configure.in,v <-- configure.in
new revision: 1.1828; previous revision: 1.1827
done
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Whiteboard: [checkin needed]
Updated•18 years ago
|
Flags: in-testsuite-
Updated•7 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•