emacs-devel
[Top][All Lists]
Advanced

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

Re: Emacs on QNX


From: Elad Lahav
Subject: Re: Emacs on QNX
Date: Fri, 1 Dec 2017 02:06:19 +0000

On Thu, 2017-11-30 at 15:41 -0800, Paul Eggert wrote:
> Hmm, there appears to have been a typo in configure.ac, which I also 
> fixed with the attached patch. Why didn't this typo prevent your
> build from working?

Excellent question. I'll see if I can figure it out.

> In what sense doesn't it work? Can we work around this problem 
> automatically? 

pkg-config doesn't exist.

> After all, if we were willing to live with undocumented 
> manual settings, we could have left 'configure' alone and expected 
> installers to figure out a command like this one:
> 
> ./configure --without-makeinfo --with-gnutls=no --with-x-toolkit=no \
>    CC=qcc \
>    CFLAGS='-D__NO_EXT_QNX' \
>    LDFLAGS='-N2MB' \
>    LIBXML2_CFLAGS=-I/usr/include \
>    LIBXML2_LIBS='-lxml2 -lm'
> 

That's a valid point. I could have added -lm to LDFLAFS in
configure.ac. Nevertheless, I find the requirement to use pkg-config
for detecting libxml limiting, and I certainly don't like having to set
an unnecessary environment variable to force its inclusion. Is it not
possible to test for libxml with a simple test program, the way other
components are detected?

--Elad

reply via email to

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