all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Mike Rosset <mike.rosset@gmail.com>
To: Kaushal Modi <kaushal.modi@gmail.com>
Cc: Help Gnu Emacs mailing list <help-gnu-emacs@gnu.org>
Subject: Re: Where do I find the emacs-module.h after make install?
Date: Thu, 21 Jun 2018 08:11:08 -0700	[thread overview]
Message-ID: <CADaV+2UFFD9vN58K=Kj-g=XmKSKD0fukfs0_dnMbfj6A9Ujs0Q@mail.gmail.com> (raw)
In-Reply-To: <CAFyQvY0Ncy7_bW5hvbEp99zujhoOps-j8V-DWvEFLfGDgOWH7Q@mail.gmail.com>

>> @Eli Is this is bug? For folks building emacs locally and having
>> version-specific install folders, it would be nice to have version-specific
>> emacs-module.h copied to their respective include/ directories, right?
>>
>
> It's not a bug since emacs modules are runtime loaded. All you need is the
header to compile. Emacs then dynamic loads the module using a common entry
point. This may be subject to the emacs-26.1 changes below.

Additionally, the emacs 26.1 release does not have the emacs-module.h too:
> http://git.savannah.gnu.org/cgit/emacs.git/tree/src?h=emacs-26.1
>
> I see only emacs-module.h.in in there.
>
>  It's possible emacs-module.h.in has some macros used by autotools now.
So this might be a change in 26.1 . I cant update my example for 26.1 just
yet. So hopefully someone else knows.

The simplest solution is check the 26.1 tarball and see if it exists there,
and just manually copy and and it to your projects VC. this requires
copyright compliance. It's really the only reason I used the wget method
anyway.


  parent reply	other threads:[~2018-06-21 15:11 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-21 14:44 Where do I find the emacs-module.h after make install? Kaushal Modi
2018-06-21 14:52 ` Mike Rosset
2018-06-21 14:58   ` Kaushal Modi
2018-06-21 15:01     ` Kaushal Modi
2018-06-21 15:07       ` Kaushal Modi
2018-06-21 15:11       ` Mike Rosset [this message]
2018-06-21 15:50     ` Eli Zaretskii
2018-06-21 16:12       ` Kaushal Modi
2018-06-21 16:17       ` Mike Rosset

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CADaV+2UFFD9vN58K=Kj-g=XmKSKD0fukfs0_dnMbfj6A9Ujs0Q@mail.gmail.com' \
    --to=mike.rosset@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=kaushal.modi@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.