autoconf
[Top][All Lists]
Advanced

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

Re: Inline function in header depends on config.h


From: Paul Eggert
Subject: Re: Inline function in header depends on config.h
Date: Tue, 11 Jan 2005 15:40:41 -0800
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

William Turner <address@hidden> writes:

> I have a member function of a class in a library that, for performance
> reasons, needs to be inline, and therefore needs to be in the header
> file. However, the operation of the function depends on the contents
> of config.h, which is not installed when the library is, presenting
> difficulty when a user of the library needs to make use of the inlined
> function. What's the best way to resolve this,

Use the autoconf-generated script to modify the header in question,
and then install the modified header.  You'll need to hack on
configure.ac (or its equivalent) a bit.




reply via email to

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