emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Linking Emacs with libxml2


From: Lars Magne Ingebrigtsen
Subject: Re: Linking Emacs with libxml2
Date: Wed, 08 Sep 2010 22:11:26 +0200
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux)

Andreas Schwab <address@hidden> writes:

>> +if test -n xml2-config; then
>
> What's the point of this test?

Wrong test.  I've now changed it to use AC_CHECK_PROGS.

>> +  AC_CHECK_HEADER(libxml/xmlversion.h,
>> +    [AC_CHECK_LIB(xml2, htmlReadMemory, HAVE_LIBXML2=yes, , -lxml2)])
>
> Please use PKG_CHECK_MODULES.

I've tried to understand how PKG_CHECK_MODULES works, and I have no
idea.  What would be the correct incantation?

>> +    result = Fcons (Fintern (build_string (node->name),
>> +                         Vobarray),
>
>                        intern (node->name)
>
>> +  ibeg = CHAR_TO_BYTE (XFASTINT (Fpoint_min ()));
>> +  iend = CHAR_TO_BYTE (XFASTINT (Fpoint_max ()));
>> +  move_gap_both (XFASTINT (Fpoint_min ()), ibeg);
>> +  while (ibeg < iend) {
>> +    *s++ = *(BYTE_POS_ADDR (ibeg));
>> +    ibeg++;
>> +  }
>
>      Lisp_Object s = make_buffer_string (BEGV, ZV, 0);

Thanks; fixed.

-- 
(domestic pets only, the antidote for overdose, milk.)
  address@hidden * Lars Magne Ingebrigtsen




reply via email to

[Prev in Thread] Current Thread [Next in Thread]