Detect if VFS module is being compiled inside or outside source tree
realrichardsharpe at gmail.com
Tue Mar 20 20:47:15 MDT 2012
On Tue, Mar 20, 2012 at 11:07 AM, Andrew Klaassen <clawsoon at yahoo.com> wrote:
> Is there an #ifdef I can check to find out whether a VFS module is
> being built inside or outside the source tree?
With a commit I made a little while ago, I don't think you need to know, do you?
> I'd like to give my init function the proper name no matter where it goes, i.e.
> init_samba_module or samba_init_module outside the source tree,
> and vfs_my_module_init inside the tree.
Right, but the macros deal with that, don't they.
> It'll also be handy to be able to detect which of init_samba_module
> or samba_init_module is correct for a given --with-samba-source=... when
> building outside the tree. Is there an #ifdef for that?
So, what is the actual problem? Can you pull down the latest and then
show us what is wrong?
More information about the samba-technical