help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Retrieving the "include" directory for Emacs Modules


From: Stefan Monnier
Subject: Re: Retrieving the "include" directory for Emacs Modules
Date: Tue, 10 Dec 2024 22:23:05 -0500
User-agent: Gnus/5.13 (Gnus v5.13)

>> > As I tried to explain, if emacs-module.h is not installed in its
>> > intended place, we cannot know where it is installed.
>> The patch below would make sure that `emacs-module.h` is always
>> available at `$(data-directory)/include/emacs-module.h`.
> Sorry, this is wrong. [...] this is a change that will break previous
> (and correct) behavior.

I don't see how it would break anything: the .h file is still *also*
copied to the $(includedir) for those people who want to compile their
module outside of Emacs.

> No compiler will look in that directory without a suitable -I option,

That's OK: the sole purpose of the change is to let ELPA packages call
`gcc` with such a `-I`!


        Stefan




reply via email to

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