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)

x86
All
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla1.9alpha5

People

(Reporter: asmith16, Assigned: asmith16)

Details

Attachments

(2 files, 2 obsolete files)

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.
Summary: configure should through error when APNG not found → configure should throw error when APNG not found
Attached patch use AC_MSG_ERROR (obsolete) — Splinter Review
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.
Yes, we should throw errors.
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) → review+
Doesn't apply cleanly, could you attach an updated patch?
Target Milestone: --- → mozilla1.9alpha5
Version: unspecified → Trunk
Attached patch same as above (obsolete) — Splinter Review
this is the same patch as the above except for one character (acTL instead of acTl), that was fixed in another bug.
(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?
Attached patch same thing againSplinter Review
that creeped in from a different patch.
Attachment #264747 - Attachment is obsolete: true
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]
Flags: in-testsuite-
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: