[Xcb] xcb_parse_display and _xcb_open on Mac OS X
Barton C Massey
bart at cs.pdx.edu
Sun Aug 17 18:17:33 PDT 2008
Looks reasonable---thanks! If no one else figures out the
autoconf problem, I'll look at it at some point, although I
don't have a Mac to work on.
Bart
In message <694519c50808171407xc024512o15ffcfa4e4a97876 at mail.gmail.com> you wrote:
> ------=_Part_185797_2621410.1219007245246
> Content-Type: text/plain; charset=ISO-8859-1
> Content-Transfer-Encoding: 7bit
> Content-Disposition: inline
>
> On Sun, Aug 17, 2008 at 1:13 PM, Barton C Massey <bart at cs.pdx.edu> wrote:
> >
> > Weird. It looks like we should have an ifdef LAUNCHD
> > special case in the XCB code proper as well, but I can't see
> > any. Want to put in a patch and test it?
> >
>
> I have a patch that looks like it works for me. I'm having trouble
> testing my changes to 'configure.ac' - I get errors in other parts of
> the file:
>
> >>>>>
> $ bash autogen.sh
> autoreconf: Entering directory `.'
> autoreconf: configure.ac: not using Gettext
> autoreconf: running: aclocal
> autoreconf: configure.ac: tracing
> autoreconf: running: glibtoolize --copy
> autoreconf: running: /usr/bin/autoconf
> configure.ac:51: error: possibly undefined macro: AC_MSG_RESULT
> If this token and others are legitimate, please use m4_pattern_allow.
> See the Autoconf documentation.
> autoreconf: /usr/bin/autoconf failed with exit status: 1
> <<<<<
>
> Has anyone run into this before on MacOS 10.5? Or anywhere else?
>
> Thanks,
> Antoine
>
> ------=_Part_185797_2621410.1219007245246
> Content-Type: text/x-diff; name=launchd.patch
> Content-Transfer-Encoding: base64
> X-Attachment-Id: f_fk05ah660
> Content-Disposition: attachment; filename=launchd.patch
>
> ZGlmZiAtLWdpdCBhL2NvbmZpZ3VyZS5hYyBiL2NvbmZpZ3VyZS5hYwppbmRleCBkZWI1MGI3Li5l
> NmU2NTRkIDEwMDY0NAotLS0gYS9jb25maWd1cmUuYWMKKysrIGIvY29uZmlndXJlLmFjCkBAIC0x
> MDIsNiArMTAyLDE4IEBAIEFDX1BSRVJFUShbMi41OWNdLCBbXSwgW0FDX1NV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iYXNlLCBkaXNwbGF5KTsKIAotICAgIHJldHVy
> biBmZDsKKwlyZXR1cm4gIF94Y2Jfb3Blbl91bml4KHByb3RvY29sLCBmaWxlKTsKKyAgICAgIH0K
> IH0KIAorCiAjaWZkZWYgRE5FVENPTk4KIHN0YXRpYyBpbnQgX3hjYl9vcGVuX2RlY25ldChjb25z
> dCBjaGFyICpob3N0LCBjb25zdCBjaGFyICpwcm90b2NvbCwgY29uc3QgdW5zaWduZWQgc2hvcnQg
> cG9ydCkKIHsK
> ------=_Part_185797_2621410.1219007245246--
More information about the Xcb
mailing list