[cairo-bugs] [Bug 27668] New: Generated file 'cairo-features.h' in distribution causes #error in out-of-tree build for quartz
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Apr 15 13:32:34 PDT 2010
https://bugs.freedesktop.org/show_bug.cgi?id=27668
Summary: Generated file 'cairo-features.h' in distribution
causes #error in out-of-tree build for quartz
Product: cairo
Version: 1.8.10
Platform: x86 (IA32)
OS/Version: Mac OS X (All)
Status: NEW
Severity: normal
Priority: medium
Component: quartz backend
AssignedTo: vladimir at pobox.com
ReportedBy: keesvr at xs4all.nl
QAContact: cairo-bugs at cairographics.org
When trying to compile cairo 1.8.10 on Mac OS for the Quartz backend, I get:
# error Cairo was not compiled with support for the quartz backend
in src/cairo-quartz-private.h
The reason is that the compile uses the file src/cairo-features.h that came
with the distribution, and not the file with the same name that was generated
by configure. Since I'm compiling in a different directory than the source
directory, the configure output file doesn't overwrite the distributed one.
The fix is obvious: just don't put cairo-features.h in the distribution file.
Also, the #error shown above is misleading: Cairo was not /compiled/ without
support for the Quartz backend; it was /configured/ without support for the
Quartz backend.
Thus, I suggest to change the #error to:
# error Cairo was not configured with support for the quartz backend
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the cairo-bugs
mailing list